[MPlayer-dev-eng] .TiVo file support

Nico Sabbi nsabbi at email.it
Wed Dec 13 09:55:40 CET 2006


Jeremy Drake wrote:

>On Sun, 10 Dec 2006, Nico Sabbi wrote:
>
>  
>
>>if the output of your processing is a valid mpeg-[pt]s file than writing a
>>linked demuxer is the only sane way to proceed.
>>It's quite easy:
>>in the open() function, after having assigned demuxer->video->id appropriately
>>(depending on your code), add this block
>>
>>
>>{
>>    extern int audio_id, video_id, dvdsub_id;
>>    stream_t* s = new_ds_stream(demuxer->video);
>>    demuxer_t* od = demux_open(s, DEMUXER_TYPE_UNKNOWN,
>>                               audio_id, video_id, dvdsub_id, NULL);
>>    demuxer = new_demuxers_demuxer(od, od, od);
>>  }
>>    
>>

DEMUXER_TYPE_MPEG_PS if you prefer, but in this case your probing function must be broken






More information about the MPlayer-dev-eng mailing list