MPEG-2 TS file demultiplexing ?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
MaeWanto
New Cone
New Cone
Posts: 2
Joined: 22 Feb 2007 15:57

MPEG-2 TS file demultiplexing ?

Postby MaeWanto » 22 Feb 2007 16:57

I would like to demultiplex an MPEG-2 TS file with VLC in order to get Elementary Streams ( audio, video and DVB subtitles if possible ). Could someone tell me the right command-line to use please ?

And what would be the command-line to mux audio, video and DVBsub ES to MPEG-2 TS ?

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 23 Feb 2007 22:09

Why not use the menu, it's a whole lot easier. :)

MaeWanto
New Cone
New Cone
Posts: 2
Joined: 22 Feb 2007 15:57

Postby MaeWanto » 23 Feb 2007 22:37

Because it's easier to batch with command lines ...

Actually, I'm not sure this is possible to demux an MPEG-2 TS files to "raw" Elementary Streams with VLC at all. I read that the resulting audio and video files had to be packed ( either in PS, TS, AVI or other file format ) and I didn't find anything about DVB subtitles ...

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 23 Feb 2007 23:00

Help options
-h, --help print help for VLC (can be combined with
--advanced)
-H, --longhelp print help for VLC and all it's modules (can
be combined with --advanced)
--advanced print help for the advanced options
--help-verbose ask for extra verbosity when displaying help

paulc0001
New Cone
New Cone
Posts: 7
Joined: 02 Oct 2006 16:22

Postby paulc0001 » 24 Feb 2007 15:57

Actually, I'm not sure this is possible to demux an MPEG-2 TS files to "raw" Elementary Streams with VLC at all.
You can generate ES files like this:

Code: Select all

vlc --intf dummy $1 vlc:quit --sout '#es{access=file,mux=es,dst-video="video.mp2v",dst-audio="audio.mp2a"}'
and I didn't find anything about DVB subtitles ...
If you're just adding subtitles to an existing TS file then try spumux but note this is for DVD subtitles which may be different.

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 25 Feb 2007 02:41

If I was a new user for a program trying to learn if something were possible I would try the menus first to see if what I wanted to was possible, before jumping into the command line. What you are trying to do is very unclear to me so I just made some superficial suggestions.

VLC is NOT batch encode, file friendly from the command line or any other way!!!!!!!!!!


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 15 guests