[linux-dvb] ts header

C.Y.M syphir at syphir.sytes.net
Thu Jul 7 19:01:25 CEST 2005


Christian Kaenzig wrote:
> On Thursday 07 July 2005 16:03, Oscar Garcia Abad wrote:
> 
>>Hello:
> 
> 
> Hi.
> 
> 
>>I'm getting the complete transport stream from a budget card and
>>recording it to the hard disk.
>>When I play this file I get an error:
>>Invalid MPEG-2 file.
> 
> 
> Which player are you using ?
> 
> I can read such ts stream without any problem with mplayer, but vlc wont play 
> them (althoug I've been able to play other .ts files with vlc).
> 


As a work around.. you can try something like this:

cat *.ts |ts2ps 100 101|vlc -vvv --color /dev/stdin -I telnet --aspect-ratio 4:3
--sout '#standard{access=http,mux=ts,url=:1234}'





More information about the linux-dvb mailing list