Hi everyone, could you help me please to find a good (free) and reliable program that demultiplex MPEG-2 videos to elementary stream, to be run from command line and support program and transport streams as well as DVD .VOB files.
I know that mplex from MJPEGTools can easily multiplex MPEG-2 and MPEG-1 streams, but I could not find such a good "inverse" application...
+ Reply to Thread
Results 1 to 7 of 7
-
-
ffmpeg, "ffmpeg -i input.mpg -vcodec copy -f mpeg2video ES_Video.m2v -acodec copy -f mp2 ES_Audio.mp2"
tsmuxer might also work.
http://mpgtx.sourceforge.net/ but I don't think it support dvd vobs. -
Baldrick, thank you, i think ffmpeg will work well, just unfortunately I always should manually specify destination files formats, names and extension. What if video has more than 1 audio track?
Ok, will try tsmuxer soon, and mpgtx does not support vob for sure unfortunately.
Safesurfer, thanks, ProjectX sounds promising too but I can't find CLI there
-
It's just not well documented, if you run ProjectX from a command prompt you'll see the switches available (see below.)Safesurfer, thanks, ProjectX sounds promising too but I can't find CLI there sad.gif
I use it like this in a batch file for demuxing my TV recordings from my tuner card captured with GBPVR.
"C:\Program Files\Projectx\projectx.exe" -ini "C:\Program Files\Projectx\x.ini" -demux "%~dpn1.mpg"
You can set certain parameters in the .ini file in the GUI which will then work on all projects in command line use.
It will work on program and transport streams, as well as VOB files.quick CL usage:
Note: CL doesn't load the GUI components, except with switch [-gui]
<without options> ...starts the GUI
switches and inputfiles can be in any order
options:
[-ini <path + inifile>] ..use that specified iniFile instead of the standard
[-dvx1] ..create a .d2v ProjectFile on demux
[-dvx2] ..create a .d2v ProjectFile + .ac3.wav (RIFF WAVE Header)
[-dvx3] ..create a .d2v ProjectFile + .mpa.wav (RIFF WAVE Header)
[-dvx4] ..create a .d2v ProjectFile + .ac3.wav + mpa.wav (RIFF WAVE Header)
[-out <path>] ..use that specified directory for output
[-name <filename>] ..use that specified filename for output
[-cut <file>] ..use that text based file as cutpoint list
[-chp <file>] ..use that text based file as chapterpoint list
[-id <tokens>] ..use only these (P)IDs, separated by comma ","
[-gui] ..display the GUI using all given CLI options
[-log] ..write the normal logfile
[-saveini] ..save changes made bei CLI in active .ini
[-split <xxx>] ..split output at xxx MB
[-demux, -tom2p, -topva, -tovdr, -tots, -filter] ..action types
Hope this helps."Just another sheep boy, duck call, swan
song, idiot son of donkey kong - Julian Cope" -
Another option is DGMPGDec, see http://neuron2.net/dgmpgdec/DGIndexManual.html#AppendixC for command line instructions.
"Just another sheep boy, duck call, swan
song, idiot son of donkey kong - Julian Cope"
Similar Threads
-
Easiest way to convert .sub to .srt? maybe some command line tool?
By clinique in forum SubtitleReplies: 2Last Post: 23rd Feb 2010, 13:42 -
Command line tool to take AVI samples
By Dean C in forum EditingReplies: 6Last Post: 9th Sep 2008, 06:55 -
Command line text overlay tool
By lmundy in forum LinuxReplies: 3Last Post: 13th Jul 2008, 14:58 -
put few audio files on a video ( by command line tool )
By zoha520 in forum Newbie / General discussionsReplies: 0Last Post: 10th Sep 2007, 05:21 -
Command-Line Tool to Join Videos?
By RobDude in forum EditingReplies: 1Last Post: 4th Jul 2007, 13:53



Quote