[vls-devel] Re: MPEG-2 Transport Stream File not MPEG-2 compliant?
Chen xiaodong
cxd at cdsf.com
Mon Dec 2 02:00:55 CET 2002
hi,
yes , there is a bug in vls under windows .
the bug as following :
CANN'T USE fopen ( "stream.ts", "w+") TO OPEN STREAM FILE UNDER WINDOWS PLATFORM;
AND CHANGED TO fopen("stream.ts" , "wb+" ) WHEN OPEN TARGED TS FILE.
yours
chen xiaodong
----- Original Message -----
From: "Michael Müller" <michael_zurich at yahoo.com>
To: <vls-devel at videolan.org>
Sent: Saturday, November 30, 2002 3:44 AM
Subject: [vls-devel] MPEG-2 Transport Stream File not MPEG-2 compliant?
> Hello Together
>
> I wrote a transport stream file with vls under Windows. I changed the basic
> configuration for localfile like prepared in vls.cfg. I used a *.VOB (MPEG-2
> PS) from a DVB and a recording from a satellite card to test.
>
> I can stream both files to vlc (videolan client) without problems. Then I
> change configuration to localfile it writes me the stream.ts file but when I
> open the stream.ts file with vlc (videolan client) I can't play it.
>
> What is wrong? When I use professional tool to analyse TS stream file, it
> seams not to be a TS-stream.
>
> I do not use UDP streaming and local file at the same time. A file will be
> written but seams not to be correct.
>
> Could somebody tell me where the problem is?
>
> Many thanks
>
> Michael
>
> # vls configuration file (Example)
>
> # Streams sources declaration
> BEGIN "Inputs"
> local1 = "local" # Local input example
> END
>
> # Inputs configuration
> BEGIN "local1"
> ConfigPath = "C:\vls"
> END
>
> BEGIN "Channels"
> localhost = "network"
> localfile = "file"
> END
>
> BEGIN "localhost" # The client is on the same host as the server
> DstHost = "localhost"
> DstPort = "1234"
> END
>
> BEGIN "localfile" # file output example
> FileName = "stream.ts"
> Append = "no" # rewrite the file if it exists
> END
>
>
> *******************************************
>
> # vls local input configuration file (Example)
>
> # Main settings
> BEGIN "Input"
> FilesPath = "c:\vls"
> ProgramCount = "1" # number of programs
> END
>
> BEGIN "1" # MPEG2 stream
> Name = "stream1"
> FileName = "testvideo.vob"
> Type = "Mpeg2-PS"
> END
>
> *******************************************
> on telnet I can start...
> start stream1 localfile local1
> OR
> start stream1 localhost local1
> *******************************************
>
> Attached is the tool to test TS stream.
>
More information about the vls-devel
mailing list