View Single Post
Old 06-21-2012, 02:18 PM  
DWB
Registered User
 
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
ffmpeg mobile encoding - need help

Trying to get a better encode for mobile videos and am using -vcodec mpeg4 instead of -vcodec libx264.

If I encode the same video myself on Handbrake, I can tweak it and get crystal clear at 1/2 the bit rate. But I am a ffmpeg noob and am stumbling over the settings here.

This is the default ffmpeg setting:

Code:
-acodec libfaac -ab 96k -vcodec mpeg4 -b 800k -mbd 2 -cmp 2 -subcmp 2
I can get the same video to look great at around 400k or so on Handbrake. But even at 800k here, it still breaks up some. I want to reduce bitrate and improve quality. How can I do this in ffmpeg? There is so much information online that I'm drowning in it, and most of it seems to be for libx264.

Here are some additional settings I use in Handbrake that I don't know how to incorporate into ffmpeg, but would like to:

Code:
ref=3:bframes=3:subq=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0:b-adapt=2
Thanks to anyone who can demystify ffmpeg mobile encoding for me .
DWB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote