Dolby Vision now possible through MP4 Mux.
Re: Dolby Vision now possible through MP4 Mux.
@RESET_9999
Thank you for the latest release and the updated tools package.
Thank you for the latest release and the updated tools package.
Zidoo Z9X | HiMedia Q5 Pro and Q10 Pro | ZDMC 20.1 | Remote WeChip | Splitter HDMI HDFury AVR-KEY | Display LG 65B6V | Audio processor Yamaha RX-V775 | Rotel RMB-1075 | Storage Qnap Ts-431K +TL-D800C
My PC Ryzen 7950X
My PC Ryzen 7950X
Re: Dolby Vision now possible through MP4 Mux.
thanks for the reply. can you please let me know what version of jellyfin you did this in? is FF/REW working for you with m2ts files in jellyfin? I had to move to Emby because FF/REW was not working for me with m2ts files in jellyfin and I can not use plex because it transcodes when SRT is enabled.Mithrandir wrote: ↑Wed May 03, 2023 7:14 am
Default LG WebOS profile is broken for transcoding in Jellyfin (at least for CX).
It starts transcoding even when file is available for directplay. I edited the default LG profile to allow all files without transcoding and checked in logs that it uses DirectPlay.
-
- Posts: 50
- Joined: Tue Feb 21, 2023 3:50 pm
Re: Dolby Vision now possible through MP4 Mux.
How to get dvhe.08.06 BL+EL+RPU (Codec ID:hev1)?
Good day to all dear, explain to me who is aware of how you can get dvhe.08.06 BL+EL+RPU?
I met today first .MKV in this version, I was shocked, after which I received .mp4 (MI attached) from it and was in double shock, since the movie works fine on the built-in LG TV player. But how? Does the TV player know how to ignore EL or do I get a full Dolby Vision?
P.S. My TV LG OLED B9 2019, the firmware is the last one that was given officially
Code: Select all
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : Dolby Vision, Version 1.0, dvhe.08.06, BL+EL+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
Codec ID : hev1
Codec ID/Info : High Efficiency Video Coding
Duration : 1 h 46 min
Source duration : 1 h 46 min
Bit rate : 80.1 Mb/s
Maximum bit rate : 128 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 24.000 FPS
I met today first .MKV in this version, I was shocked, after which I received .mp4 (MI attached) from it and was in double shock, since the movie works fine on the built-in LG TV player. But how? Does the TV player know how to ignore EL or do I get a full Dolby Vision?
P.S. My TV LG OLED B9 2019, the firmware is the last one that was given officially
Re: Dolby Vision now possible through MP4 Mux.
@RESET_9999
First of all - thanks for your amazing DV scripts - I found them after writing a VERY basic script of my own only to find out you had done all the hard work.
I did make a couple of additions to it though which you may or may not want to include in a future update.
a) use a variable for the DDP Track title name instead of hard setting it in the code.
b) use a variable to set the DDP Track to default - current it sets it as Default but does not remove the existing one from the copied tracks. Having two Defaults is probably not desirable.
Also each usage is then modified ..
I'd also like to correct the track order during the mkvmerge write (as the DDP track is added at the end, not after the last Audio track) - easily done with --track-order but I need to test a lot more first
I hope these might help a few users out and save a manual edit post the process.
First of all - thanks for your amazing DV scripts - I found them after writing a VERY basic script of my own only to find out you had done all the hard work.
I did make a couple of additions to it though which you may or may not want to include in a future update.
a) use a variable for the DDP Track title name instead of hard setting it in the code.
b) use a variable to set the DDP Track to default - current it sets it as Default but does not remove the existing one from the copied tracks. Having two Defaults is probably not desirable.
Code: Select all
:: choose the title track name for the added Dolby Digital Plus Track
set DDP_Title=Dolby Digital+
:: do not set DDP track to Default=YES - keep the existing Track Audio Default as is. Set to 1=Set Default - old Default will not be removed..
set DDP_Default=0
Code: Select all
if exist "%output_path%%filename%_7.1.ec3" set DDP=--language 0:%lmkv% [b]--track-name 0:"%DDP_Title% 7.1" --default-track-flag 0:%DDP_Default%[/b] --compression 0:none %delay% ^"^(^" ^"%output_path%%filename%_7.1.ec3^" ^"^)^"
if exist "%output_path%%filename%_EC3.mkv" set DDP=--language 0:%lmkv% [b]--track-name 0:"%DDP_Title% 5.1" --default-track-flag 0:%DDP_Default%[/b] --compression 0:none ^"^(^" ^"%output_path%%filename%_EC3.mkv^" ^"^)^"
I hope these might help a few users out and save a manual edit post the process.
-
- Posts: 2084
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
Download this and export to a folder preferably without space or special characters.(don't move any files): https://drive.google.com/file/d/1g-nQY5 ... share_link
download this beta version of the script and put it in your DoVi_Scripts folder (this contains the latest version of the DT-DL mp4 workflow: https://drive.google.com/file/d/1SYnK9M ... share_link
Then if your input is a makemkv Profile 7 rip (7-3-1):
if your input is a bluray disc (7-3-2):
Sorry for my English.
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
-
- Posts: 2084
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
P8 with EL is not standard and there's no need to use it since your TV support dual track dual layer Profile 7 FEL. See my reply to @valingtonTheEqualizer wrote: ↑Thu May 04, 2023 7:14 amHow to get dvhe.08.06 BL+EL+RPU (Codec ID:hev1)?
Good day to all dear, explain to me who is aware of how you can get dvhe.08.06 BL+EL+RPU?
I met today first .MKV in this version, I was shocked, after which I received .mp4 (MI attached) from it and was in double shock, since the movie works fine on the built-in LG TV player. But how? Does the TV player know how to ignore EL or do I get a full Dolby Vision?
P.S. My TV LG OLED B9 2019, the firmware is the last one that was given officially
Sorry for my English.
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
-
- Posts: 12
- Joined: Tue May 10, 2022 5:12 pm
Re: Dolby Vision now possible through MP4 Mux.
Latest Jellyfin Version: 10.8.10.afarvvik wrote: ↑Wed May 03, 2023 8:00 pmthanks for the reply. can you please let me know what version of jellyfin you did this in? is FF/REW working for you with m2ts files in jellyfin? I had to move to Emby because FF/REW was not working for me with m2ts files in jellyfin and I can not use plex because it transcodes when SRT is enabled.
I didn't see you are using m2ts files.
I'm using MKV and MP4 files and FF/REW works completely fine.
I used ts few times but can't remember if FF/REW worked.
I never used m2ts.
Isn't m2ts designed to work only in disc players?
-
- Posts: 50
- Joined: Tue Feb 21, 2023 3:50 pm
Re: Dolby Vision now possible through MP4 Mux.
Yes, I know that my TV 2019 supports 7 FEL, but not since 2020, and I need a universal option for tv 2019 and newer, up to this point I have used P8 BL+RPU, but I saw this non-standard option and it confused me. I am also aware that dvi.08.06 BL+EL+RU is not a DV standard, but still the question was, why does TV reproduce this option correctly, does it ignore el or somehow reproduces it as in cases with a two-layer 7 profile? And how did manage to get such an option dvh.08.06 BL+EL+RU?RESET_9999 wrote: ↑Thu May 04, 2023 5:25 pmP8 with EL is not standard and there's no need to use it since your TV support dual track dual layer Profile 7 FEL. See my reply to @valington
-
- Posts: 2084
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
Surprised that HEV1 works on the B9 since it doesn't work on the C8.TheEqualizer wrote: ↑Thu May 04, 2023 9:33 pmYes, I know that my TV 2019 supports 7 FEL, but not since 2020, and I need a universal option for tv 2019 and newer,
The only universal solution that works EVERYWHERE is the TS/M2TS container in P8.
I don't know but you can try to use this P7 file and remux it to P8 without removing the EL and see if FEL is used:why does TV reproduce this option correctly, does it ignore el or somehow reproduces it as in cases with a two-layer 7 profile?
https://drive.google.com/file/d/1J5QnjW ... share_link
you can force P8 with the mp4muxer:
Code: Select all
"%mp4muxer_path%" --dv-profile 8 --input-file ST-DL.hevc --output-file "output.mp4"
Sorry for my English.
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
-
- Posts: 50
- Joined: Tue Feb 21, 2023 3:50 pm
Re: Dolby Vision now possible through MP4 Mux.
I tested your video, extracted hevc from the TS container and got mp4, although the command that you gave lacks the -compatible-id parameter, it gave an error without it, I made all three options with -compatible-id 1 (2) (4) for full confidence. All three videos are strobed by the built-in player LG B9. I don't know why this doesn't happen on a particular movie...
Which specific version of tsMuxer do you recommend using?RESET_9999 wrote: ↑Thu May 04, 2023 10:10 pmThe only universal solution that works EVERYWHERE is the TS/M2TS container in P8.
Re: Dolby Vision now possible through MP4 Mux.
This is really interesting - and I'm extremely grateful for all the info you've gathered here.RESET_9999 wrote: ↑Mon Apr 10, 2023 9:44 pmyes FEL is discarded but know that not every FEL movie can be converted to P8 (or played on non-fel devices) because some of them are expanding the picture brightness when BL and FEL are decoded by the player.
So the DV metadata in the RPU is meant to be played with the FEL brightness ONLY. Playing these FEL movies on a non-fel device will result in an image darker than the intended look.
Here's a list of FEL movies that expand brightness (still looking into my library to find more):
https://docs.google.com/spreadsheets/d/ ... sp=sharing
What's the best way for me to check my own collection to see which FEL discs expand the picture brightness? What data should I be looking for?
-
- Posts: 2084
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
Because I use the old mp4muxer that works on all the LG TVs and this parameter was implemented in the later versions of the mp4muxer.TheEqualizer wrote: ↑Thu May 04, 2023 10:17 pmalthough the command that you gave lacks the -compatible-id parameter, it gave an error without it,
the homemade FEL test file can indeed be buggy on some players.All three videos are strobed by the built-in player LG B9
The latest one should be fine.Which specific version of tsMuxer do you recommend using?
https://github.com/justdan96/tsMuxer/releases
The only downside of using TS on LG TVs is that you have to use external SRT subs. Some comments here recently said that ext srt doesn't work but on my end (PLEX C2), it still works.
Sorry for my English.
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
-
- Posts: 2084
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
Usually, the HDR10 base layer mastering display lum metadata will say 1000nits, and the RPU metadata will say 4000nits but the two only ways to really know is by plotting DV/HDR10 or by exporting some screenshots with the dovi baker.
E.G. Deep Impact:
https://slow.pics/c/nU0W23sh
https://slow.pics/c/SwbE119u
You can do all of this with the script in my signature.
Sorry for my English.
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
-
- Posts: 50
- Joined: Tue Feb 21, 2023 3:50 pm
Re: Dolby Vision now possible through MP4 Mux.
I redid it using the same old version that is in your tools folder, the result was the same, a strobe light, this suggests that the TV cannot correctly reproduce dvhe.08.06, BL+EL+RPU? If could, would I see a normal color scheme?RESET_9999 wrote: ↑Fri May 05, 2023 12:01 amBecause I use the old mp4muxer that works on all the LG TVs and this parameter was implemented in the later versions of the mp4muxer.
-
- Posts: 12
- Joined: Tue May 10, 2022 5:12 pm
Re: Dolby Vision now possible through MP4 Mux.
I think it works with Plex/Jellyfin, but it doesn't work with built-in WebOS player (if you trigger the file via DLNA).RESET_9999 wrote: ↑Fri May 05, 2023 12:01 amThe only downside of using TS on LG TVs is that you have to use external SRT subs. Some comments here recently said that ext srt doesn't work but on my end (PLEX C2), it still works.
Also, internal webOS doesn't support PGS subtitles (which are usually present in Bluray remuxes).
Is there an option in your script to convert PGS to SRT?