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
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.