[Ffmpeg-devel] rtsp problem with ffplay
Luca Barbato
lu_zero
Tue Mar 7 20:30:17 CET 2006
chris.2.dobbs at bt.com wrote:
> Slight update to this after some more poking around....
>
> I notice that in rtp.c the /AVFormatContext/ structure looks to be
> something that holds all he recognised codec types for audio and video
> ove rtp...I notice there is none for AMR NB. My payload type seems to
> come thru ok as 96 (which is correct for AMR NB) so am I correct in
> thinking that I just need to add a line for this payload type to reflect
> AMR NB codec?
no, payload number is dynamic you have to parse the sdp and set the
context accordingly.
check libnms/nemesi on how to do it.
lu
--
Luca Barbato
Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero
More information about the ffmpeg-devel
mailing list