Hi, i am always in trouble with encoding...
Storage and upload is a problem for me. So i want to encode my videos for smaller but lossless video files.
I know if you want smaller size your quality will not stay as main file but people encoding really big movie files to smaller files but quality is not losing like my projects.
I am using Hand Brake for encode.
What is the main thing about lossless video encoding for a smaller size? Thank you...
And here is a good compressed movie example; 4,811 Kbps but looking better then 16 Mbps. How do they do it?
Writing application; Mkvmerge. Should i use it for less kbps but good quality? And how can i find mkvmerge app?
![]()
+ Reply to Thread
Results 1 to 16 of 16
-
Last edited by Encoding; 24th Jun 2016 at 13:58.
-
No, you cant use mkvmerge to make a smaller files (not counting several bytes). It is only container. You can find it in Mkvtoolnix.
Unfortunately your mediainfo post is incomplete. You can use more P-frames and about 3 B-frames Subme minimal 7, higher is better + cabac on of course. If you will choose preset, so slower preset is better. If I remember the default preset in Handbrake is very fast, which is horrible.
You can also try 2pass encoding to reach your desired filesize.
BernixLast edited by Bernix; 21st Jun 2016 at 02:39.
-
lossless is not smaller
loss less encoding will unpack a video and make it larger
you mean make a smaller file size with out loosing quality
any time you choose a smaller bit rate or a lower resolution, there IS loss
your source file, something your ripped and converted or something you downloaded will always be the best quality you have
everything you do after that has some effect on the video
you can minimized that by careful choices, -
@Bernix thank you, yeah very fast option is not best option for quality i am using that option as slower or placebo.
@theewizard Yes i know it but how people can do it? People compressing 2 hours long movies, videos to 2 gb or 4 gb and quality is really good. But if i compress a 10 minute long video even with 16 Mbps bitrate quality is not be like that movie samples...
Are they using magic? Or which software? Everyone using handbrake or similar things like that? Is there any really good compressor, preset..etc can i learn? -
There will always be a loss with lossy compression, no matter the bitrate. Just a matter of how much.
@OP
Lossless codecs like Huffyuv, Lagarith, FFV1, and many others are designed to be 100% identical to the source but create massive files. +50GB per hour of HD footage is pretty standard. To minimize your video degradation while keeping the file size down, in Handbrake you can use one of the slower x264 presets, and maybe use a CRF of 18-23. Lower CRF values have higher quality and higher bitrates, while higher CRF values have lower quality and lower bitrates.
The slower x264 presets take longer to encode, but helps to keep the bitrate down for any given quality. Fast presets are less efficient and tend to be larger.
In a nutshell, there are 3 things to pick from in the world of encoding. Fast Encoding, Quality Video , and Smaller Filesize. But you can only have 2.Last edited by KarMa; 21st Jun 2016 at 06:29.
-
First of all, some videos compress better than others. Lots of motion, action, noise, flickering lights, billowing smoke, flames, shaky hand held shots, even higher contrast content make video much harder to compress. So if your video has a lot of that it's not going to compress well.
Removing film grain or CCD noise will help compressibility a lot. Try ussing some noise filters.
Bigger frames and higher frame rates require more bitrate.
Be careful about using x264's veryslow and placebo presets. They will produce video that Blu-ray (and a lot of other) players can't handle. -
-
@KarMa @jagabo Thank you for spending your time to reply me.
@jagabo You are really right. I am taking a shakey, bad equipment video but movie makers doing it with expensive equipments and with good technics.
So compress procession is going better for that mo-pictures i think.
If i want to storage a video for life time i choose quality video-smaller size option. I don't need fast render. But i can't even mix good quality-smaller size options well.
Now i am re-encoding all my personal videos to HEVC x265 codec with 3000 Kbps option. But for really special and important video files i keep bitrate at 5000 or 7000 kbps.
HEVC nice but re-editing or displaying can be cause little problem. (Some TVs can't display HEVC videos...) -
HEVC is best used with new fast PC/TV streamer etc..
I would not recode all my saved videos, too much time and effort, and not enough 'Gain'
easier and better IMO to buy more storage space, and "maybe" use hevc on the new videos and maybe not
i still prefer h2644/x264 encoding, and prefer MP4 over mkv, but have some of bothLast edited by theewizard; 21st Jun 2016 at 18:19.
-
First I ask, what is your target device? Do research on your target device. I ran into many problems with my PS3 which caused me to re-rip over and over. Ripping DVDs turned out to be immensely more complicated than I ever imagined. With my PS3 as my target device, I've downgraded my Handbrake settings to Baseline profile @ encoder level 3.1, medium preset (these are really basic settings). Also, always use CFR (constant frame rate) and never VFR (variable frame rate), unless your source is already VFR for some reason (unlikely). VFR causes a lot of nasty things to happen on a lot of players.
You're never going to get lossless encoding, unless you use a real lossless codec which will produce huge sizes. The best you can logically do is learn what you're doing so you do it right the first time, from the source (for example, I use makemkv to rip my DVDs, the resulting file is my source). You can encode as slow as you want (which actually can be a bad thing, because those slow settings can limit compatibility) but honestly the biggest factor here is the tradeoff between resulting filesize and video quality. I use RF25 in Handbrake. There is some noticeable quality loss (at least from a DVD source) but hell, the resulting sizes are pretty small and the quality is far above and beyond, well, some 'other' sources...Last edited by Downgraded286; 21st Jun 2016 at 19:34.
-
@theewizard Yes it's really waste of time but thank god with my processor's help i can handle it with minumum waste of time.
@Downgraded286 Target devices are PCs or tablets, phones etc... Not for playstation. Older led tvs cant play HEVC but older phones can play hevc with some applications. (MX Player best for this)
About CFR and VFR, i didn't know anything about them but i am searching it now. Thank you for that information! I recognize i always used variable frame rate. I will use constant on later projects. -
Quality archive and 7000? Not enough. You cannot keep all details and prevent banding at that bitrate. It might be good for this and that scene but wait for that one!
To seek holy grail bitrate value ... is a dog chasing its own tail, bad habit, I'd stop looking at encoding bitrate value, focus what you see, look at it as human, not some number label, because bitrate can fluctuate radically from scene to scene. To encode to bitrate and look for quality is Sisyphus effort. Your brain might even tell you, I gave it 10000 it must and looks good! Even if for a particular scene it might not be enough anyway.
CRF 18 is a bare minimum (archiving) and you will notice banding anyway. So that is the only reason (for me) to test HEVC and 10bit encoding. I did not test it extensively yet, x265 is in the developing stage right now ... but as soon I'd find out its 10bit encoding is good enough, and it is not that nuisance (using HEVC) , I'd use it. Or H.264 and simply enough bitrate lowering CRF. You might see encoded movies but they had been encoded with different settings depending on scene. Pro's have to do it. Why do they do it? This basic understanding is completely ignored while encoding it at home. There is just scenes that gives you hard time does not matter what. It is just how encoders work, they try to cheat and in some situations it does not work, you have to override it (giving it more bitrate). -
@montevo Thank you, i never heard it before. I'll try it now.
@_AI_ You are right, i think i should try CRF settings too. I always set my bitrate manuel. I will try CRF values 18-20.
x265 is updating but HandBrake's latest update at february 2016. How we can update x265 codec in handbrake? It's compiled. We can't update it i think. -
Have you tried Gradfun3() at the end of a script? I rarely encode without it these days, especially if I'm using some sort of noise filtering.
http://forum.doom9.org/showthread.php?p=1386559 -
No, for my videos I just give it enough bitrate and basically i want whatever was recorded to be stored. For movies, I do not care really.
These things are very good for streaming encoding though, so if I have to set up new batches for streaming encoding that perhaps be handy.
Similar Threads
-
How to properly reduce MP4 file size without much loss in quality?
By evile1690 in forum Video ConversionReplies: 11Last Post: 13th Mar 2016, 16:06 -
Video size reduction with minimal quality loss?
By johnrichards in forum Newbie / General discussionsReplies: 7Last Post: 26th Feb 2015, 01:31 -
Best video bitrate for a 2 hour movie with small file size?
By JackSpicer0 in forum Newbie / General discussionsReplies: 5Last Post: 20th Feb 2014, 15:47 -
Covert Vid3o Small Size Good Quality? Help!
By imDCStar in forum Video ConversionReplies: 1Last Post: 21st Jan 2013, 16:29 -
Home video to flv - quality loss and file size
By Bain80 in forum Video ConversionReplies: 3Last Post: 20th Aug 2011, 19:08