Translate convert profile to commandline options

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
haabee
New Cone
New Cone
Posts: 2
Joined: 30 Jun 2011 19:13

Translate convert profile to commandline options

Postby haabee » 30 Jun 2011 20:15

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

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Translate convert profile to commandline options

Postby VLC_help » 01 Jul 2011 19:23

Use Media -> Streaming... (the last page should show you the options you can use for command-line)

haabee
New Cone
New Cone
Posts: 2
Joined: 30 Jun 2011 19:13

Re: Translate convert profile to commandline options

Postby haabee » 04 Jul 2011 19:23

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

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Translate convert profile to commandline options

Postby VLC_help » 05 Jul 2011 16:25

The file extension is wrong on that one. Since VLC gets the muxer from file extension, wrong file extension can cause strange behavior.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 49 guests