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

Colin Rosenthal csr at statsbiblioteket.dk
Fri Nov 13 14:04:15 CET 2009


Nico Sabbi wrote:
> Il venerdì 13 novembre 2009 11:35:16 Colin Rosenthal ha scritto:
>   
>> Nico Sabbi wrote:
>>     
>>> dvbstream -S if and only if you use a cvs checkout.
>>> run dvbstream -h to see the command line switches
>>> _______________________________________________
>>>       
>> Great! We're nearly there. Now I'm running something like
>>
>>  >cat mux2.share.ts | dvbstream/dvbstream/dvbstream -stdin -ps
>>
>> -o:out.mpeg 2061 2071
>> but the "-ps" option isn't working - I'm still getting a transport
>> stream out. Here's
>> the output from running ffmpeg on the output:
>> Input #0, mpegts, from 'out.mpeg':
>>   Duration: 00:01:19.53, start: 16667.481133, bitrate: 3898 kb/s
>>   Program 82
>>   Program 2000
>>   Program 2005
>>     Stream #0.0[0x7ef]: Data: 0x0006
>>     Stream #0.1[0x80d]: Video: h264, yuv420p, 704x576 [PAR 16:11
>> DAR 16:9], 25 tbr, 90k tbn, 50 tbc
>>     Stream #0.2[0x817](dan): Data: 0x0011
>>     Stream #0.3[0x825](dan): Subtitle: dvbsub
>>     Stream #0.4[0x826](dan): Subtitle: dvbsub
>>   Program 2010
>>   Program 2025
>>   Program 2030
>> so it's apparently picking up all the other datastreams associated
>> with the same program as the actual pids I asked for.
>>
>> (Btw, sorry if we're drifting off topic for mplayer-users.)
>>
>>     
>
> -ps is deprecated, it should have never been there in the first place
Unfortunately this doesn't quite work. dvbstream doesn't seem 
stable/error-resilient enough to be able to handle the saved files.
Take a look at

http://rosenthal-sodemann.dk/mux2.NON.ts

This file is just a 100MB chunk taken from somewhere within our archive.
i) It plays all the way through with vlc and all expected channels are 
visible
ii) Running mplayer -demuxer lavf on it causes my PC to freeze! I am 
running ubuntu 9.10 (64) on an amd64
iii) Running cat mux2.NON.ts | dvbstream -stdin -o:/dev/null 2061 2071
gives as output:
dvbstream v0.7 - (C) Dave Chapman 2001-2004
Released under the GPL.
Latest version available from http://www.linuxstb.org/
Open file /dev/null

MAP 0, file /dev/null: From -1 secs, To -1 secs, 3 PIDs -  0 2061 2071
dvbstream will stop after -1 seconds (71582788 minutes)
Streaming 3 streams
NON 0X47
NON 0X47
NON 0X47
NON 0X47
NON 0X47
NON 0X47
(etc. until end of input)

Note that as before this file is (part of) a file generated by running 
dvbstream 8192 on a dvb-b card so it seems that dvbstream
is having trouble digesting its own output as input.

--
Colin





More information about the MPlayer-users mailing list