[MPlayer-users] Re: Mplayer as a Client for VideoLAN server

Nico nsabbi at libero.it
Wed Jul 9 17:49:22 CEST 2003


Hi,

>
> It's quite correct that "ts_check_file()" isn't being called, because 
> the input stream is *not* a file - it's a RTP stream.  
> "ts_check_file()" could never work on such stream, because file read 
> operations would fail.
>
>> , so I wonder what is stopping the probing of the file format.
>
>
> The fact that the stream isn't a file :-)
>
> MPlayer needs to check for MPEG Transport Stream data even when the 
> input stream is not a file.  I presume that this is supposed to be 
> happening in the MPEG header parsing code in "video_read_properties()" 
> (because this is where MPEG Video Elementary Streams get parsed).
>
> For all I know, this may be working OK - it's just that the MPEG 
> decoder happened to crash on Rett Walters because it couldn't grok 
> data loss.

when I wrote demux_ts.c I verified it also works on non-file streams,  
such as from stdin:

cat file.ts |   mplayer -

works 100%

Or maybe I misunderstood what you mean?

Nico




More information about the MPlayer-users mailing list