cmdline batch convert failed

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Waxhead
New Cone
New Cone
Posts: 1
Joined: 17 Oct 2009 15:33
Operating System: Win/Debian GNU/Linux
Location: Norway
Contact:

cmdline batch convert failed

Postby Waxhead » 17 Oct 2009 15:42

I am trying to batch convert a lot of files using the command line described here : http://wiki.videolan.org/Codec

My command line looks like this : C:\Graph\VLC\vlc.exe -vvv G:\input\inputfile.mp4 --sout='#transcode{vcodec=mp1v, vb=1024, acodec=mpga, ab=128}:std{access=file, mux=mpeg1, url=G:\output\outputfile.mpg}'

What happens is basically that VLC opens it's GUI and that's it... I can't understand what's wrong I also tried to remove the ' ' around --sout but no luck :(

(btw I know this cmdline only (should) convert ONE file)

relevant SW list:
VLC V1.0.2 Goldeneye
Windows Pro XP3 (and I hate it)
nVidia 185.85

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: cmdline batch convert failed

Postby thannoy » 10 Nov 2009 15:14

On Linux, you need quote on sout parameter for # character to not be thread as a comment. Do not use quote on Windows.

Here is what I would try:

Code: Select all

C:\Graph\VLC\vlc.exe -vvv G:\input\inputfile.mp4 --sout=#transcode{vcodec=mp1v,vb=1024,acodec=mpga,ab=128}:std{access=file,mux=mpeg1,dst=G:\output\outputfile.mpg}
I modified url with dst.
@see Documentation:Streaming_HowTo/Advanced_Streaming_Using_the_Command_Line

You can also test mux "ps"


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: MSN [Bot] and 138 guests