Page 1 of 1

Translate convert profile to commandline options

Posted: 30 Jun 2011 20:15
by haabee
I'm using vlc on windows to convert a ts-file from my digital recorder to a mpg-file that I can edit using adobe premiere elements.
The profile is very simple:
at the encapsulation tab i've checked: MJPEG
at the video tab: I checked "keep original video track" and codec mpeg-2 (but I asume this has no effect since I selected keep original)
at the audio tab: I checked "keep original audio track"

Now let's get to my question ...
In older versions of VLC it was posible to see the commandline options used for the conversion.
I'ld like to make a script for this conversion so I can automate it.

How can help me translate this profile to commandline options?

Thanx in advance

Re: Translate convert profile to commandline options

Posted: 01 Jul 2011 19:23
by VLC_help
Use Media -> Streaming... (the last page should show you the options you can use for command-line)

Re: Translate convert profile to commandline options

Posted: 04 Jul 2011 19:23
by haabee
Thanx, I didn't know that page.
Howver using the parameters listed on the last page
:sout=#file{dst=C:\\temp\\output.mpjpeg} :no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep

I get the feeling this is not completly the same as running the conversion from the GUI, because when started from the GUI the progressbar goes realy fast (as if no computation is being done and only a file copy is being executed) and the conversions works al the way thru the end.
Running this command from a dos-prompt, a vlc exe is started and the progress is realy slow (as if heavy computing is being done) and at about 10% the process dies.

What am i doing wrong?

from the prompt I started VLC using an absolute path, and after the command listed above I've added the sourcefile

Re: Translate convert profile to commandline options

Posted: 05 Jul 2011 16:25
by VLC_help
The file extension is wrong on that one. Since VLC gets the muxer from file extension, wrong file extension can cause strange behavior.