My guess is that SiC changed the full range flag for the container only(with mkvtoolnix) and not at the bitstream level and ffmpeg still thinks the color range is FULL when it export the screenshot.
Dolby Vision now possible through MP4 Mux.
-
- Posts: 2383
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
-
- Posts: 2383
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
oops..
try DoVi_Scripts_1.9.0.3.beta
Re: Dolby Vision now possible through MP4 Mux.
I don't think so.RESET_9999 wrote: ↑Sun Aug 06, 2023 5:21 pmMy guess is that SiC changed the full range flag for the container only(with mkvtoolnix) and not at the bitstream level and ffmpeg still thinks the color range is FULL when it export the screenshot.
Code: Select all
General
Complete name : Escape.Room.2019.hevc
Format : HEVC
Format/Info : High Efficiency Video Coding
File size : 51.2 GiB
Frame rate : 23.976 FPS
Video
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.2@High
HDR format : SMPTE ST 2086, HDR10 compatible
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level : 3876 cd/m2
Maximum Frame-Average Light Level : 852 cd/m2
magic.mike.2012.hdr.2160p.web.h265-slot.mkv
magic.mike.2012.dv.2160p.web.h265-slot.mkv
And there is exactly the same problem, if you need to provide screenshots.
-
- Posts: 2383
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
Well I use 6-8-3 every day, it doesn't tone map to SDR... Your Bcore comparison sure looks like full vs limited range.
-
- Posts: 2383
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
your HDR10 pic is wrong somehow.
it's working just fine and it's the same as MPV on my end so I don't know.
6-8-3: https://slow.pics/c/jVXtSv5Z
MPV:https://slow.pics/c/hmJiiuVO
Re: Dolby Vision now possible through MP4 Mux.
Yes, I was wrong that the problem is not DV-P5 but HDR, I saw it by taking a screenshot in MPC. After that I tried 6-8-4 option for magic.mike.2012.hdr.2160p.web.h265-slot.mkv and got normal HDR screenshots.RESET_9999 wrote: ↑Sun Aug 06, 2023 6:20 pmyour HDR10 pic is wrong somehow.
it's working just fine and it's the same as MPV on my end so I don't know.
6-8-3: https://slow.pics/c/jVXtSv5Z
MPV:https://slow.pics/c/hmJiiuVO
Re: Dolby Vision now possible through MP4 Mux.
My goal is, create a file that works well on old LG and Apple TV.RESET_9999 wrote: ↑Sun Aug 06, 2023 11:42 ambut why use the mp4muxer at all for ATV or new TV (2019+) when mp4box can mux directly lossless audio + subs + chapter?NiCE77 wrote: ↑Sun Aug 06, 2023 8:44 am
Thanks! But I noticed, the --dvh1flag option is not working. This would be necessary for playback on Apple TV (with tvOS 17). Can you fix it?
This solution works until: https://github.com/rixtox/mp4dovi
Re: Dolby Vision now possible through MP4 Mux.
Hi all,
Has anyone experienced the NOKIA Streaming Box 8010 regarding Dolby Vision and audio output?
Has anyone experienced the NOKIA Streaming Box 8010 regarding Dolby Vision and audio output?
Re: Dolby Vision now possible through MP4 Mux.
Hi,
i want to remux a UHD FEL from mkv to mp4 (for LG).
the correct format (made by the ape) is:

but I want to remux it without the ape, just with dovi tool & mp4box.
mp4box -add BL.hevc -add EL.hevc:dv-profile=7 -add 1.eac3#audio:lang=ger:name="AC3 5.1" -new 2.mp4
but I always get version0:
any idea how to say MP4box to make "dvhe.07.06" ?
i want to remux a UHD FEL from mkv to mp4 (for LG).
the correct format (made by the ape) is:

but I want to remux it without the ape, just with dovi tool & mp4box.
mp4box -add BL.hevc -add EL.hevc:dv-profile=7 -add 1.eac3#audio:lang=ger:name="AC3 5.1" -new 2.mp4
but I always get version0:

