[MPlayer-cvslog] r19421 - trunk/libmpdemux/demux_rtp_codec.cpp

Nico Sabbi nicola_sabbi at fastwebnet.it
Thu Aug 17 10:24:21 CEST 2006


reimar wrote:

>Author: reimar
>Date: Thu Aug 17 01:40:51 2006
>New Revision: 19421
>
>Modified:
>   trunk/libmpdemux/demux_rtp_codec.cpp
>
>Log:
>Simplistic attempt to make H.264 over RTSP work.
>Did not work for me, but reason is unclear.
>This at least moves things one step step closer to working
>
>
>Modified: trunk/libmpdemux/demux_rtp_codec.cpp
>==============================================================================
>--- trunk/libmpdemux/demux_rtp_codec.cpp	(original)
>+++ trunk/libmpdemux/demux_rtp_codec.cpp	Thu Aug 17 01:40:51 2006
>@@ -42,6 +42,10 @@
>     bih->biCompression = sh_video->format
>       = mmioFOURCC('H','2','6','3');
>     needVideoFrameRate(demuxer, subsession);
>+  } else if (strcmp(subsession->codecName(), "H264") == 0) {
>+    bih->biCompression = sh_video->format
>+      = mmioFOURCC('H','2','6','4');
>+    needVideoFrameRate(demuxer, subsession);
>   } else if (strcmp(subsession->codecName(), "H261") == 0) {
>     bih->biCompression = sh_video->format
>       = mmioFOURCC('H','2','6','1');
>  
>

almost surely you have to pass the extradata present in the sdp (I guess 
it's base64-encoded)



More information about the MPlayer-cvslog mailing list