[MPlayer-users] MPEG-TS + H264 (again)

Colin Rosenthal csr at statsbiblioteket.dk
Thu Nov 12 15:42:23 CET 2009


Nico Sabbi wrote:
> Il giovedì 12 novembre 2009 13:30:19 Colin Rosenthal ha scritto:
>   
>> Carl Eugen Hoyos wrote:
>>     
>>> Colin Rosenthal <csr <at> statsbiblioteket.dk> writes:
>>>       
>>>> We have the following problems:
>>>>
>>>> i) tsprog is ignored. We get all channels and can tab between
>>>> them. ii) there is no sound
>>>> iii) One of the channels (the first one found) causes mplayer to
>>>> freeze after a couple of seconds playing. If we quickly tab
>>>> to another channel, mplayer continues to play.
>>>>         
>>> All three problems (and the fourth one, that video was not
>>> decoded correctly), are fixed in latest svn.
>>> Note that only -demuxer lavf and only -ac faad (which is the
>>> default) work correctly, -ac ffaac does not support the audio in
>>> your stream, I do not understand why -demuxer mpegts (which is
>>> the default) does not work for your sample.
>>> You may want to disable demuxer mpegts by adding demuxer=.mpegts,
>>> (note the ",") to your config file.
>>>
>>> Carl Eugen
>>>       
>> Yes, the file now plays correctly in mplayer. Thank you!
>>
>> Now for the next step.
>>
>> I would like to be able to extract a single program from the file -
>> with mencoder, if possible.
>> For example we have tried
>>
>> mplayer/mencoder -demuxer lavf -tsprog 2005  -oac pcm -ovc copy -of
>> avi -o out.avi mux2.share.ts
>>
>> This produces a playable avi file, but unfortunately not of the
>> correct program.
>>
>> We also tried with mpeg output, but here mencoder freezes while
>> writing the header:
>>
>> csr at pc295:~/temp$ mplayer/mencoder -demuxer lavf -tsprog 2005  -oac
>> pcm -ovc copy -of mpeg -o out.mpeg mux2.share.ts
>> MEncoder SVN-r29904-4.3.3 (C) 2000-2009 MPlayer Team
>> success: format: 0  data: 0x0 - 0xb8ea000
>> libavformat file format detected.
>>     
>
> dvbstream -S if and only if you use a cvs checkout.
> run dvbstream -h to see the command line switches
Sorry to seem stupid but where is the dvbstream cvs repository? Is it 
somewhere on linuxtv.org ??

--
Colin



More information about the MPlayer-users mailing list