any idea how to say MP4box to make "dvhe.07.06" ?
Re: Dolby Vision now possible through MP4 Mux.
Hi RESET_9999,
When encoding DDP from THD/DTS using your script (ffmpeg) the result is a DDP 5.0(side) channel layout. This layout is missing the LFE (subwoofer) channel.
My understanding is that since the goal is to encode DDP 5.1, one can add either the option "-channel_layout 5.1" or "-channel_layout 5.1(side)" to the ffmpeg command. The LFE (subwoofer) channel is then included in the channel mapping of the output.
ChatGPT tells me: "In a 5.1 setup, the rear channels (RL and RR) are directly behind the listener, creating a typical surround sound experience. In a 5.1(side) setup, the surround channels (SL and SR) are placed to the sides of the listener, rather than directly behind. This configuration is intended to provide a wider and more immersive surround sound experience, especially in setups where it might be difficult to position the rear speakers effectively.
When using ffmpeg, it is essential to choose the correct channel layout based on your speaker configuration and the desired audio experience. If you have speakers positioned behind the listener, you should use the standard 5.1 layout. If you have speakers on the sides, 5.1(side) is more appropriate. Using the wrong layout can result in audio being sent to the wrong speakers, leading to an inaccurate surround sound experience."
Maybe something to complete your script with?
Also, thank you for all the time you spend on the script and answering questions here, I'm still polling this thread for new stuff to learn almost every day, and I've been lurking around since it was first created
When encoding DDP from THD/DTS using your script (ffmpeg) the result is a DDP 5.0(side) channel layout. This layout is missing the LFE (subwoofer) channel.
My understanding is that since the goal is to encode DDP 5.1, one can add either the option "-channel_layout 5.1" or "-channel_layout 5.1(side)" to the ffmpeg command. The LFE (subwoofer) channel is then included in the channel mapping of the output.
ChatGPT tells me: "In a 5.1 setup, the rear channels (RL and RR) are directly behind the listener, creating a typical surround sound experience. In a 5.1(side) setup, the surround channels (SL and SR) are placed to the sides of the listener, rather than directly behind. This configuration is intended to provide a wider and more immersive surround sound experience, especially in setups where it might be difficult to position the rear speakers effectively.
When using ffmpeg, it is essential to choose the correct channel layout based on your speaker configuration and the desired audio experience. If you have speakers positioned behind the listener, you should use the standard 5.1 layout. If you have speakers on the sides, 5.1(side) is more appropriate. Using the wrong layout can result in audio being sent to the wrong speakers, leading to an inaccurate surround sound experience."
Maybe something to complete your script with?
Also, thank you for all the time you spend on the script and answering questions here, I'm still polling this thread for new stuff to learn almost every day, and I've been lurking around since it was first created

-
- Posts: 2383
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
I had this issue with some newer versions of ffmpeg and I thought it was fixed in the version I use (02-27-2023) right now.
Try this version: https://drive.google.com/file/d/1rzHhl_ ... sp=sharing
Re: Dolby Vision now possible through MP4 Mux.
I didn't realize it may had todo with an issue with ffmpeg itself, anyways, I have been using a newer ffmpeg version
The first is the one you linked to, the second is the one I've been using.
C:\Users\Andreas\Downloads>ffmpeg -v
ffmpeg version 5.0.1-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 11.2.0 (Rev7, Built by MSYS2 project)
C:\Users\Andreas\Downloads>D:\Video\tools\ffmpeg-5.1\ffmpeg.exe -v
ffmpeg version 5.1-essentials_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
and i had to add this option to get the 5.1 output instead of 5.0.
Ill try with 5.0.1 and see what happens. If there was an issue fixed, maybe they broke it again with a more recent change.
The first is the one you linked to, the second is the one I've been using.
C:\Users\Andreas\Downloads>ffmpeg -v
ffmpeg version 5.0.1-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 11.2.0 (Rev7, Built by MSYS2 project)
C:\Users\Andreas\Downloads>D:\Video\tools\ffmpeg-5.1\ffmpeg.exe -v
ffmpeg version 5.1-essentials_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
and i had to add this option to get the 5.1 output instead of 5.0.
Ill try with 5.0.1 and see what happens. If there was an issue fixed, maybe they broke it again with a more recent change.