Hi all,
Been a long time, about 15 years since I used any of the tools like Megui, Avisnth
I am looking to shrink a 40gb video file to maybe a 30gb one, whilst retaining the HDR tags in place.
My original file is an untouched H265 HEVC video file.
I managed to do a conversion on Megui (ffmpeg), but no HDR tags
Are there any guides on how to convert using Megui and keep the HDR in place?
+ Reply to Thread
Results 1 to 15 of 15
-
-
You can try clever FFmpeg-GUI.
Load your 4k HDR video, click main, click encode video stream, click keep size, set x265 as encoder, set crf 20, click various, check HDR/HLG, in the next screen check Keep HDR/HLG, click ok, click to batch.
[Attachment 76369 - Click to enlarge]
Click Batch tasks and click execute.
Since 4k HDR 10bit encoding is slow, the batch way is better because the computer does not switch to standby mode until the end of processing, so complete processing is guaranteed.
After the batch task is finished, click multiplex, the newly generated HDR video stream is displayed in orange.
Check all streams on the left except the original video stream (the blue one) and click multiplex.
[Attachment 76370 - Click to enlarge]
Done. -
Thanks for this mate.
I've never used crf for encoding. Am I correct in understanding 0 will be lossless, and should be about the same file size?
Are there 2 pass options within this app, using bitrate?Last edited by Drillakilla; 22nd Jan 2024 at 11:59.
-
Crf 0 is lossless, but will increase the filesize.
CRF 20 with hevc is visually lossless and will decrease the filesize.
crf encoding is the best, no need for 2 pass.
2 pass encoding is not present in the app. -
Thanks mate. Really helpful. last question, I'm converting action movies,, do you think crf 20 still works?
-
Even if Megui is capable of HEVC encoding, I haven't seen any indication that Megui has been updated to preserve HDR metadata. However, I did find comments going back a few years indicating that you are not the only one who wants that feature to be added.
Before I came back to this thread and saw ProWo's post, I tried clever FFmpeg-GUI with a UHD video that has HDR10 and was able to produce a significantly smaller file while preserving HDR. Unfortunately, I don't have any action movies samples to try.Ignore list: hello_hello, tried, TechLord, Snoopy329 -
-
-
Thanks mate. I don't mind the speed so much, trying to retain the picture quality as I use a projector.
The final output size is 16gb down from 40gb, and this is 16 CRF. I'm actually shocked at how good the picture is, I can't actually tell the difference. -
Doing some great encodes now.
Is there any way to estimate the output file size, I've encoded two movies with vastly different file sizes, both action movies, both about two hours, using CRF 14.
One came out 16gb, the other came out 10gb.
If I could estimate the size I would dial up/down the CRF number? -
Similar Threads
-
Video conversion from SDR to HDR (inverse tone mapping) and upscaling.
By monliv in forum Video ConversionReplies: 3Last Post: 16th Nov 2023, 11:15 -
HDR experience - Win7 + HDR map + HDMI 1.3 vs. Win10/11 + HDR + HDMI 2.0
By bloodhand in forum Software PlayingReplies: 4Last Post: 17th May 2023, 17:13 -
Help: YouTube HDR to SDR Conversion Control with LUT using mkvmerge
By LegendarySaiyan in forum Video ConversionReplies: 9Last Post: 23rd Jun 2022, 11:52 -
Any solution to transform HDR video to Youtube compatible HDR?
By Truthler in forum Video ConversionReplies: 2Last Post: 20th Jul 2021, 11:37 -
MPC-BE HDR media in non HDR screens. Oversaturated picture.
By Zapa in forum Software PlayingReplies: 4Last Post: 29th Dec 2019, 11:31