![]() It is an avid video editor as well, which is capable of trimming it, cropping it, and enhancing its overall quality. The program can convert DivX videos to 4K and 1080p HD films. Using DivX results in worse quality compared to H.264-encoded video at the same bit rate. Aiseesoft is a popular conversion tool that supports pretty every video file format in the book. You should consider using H.264 video/AAC audio in an MP4 container the only reason to use DivX/MP3 in an AVI is if you need support on legacy hardware players. Note that you don't strictly need -ac 2, since MP3 only supports two channels, so any surround-sound audio will automatically get mixed down. Old syntax: ffmpeg -y -i input.file -vcodec mpeg4 -b 868k -vtag DIVX -s 640x480 -an -pass 1 -f rawvideo /dev/nullįfmpeg -i input.file -vcodec mpeg4 -b 868k -vtag DIVX -s 640x480 -acodec libmp3lame -ab 192k -ac 2 -ar 44100 -pass 2 output.avi Up-to-date syntax: ffmpeg -y -i input.file -c:v mpeg4 -b:v 868k -tag:v DIVX -s 640x480 -an -pass 1 -f rawvideo /dev/nullįfmpeg -i input.file -c:v mpeg4 -b:v 868k -tag:v DIVX -s 640x480 -c:a libmp3lame -b:a 192k -ac 2 -ar 44100 -pass 2 output.avi These examples will fit a 90-minute movie onto a 700 MB CD-ROM. Use this if you want to target a specific size, otherwise just use the VBR quality-targeting -qscale option. Note that Windows users need to use NUL rather than /dev/null. Old syntax: ffmpeg -i input.file -vcodec mpeg4 -qscale 5 -vtag DIVX -s 640x480 -acodec libmp3lame -aq 5 -ac 2 -ar 44100 output.avi Up-to-date syntax: ffmpeg -i input.file -c:v mpeg4 -q:v 5 -tag:v DIVX -s 640x480 -c:a libmp3lame -q:a 5 -ac 2 -ar 44100 output.avi See here for a bit more information anything up to 6 will get you good quality. ![]() You can similarly use qscale with libmp3lame, where the range is 0–9, with lower numbers giving better quality. ![]() This will target a given quality, with a variable bit rate. The qscale range for mpeg4 is 1–31, where lower=better quality/higher filesize, and 3–6 can normally be considered a useful range. See this blog post for slightly more in-depth information. Either use a higher bit rate and/or use two-pass encoding, or use -qscale to target a quality level in a variable bit rate mode, rather than a specific bit rate. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |