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.

 

Go Back   Doom9's Forum > Video Encoding > High Efficiency Video Coding (HEVC)

Reply
 
Thread Tools Search this Thread Display Modes
Old 23rd February 2025, 21:58   #1081  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,345
Quote:
Originally Posted by kolak View Post
I would say that green means empty?
I'm interested to know if 'secondary streams' encoded below 100kbps are green or grey?!
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is online now   Reply With Quote
Old 23rd February 2025, 22:09   #1082  |  Link
GodzilaAvenger
Registered User
 
GodzilaAvenger's Avatar
 
Join Date: Jul 2022
Posts: 152
Didn't notice you were the one quoted in that post

I'd say Fifth Element is MEL. I don't know why I said the secondary 1080p track is grey, my bad. I guess both MEL and fake FEL show the green image.

Here's how I see this FEL/MEL debate. There are disks like Gladiator where the EL contains both additional picture information and the RPU (EL bitrate higher than 3 Mbps), i.e. FEL. There are also those like Casino Royale and Fifth Element where the EL merely contains the RPU (EL bitrate around 100 kbps), i.e. MEL. Then there are the inbetweeners from (mostly) Sony and Warner Bros. (EL bitrate around 2 Mbps). You could argue these are MEL because, unlike FEL, the EL does not contain any additional picture information. Or, you could argue that these are FEL because, unlike MEL, based on the bitrate the EL contains something in addition to the RPU (what it is is a mystery to me, if someone here knows or has worked at Sony/Warner Bros. please share because I genuinely want to know). I just call them 'fake FEL' to encompass both sides of the argument (this post from -QfG- is also helpful).

At the end of the day, I think this is mostly semantics. The point I was trying to make when answering lemaireus' question was that if they see an inbetweener they can simply keep the RPU and discard the rest of the EL.

Last edited by GodzilaAvenger; 23rd February 2025 at 22:16.
GodzilaAvenger is offline   Reply With Quote
Old 23rd February 2025, 22:27   #1083  |  Link
Kuler087
Registered User
 
Kuler087's Avatar
 
Join Date: Aug 2021
Location: Canada
Posts: 552
Forget about the bitrate or the image color. The only reliable and accurate way to tell if a video is FEL or MEL is by reading the RPU header flag.

"dovi_profile": 7,
"el_type": "FEL",


Also, I've seen some 16mb/s EL add visually nothing to the 12-bit decoded stream, and I've seen some 2-3mb/s EL add grains or brightness.
__________________
DoVi_Scripts //// Dolby Vision Stuff (more tabs below)
LG OLED G5 77'' + 5.1.2 Denon AVR + Ugoos AM6Bplus
Sorry for my English
Kuler087 is offline   Reply With Quote
Old 23rd February 2025, 22:36   #1084  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,345
Thanks for the reply GodzilaAvenger,

The thing that really annoys me (and probably everybody else) about Dolby Vision on 4K UHD disc is that the encodes are not all FEL. Indeed, I feel quite ripped off when I find out that the secondary stream on the disc has been encoded with a green video stream!
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is online now   Reply With Quote
Old 24th February 2025, 04:02   #1085  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,909
BTW, that green plane means: all component pixel values are zero.
(this is what MPC returns when the illegal triplet Y=U=V=0 is rendered.
U=0 gives (illegal FullScale) Yellow, V=0 gives (illegal FullScale) Cyan, U,V=0 give (illegal FullScale) Green)
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."

Last edited by Emulgator; 24th February 2025 at 04:08.
Emulgator is offline   Reply With Quote
Old 24th February 2025, 11:39   #1086  |  Link
SubSeven
Registered User
 
Join Date: Feb 2025
Posts: 1
MKV Hybrid Release (DV + HDR10) Profile 8

Hi everyone,

great tools and great discussions.
Unfortunately I wasn't successful to convert my MKV Hybrid Release (DV with HDR10 fallback) Profile 8 into an mp4 + DV format that can be played on my LG OLED TV.

Can someone help me here?

Thanks and best regards.
SubSeven is offline   Reply With Quote
Old 24th February 2025, 12:58   #1087  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,345
Quote:
Originally Posted by SeeMoreDigital View Post
Thanks for the reply GodzilaAvenger,

The thing that really annoys me (and probably everybody else) about Dolby Vision on 4K UHD disc is that the encodes are not all FEL. Indeed, I feel quite ripped off when I find out that the secondary stream on the disc has been encoded with a green video stream!
Well just for a laugh I did some tinkering this morning.

I added a 'MEL' secondary video stream from '2001: A Space Odyssey' to the 1982 release of 'Blade Runner' using TSmuxerGUI. Upon playback both my OPPO UDP-203 and 2016 LG television flagged a Dolby Vision signal. Suffice to say, the image was brighter and the colours were a bit off. But it just goes to show how easy it is to create 'fake' Dolby Vision content!

