Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Post Reply
deadchip12
Posts: 385
Joined: Thu May 02, 2019 2:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by deadchip12 »

RESET_9999 wrote: Fri Feb 11, 2022 1:38 am 1- the x800m2 has a 5GHZ wifi chip so it's actually faster than the 100mbps ethernet port. I just watched Dead Heat 92mbps avg bitrate(streamed from my PC) and it didn't buffer one time. My router is in the same room as my player though: the 5ghz range is not as good as 2ghz.
2- nop it doesn't work via USB: only works via the network. Maybe the behavior is the same for the X700, I never used the network, thanks to the slow ethernet/wifi speed.

I can't recommend the x700 anymore when the x800m2 is a LOT superior. Actually better than the oppo too(I hate BD folders/iso storage) because there's no dual track dual-layer TS bug .
keep in mind that I watched hundreds of DV movies with my x700 without a single playback issue (except the known bugs) and watched only one movie with the x800m2 so maybe some other issue will come up.
Image
How do you stream from your pc to the bluray player?

Too bad the x800 is not even sold in my country. Actually the x700 is the only 4k bluray player from a reputable brand sold in my country. The bluray player market is so dead here. Can't find any uhd physical disc either. I have to download 4k hdr films (either the full bmdv folder or remuxed mkv) from shady sites otherwise I won't be able to watch those films at all.
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

deadchip12 wrote: Fri Feb 11, 2022 2:12 am How do you stream from your pc to the bluray player?
my windows videos and music library (DLNA) just show up on my x800m2.
I use classic windows media player to create a playlist of recent movies I have to watch otherwise it can be a pain to find 1 movie out of 1000+
You can also make a windows SERVIIO server which is also detected by the player
https://serviio.org/
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
FubbAyH
Posts: 55
Joined: Wed Jan 02, 2019 7:06 am

Re: Dolby Vision now possible through MP4 Mux.

Post by FubbAyH »

RESET_9999 wrote: Fri Feb 11, 2022 1:38 am keep in mind that I watched hundreds of DV movies with my x700 without a single playback issue (except the known bugs) and watched only one movie with the x800m2 so maybe some other issue will come up.
Thank you very much for all the info and please do keep us up-to-date with any other issues or good experiences as you watch more. I'm very tempted now to get one and the only thing really holding me back is the thought of transcoding my MKVs back to M2TS!
sickb
Posts: 28
Joined: Mon Jan 28, 2019 9:42 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by sickb »

Muxing, I hope.
FubbAyH
Posts: 55
Joined: Wed Jan 02, 2019 7:06 am

Re: Dolby Vision now possible through MP4 Mux.

Post by FubbAyH »

sickb wrote: Fri Feb 11, 2022 7:53 am Muxing, I hope.
Oh yes, quite right :)

