MPEG-2 Transport Stream File not MPEG-2 compliant?

Michael Müller <[email protected]>
Newsgroups gmane.comp.video.videolan.vls.devel
Message-ID <004c01c297df$cd70d420$0c01a8c0@venus>
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.
lsmpegutil.exe (application/x-msdownload, 268 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.