[vlc] AMR stream query

chris.2.dobbs at bt.com chris.2.dobbs at bt.com
Fri Mar 17 11:40:46 CET 2006


All,
I have recently fixed a bug in the ffmpeg project to allow me to play (using the ffplay tool) AMR-NB over rtsp.
I now want to play this stream using vlc so I rebuilt vlc using the new ffmpeg libraries I have made and vlc seem to recognise the stream type ok now and opens the correct codec inside the ffmpeg libraries but I just get noise on the audio playback.
 
I have narrowed the problem down to the following routine (inside ffmpef)
 
amr_nb_decode_frame()
 
Which normally is passed a buffer containg the amr frame in which the first byte should be the toc byte , I have compared this to the output of ffplay and I get different data in the buffer - this suggests to me that vlc is incorrectly unpacking the rtp payload.
 
 
I wondered of anyone out there could point me at the correct code area within vlc where this operation takes place as the code base is HUGE and after having a quick look i can't see where it's done.
 
Many thanks in advance,
-Chris Dobbs

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list