I am familiar with frame-accurate cutting operations for avc source (e.g., cutting on keyframes, open and closed gops, etc.), but I've never tried cutting 265 with HDR layers. I assume things work the same as 264 regarding the video stream (e.g., need to cut on closed gop boundaries), but I'm confused about the HDR metadata layers. Do those simply get sliced in place, too? What if some reencoding is necessary, do the HDR layers remain unaffected? Do HDR layers add any complexity or problems when trying to cut 265 files? I'm new to the whole 4k HDR scene.
For 264 material, I usually use mkvmerge/mkvtoolnix because it is easier for me and handles the audio and subtitle tracks well. I'll do a little reencoding with ffmpeg if I need to place keyframes for cutting. Anyone see a problem with this approach if I tried it with 265 and HDR layers?
Thanks in advance.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 11 of 11
Thread
-
-
For static hdr data (hdr10) I see no problem. For dynamic meta data (hdr10+, dv), the reencoding for the frame accurate cutting would require to extrat the dynamic data, cutting the data and re-adding it to the reencoded cut stream.
For dv extracting the hdr-meta-data, manually edit it and re-apply the meta data should be possible using https://github.com/quietvoid/dovi_tool.
For hdr10+ extracting the hdr-meta-data, manually edit it and re-apply the meta data should be possible using https://github.com/quietvoid/hdr10plus_tool
iirc both can convert the meta data to and from a human readable json format which addresses the frames by indices, so simply deleting the removed sections and apply the indices accordingly should work.
(Note that I haven't done this myseld and this is only from what I read a while ago when I was curious about the same thing.)
Cu Selurusers currently on my ignore list: deadrats, Stears555 -
They should both work fine while cutting on gop boundaries (without reencoding).
In theory (assuming you only reencode and don't change the content itself really by filtering) the reencoding should work too.
I don't know of any tool which specifically handles hdr content.users currently on my ignore list: deadrats, Stears555 -
Next to RPU metadata, note that Dolby Vision authored with FEL carries an extra videotrack which holds the differential data between 10-bit and 12-bit color.
I wouldn't know if, and with what tool such videostreams can be edited. -
Yes, I will need to do some playing around. The HDR stuff is all very new to me. I suspect that assuming I can locate closed GOP boundaries, or at least encode some GOP boundaries around my desired cut point in the main HEVC stream, then something like mkvmerge will "slice" through all the layers/streams and I won't have to do anything with the additional layers. But this is all speculation on my part. I don't know if the metadata or secondary video stream can even be cut and appended like that. Hopefully the secondary stream doesn't have GOP issues of it's own!
I know that FEL layer causes problems for playback (e.g., red shift on Nvidia Shield). Dovi_tool has an option to convert that to standard MEL, but I don't know what the repurcusions of that are. I believe that secondary layer is just discarded, so some information is probably lost.Last edited by Travillion; 17th Nov 2021 at 11:23.
-
Within mkv container, mkvmerge supports "single track dual layer" according to its Dolby Vision support status: https://gitlab.com/mbunkus/mkvtoolnix/-/wikis/Dolby-Vision-support-status
MakeMKV creates these. Whether making cuts goes well I've never tried TBH. Of course you can give it a go.
I doubt if presence of FEL has anything to do with Shields redpush. IIRC the issue was also mentioned when playing single layer DoVi.
What does dovi_tool when converting to MEL? Would it ignore FEL and create a dummy MEL to hold RPU? -
Of course! I knew that, I swear.... I've read so much about this the last few days that I think all this info is now just swimming around my head in a non-sensical mess.
I doubt if presence of FEL has anything to do with Shields redpush. IIRC the issue was also mentioned when playing single layer DoVi.
What does dovi_tool when converting to MEL? Would it ignore FEL and create a dummy MEL to hold RPU? -
Similar Threads
-
Why is the JAWS 4K UHD streaming quality, better than my JAWS 4K UHD disc?
By ZackyDog in forum Video Streaming DownloadingReplies: 25Last Post: 28th Oct 2021, 04:23 -
UHD mkv to BD-R DL50GB - tool to shrink >50K UHD MKV to BD compliant BDMV?
By njweb in forum Blu-ray RippingReplies: 6Last Post: 5th Mar 2021, 03:07 -
Cutting/trimming mp4 files without re-encoding
By CaptainCatholic587 in forum EditingReplies: 10Last Post: 13th Jul 2020, 00:23 -
Lossless cutting of mov files
By Alonshow in forum EditingReplies: 2Last Post: 13th Feb 2020, 16:25 -
paly uhd mkv files
By mymihan in forum Newbie / General discussionsReplies: 5Last Post: 28th Nov 2017, 07:21