View Full Version : How to improve compression for this video?
orion44
7th March 2017, 19:55
I have a 584x480 video @30 fps which requires insane amount of bitrate. With Xvid, it needs from 7000 to 8000 kbit/s to look decent,
and with x264 on veryslow preset with crf set to 20, it requires around 3500 kbit/s.
What can I do to improve compression? I do not want to resize the video. Are there any filters I can use that can improve compression?
Here is the image of the video:
https://9-t.imgbox.com/iFBu8HnQ.jpg (http://imgbox.com/iFBu8HnQ)
FranceBB
7th March 2017, 20:22
Dunno. Perhaps motion compensation may help? If you don't need it to run on TV/Consoles, try with --me esa --subme 11 --ref 16.
Bloax
7th March 2017, 21:56
Well first of all you may want to bring it back to its native 292x240 resolution with PointResize.
Since you don't want to do that, then you could upload a short (even 180 frames would probably do the trick) clip of it for us to experiment on.
wonkey_monkey
8th March 2017, 01:23
All those hard pixels add up to a lot of detail, more than you'd find in any ordinary image, which is why you're getting such poor results with codecs like Xvid.
You might well be better off with a lossless codec like MagicYUV or UTVideo (use them in RGB mode). You should definitely pointresize back to single pixels if you can, as well.
orion44
8th March 2017, 15:23
Well first of all you may want to bring it back to its native 292x240 resolution with PointResize.
You should definitely pointresize back to single pixels if you can, as well.
Wouldn't the video look bad if I resized it to such a low resolution? Especially if I uploaded it to YouTube.
Since you don't want to do that, then you could upload a short (even 180 frames would probably do the trick) clip of it for us to experiment on.
Here's a 10-second lossless sample (Encoded with UTVideo in YUV420 BT.601 format):
http://www.mediafire.com/file/5ij3nqeoju3653s/Sample.avi
Sharc
8th March 2017, 17:55
deen("a2d",4) may help somewhat (10....20%).
cork_OS
8th March 2017, 22:10
Wouldn't the video look bad if I resized it to such a low resolution? Especially if I uploaded it to YouTube.
Downscale it with PointResize and then upscale it back with NNEDI3.
raffriff42
9th March 2017, 23:29
For uploading to YouTube you want a high bitrate and resolution. Don't worry about file size unless your upload speed is extremely poor.
Try to capture in RGB at the game's natural resolution, then scale up, then convert to YV12.
Try to hit a picture height of 720 or even 1080 for better quality on YouTube.
Bloax
10th March 2017, 03:09
ffmpegsource2("H:\Sample.avi")
ConvertToYV24()
PointResize(292,240)
rofl=knlmeanscl(a=2,d=5,h=25)
Merge(last,SMDegrain(tr=3,thsad=400,thsadC=240,prefilter=rofl,blksize=8),0.8)
PointResize(Width()*3,Height()*3)
Seems to do an alright job of making it more compressible. (knlmeans->smdegrain seems surprisingly useful)
If you want it to become more rough again, you can just decrease the "0.8" merge factor.
Performance might be bad on weaker systems though, heh.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.