![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
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 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 ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Registered User
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
|
Quote:
With those examples, does it matter if I use -vcodec mpeg4 instead of -vcodec libx264? |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
MFBA
Industry Role:
Join Date: Mar 2003
Location: PNW
Posts: 7,230
|
get winFF from www.winff.org and use one of their presets for mobile.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Purveyor, Fine Asian Porn
Industry Role:
Join Date: Jul 2004
Location: San Francisco Bay Area
Posts: 38,323
|
![]() Bump for smart fellers... ![]() ADG |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | ||
Monger Cash
Industry Role:
Join Date: Jul 2010
Posts: 2,773
|
Quote:
We're currently using the latest source build so I can't comment on older versions because they don't have the same optionss/flags. you can follow these instructions for building from source on debian/ubuntu: https://ffmpeg.org/trac/ffmpeg/wiki/...mpilationGuide Here's the script we use for encoding mp4's, as well as the ffmpeg settings: Quote:
|
||
![]() |
![]() ![]() ![]() ![]() ![]() |