[Ffmpeg-devel] PATCH/RFC: Channel changing in ts demuxer

elupus elupus
Thu Mar 16 17:59:38 CET 2006


Okey, so i went ahead and added some support for selecting service in
mpegts. Currently it uses the channel member in AVFormatParameters, which
probably isn't the best location for it. 

Since there is no way of knowing the sid's available in a ts file from the
api, maybe it atleast should log them through av_log(NULL, AV_LOG_INFO....
Instead of AV_LOG_DEBUG.

Also one can ponder if it should just go by index instead of serviceid.
Currently a sid of 0 will default to autoselect first available. 

I also attached a patch(HACK) to mplayer's lavf demuxer, to test it.

/Joakim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpegts.patch
Type: application/octet-stream
Size: 2151 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060316/5a667077/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: demux_lavf.c.patch
Type: application/octet-stream
Size: 573 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060316/5a667077/attachment-0001.obj>



More information about the ffmpeg-devel mailing list