Access to decoded audio data

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
lamah
New Cone
New Cone
Posts: 2
Joined: 18 Oct 2008 20:27

Access to decoded audio data

Postby lamah » 18 Oct 2008 20:32

Hi!

I am trying to use JVLC to playback audio files. However, I need access to each decoded frame and this does not seem possible. Is this somehow possible? If it is possible with the VLC api I can use JNA directly to access that api instead of using JVLC.

Thanks

Mats

lamah
New Cone
New Cone
Posts: 2
Joined: 18 Oct 2008 20:27

Re: Access to decoded audio data

Postby lamah » 18 Oct 2008 20:45

It seems this is possible if I write an audio filter for VLC.

This guy was/is looking for the same thing:
http://mailman.videolan.org/pipermail/v ... 34094.html

Someone who apparently tried to write an audio filter without success:
viewtopic.php?f=2&t=50412


The problem with an audio filter is that VLC still will do the actual playback. Ideally I would like to just call some function decode_frame(byte[] data) or have a callback that gave me the decoded frames as soon as they were available and not have VLC do the playback. I could then do the playback myself in JavaSound.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 107 guests