[FFmpeg-devel] [PATCH] demux individual program out of MPEG-TS

Nico Sabbi nicola_sabbi
Sun Sep 9 12:09:38 CEST 2007


Nico Sabbi wrote:
> Nico Sabbi wrote:
> 
> 
>>Michael Niedermayer wrote:
>>
>>
>>>information about programs should be properly exported and the user
>>>should be able to select any set of program (id) s she wants
>>>this could possibly be realized with AVDiscard per program(id) 
>>>similar to
>>>AVStream
>>>
>>>[...]
>>>
>>
>>like this? I exported MpegTSService from mpegts.c as AVProgram (a more
>>generic name) to avformat.h and added code to discard programs
>>on her request.
>>ffmpeg.c is still unpatched
> 
> 
> sprry, forget it: I just realized  it's buggy


updated.
I added some code to keep track of pids <==> programs mapping,
in order to detect if the pid is to be discarded
(if belonging only to discarded programs) or not
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lavf_programs2.diff
Type: text/x-patch
Size: 9389 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070909/fc54ef2e/attachment.bin>



More information about the ffmpeg-devel mailing list