Created
June 10, 2010 21:59
-
-
Save ssp/433706 to your computer and use it in GitHub Desktop.
Convert DV to mp4 and ogv using Handbrake CLI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HandBrakeCLI --input input.dv --output output.mp4 --format mp4 --encoder x264 --x264opts ref=2:bframes=2:subq=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0 --optimize --quality 0.5 --audio 1 --aencoder ca_aac --ab 128 --arate 32 --aname English | |
HandBrakeCLI-0.9.3 --input input.dv --output result.ogv --format ogm --encoder theora --optimize --quality 0.6 --audio 1 --aencoder vorbis --ab 128 --arate 32 --aname English | |
# Commands to convert DV (or any) video to MP4 and OGM using the CLI version of HandBrake. | |
# The MP4 result it simple-minded enough to be played by QuickTime. | |
# The audio bitrate is picked to match the 32kHz audio of some DV video. | |
# You need the 0.9.3 version for the ogg files, as that feature was removed in 0.9.4. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please update this for wmv to ogv for 1.2.2 and beyond, or make 0.9.3 CLI available for download.