Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
DaMacFunkin
Posts: 311
Joined: Tue Oct 30, 2018 4:17 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by DaMacFunkin »

Bresnik17 wrote:
Sun Sep 06, 2020 2:33 pm
shawnc22 wrote:
Sun Sep 06, 2020 1:49 am
Bresnik17 wrote:
Sun Sep 06, 2020 12:00 am
I've had success creating Dolby Vision + Lossless Audio TS files with dozens of movies (using eac3to + Yusescope's tool + tsMuxer 04.06) but I have run into an issue with Braveheart that has me stumped. All of the audio tracks, including the TrueHD Atmos track, require a delay of 2,169ms in order to sync up with the video.
    When I create the .TS file in tsMuxer with the audio delay set to 2,169ms, my 2019 Shield Pro reverts to HDR and transcodes down to DD+.
      When I create the .TS file in tsMuxer with the audio delay set to zero, it plays in Dolby Vision & TrueHD Atmos on my Shield Pro but with the audio clearly a couple seconds ahead of the video.
      Has anyone encountered this issue with other movies?
      Are there any solutions to tackle this, such as removing the first 2,169ms of the video to make them sync up, or any way to add 2,169ms to the beginning of the .thd+ac3 file?
      when you're extracting the bl and el files with eac3to, did you notice any errors? when there's an a/v sync issue after remuxing, it's possible that there may be errors in the original video layers.
      No errors during the extraction and the issue appears to exist before that point. When I pull the original M2TS / MPLS files into eac3to and tsMuxer they already acknowledge the required delay:
      eact3to:
      1: Chapters, 22 chapters
      2: h265/HEVC, 2160p24 /1.001 (16:9), 10 bits
      3: h265/HEVC, 1080p24 /1.001 (16:9), 10 bits - Dolby Vision Enhancement Layer
      4: TrueHD/AC3 (Atmos), 7.1 channels, 48kHz, 2168ms
      (embedded: AC3 EX, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB)
      5: AC3, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB, 2168ms
      6: AC3, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB, 2168ms
      7: AC3, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB, 2168ms
      8: AC3 Surround, 2.0 channels, 224kbps, 48kHz, dialnorm: -27dB, 2168ms
      9: Subtitle (PGS)
      10: Subtitle (PGS)
      11: Subtitle (PGS)
      12: Subtitle (PGS)

      tsMuxer:
      Automatically sets the delay on all audio files to 2,169ms when imported.
      I had this problem with Braveheart, I seem to remember ripping it either movie only ISO with DVDfab then processing that output
      userr
      Posts: 62
      Joined: Sat Apr 04, 2020 7:10 pm

      Re: Dolby Vision now possible through MP4 Mux.

      Post by userr »

      ragico wrote:
      Sat Sep 05, 2020 6:53 pm
      It plays dual layer dual track in the form of mkv (dual layer single track) via kodi + Yusesope Exoplayer and .ts profile 4 (using Yusesope tool)
      So it doesnt play things with dual track? Basically like the shield then
      ragico
      Posts: 257
      Joined: Fri Feb 15, 2019 1:09 am

      Re: Dolby Vision now possible through MP4 Mux.

      Post by ragico »

      userr wrote:
      Mon Sep 07, 2020 6:45 am
      ragico wrote:
      Sat Sep 05, 2020 6:53 pm
      It plays dual layer dual track in the form of mkv (dual layer single track) via kodi + Yusesope Exoplayer and .ts profile 4 (using Yusesope tool)
      So it doesnt play things with dual track? Basically like the shield then
      Yes
      Bresnik17
      Posts: 5
      Joined: Sat Aug 15, 2020 5:57 am

      Re: Dolby Vision now possible through MP4 Mux.

      Post by Bresnik17 »

      DaMacFunkin wrote:
      Mon Sep 07, 2020 5:57 am
      Bresnik17 wrote:
      Sun Sep 06, 2020 2:33 pm
      shawnc22 wrote:
      Sun Sep 06, 2020 1:49 am

      when you're extracting the bl and el files with eac3to, did you notice any errors? when there's an a/v sync issue after remuxing, it's possible that there may be errors in the original video layers.
      No errors during the extraction and the issue appears to exist before that point. When I pull the original M2TS / MPLS files into eac3to and tsMuxer they already acknowledge the required delay:
      eact3to:
      1: Chapters, 22 chapters
      2: h265/HEVC, 2160p24 /1.001 (16:9), 10 bits
      3: h265/HEVC, 1080p24 /1.001 (16:9), 10 bits - Dolby Vision Enhancement Layer
      4: TrueHD/AC3 (Atmos), 7.1 channels, 48kHz, 2168ms
      (embedded: AC3 EX, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB)
      5: AC3, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB, 2168ms
      6: AC3, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB, 2168ms
      7: AC3, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB, 2168ms
      8: AC3 Surround, 2.0 channels, 224kbps, 48kHz, dialnorm: -27dB, 2168ms
      9: Subtitle (PGS)
      10: Subtitle (PGS)
      11: Subtitle (PGS)
      12: Subtitle (PGS)

      tsMuxer:
      Automatically sets the delay on all audio files to 2,169ms when imported.
      I had this problem with Braveheart, I seem to remember ripping it either movie only ISO with DVDfab then processing that output
      Definitely a unique issue to have to solve for, but I ended up making it work by doing the following in case anyone else runs into this:
      1. Extracted BL & EL HEVC files from the .M2TS or .MPLS file
      2. Created BL+EL+RPU HEVC file using Yusescope's tool
      3. Added ONLY the BL+EL+RPU HEVC file to tsMuxer 04.06 and used the "Split & cut" tab. I selected the "Enable cutting" box and set the "Start" time to the delay (2,168ms = 0:00:02.168) and left the "End" time untouched (0:00:00.000)
      4. Muxed to .TS file
      5. Muxed the newly created .TS file from Step 4 & the TrueHD Atmos track from the original .M2TS or .MPLS file together with the delay set to 0ms

      Dolby Vision is triggered in Plex on my 2019 Shield and the TrueHD Atmos track is successfully Direct Playing and synced to the video.
      tr000
      Posts: 71
      Joined: Thu Jul 18, 2019 11:03 am

      Re: Dolby Vision now possible through MP4 Mux.

      Post by tr000 »

      Is there any way to get anything more than 640kbps AC3 in DV mp4s? For some reason my Roku TV can't skip around in the stream when playing .ts files, where I can put lossless audio.
      DaMacFunkin
      Posts: 311
      Joined: Tue Oct 30, 2018 4:17 pm

      Re: Dolby Vision now possible through MP4 Mux.

      Post by DaMacFunkin »

      tr000 wrote:
      Tue Sep 08, 2020 2:28 am
      Is there any way to get anything more than 640kbps AC3 in DV mp4s? For some reason my Roku TV can't skip around in the stream when playing .ts files, where I can put lossless audio.
      You can mux in DTS-HD later, whether the roku recognised the stream is another matter,!plex does in the shield, Zidoo Z9S doesn’t recognise the DTS-HD track and usually chokes.
      tr000
      Posts: 71
      Joined: Thu Jul 18, 2019 11:03 am

      Re: Dolby Vision now possible through MP4 Mux.

      Post by tr000 »

      DaMacFunkin wrote:
      Tue Sep 08, 2020 5:54 am
      tr000 wrote:
      Tue Sep 08, 2020 2:28 am
      Is there any way to get anything more than 640kbps AC3 in DV mp4s? For some reason my Roku TV can't skip around in the stream when playing .ts files, where I can put lossless audio.
      You can mux in DTS-HD later, whether the roku recognised the stream is another matter,!plex does in the shield, Zidoo Z9S doesn’t recognise the DTS-HD track and usually chokes.
      Oh I see, I actually hadn't tried using Plex, just the Roku Media Player with Serviio. On regular .mkvs with HDR10 it passes DTS-HD fine through HDMI ARC. But using the Mp4Muxer, I can only do AC3. How would I put higher quality audio in it?
      mrhollywood
      Posts: 16
      Joined: Thu May 02, 2019 7:01 pm

      Re: Dolby Vision now possible through MP4 Mux.

      Post by mrhollywood »

      tr000 wrote:
      Tue Sep 08, 2020 2:28 am
      Is there any way to get anything more than 640kbps AC3 in DV mp4s? For some reason my Roku TV can't skip around in the stream when playing .ts files, where I can put lossless audio.
      You can re-encode the lossless audio stream into eac3, then you can go up to 1500kps and possibly higher.
      DaMacFunkin
      Posts: 311
      Joined: Tue Oct 30, 2018 4:17 pm

      Re: Dolby Vision now possible through MP4 Mux.

      Post by DaMacFunkin »

      :)
      tr000 wrote:
      Tue Sep 08, 2020 7:53 am
      DaMacFunkin wrote:
      Tue Sep 08, 2020 5:54 am
      tr000 wrote:
      Tue Sep 08, 2020 2:28 am
      Is there any way to get anything more than 640kbps AC3 in DV mp4s? For some reason my Roku TV can't skip around in the stream when playing .ts files, where I can put lossless audio.
      You can mux in DTS-HD later, whether the roku recognised the stream is another matter,!plex does in the shield, Zidoo Z9S doesn’t recognise the DTS-HD track and usually chokes.
      Oh I see, I actually hadn't tried using Plex, just the Roku Media Player with Serviio. On regular .mkvs with HDR10 it passes DTS-HD fine through HDMI ARC. But using the Mp4Muxer, I can only do AC3. How would I put higher quality audio in it?
      Hi, the link to how to do it is in this thread somewhere lol, maybe Grencola or Yeosope have it readily available.
      sajtipajti
      Posts: 12
      Joined: Sat Oct 19, 2019 8:15 pm

      Re: Dolby Vision now possible through MP4 Mux.

      Post by sajtipajti »

      Bresnik17 wrote:
      Mon Sep 07, 2020 9:23 pm
      Definitely a unique issue to have to solve for, but I ended up making it work by doing the following in case anyone else runs into this:
      1. Extracted BL & EL HEVC files from the .M2TS or .MPLS file
      2. Created BL+EL+RPU HEVC file using Yusescope's tool
      3. Added ONLY the BL+EL+RPU HEVC file to tsMuxer 04.06 and used the "Split & cut" tab. I selected the "Enable cutting" box and set the "Start" time to the delay (2,168ms = 0:00:02.168) and left the "End" time untouched (0:00:00.000)
      4. Muxed to .TS file
      5. Muxed the newly created .TS file from Step 4 & the TrueHD Atmos track from the original .M2TS or .MPLS file together with the delay set to 0ms

      Dolby Vision is triggered in Plex on my 2019 Shield and the TrueHD Atmos track is successfully Direct Playing and synced to the video.
      As I know, Eac3To applies audio delay automatically, during demux. It can correct it in 32 ms fragments.
      Just select the tracks using USEac3TO and hit the "RUN CL" button...
      Bresnik17
      Posts: 5
      Joined: Sat Aug 15, 2020 5:57 am

      Re: Dolby Vision now possible through MP4 Mux.

      Post by Bresnik17 »

      sajtipajti wrote:
      Bresnik17 wrote:
      Mon Sep 07, 2020 9:23 pm
      Definitely a unique issue to have to solve for, but I ended up making it work by doing the following in case anyone else runs into this:
      1. Extracted BL & EL HEVC files from the .M2TS or .MPLS file
      2. Created BL+EL+RPU HEVC file using Yusescope's tool
      3. Added ONLY the BL+EL+RPU HEVC file to tsMuxer 04.06 and used the "Split & cut" tab. I selected the "Enable cutting" box and set the "Start" time to the delay (2,168ms = 0:00:02.168) and left the "End" time untouched (0:00:00.000)
      4. Muxed to .TS file
      5. Muxed the newly created .TS file from Step 4 & the TrueHD Atmos track from the original .M2TS or .MPLS file together with the delay set to 0ms

      Dolby Vision is triggered in Plex on my 2019 Shield and the TrueHD Atmos track is successfully Direct Playing and synced to the video.
      As I know, Eac3To applies audio delay automatically, during demux. It can correct it in 32 ms fragments.
      Just select the tracks using USEac3TO and hit the "RUN CL" button...
      Yep, however, the delay that eac3to applied during demux was not being applied during the mux to TS without also setting a delay in tsMuxer.

      Sent from my SM-G965U using Tapatalk

      sajtipajti
      Posts: 12
      Joined: Sat Oct 19, 2019 8:15 pm

      Re: Dolby Vision now possible through MP4 Mux.

      Post by sajtipajti »

      Bresnik17 wrote:
      Wed Sep 09, 2020 1:30 pm
      sajtipajti wrote:
      As I know, Eac3To applies audio delay automatically, during demux. It can correct it in 32 ms fragments.
      Just select the tracks using USEac3TO and hit the "RUN CL" button...
      Yep, however, the delay that eac3to applied during demux was not being applied during the mux to TS without also setting a delay in tsMuxer.

      Sent from my SM-G965U using Tapatalk
      If the delay is positive, Eac3TO adds silence to the beginning of the file in 32 ms increments.
      If the delay is negative, Eac3TO cuts audio from the beginnig of the file in 32 ms increments.
      After ending the process it renames the file to show how much was the remainder.
      If I remember well it is always below (+/-) 16 ms, which (IMO) you can ignore during muxing with tsmuxer in the next step.
      daddy
      Posts: 77
      Joined: Sat Jul 06, 2019 8:17 am

      Re: Dolby Vision now possible through MP4 Mux.

      Post by daddy »

      tr000 wrote:
      Tue Sep 08, 2020 7:53 am
      Oh I see, I actually hadn't tried using Plex, just the Roku Media Player with Serviio. On regular .mkvs with HDR10 it passes DTS-HD fine through HDMI ARC. But using the Mp4Muxer, I can only do AC3. How would I put higher quality audio in it?
      Take a look at viewtopic.php?p=76820#p76820
      Mierzen
      Posts: 1
      Joined: Thu Sep 10, 2020 6:07 pm

      Re: Dolby Vision now possible through MP4 Mux.

      Post by Mierzen »

      deadchip12 wrote:
      Mon Apr 20, 2020 5:15 am
      Disney+ is not available in my country so I download this remux to watch The Mandalorian: https://rarbgway.org/torrent/rw213am. This looks like dolby vision single layer mp4? I have had hard time trying to get this to play on my oled c9. I put the film files in an external hdd and connected it to the c9 via usb. At first, the files seemed to play ok, but once I skipped to another point in the film it refused to play and showed message: "the file can't be recognized". Now that message is shown everytime I try to open the files so I can't even play the film anymore. Any idea? The TV did recognize the files at first so it's really weird that it does not recognize the files now anymore. The files are not corrupted btw, I tested them on my computer and they play fine, only without dolby vision.
      Hi. Did you end up resolving this issue? I downloaded the same torrent and my C9 also doesn't even want to play the files at all.
      sajtipajti
      Posts: 12
      Joined: Sat Oct 19, 2019 8:15 pm

      Re: Dolby Vision now possible through MP4 Mux.

      Post by sajtipajti »

      Mierzen wrote:
      Thu Sep 10, 2020 6:21 pm
      deadchip12 wrote:
      Mon Apr 20, 2020 5:15 am
      Disney+ is not available in my country so I download this remux to watch The Mandalorian: https://rarbgway.org/torrent/rw213am. This looks like dolby vision single layer mp4? I have had hard time trying to get this to play on my oled c9. I put the film files in an external hdd and connected it to the c9 via usb. At first, the files seemed to play ok, but once I skipped to another point in the film it refused to play and showed message: "the file can't be recognized". Now that message is shown everytime I try to open the files so I can't even play the film anymore. Any idea? The TV did recognize the files at first so it's really weird that it does not recognize the files now anymore. The files are not corrupted btw, I tested them on my computer and they play fine, only without dolby vision.
      Hi. Did you end up resolving this issue? I downloaded the same torrent and my C9 also doesn't even want to play the files at all.
      It's interesting: I tried them on my B7 just now without any issue.
      Post Reply