Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
6th August 2022, 08:49 | #241 | Link | |
Registered User
Join Date: Jul 2022
Posts: 123
|
Quote:
I saw this post over at the MakeMKV forum and got curious about whether DDVT can be used to achieve the same result, or if a more involved process is needed. Last edited by GodzilaAvenger; 6th August 2022 at 10:09. |
|
6th August 2022, 10:27 | #242 | Link | |
Registered User
Join Date: Dec 2013
Posts: 631
|
Yeah, learning about DV seems endless. I can't tell you why the frametypes must match. Other than that, I also remember MakeMKV popping up a huge amount of sync errors. I don't know if the two issues are related or should be assessed separately.
Reading your link Quote:
|
|
6th August 2022, 23:08 | #243 | Link | |
Registered User
Join Date: Jul 2022
Posts: 14
|
Quote:
I've been successful doing that when the hybrid DV-HDR and the Blu-ray have the same runtime. If they are different runtimes, I use the delay options in MKVToolnix and have been successful so far. I mainly use MKVToolnix from Linux, but also have it on my Win11 Pro system, the only Windows box I use. I primarily use Windows for gaming and HTPC, but occasionally for video editing when the tools/scripts are only made for it (like these scripts). It would be preferable to use scripts on Linux but converting these so they would work is beyond my skill level at the moment. I note that injector uses MKVToolnix (mkvmerge) when asked to 'mux stream in mkv'. I'd like to learn more of the advanced functions available so I could do it manually on Linux if needed. I'll have to take a look through the injector script and see if I can decipher the mkvmerge options that it uses. Regardless, thanks for the feedback. |
|
6th August 2022, 23:57 | #244 | Link | |
Registered User
Join Date: Jul 2022
Posts: 123
|
Quote:
Sample |
|
7th August 2022, 03:39 | #245 | Link |
Registered User
Join Date: Jul 2022
Posts: 19
|
Also, I just realized that a lot of the movies I want to do a hybrid of have the Bluray video start a few seconds before the Web video file. I don't know how to go about merging them for a hybrid. Do I first trim the Bluray video so they match? If so how would I do that?
|
7th August 2022, 05:34 | #246 | Link | |
Registered User
Join Date: Jul 2022
Posts: 123
|
Quote:
|
|
7th August 2022, 11:57 | #248 | Link | |
Registered User
Join Date: Dec 2013
Posts: 631
|
Quote:
It's basically what MakeMKV does too. Please inform me if you did something else. As for your sample, it does not trigger DV on my player either. HDR10 is all I got. No flickering though, playback is okay. But I'm somewhat confused about the mkv. Is combining a recoded BL with native FEL+RPU all you did? Reason I ask is I found something odd. First thing obviously is BL being cropped where native FEL is not. I doubt that cropped BL with uncropped FEL (and RPU, for that matter) would be possible for proper DV playback in the first place. Recoding BL doesn't mean you have to crop it. Also, I demuxed your mkv into the elementary videostream, which still contains BL, FEL and RPU. With dovitool I extracted RPU. Using dovitool, I then demuxed the demuxed elementary stream into BL and FEL. Extracted RPU from FEL. Did a hasnumbercheck on both RPU's. They don't match, where they usually do. I'm curious if/what you did with the RPU? Last edited by von Suppé; 7th August 2022 at 12:16. |
|
7th August 2022, 19:08 | #249 | Link | |
Registered User
Join Date: Jul 2022
Posts: 123
|
Quote:
Here's what I did: I used DDVT_DEMUXER with the remux mkv, and used it to only extract the EL (option 2), but not the BL or the RPU, and I got a EL.hevc file. I then used DDVT_INJECTOR to add that EL.hevc to the re-encoded mkv, which I think is the same as what you said (interleaving BL and EL+RPU and then muxing into an mkv, for muxing the options where Standard and MakeMKV, I wasn't sure what the difference was so I went with Standard). I didn't do anything directly to the RPU, DDVT may have changed some things in the process because of the cropped BL. I wonder if the cropped BL is the reason DV is not triggered on your player. Following @-QfG-'s directions in the next post, I took the following steps using one of my uncropped re-encodes: 1. Used DDVT_DEMUXER to extract EL.hevc (1920x1080) from the remux mkv, then put it next to BL.hevc (3840x2160). 2. Gave DDVT_INJECTOR the BL.hevc file as input, which then recognized the EL. 3. Started the injecting (interleaving of EL and RPU NALUs) process, which resulted in a BL_[BL+EL+RPU].hevc file. Finally, used MKVToolNix to create a mkv. The file below contains a sample of both the source (remux) and re-encode files. Please let me know if either triggers DV on your player, thanks! Source&Encode Last edited by GodzilaAvenger; 8th August 2022 at 03:11. |
|
7th August 2022, 19:08 | #250 | Link |
QfG Group Germany
Join Date: Oct 2018
Location: Germany
Posts: 245
|
Steps for Building a Profile 7 Single Layer MKV:
1. Extract with Extractor the Enhanced Layer. Copy the hevc file nearly the Base Layer File (Base Layer WITHOUT DoVi RPU or EL Stream!) and save this File as EL.hevc. 2. Open Base Layer file/Container with the Injector. If the Injector found the EL.hevc file you have a new option to mux the MEL/FEL Layer into your Base Layer Stream. Differences between Standard and makeMKV: --eos-before-el Write the EOS/EOB NALUs before the EL. Defaults to false. This flag enables the same behaviour as MakeMKV and yusesope's mux script. Enabling this therefore results in identical output using dovi_tool.
__________________
Last edited by -QfG-; 7th August 2022 at 19:15. |
7th August 2022, 20:52 | #251 | Link |
Registered User
Join Date: Jul 2022
Posts: 14
|
No, so far almost all titles I've tried have worked using the 'mux stream to mkv' option of Injector. I have encountered one title where the RPU.bin was extracted but Injector wouldn't recognize it. It also reported that there was a max luminance value over 10000 - when that happens I've read to try using the 'change L6 metadata to match q=with video' in Injector.
Alas that doesn't work as Injector doesn't recognize the RPU.bin file: == RPU INPUT =========================================================================================================== Filename = [RPU.bin] RPU Info = [DV Profile = n.a.] [CM Version = n.a.] [Frames = n.a.] I'll give the manual method a try using the Default duration/FPS setting at some point. Right now I'm working on a backlog of titles where I currently have both a HDR and DV copy of each title in my media folders. Trying to convert as many as possible so I can free up some storage space. Thanks for the assistance - I'll let you know if I'm successful when I try the manual method again. |
8th August 2022, 00:12 | #252 | Link | |
Registered User
Join Date: Feb 2020
Posts: 541
|
Quote:
"why framedropping would come into play" you need to drop actual video frames because there is no simple way to convert between /1.001 and not without a GPU farm. Imagine a display that is 24.000/1.001 and your display 24.000 on it. In fact it was a crazy problem in Apple 4K TV (that was fixed, every display supports both, it is mandated). You can read about it here: https://en.wikipedia.org/wiki/24p "Just rewriting timestamps would keep native frames and same framecount" That would desync audio and subtitles that is why it is not done. Hollywood converts by using smearing on 10 frames. Also, as I said there is still only one true framerate (24.000) that is synced to real clock out there. Imagine a video scene with a ticking clock. Haha. Last edited by Balling; 8th August 2022 at 00:21. |
|
8th August 2022, 04:20 | #253 | Link | |
Registered User
Join Date: Jul 2022
Posts: 19
|
Quote:
|
|
8th August 2022, 10:05 | #256 | Link | ||
Registered User
Join Date: Dec 2013
Posts: 631
|
@Balling
I think you're missing the point. Note what my initial question was: is cross-using 23.976 RPU for 24 fps video and vice versa possible? Answer: RPU works with framenumbers, so yes. So no need to change framerate. As for your introduction to conversion and the framedropping: Quote:
And in the light of my initial question, this way would even defy its own purpose; RPU and video would grow out of sync. Yes, there is: rewriting timestamps Quote:
As an example, imagine having a TrueHD + Atmos track from a 24 fps source and a desired videotrack from a 23.976 source. No way you can speed-down Atmos while keeping Atmos format (with freeware, that is). But if you'd instead speed-up the video by rewriting timestamps, it can sync to the native Atmos track. As for subs, that's a no-brainer. They can be resynced in the blink of an eye. If you introduce framerate conversion; for RPU there's no need. You might have considered the reason why anybody would do such anyway. Last edited by von Suppé; 8th August 2022 at 16:55. |
||
8th August 2022, 10:14 | #257 | Link | |
Registered User
Join Date: Dec 2013
Posts: 631
|
Quote:
What would be a specific reason to use either of the two? Can you give an example? Last edited by von Suppé; 8th August 2022 at 10:25. |
|
8th August 2022, 11:18 | #258 | Link | |
Registered User
Join Date: Dec 2013
Posts: 631
|
Quote:
MediaInfo shows variable framerate and weird framerate number. Maybe something went wrong? |
|
8th August 2022, 14:33 | #259 | Link | |
Registered User
Join Date: Jul 2022
Posts: 123
|
Quote:
Either way, I uploaded the entire encoded file below (remux was way too big), so check it out if you like, and thanks! Encode |
|
|
|