Hello.
I would like to convert some video files from mkv to mp4 and vice versa. However, I want to keep the video files identical (also identical file size) which just a different container but it seems that there is no function for it in Handbrake. I read that the output file size varies from source to source but I can't find how to determine which number to put it on in Constant Quality for a file size if I want to keep the file size more or less the same as the source video.
This is also the case for some video files that I have that are for example in mp4 but have interlace video issues. I want to basically have the same video file in size but with a decomb pass to solve the issues. Again, I don't know how to determine what number I should set it in in Constant Quality. I don't want to it for hours testing setting after setting before I get the file size I am happy with.
Isn't there some formula one could apply in order to determine what number in Constant Quality should one set in order to get a desired file size?
Thanks in advance!
+ Reply to Thread
Results 1 to 6 of 6
-
-
Can't you just remux the video and audio into the new container?
-
I'm a bit of a newbie at this so I'm not sure what the best options are.
Can you remux the video and audio via Handbrake?
And in regards of applying decomb to the video but still wanting to keep the output file at the same file size or a similar file size (does using decomb usually result in a bigger file size?), what should I do?
Thanks. -
No.
Run two passes for the desired filesize/bitrate. Deinterlacing will result in a smaller size for the same quality because interlacing is more difficult to encode. There's no way to run proper compression tests in Handbrake because it doesn't accept AviSynth scripts as input. If it did you could get a better idea of the final size for a given quality. You could do ... say ... 10% of the video and get a less precise idea of what CRF will allow you to reach your desired final size, but that's a very imprecise way to do it.
Is this interlaced video a movie? Care to put up a small sample for us to have a look? 10 seconds of a scene with steady motion will be plenty. -
Regarding quality based encoding vs. bitrate based encoding:
With quality based encoding you're telling the encoder what quality you want. It will use whatever bitrate (and hence file size) is necessary to deliver that quality. With bitrate based encoding you're telling the encoder the bitrate (and hence the file size) you want. The encoder will deliver whatever quality it can for that bitrate.
Different videos require different amounts of bitrate to maintain visual quality. So there's no way to know what the file size will be when you encode with constant quality. And there's no way to know what the quality will be when you encode to a specified bitrate.
Regarding remuxing:
Remuxing is the process of taking compressed audio and video out of one container (MKV in this case) and putting it in another (or the same) container. It does not change the audio or video at all. Like taking a cake out of one box and putting it in another. If you do it carefully there's no damage to the cake.Last edited by jagabo; 3rd Mar 2014 at 13:23.
Similar Threads
-
Handbrake, so many settings options. Best for Size Quality
By prezzacc in forum Newbie / General discussionsReplies: 14Last Post: 23rd Sep 2013, 16:46 -
Question about Handbrake's 'Constant Quality' setting
By Ronaldinho in forum Newbie / General discussionsReplies: 10Last Post: 8th Jun 2013, 02:55 -
Handbrake: Output picture size after conversion differs to source
By RF264 in forum DVD RippingReplies: 5Last Post: 11th Mar 2011, 07:02 -
Best h.264 setting for optimal size/quality with handbrake.
By frickfrock99 in forum Newbie / General discussionsReplies: 4Last Post: 1st Oct 2010, 02:09 -
Auto-GK file output, low quality despite large size
By Fallout1 in forum Newbie / General discussionsReplies: 10Last Post: 5th Oct 2009, 18:27