//大小=》变小
ffmpeg -i 1.mp4 -b:v 2M -vcodec msmpeg4 -acodec wmav2 1_mp4.wmv
//大小=》变大
ffmpeg -i 1.mp4 -qscale 2 -vcodec msmpeg4 -acodec wmav2 2_mp4.wmv
ffmpeg -i 1.mp4 -q:a 2 -q:v 2 -vcodec msmpeg4 -acodec wmav2 3_mp4.wmv
ffmpeg -i 1.mp4 outputfile.wmv
ffmpeg -i 1.MP4 -c:v wmv2 -b:v 20M -c:a wmav2 -b:a 192k output.wmv
ffmpeg -i input.wmv -c:v libx264 -crf 23 -profile:v high -r 30 -c:a libfaac -q:a 100 -ar 48000 output.mp4
ffmpeg -i input.wmv -c:v libx264 -crf 23 -c:a libfaac -q:a 100 output.mp4
How to get better quality converting MP4 to WMV with ffmpeg?
6favorite 5 | I am converting MP4 files to WMV with these two rescaling commands:
I've also tried:
However, the .wmv files that are produced are "blocky and grainy" as you can see here in a small section of a video screenshot: These are the sizes:
How can I increase the quality/size of the resulting .wmv files (the size of the .wmv files is of no concern)? | ||
10 | You can simply use the
| ||||||||||||
|
3 | One thing I discovered after many frustrating attempts of enhancing the final quality was that if you don't specify a bitrate, it'll use a quite low average. Try -b 1000k for a starting point, and experiment increasing or decreasing it until you reach the desired result. Your file will be quite bigger or smaller, accordingly. | |||
2 | Consider the following command instead (some outdated commands in the final answer section):
REFERENCES | |||
http://stackoverflow.com/questions/11079577/how-to-get-better-quality-converting-mp4-to-wmv-with-ffmpeg