This is a question you should be asking to the ffmpeg mailing list. This
is for ffserver.
However, the answer is to use the hq preset, which you are already
doing. I prefer to use mp4 over flv, however it doesn't matter at all,
as the codec will be the same. I would suggest using libfaac as the
codec, as it is the successor to mp3. If you are looking for a very good
balance between quality and size, the string I would recommend is:
ffmpeg -i input.mov -acodec libfaac -ab 64k -ar 22050 -ac 2 -vcodec
libx264 -vpre hq -crf 22 -f flv output.flv
Note that I have used the AAC codec and not the MP3 codec. You will need
to ensure that you have it installed, and that ffmpeg has been compiled
to use it. If you want the absolute best quality, and don't mind a bit
more size, use this:
ffmpeg -i input.mov -acodec libfaac -ab 64k -ar 22050 -ac 2 -vcodec
libx264 -vpre hq -crf 18 -f flv output.flv
Or if you want it a bit smaller and don't mind losing a bit of quality
then use this:
ffmpeg -i input.mov -acodec libfaac -ab 64k -ar 22050 -ac 2 -vcodec
libx264 -vpre hq -crf 26 -f flv output.flv
The only thing you change is the crf number. You have to try different
ones, and then decide which one suits you best.
Hope this helps!
--
السلام عليكم
Web: www.mrnaz.com
Ph: +61 400 460 662
Leonardo Rebitte wrote:
Gentlemans,
I've two simple questions:
*1* - I am looking for the Perfect String to obtain size and quality
with H.264. Today I'm using this:
* ffmpeg -i input.mov -acodec libmp3lame -ab 56k -ar 22050 -ac 2
-vcodec libx264 -vpre hq -crf 26 -f flv output.flv
*
*2* - Question: What is better to use (talking about video quality),
.flv ou .mp4?
Best Regards,
Leonardo Rebitte
------------------------------------------------------------------------
_______________________________________________
ffserver-user mailing list
ffserver-user@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/ffserver-user
_______________________________________________
ffserver-user mailing list
ffserver-user@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/ffserver-user