Dolby Vision now possible through MP4 Mux.
Re: Dolby Vision now possible through MP4 Mux.
Trying to get Dolby Vision m2ts to play on x800m2 but running into issues. Would really appreciate some tips/help.
Here is what I have tried:
1. Use MakeMKV to get Dolby Vision MKV.
2. Use eac3to to extract Atmos track(thd+ac3) from the MKV.
3. Use tsmuxeR to mux the MKV from 1) and Atmos track from 2) together into .m2ts file.
However, when I try to play the resulting m2ts file on x800m2 via DLNA(wifi), I just get a black screen and DV is not working. If I turn off DV in the x800m2 settings, then the m2ts just play in SDR, not even falling back to HDR10.
Here is what I have tried:
1. Use MakeMKV to get Dolby Vision MKV.
2. Use eac3to to extract Atmos track(thd+ac3) from the MKV.
3. Use tsmuxeR to mux the MKV from 1) and Atmos track from 2) together into .m2ts file.
However, when I try to play the resulting m2ts file on x800m2 via DLNA(wifi), I just get a black screen and DV is not working. If I turn off DV in the x800m2 settings, then the m2ts just play in SDR, not even falling back to HDR10.
Re: Dolby Vision now possible through MP4 Mux.
Just noticed the new Firestick 4K Max has grey letterbox bars with cropped Dolby Vision content.
Not cool, since it can also mean L2 is ignored.
Not cool, since it can also mean L2 is ignored.
Re: Dolby Vision now possible through MP4 Mux.
Have you tried opening the backed up m2ts file in tsmuxer and creating a new ts/m2ts file? That's what I do when I want to play DV files on my x700, there's no need to create a mkv file.mamelem wrote: ↑Fri Oct 08, 2021 6:20 pmTrying to get Dolby Vision m2ts to play on x800m2 but running into issues. Would really appreciate some tips/help.
Here is what I have tried:
1. Use MakeMKV to get Dolby Vision MKV.
2. Use eac3to to extract Atmos track(thd+ac3) from the MKV.
3. Use tsmuxeR to mux the MKV from 1) and Atmos track from 2) together into .m2ts file.
However, when I try to play the resulting m2ts file on x800m2 via DLNA(wifi), I just get a black screen and DV is not working. If I turn off DV in the x800m2 settings, then the m2ts just play in SDR, not even falling back to HDR10.
Re: Dolby Vision now possible through MP4 Mux.
Thanks for the suggestion. I will give it a try.TickTock wrote: ↑Sat Oct 09, 2021 4:33 amHave you tried opening the backed up m2ts file in tsmuxer and creating a new ts/m2ts file? That's what I do when I want to play DV files on my x700, there's no need to create a mkv file.mamelem wrote: ↑Fri Oct 08, 2021 6:20 pmTrying to get Dolby Vision m2ts to play on x800m2 but running into issues. Would really appreciate some tips/help.
Here is what I have tried:
1. Use MakeMKV to get Dolby Vision MKV.
2. Use eac3to to extract Atmos track(thd+ac3) from the MKV.
3. Use tsmuxeR to mux the MKV from 1) and Atmos track from 2) together into .m2ts file.
However, when I try to play the resulting m2ts file on x800m2 via DLNA(wifi), I just get a black screen and DV is not working. If I turn off DV in the x800m2 settings, then the m2ts just play in SDR, not even falling back to HDR10.
Re: Dolby Vision now possible through MP4 Mux.
I've downloaded two different 4K web-dls, one is a DV mp4 file and the other is a HDR mkv file with an added lossless track. I'm trying to use both to create a DV file with lossless audio.
I use this ffmpeg command:
ffmpeg -i File.mp4 -c:v copy -vbsf hevc_mp4toannexb -f hevc Out.hevc
To extract the video from the DV mp4 file, I then add that file to tsmuxer along with the mkv file (deselecting the mkv video) and I'm left with the DV video file and the lossless audio. I created both a ts file and a m2ts file as a test, the newly created files don't show as having a video track in mkvtoolnix or VLC player. I tested a couple of minutes using my X700 and they play perfectly but with grey bars.
I'm hoping someone can answer these questions.
1: Does the video track not showing in mkvtoolnix and VLC indicate a problem or is it normal?
2: Is there a better way to extract the DV video track from the mp4 file? tsmuxer doesn't open the mp4 file.
3: I've read profile 5 DV plays back perfectly on the Shield Pro 2019, no colour issues or grey bars. Can someone confirm this?
4: Can the grey bars cause burn in?
I use this ffmpeg command:
ffmpeg -i File.mp4 -c:v copy -vbsf hevc_mp4toannexb -f hevc Out.hevc
To extract the video from the DV mp4 file, I then add that file to tsmuxer along with the mkv file (deselecting the mkv video) and I'm left with the DV video file and the lossless audio. I created both a ts file and a m2ts file as a test, the newly created files don't show as having a video track in mkvtoolnix or VLC player. I tested a couple of minutes using my X700 and they play perfectly but with grey bars.
I'm hoping someone can answer these questions.
1: Does the video track not showing in mkvtoolnix and VLC indicate a problem or is it normal?
2: Is there a better way to extract the DV video track from the mp4 file? tsmuxer doesn't open the mp4 file.
3: I've read profile 5 DV plays back perfectly on the Shield Pro 2019, no colour issues or grey bars. Can someone confirm this?
4: Can the grey bars cause burn in?
Re: Dolby Vision now possible through MP4 Mux.
Ok, I tried this route and now x800m2 can successfully switch to DV.TickTock wrote: ↑Sat Oct 09, 2021 4:33 amHave you tried opening the backed up m2ts file in tsmuxer and creating a new ts/m2ts file? That's what I do when I want to play DV files on my x700, there's no need to create a mkv file.mamelem wrote: ↑Fri Oct 08, 2021 6:20 pmTrying to get Dolby Vision m2ts to play on x800m2 but running into issues. Would really appreciate some tips/help.
Here is what I have tried:
1. Use MakeMKV to get Dolby Vision MKV.
2. Use eac3to to extract Atmos track(thd+ac3) from the MKV.
3. Use tsmuxeR to mux the MKV from 1) and Atmos track from 2) together into .m2ts file.
However, when I try to play the resulting m2ts file on x800m2 via DLNA(wifi), I just get a black screen and DV is not working. If I turn off DV in the x800m2 settings, then the m2ts just play in SDR, not even falling back to HDR10.
However, after pressing “Display”, it shows that the output resolution is only 1080p and not 4K (even though x800m2 list the source as 4K DV). When testing the original UHD, x800m2 can successfully output 4K.
I’m confused on what went wrong. From my understanding, since UHD DV are dual layers, I included the 1080p layer when remuxing into a new m2ts when using tsmuxeR.
Re: Dolby Vision now possible through MP4 Mux.
+1 , amazing work, just generated a profile 08.06 from an HDR10 sample, plays fine with internal Plex app: 04-2160p_23fps_dovi_p81-l_s02e01_cyan_error.tsRESET_9999 wrote: ↑Fri Oct 08, 2021 12:23 amI don't know why you're quiet about it but you should scream out loud that you updated your DV tools to generate DV metadata for ANY HDR10 MOVIE using madVR measurements lol
madvr output:
Code: Select all
Metadata:
Mastering display luminance: 0.0001/1000, gamut: 0.68 0.32, 0.15 0.06, 0.265 0.69, 0.3127 0.329
MaxCLL: 999, MaxFALL: 678 nits
Measurements:
Frames: 2160, MaxCLL 100%: 1680, 99.9%: 1545, MaxFALL: 58, AvgFALL: 9, AvgFMLL: 524 nits
Code: Select all
{
"length": 1000,
"level2": [
{
"target_nits": 1000
}
],
"level6": {
"max_display_mastering_luminance": 1000,
"min_display_mastering_luminance": 1,
"max_content_light_level": 1000,
"max_frame_average_light_level": 58
}
}
Code: Select all
# run madvr madmeasure on the mkv file
# generate RPU from madmeasure bin file
dovi_tool.exe generate -j generator_madvr.json --madvr-file l_0201.bin -o RPU_from_madVR.bin
# extract hevc video and audio with mkvextract
# inject the generated RPU into stream
dovi_tool.exe inject-rpu -i video.hevc --rpu-in RPU_from_madVR.bin -o injected_output.hevc
# mux together with tsmuxer
Is this with from official apps as well (ATV+, Disney+, etc)?
That's a problem, probably never will be fixed
What do you mean about this? Does it do DoVi HDR to SDR tonemapping?
Edit: what happens with the "min_pq" L1 metadata during madmeasure2RPU generation? Will it be always 0? (I don't think that madvr's bin file has any info about it.)
Edit2: sample uploaded
Re: Dolby Vision now possible through MP4 Mux.
I don't know since I'm not subscribed to ATV+ currently. Disney+ does not crop their video.
What's interesting though is that Hulu serves both HDR10+ and DoVi together and there were no complaints.
Yes, profile 5 files get tonemapped to SDR and look fine.
min_pq is always set to 0. This is the same behavior as the HDR10+ derived generation.
edit: I just tested the L2 and it's not ignored at least..
Last edited by quietvoid on Sat Oct 09, 2021 1:53 pm, edited 1 time in total.
Re: Dolby Vision now possible through MP4 Mux.
What version of tsmuxer are you using? At one stage only nightly versions worked, I don't know if that has changed but here's the version I've been using:mamelem wrote: ↑Sat Oct 09, 2021 7:13 amOk, I tried this route and now x800m2 can successfully switch to DV.
However, after pressing “Display”, it shows that the output resolution is only 1080p and not 4K (even though x800m2 list the source as 4K DV). When testing the original UHD, x800m2 can successfully output 4K.
I’m confused on what went wrong. From my understanding, since UHD DV are dual layers, I included the 1080p layer when remuxing into a new m2ts when using tsmuxeR.
https://easyupload.io/vsxlud
Have you tried playing the newly created files off a drive?
You're right, both layers should be left as is.
Re: Dolby Vision now possible through MP4 Mux.
Connected x800m2 directly to TV instead of receiver fixed the issue. Guess it’s a bandwidth issue? Interesting that remuxed m2ts apparently takes up more bandwidth than UHD.TickTock wrote: ↑Sat Oct 09, 2021 1:44 pmWhat version of tsmuxer are you using? At one stage only nightly versions worked, I don't know if that has changed but here's the version I've been using:mamelem wrote: ↑Sat Oct 09, 2021 7:13 amOk, I tried this route and now x800m2 can successfully switch to DV.
However, after pressing “Display”, it shows that the output resolution is only 1080p and not 4K (even though x800m2 list the source as 4K DV). When testing the original UHD, x800m2 can successfully output 4K.
I’m confused on what went wrong. From my understanding, since UHD DV are dual layers, I included the 1080p layer when remuxing into a new m2ts when using tsmuxeR.
https://easyupload.io/vsxlud
Have you tried playing the newly created files off a drive?
You're right, both layers should be left as is.
Re: Dolby Vision now possible through MP4 Mux.
Do you have a "4K Signal Format" setting on your AVR? If so, is it set to "Enhanced"?mamelem wrote: ↑Sat Oct 09, 2021 1:52 pmConnected x800m2 directly to TV instead of receiver fixed the issue. Guess it’s a bandwidth issue? Interesting that remuxed m2ts apparently takes up more bandwidth than UHD.TickTock wrote: ↑Sat Oct 09, 2021 1:44 pmWhat version of tsmuxer are you using? At one stage only nightly versions worked, I don't know if that has changed but here's the version I've been using:mamelem wrote: ↑Sat Oct 09, 2021 7:13 amOk, I tried this route and now x800m2 can successfully switch to DV.
However, after pressing “Display”, it shows that the output resolution is only 1080p and not 4K (even though x800m2 list the source as 4K DV). When testing the original UHD, x800m2 can successfully output 4K.
I’m confused on what went wrong. From my understanding, since UHD DV are dual layers, I included the 1080p layer when remuxing into a new m2ts when using tsmuxeR.
https://easyupload.io/vsxlud
Have you tried playing the newly created files off a drive?
You're right, both layers should be left as is.
Re: Dolby Vision now possible through MP4 Mux.
Oh wow, that’s it. Thanks!TickTock wrote: ↑Sat Oct 09, 2021 2:59 pmDo you have a "4K Signal Format" setting on your AVR? If so, is it set to "Enhanced"?mamelem wrote: ↑Sat Oct 09, 2021 1:52 pmConnected x800m2 directly to TV instead of receiver fixed the issue. Guess it’s a bandwidth issue? Interesting that remuxed m2ts apparently takes up more bandwidth than UHD.TickTock wrote: ↑Sat Oct 09, 2021 1:44 pm
What version of tsmuxer are you using? At one stage only nightly versions worked, I don't know if that has changed but here's the version I've been using:
https://easyupload.io/vsxlud
Have you tried playing the newly created files off a drive?
You're right, both layers should be left as is.
These AV hardware keeps surprising me with important settings buried in menus lol.
-
- Posts: 2092
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
wow, so they removed the ability to play properly DV cropped content on the new Firestick, that is a really stupid move since everything on iTunes or Prime is cropped.
The last time I checked , HULU content is not cropped as well. (they have ridiculously low bitrate though )
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
Re: Dolby Vision now possible through MP4 Mux.
Yeah, I'm not sure if I'll bother switching to the 2018 model though. I only noticed the grey bars with fades to black.RESET_9999 wrote: ↑Sat Oct 09, 2021 3:16 pmwow, so they removed the ability to play properly DV cropped content on the new Firestick, that is a really stupid move since everything on iTunes or Prime is cropped.
The last time I checked , HULU content is not cropped as well. (they have ridiculously low bitrate though )
Anyways, it made me create a cropped test sample for the important metadata: https://mega.nz/file/8YsRRKJa#_g_vX2voc ... raveYPpiIA
With this everything seems to work fine otherwise.
credits to FF.de for the original HDR10+ test sample, from which I used the different L1 metadata.
-
- Posts: 2092
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
haha, trust me you will.
Having this exact problem with my x700, I just can't stand the grey black bars(especially the 1600px content). I even prefer my Shield with the red push for p8 cropped content(no red push with p5).
interesting thanks... will try on my x700.quietvoid wrote: ↑Sat Oct 09, 2021 3:45 pmAnyways, it made me create a cropped test sample for the important metadata: https://mega.nz/file/8YsRRKJa#_g_vX2voc ... raveYPpiIA
With this everything seems to work fine otherwise.
credits to FF.de for the original HDR10+ test sample, from which I used the different L1 metadata.
that sample has very small black bars though
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