EDIT: Today I swapped the 'MEL' secondary video stream from '2001: A Space Odyssey' with 'James Bond: Casino Royale' and created a new 'Blade Runner' mux. Doing this saved around 2GB in overall file size and seemed to reduce the brightness of the image.
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |

Last edited by SeeMoreDigital; 25th February 2025 at 21:18.
SeeMoreDigital is online now   Reply With Quote
Old 24th February 2025, 13:13   #1088  |  Link
lemaireus
Registered User
 
Join Date: Apr 2011
Posts: 99
Quote:
Originally Posted by Kuler087 View Post
Of course, it can bake FEL: Workflow 8-2-1
Dovi_scripts can do ANYthing that is DV-related and there's no such thing as ''fake FEL''
and all the modes/workflows are described on the main page:
Thank you, Kuler, for joining the conversation. You've always been hearteningly, illuminatingly helpful, and you are a veritable encyclopedia when it comes to matters related to Dolby Vision. I still have some nigging doubts left over with reference to "baking" (is "injecting" in DDVT tools an equivalent term? I ask because I've been using DDVT to "inject" MEL/FELs into re-encodes of blu-ray sources which, as the conversation here suggests, is not quite the right way of going about the process.), and perhaps it would be better if I raise those questions in the DoVi_Scripts forum in which you have already answered so many of my queries.
lemaireus is offline   Reply With Quote
Old 24th February 2025, 13:31   #1089  |  Link
Kuler087
Registered User
 
Kuler087's Avatar
 
Join Date: Aug 2021
Location: Canada
Posts: 552
Quote:
Originally Posted by lemaireus View Post
Thank you, Kuler, for joining the conversation. You've always been hearteningly, illuminatingly helpful, and you are a veritable encyclopedia when it comes to matters related to Dolby Vision. I still have some nigging doubts left over with reference to "baking" (is "injecting" in DDVT tools an equivalent term? I ask because I've been using DDVT to "inject" MEL/FELs into re-encodes of blu-ray sources which, as the conversation here suggests, is not quite the right way of going about the process.), and perhaps it would be better if I raise those questions in the DoVi_Scripts forum in which you have already answered so many of my queries.
I don't know what DDVT does or can do, I never used it but baking FEL requires re-encoding the base layer with x265 or NVenc (+ dovi baker).

Injecting or muxing the EL back into the BL is NOT the same as baking it and will be wrong.

But yeah, you probably should ask DS questions in the DS thread. The process is easy though, just make sure you have avisynthplus installed and run workflow 8-2-1 with your P7 mkv rip. The output will be P8 with the FEL essence baked in the BL. You can control the encoding type( crf, 1-pass, 2-pass), bitrate and settings at lines 148-158
__________________
DoVi_Scripts //// Dolby Vision Stuff (more tabs below)
LG OLED G5 77'' + 5.1.2 Denon AVR + Ugoos AM6Bplus
Sorry for my English
Kuler087 is offline   Reply With Quote
Old 24th February 2025, 13:54   #1090  |  Link
lemaireus
Registered User
 
Join Date: Apr 2011
Posts: 99
Quote:
Originally Posted by Kuler087 View Post
I don't know what DDVT does or can do, I never used it but baking FEL requires re-encoding the base layer with x265 or NVenc (+ dovi baker).

Injecting or muxing the EL back into the BL is NOT the same as baking it and will be wrong.

But yeah, you probably should ask DS questions in the DS thread. The process is easy though, just make sure you have avisynthplus installed and run workflow 8-2-1 with your P7 mkv rip. The output will be P8 with the FEL essence baked in the BL. You can control the encoding type( crf, 1-pass, 2-pass), bitrate and settings at lines 148-158
Thank you, Kuler, for confirming what quietvoid and GodzillaAvenger had also pointed out regarding injecting EL into BL being the wrong way to go about the process of re-encoding. I'll take the questions about DoVi_Scripts to that forum, perhaps later, after I have played around long enough with DoVi_Scripts and become familiar with it. At the moment, I use it for EAC3 7.1 audio encodes of 7.1 TrueHD Atmos and DTS: X streams and it does a great job and, to my knowledge, is the only application that offers 7.1 audio encoding.

In the meantime, if someone here can tell us exactly what DDVT tools does when it "injects" an FEL/MEL into an x265 re-encode of the BL, that would help.
lemaireus is offline   Reply With Quote
Old 24th February 2025, 18:39   #1091  |  Link
GodzilaAvenger
Registered User
 
GodzilaAvenger's Avatar
 
Join Date: Jul 2022
Posts: 152
From the code, my understanding is that DDVT uses dovi_tool's inject-rpu function, which based on the documentation "Interleaves RPU NAL units between slices in an HEVC encoded bitstream."
GodzilaAvenger is offline   Reply With Quote
Old 25th February 2025, 04:15   #1092  |  Link
lemaireus
Registered User
 
