Batch proccessing via command line help

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
japangreg
New Cone
New Cone
Posts: 2
Joined: 14 Dec 2010 21:53

Batch proccessing via command line help

Postby japangreg » 14 Dec 2010 21:59

Hi all.

Completely new to VLC in terms of conversion, was wondering if I could get some help with a batch conversion of video files to MP4.

I'm using the following in my BAT file:

Code: Select all

for %%a in (X:\Lib\Videos\test\*.FLV) do "C:\Program Files\VideoLAN\VLC\vlc" -I dummy -vvv %%a --sout=#transcode{vcodec=h264,vb=1024,acodec=mp4a,ab=192,channels=2,deinterlace}:standard{access=file,mux=mp4,dst=%%a.mp4} vlc://quit
There are 2 FLV files in the test folder. One has a file name with no spaces, the second contains spaces.

The one with no spaces converts, but the video quality is very poor compared to the source FLA. When I do the conversion using the GUI on the same source file, the video quality is (at least to my eyes) comparable.

The file with spaces within the names does not convert - an MP4 file is created with the first word of the file name as its name, but with 1 KB file size.

So, questions would be: are there command line settings I can use to force similar video resolution during conversion, and allow file names to contain spaces? I'm trying to make it through info on command line options, but it's a bit dense for me and this is the only application I would need it for.

Any help is appreciated.

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 49 guests