[FFmpeg-devel] [PATCH] h.264 over rtp and autoguess

Arnoud Zwemmer arnoud.zwemmer
Mon Apr 28 16:24:01 CEST 2008


I made a small patch to be able to better auto-detect various codecs (for example h264) in transport streams over rtp.

Basically it turns the autoguess off, and installs mpegts_set_service in the mpegts_parse_open. Furthermore it has a version check in the pat_cb.

Now it will automatically and correctly detect the codecs in the cb_pmt if pmt's are sent.

If no program is received after 100 handle_packet calls the auto_guess will be turned on again.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpegtscodecs.diff
Type: application/octet-stream
Size: 1419 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080428/5fcfddee/attachment.obj>

More information about the ffmpeg-devel mailing list