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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 05-09-2017, 08:30 PM   #1
freak22
Confirmed User
 
Join Date: Oct 2005
Posts: 148
How to improve video quality with FFmpeg?

This is my 480p FFmpeg settings now. I need to improve the quality by 20-30%.

-vcodec libx264 -movflags +faststart -threads 0 -r 25 -g 50 -crf 28 -me_method hex -trellis 0 -bf 8 -acodec aac -strict -2 -ar 44100 -ab 128k -f mp4
__________________
skype: jerry2ny
freak22 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-09-2017, 09:13 PM   #2
johnnyloadproductions
Account Shutdown
 
Industry Role:
Join Date: Oct 2008
Location: Gone
Posts: 3,611
Quote:
Originally Posted by freak22 View Post
This is my 480p FFmpeg settings now. I need to improve the quality by 20-30%.

-vcodec libx264 -movflags +faststart -threads 0 -r 25 -g 50 -crf 28 -me_method hex -trellis 0 -bf 8 -acodec aac -strict -2 -ar 44100 -ab 128k -f mp4
Hey freak22, not answering your question but still related.

Would people like you like an opensource video editor batch processor? I played around with PHP ffmpeg and made a basic editor.
I'm always up for improving my skill level and like building things people would use.

Granted people argue that there are open source video editors and so forth but the idea would be to set up hundreds or even thousands of custom jobs to a video and then just let it sit while the editor instance on a service like digital ocean just pumps them out over a day or two and then sends you an email when done.

Interest?
johnnyloadproductions is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-09-2017, 09:25 PM   #3
Konda
...
 
Konda's Avatar
 
Industry Role:
Join Date: Apr 2003
Posts: 2,280
Quote:
Originally Posted by freak22 View Post
This is my 480p FFmpeg settings now. I need to improve the quality by 20-30%.

-vcodec libx264 -movflags +faststart -threads 0 -r 25 -g 50 -crf 28 -me_method hex -trellis 0 -bf 8 -acodec aac -strict -2 -ar 44100 -ab 128k -f mp4
First of all output quality depends on the input quality, so you need good source material to achieve good encoded material.

Use 2 pass encoding for better quality

also there is no video bitrate in your command? (usually looks something like -b:v 800k)
and is the source already 480p, if not you'd have to also make sure to resize it to 640x480

If you need your content encoded for paysites or something and want quality encoding I recommend using zencoder.com it's not expensive and gives much better results.
Konda is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-09-2017, 09:56 PM   #4
ZENRA
Confirmed User
 
ZENRA's Avatar
 
Industry Role:
Join Date: Sep 2016
Location: Japan
Posts: 655
CRF28 may result in lower quality than what you'd like. I'd avoid going over CRF22.

However, Konda is right that input quality also plays a factor. Your best bet is to play around with the CRF settings and since you're working with a SD movie, encoding should still be fast enough to make testing quick and easy.
__________________
ZENRA | Subtitled Japanese AV | @ZENRAMANIAC
JAV VR Content Manager at SexLikeReal
ZENRA is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-10-2017, 05:27 PM   #5
freak22
Confirmed User
 
Join Date: Oct 2005
Posts: 148
Quote:
Originally Posted by ZENRA View Post
CRF28 may result in lower quality than what you'd like. I'd avoid going over CRF22.

However, Konda is right that input quality also plays a factor. Your best bet is to play around with the CRF settings and since you're working with a SD movie, encoding should still be fast enough to make testing quick and easy.
thanks
__________________
skype: jerry2ny
freak22 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-10-2017, 08:12 PM   #6
plsureking
bored
 
plsureking's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Metaverse
Posts: 4,675
dropping framerate a little gives you extra room to increase bitrate. easy way to fix quality without noticeably affecting the video (unless its 4k).

#
__________________
#
plsureking is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
quality, ffmpeg, improve, hex, trellis, me_method, crf, strict, 128k, mp4, aac, acodec, threads, 480p, settings, video, movflags, faststart, libx264, vcodec, 20-30%



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.