Reputation: 10690
I'm trying to convert .flv videos to .ogg format. After experimenting for a while, the ogg is always produced as very low quality. Even when I use the -sameq
flag which uses the same quantizer as the input file, the quality is substantially worse.
Since I am pretty new with ffmpeg, does anyone know some good options to convert video files with maximum quality?
Upvotes: 12
Views: 13913
Reputation: 1
You should not convert any audio files using -sameq
... The best command line to convert audio files is to use variable bitrates which is the -qscale:a 1
command. It will form a transparent sounds quality which is best for most audiophiles out there... As much as possible, don't replace 1
into 0
because the other sounds will get muffled. And muffled sound is what you hear on every bad audio files...
Upvotes: 0
Reputation: 7700
As far as I remember -sameq can mimic the quality to a certain level with the limitation of buffsize. Means either you need put some extra settings in use which I think mostly concerns -buffsize, buffer related settings etc.. (But i may be wrong i'm not using ffmpeg for a year.)
Or use the qscale tag if you need the best, but i need to warn you the size of the output will 3 or 4 times bigger differentiating on video. Usage is -qscale [x]
where [x] (without brackets) is the quality value of output, lower is better. If you put -qscale 0
it means the best. Also you may want to use -ar
(audio frequency) and -ab
(audio bitrate: 192k is enough for HD, 128k is the most common) for better audio quality.
Example usage of -qscale -ar -ab tags:
-i a1.wmv -qscale 0 -ar 44100 -ab 128k -y aOut.wmv
Upvotes: 10