Originally Posted by
AlexOnVinyl
Is is possible to learn the CLI from the output that the GUI frontend puts out?
Yes. If you can see the generated commands you can then look up the options that you don't recognize.
Running tools like ffmpeg or mencoder from the command line can be very helpful if you want to run batch conversions. Say you have a directory of H.264 files in the MKV container that you want to convert to XviD in AVI. You can write a quick script like this:
Code:
#!/bin/bash
for f in *.mkv
do
NEWNAME=$(echo $f | sed 's/\.mkv$/.avi/g')
mencoder "$f" -o "$NEWNAME" -ovc xvid -oac mp3lame
done
(I omitted the options for simplicity.) The script creates a new filename replacing ".mkv" with ".avi" and runs mencoder to create the file. It iterates over all files in the current directory matching *.mkv. I enclosed the filenames in quotes in case they have embedded spaces.
One other GUI tool you might look at is Handbrake.
Bookmarks