Can I ask (I promised I searched the thread first, but couldn't find an answer) does the X800M2 handle profile 8.1 DV well? I was looking through my collection to see if I could stomach remuxing the DV titles and noticed that I have more profile 8.1 hybrids than profile 7 rips at this point (thanks Disney!)
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

FubbAyH wrote: Fri Feb 11, 2022 8:26 am does the X800M2 handle profile 8.1 DV well?
yes
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
FubbAyH
Posts: 55
Joined: Wed Jan 02, 2019 7:06 am

Re: Dolby Vision now possible through MP4 Mux.

Post by FubbAyH »

Awesome, thank you! I found a X800M2 in stock nearby so I'm gunna go buy it later and finally join the FEL club :D
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

FubbAyH wrote: Fri Feb 11, 2022 2:48 am transcoding my MKVs back to M2TS!
If all your DV movies are in MKV, you'll have a lot of work to do because you'll have to convert TrueHD to TrueHD+ac3 with eac3to (unless the tsmuxer devs add support soon).
Also, if your profile 7 files are single track dual layer MKV, you'll have(sometimes) to 1- demux the layers and 2- convert trueHD because some ST file gives a black screen.

If you have fast internet, it might be faster just to download the complete ISO and make a new TS.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
FubbAyH
Posts: 55
Joined: Wed Jan 02, 2019 7:06 am

Re: Dolby Vision now possible through MP4 Mux.

Post by FubbAyH »

Thank you, I've just been figuring that out today. I've made a little script now to do most of the conversion and I'm only gunna convert my (~20) DV titles (and keep watching the HDR10 ones on AppleTV) so doesn't look like it'll be too bad. I'm certainly regretting stripping out those AC3 cores, though, now!
FubbAyH
Posts: 55
Joined: Wed Jan 02, 2019 7:06 am

Re: Dolby Vision now possible through MP4 Mux.

Post by FubbAyH »

Here's what my script looks like, btw, just in case anyone else is in the same position of needing to convert DV MKVs to M2TSs for X800M2 (or X700):

Code: Select all

mkvextract source.mkv tracks 0:stdl.hevc
dovi_tool demux stdl.hevc
# previous command produces BL.hevc and EL.hevc

# if the movie has TrueHD audio (almost all discs) then an AC3 core is required for hardware players to see it as a compliant stream
# the original TrueHD track from a disc will always have it, or:
mkvextract source.mkv tracks 1:source.thd
# a minimal core can be generated with:
#eac3to source.thd audio.thd+ac3 -downStereo -32
# or a decent-sounding core can be transcoded with:
eac3to source.thd audio.thd+ac3
# that runs at about 7.2x real-time, so ~17m for a 2h movie

# use tsMuxeR GUI to mux a M2TS file
# Output: M2TS muxing
# add
#  BL.hevc
#  EL.hevc
#  audio.thd+ac3
#  source.mkv
# set the language of the audio.thd+ac3 track
# uncheck the video stream from source.mkv, and its audio stream if using a transcoded one
# if movie has forced subs then note that in the filename by adding " {Forced Subs}" to remind yourself that you need to turn them on manually, and move the forced sub-only track that MakeMKV creates to be the first subtitle track
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

https://drive.google.com/drive/folders/ ... sp=sharing
here's my script(based on FubbAyH, thanks) to demux ST-DL and convert TrueHD to TrueHd+ac3 (and more)
Last edited by RESET_9999 on Mon Feb 28, 2022 1:41 am, edited 22 times in total.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
FubbAyH
Posts: 55
Joined: Wed Jan 02, 2019 7:06 am

Re: Dolby Vision now possible through MP4 Mux.

Post by FubbAyH »

RESET_9999 wrote: Fri Feb 11, 2022 3:09 pm this seems to take the same processing time as converting the core to regular 640kbps 5.1...
is there a way to generate an ac3 core without re-encoding like they are trying to do in tsmuxer? even if the core is silent, I don't mind as long as TrueHD works.
Yeah, I've been trying to figure out if that's possible too. My guess is that because the TrueHD is based on the AC3 core, when you add the core it needs to re-encode the TrueHD too to match? (which I'm presuming is why it takes a while) So maybe it's possible to create a core that doesn't need the TrueHD data to be re-encoded, but I don't know anywhere near enough about the details of AC3 or TrueHD to know :?

Thank you for your scripts too!
nekno
Posts: 71
Joined: Tue Jun 23, 2020 4:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by nekno »

FubbAyH wrote: Fri Feb 11, 2022 11:04 pm
RESET_9999 wrote: Fri Feb 11, 2022 3:09 pm this seems to take the same processing time as converting the core to regular 640kbps 5.1...
is there a way to generate an ac3 core without re-encoding like they are trying to do in tsmuxer? even if the core is silent, I don't mind as long as TrueHD works.
Yeah, I've been trying to figure out if that's possible too. My guess is that because the TrueHD is based on the AC3 core, when you add the core it needs to re-encode the TrueHD too to match? (which I'm presuming is why it takes a while) So maybe it's possible to create a core that doesn't need the TrueHD data to be re-encoded, but I don't know anywhere near enough about the details of AC3 or TrueHD to know :?

Thank you for your scripts too!
Encoding DTS-HD takes in a lossless LPCM stream, encodes a lossy DTS core, and saves the rest of the discarded audio as lossless extensions. When decoding, the extensions are recombined with the lossy DTS core and decoded to arrive at the original lossless stream.

But TrueHD doesn't require an AC3 lossy core; it isn't a required part of the TrueHD spec. When an AC3 core is included with a TrueHD track it's because of the BD spec, where it's required for BD / UHD BD.

TrueHD tracks are comprised of "access units" where the audio has been divided into frames.

A TrueHD+AC3 track has audio frames alternating between TrueHD and AC3. It's just two completely separate streams interleaved into a single track, kind of how STDL puts two distinct video streams into separate NALUs of a single track.

A THD+AC3 track is the STDL of TrueHD audio streams, where a THD track with a separate AC3 track is DTDL.

So if you have a TrueHD track and an AC3 track, you have all of the encoded audio data you need, you just need to remux/repack the audio frames into the correct format.

That's what I understand they're working on for tsMuxer, and there is no other tool I've found that can do it.

eac3to can remux a TrueHD stream into a THD+AC3 stream, but has to encode a new AC3 stream to do it. It doesn't support remuxing an existing AC3 stream.

The mlp tool for accurately/losslessly editing THD streams has an open issue requesting support, but there's no activity on it.
Last edited by nekno on Sat Feb 12, 2022 1:54 am, edited 2 times in total.
deadchip12
Posts: 385
Joined: Thu May 02, 2019 2:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by deadchip12 »

RESET_9999 wrote: Fri Feb 11, 2022 1:08 pm
FubbAyH wrote: Fri Feb 11, 2022 2:48 am transcoding my MKVs back to M2TS!
If all your DV movies are in MKV, you'll have a lot of work to do because you'll have to convert TrueHD to TrueHD+ac3 with eac3to (unless the tsmuxer devs add support soon).
Also, if your profile 7 files are single track dual layer MKV, you'll have(sometimes) to 1- demux the layers and 2- convert trueHD because some ST file gives a black screen.

If you have fast internet, it might be faster just to download the complete ISO and make a new TS.
If I just put the dv mkv file into tsmuxer and press remux to bmdv folder, the bmdv folder is still generated. But will that work?
nekno
Posts: 71
Joined: Tue Jun 23, 2020 4:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by nekno »

deadchip12 wrote: Sat Feb 12, 2022 1:39 am
RESET_9999 wrote: Fri Feb 11, 2022 1:08 pm
FubbAyH wrote: Fri Feb 11, 2022 2:48 am transcoding my MKVs back to M2TS!
If all your DV movies are in MKV, you'll have a lot of work to do because you'll have to convert TrueHD to TrueHD+ac3 with eac3to (unless the tsmuxer devs add support soon).
Also, if your profile 7 files are single track dual layer MKV, you'll have(sometimes) to 1- demux the layers and 2- convert trueHD because some ST file gives a black screen.

If you have fast internet, it might be faster just to download the complete ISO and make a new TS.
If I just put the dv mkv file into tsmuxer and press remux to bmdv folder, the bmdv folder is still generated. But will that work?
He listed the exceptions.

If you have DTS-HD/DTS/EAC3/AC3 audio, remuxing to BDMV will work. If you want TrueHD audio you have to use eac3to to make THD+AC3 audio first. (If your mkv has both TrueHD and AC3 streams, tsMuxer should support remuxing to THD+AC3 in the future, but not today.)

If you have P7 in mkv, that will be STDL. For some files you may need to demux the video to DTDL with dovi_tool first.
Post Reply