Join Date: Apr 2011
Posts: 99
Quote:
Originally Posted by GodzilaAvenger View Post
From the code, my understanding is that DDVT uses dovi_tool's inject-rpu function, which based on the documentation "Interleaves RPU NAL units between slices in an HEVC encoded bitstream."
Yes, it says as much when it injects the RPU. The question is about the FEL/MEL hevc file. Since DDVT offers the option to first demux and later inject the hevc FEL/MEL, one would think that it would/should take into account the problem that you, quietvoid, and Kuler refer to. If DDVT cannot sync the EL with the BL, then maybe the option to inject the EL should come with that cautionary note?

Last edited by lemaireus; 25th February 2025 at 04:58.
lemaireus is offline   Reply With Quote
Old 25th February 2025, 05:07   #1093  |  Link
GodzilaAvenger
Registered User
 
GodzilaAvenger's Avatar
 
Join Date: Jul 2022
Posts: 152
Perhaps. I guess it depends on the EL, if it is MEL (i.e. just RPU) then injecting it is probably fine.
GodzilaAvenger is offline   Reply With Quote
Old 25th February 2025, 10:40   #1094  |  Link
lemaireus
Registered User
 
Join Date: Apr 2011
Posts: 99
I suppose the ones who compiled this wonderful, incredibly user-friendly set of tools are the only ones who can tell us what DDVT tools do when they "inject" an FEL hevc into an x265 re-encoded video from a blu-ray source.
lemaireus is offline   Reply With Quote
Old 13th March 2025, 11:28   #1095  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,345
Wrong topic
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |

Last edited by SeeMoreDigital; 13th March 2025 at 16:31.
SeeMoreDigital is online now   Reply With Quote
Old 20th March 2025, 10:39   #1096  |  Link
leotwo
Registered User
 
Join Date: Sep 2024
Posts: 1
Error when trying to demux RPU from video

The tool "can't find" the RPU in newly released web-dl videoes from Amazon Prime.

Mediainfo seems ok - showing there's and RPU and Profile 5.6, dolby vision profile 5 is found by the tool, but it somehow doesn't find the RPU or isn't able to extract it..
Attached Images
   
leotwo is offline   Reply With Quote
Old 20th March 2025, 18:49   #1097  |  Link
pejok
Registered User
 
Join Date: Jan 2025
Posts: 4
It is not possible to convert DV profile 5 only (it doesn't contain HDR10) into DV Profile 8.1.
DV Profile 8.1 needs HDR10 base. You cannot have DV Profile 8.1 only without HDR10 base.
In this case, you have to find HDR10 version of the video (even without DV layer) and inject/make hybrid with DV Profile 5 file.

Or did you try to do direct hybrid with HDR10 video and not to demux only the DV Profile 5?

Correct me if I am wrong.

// EDIT:
I know what you meant now.
I just tried to demux and convert DV 5 file from AMZN Prime, and everything worked.
Latest v0.65.3

SOURCE:


DEMUX SETTINGS:


DEMUX DONE:


EXPORTED FILE:

Last edited by pejok; 20th March 2025 at 19:32. Reason: testing done
pejok is offline   Reply With Quote
Old 27th March 2025, 03:40   #1098  |  Link
Amateur
Registered User
 
Join Date: Dec 2010
Posts: 144
Suddenly I'm getting a lot of errors with trying to use the Hybrid tool in the folder. After getting the error, I came back here to download an update but I still get the error.

From my pictures, the HDR file has HDR10+ and the DV file has Dolby Vision Profile 5.06. I drag-and-drop the files into the Hybrid window so it's not like I'm typing anything incorrectly.

The original DV mp4 file had some weirdness with the FPS so I muxed it into an MKV to see if that helped but it didn't.

I also notice that the screen says that it can turn HDR10+ into Dolby Vision 8 so I tried that as well and still got an error

What is going on?
Attached Images
     
Amateur is offline   Reply With Quote
Old 27th March 2025, 06:40   #1099  |  Link
GodzilaAvenger
Registered User
 
GodzilaAvenger's Avatar
 
Join Date: Jul 2022
Posts: 152
Does the file path contain any special characters like ( & %?
GodzilaAvenger is offline   Reply With Quote
Old 27th March 2025, 22:53   #1100  |  Link
Amateur
Registered User
 
Join Date: Dec 2010
Posts: 144
Quote:
Originally Posted by GodzilaAvenger View Post
Does the file path contain any special characters like ( & %?
Only a dash (-) or a period. But I've been doing files from the same folder for a little while now.

I tried moving it into a shorter file path with no characters at all. This time I watched the process and noticed this for the DV file. How does it have DV profile 5 but no RPU?
Attached Images
 

Last edited by Amateur; 28th March 2025 at 04:21.
Amateur is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 20:40.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.