Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

yusesope wrote:
Thu Apr 02, 2020 10:26 am
shawnc22 wrote:
Tue Mar 31, 2020 3:38 pm
When playing back the DV4 file, the renderer actually lists the codec as dvhe.04.06, but nothing for the DV6 file.
Thanks @shawnc22.
I'm sorry guys but the latest version of Exoplayer (2.10) does not support profile 6. There is an article about it on the developer blog (HERE) and checking the code (HERE) it shows the same thing!
Any reason you can think of to explain why it still looks like it’s working (DV still triggered) despite the apparent lack of support for profile 6? Also kind of interesting to see profile 7 mentioned in the code even though its not supported.

Bit of a side note on exoplayer lately, I’ve noticed that even though the option is turned on in the settings, content frame rate matching does not seem to be working and everything is still being played at 60hz. Reverting back to the old player solves the issue and all my DV remuxes still seem to work (at least as far as triggering DV goes) like they do with the exoplayer.
Last edited by shawnc22 on Thu Apr 02, 2020 4:32 pm, edited 1 time in total.
MastaG
Posts: 98
Joined: Thu Aug 08, 2019 11:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by MastaG »

deadchip12 wrote:
Thu Apr 02, 2020 11:52 am
MastaG wrote:
Wed Apr 01, 2020 6:50 pm

Strange as my mode 1 "BL+EL+RPU" merge of Gemini Man (FEL HFR) did trigger DV and played smoothly on my C8 when I was using an older rev of TsMuxer.
See my post: https://www.makemkv.com/forum/viewtopic ... 295#p86295
I followed the exact same steps in your post but Gemini Man still stutters every 2 seconds on my oled C9. The file is stored in an external hdd connected to the tv via usb and played using the tv internal media player.
Well the "boken/bugged" version of TsMuxer (when not all DV contributions were committed) created a .ts file that says:

Code: Select all

Dolby Vision, Version 1.0, dvhe.08.09, BL+EL+RPU / SMPTE ST 2086, HDR10 compatible
The hevc file of Gemini Man was indeed created with yusesope's 0.0.3 tool (mode 1 BL+EL+RPU).

However after reading all the posts here, it seems with profile 08 I'm telling the LG decoder to just ignore the EL layer and only read RPU (as if the hevc file was generated using mode 2 BL+RPU).
Like mp4muxer says:

Code: Select all

 --dv-profile <arg>                 = Sets the Dolby Vision profile. This option is MANDATORY for 
                                      DoVi elementary stream: Valid profile values are:
                                      4 - dvhe.04, BL codec: HEVC10; EL codec: HEVC10; BL compatibility: SDR/HDR.   
                                      5 - dvhe.05, BL codec: HEVC10; EL codec: N/A;    BL compatibility: None.      
                                      7 - dvhe.07, BL codec: HEVC10; EL codec: HEVC10; BL compatibility: Blue-ray HDR10. 
                                      8 - dvhe.08, BL codec: HEVC10; EL codec: N/A;    BL compatibility: SDR/HDR.   
                                      9 - dvav.09, BL codec: AVC;    EL codec: N/A;    BL compatibility: SDR/HDR
Only 04 and 07 should present an EL layer.. 07 is probably dual-track since it's for meant for BluRay.
So with profile 08 set in my .ts file the LG decoder probably doesn't stutter since it's ignoring the FEL layer.

I think the decoder is simply not powerful enough to process BL+EL+RPU for such high bitrate movies with a full enhanced layer, especially not a 60fps movie like Gemini Man.
So I guess I should go for mode 2 / profile 05 then.

@jcdr428
Could you add another commit to your PR to change the profile 06 back to 04?
deadchip12
Posts: 379
Joined: Thu May 02, 2019 2:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by deadchip12 »

MastaG wrote:
Thu Apr 02, 2020 1:38 pm
deadchip12 wrote:
Thu Apr 02, 2020 11:52 am
MastaG wrote:
Wed Apr 01, 2020 6:50 pm

Strange as my mode 1 "BL+EL+RPU" merge of Gemini Man (FEL HFR) did trigger DV and played smoothly on my C8 when I was using an older rev of TsMuxer.
See my post: https://www.makemkv.com/forum/viewtopic ... 295#p86295
I followed the exact same steps in your post but Gemini Man still stutters every 2 seconds on my oled C9. The file is stored in an external hdd connected to the tv via usb and played using the tv internal media player.
Well the "boken/bugged" version of TsMuxer (when not all DV contributions were committed) created a .ts file that says:

Code: Select all

Dolby Vision, Version 1.0, dvhe.08.09, BL+EL+RPU / SMPTE ST 2086, HDR10 compatible
The hevc file of Gemini Man was indeed created with yusesope's 0.0.3 tool (mode 1 BL+EL+RPU).

However after reading all the posts here, it seems with profile 08 I'm telling the LG decoder to just ignore the EL layer and only read RPU (as if the hevc file was generated using mode 2 BL+RPU).
Like mp4muxer says:

Code: Select all

 --dv-profile <arg>                 = Sets the Dolby Vision profile. This option is MANDATORY for 
                                      DoVi elementary stream: Valid profile values are:
                                      4 - dvhe.04, BL codec: HEVC10; EL codec: HEVC10; BL compatibility: SDR/HDR.   
                                      5 - dvhe.05, BL codec: HEVC10; EL codec: N/A;    BL compatibility: None.      
                                      7 - dvhe.07, BL codec: HEVC10; EL codec: HEVC10; BL compatibility: Blue-ray HDR10. 
                                      8 - dvhe.08, BL codec: HEVC10; EL codec: N/A;    BL compatibility: SDR/HDR.   
                                      9 - dvav.09, BL codec: AVC;    EL codec: N/A;    BL compatibility: SDR/HDR
Only 04 and 07 should present an EL layer.. 07 is probably dual-track since it's for meant for BluRay.
So with profile 08 set in my .ts file the LG decoder probably doesn't stutter since it's ignoring the FEL layer.

I think the decoder is simply not powerful enough to process BL+EL+RPU for such high bitrate movies with a full enhanced layer, especially not a 60fps movie like Gemini Man.
So I guess I should go for mode 2 / profile 05 then.

@jcdr428
Could you add another commit to your PR to change the profile 06 back to 04?
I’m not sure I understand everything you mentioned but you got the file played on the c8 without stutter right? I used the same programs from the links you posted and followed the steps but then the file stutters on the c9. What can explain this?
MastaG
Posts: 98
Joined: Thu Aug 08, 2019 11:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by MastaG »

deadchip12 wrote:
Thu Apr 02, 2020 3:04 pm
MastaG wrote:
Thu Apr 02, 2020 1:38 pm
deadchip12 wrote:
Thu Apr 02, 2020 11:52 am


I followed the exact same steps in your post but Gemini Man still stutters every 2 seconds on my oled C9. The file is stored in an external hdd connected to the tv via usb and played using the tv internal media player.
Well the "boken/bugged" version of TsMuxer (when not all DV contributions were committed) created a .ts file that says:

Code: Select all

Dolby Vision, Version 1.0, dvhe.08.09, BL+EL+RPU / SMPTE ST 2086, HDR10 compatible
The hevc file of Gemini Man was indeed created with yusesope's 0.0.3 tool (mode 1 BL+EL+RPU).

However after reading all the posts here, it seems with profile 08 I'm telling the LG decoder to just ignore the EL layer and only read RPU (as if the hevc file was generated using mode 2 BL+RPU).
Like mp4muxer says:

Code: Select all

 --dv-profile <arg>                 = Sets the Dolby Vision profile. This option is MANDATORY for 
                                      DoVi elementary stream: Valid profile values are:
                                      4 - dvhe.04, BL codec: HEVC10; EL codec: HEVC10; BL compatibility: SDR/HDR.   
                                      5 - dvhe.05, BL codec: HEVC10; EL codec: N/A;    BL compatibility: None.      
                                      7 - dvhe.07, BL codec: HEVC10; EL codec: HEVC10; BL compatibility: Blue-ray HDR10. 
                                      8 - dvhe.08, BL codec: HEVC10; EL codec: N/A;    BL compatibility: SDR/HDR.   
                                      9 - dvav.09, BL codec: AVC;    EL codec: N/A;    BL compatibility: SDR/HDR
Only 04 and 07 should present an EL layer.. 07 is probably dual-track since it's for meant for BluRay.
So with profile 08 set in my .ts file the LG decoder probably doesn't stutter since it's ignoring the FEL layer.

I think the decoder is simply not powerful enough to process BL+EL+RPU for such high bitrate movies with a full enhanced layer, especially not a 60fps movie like Gemini Man.
So I guess I should go for mode 2 / profile 05 then.

@jcdr428
Could you add another commit to your PR to change the profile 06 back to 04?
I’m not sure I understand everything you mentioned but you got the file played on the c8 without stutter right? I used the same programs from the links you posted and followed the steps but then the file stutters on the c9. What can explain this?
Well I meant to say that the FEL movies such as Gemini Man were playing smooth on my C8 because I was using an older revision of TsMuxer.

This version would incorrectly set profile 08 in the .ts file.

I've edited my last post with all the DV profiles.
And as you can see, profile 08 doesn't mention an EL layer.

So with profile 08 the LG player will treat the video track as BL+RPU. (Like when using mode 2 when using yusecope's tool).
Thus it ignores the EL layer altogether, making it play smooth.

So you'll see DV but it's only processing the RPU metadata, not the full EL layer.

I think the SoC is not powerful enough to process BL+EL+RPU (profile 04/06) when using a full enhancement layer (FEL) at such high bitrates.

So you might as well use BL+RPU (mode 2) instead as it gives the same result as using profile 08 (telling the player there is no EL).

EDIT:

Even without the full enhancement layer you can clearly see the difference between DV and HDR10.

In this movie DV adds some nice shading.

And at 60fps it's really beautiful to watch, even though it's a bad movie overall.
Angryunibrow
Posts: 104
Joined: Wed Nov 06, 2019 11:26 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Angryunibrow »

@jcdr428
Could you add another commit to your PR to change the profile 06 back to 04?
I think this would be best also, we should be using profile 4 not 6.
yusesope
Posts: 221
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope »

shawnc22 wrote:
Thu Apr 02, 2020 12:01 pm
Any reason you can think of to explain why it still looks like it’s working (DV still triggered) despite the apparent lack of support for profile 6? Also kind of interesting to see profile 7 mentioned in the code even though its not supported.
I think the application starts a "tunneled video playback" session (more information HERE). What happens next depends on how nVidia implemented the hardware decoder. Most likely the EL layer is discarded and only the BL layer is processed together with the RPU metadata.

As for profile 7, it is considered to define codecsPrefix = "dvhe" but in the "MediaCodecVideoRenderer" class (HERE) only the profiles mentioned in the article seem to be taken into consideration (the various profiles are defined HERE)



MastaG wrote:
Thu Apr 02, 2020 1:38 pm
07 is probably dual-track since it's for meant for BluRay.
I agree with everything you wrote. I have a doubt about the previous statement.
Why don't you try creating a profile 7 file using my tool (-mode 1) and mp4muxer?
Does your LG TV play it?
jcdr428
Posts: 34
Joined: Fri Mar 20, 2020 6:55 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by jcdr428 »

@Angryunibrow @shawnc22 could you please:
- Mux FEL Blu-ray BL and EL to single layer with yusesope tool, then to profile 4 with Dolby mp4muxer,
- Change in dvcC atom dv_profile from 4 to 6, and dv_bl_signal_compatibility_id from 2 to 1
(i.e. change '64 76 63 43 01 00 08 37 20' to '64 76 63 43 01 00 0C 37 10' with an Hex editor)

and try it on TV ?

@yusesope ExoPlayer being open-source, profile 6 can be pushed easily.
MastaG
Posts: 98
Joined: Thu Aug 08, 2019 11:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by MastaG »

yusesope wrote:
Fri Apr 03, 2020 9:18 am
MastaG wrote:
Thu Apr 02, 2020 1:38 pm
07 is probably dual-track since it's for meant for BluRay.
I agree with everything you wrote. I have a doubt about the previous statement.
Why don't you try creating a profile 7 file using my tool (-mode 1) and mp4muxer?
Does your LG TV play it?
I've just tried it:

Code: Select all

mp4muxer -i BL.hevc -i EL.hevc -i gemini.ec3 --media-lang eng --dv-profile 7 -o Gemini_DL.mp4 --mpeg4-comp-brand mp42,isom,dby1

Code: Select all

General
Complete name                            : Gemini_DL.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/isom/dby1)
File size                                : 68.8 GiB
Duration                                 : 1 h 57 min
Overall bit rate                         : 84.1 Mb/s
Encoded date                             : UTC 2020-04-03 08:18:46
Tagged date                              : UTC 2020-04-03 08:18:46

Video #1
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : SMPTE ST 2086, HDR10 compatible
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 1 h 57 min
Bit rate                                 : 81.0 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.163
Stream size                              : 66.2 GiB (96%)
Default                                  : Yes
Alternate group                          : 1
Encoded date                             : UTC 2020-04-03 08:18:46
Tagged date                              : UTC 2020-04-03 08:18:46
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.0010 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 5180 cd/m2
Maximum Frame-Average Light Level        : 1577 cd/m2
Codec configuration box                  : hvcC

Video #2
ID                                       : 2
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.07.09, EL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 1 h 57 min
Bit rate                                 : 2 687 kb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.022
Stream size                              : 2.20 GiB (3%)
Default                                  : No
Alternate group                          : 1
Encoded date                             : UTC 2020-04-03 08:18:46
Tagged date                              : UTC 2020-04-03 08:18:46
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.0010 cd/m2, max: 1000 cd/m2
Codec configuration box                  : hvcC+dvcC

Audio
ID                                       : 3
Format                                   : E-AC-3
Format/Info                              : Enhanced AC-3
Commercial name                          : Dolby Digital Plus
Codec ID                                 : ec-3
Duration                                 : 1 h 57 min
Bit rate mode                            : Constant
Bit rate                                 : 448 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 375 MiB (1%)
Language                                 : English
Service kind                             : Complete Main
Default                                  : Yes
Alternate group                          : 2
Encoded date                             : UTC 2020-04-03 08:18:46
Tagged date                              : UTC 2020-04-03 08:18:46
Does not start at all.. black screen.. (I could have sworn mp4muxer used to work before though).
EDIT: I didn't read correctly. Will now try using your mode 1 merge and profile 07.

I've also tried a profile 04 version using the hevc file muxed with your tool (mode 1 BL+EL+RPU).

Code: Select all

mp4muxer -i gemini.hevc -i gemini.ec3 --media-lang eng --dv-profile 4 -o Gemini_04.mp4 --mpeg4-comp-brand mp42,isom,dby1

Code: Select all

General
Complete name                            : Gemini_04.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/isom/dby1)
File size                                : 68.8 GiB
Duration                                 : 1 h 57 min
Overall bit rate                         : 84.1 Mb/s
Encoded date                             : UTC 2020-04-02 17:59:03
Tagged date                              : UTC 2020-04-02 17:59:03

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.04.09, BL+EL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 1 h 57 min
Bit rate                                 : 83.7 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.168
Stream size                              : 68.4 GiB (99%)
Default                                  : Yes
Alternate group                          : 1
Encoded date                             : UTC 2020-04-02 17:59:03
Tagged date                              : UTC 2020-04-02 17:59:03
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.0010 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 5180 cd/m2
Maximum Frame-Average Light Level        : 1577 cd/m2
Codec configuration box                  : hvcC+dvcC+hvcE

Audio
ID                                       : 2
Format                                   : E-AC-3
Format/Info                              : Enhanced AC-3
Commercial name                          : Dolby Digital Plus
Codec ID                                 : ec-3
Duration                                 : 1 h 57 min
Bit rate mode                            : Constant
Bit rate                                 : 448 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 375 MiB (1%)
Language                                 : English
Service kind                             : Complete Main
Default                                  : Yes
Alternate group                          : 2
Encoded date                             : UTC 2020-04-02 17:59:03
Tagged date                              : UTC 2020-04-02 17:59:03
This one does play, but skips every 1-2 seconds (same as when using TsMuxer which gives it profile 06).

So my conclusion is.. that "merging" BL+EL+RPU using your tool.. produces a working hevc.. but the LG C8 is not powerful enough to play it.
Same behaviour in both mp4muxer and tsmuxer.

I'll try to hex-edit my mp4 from profile 04 to profile 06.. (if I can find the hex-string).

Also I'm going to test locally from USB from now on, since all testing was done using Emby Media Server.
So I'll create all kinds of muxes and store them on my 1TB usb disk.
jcdr428
Posts: 34
Joined: Fri Mar 20, 2020 6:55 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by jcdr428 »

@MastaG a 60 fps UHD (level 9) is most likely above the decoding capabilities of most SoCs. Better to test profile 4/6 FEL with a standard <24fps first.

Edit: '64 76 63 43 01 00 08 37 20' is for level 6, for level 9 change '64 76 63 43 01 00 08 4F 20' to '64 76 63 43 01 00 0C 4F 10' : '64 76 63 43' is 'dvcC', then DV version (16 bits), and the three last bytes are profile (7 bits), level (6 bits), RPU/EL/BL (3 bits), BL compatibility (4 bits), reserved (4 zero bits).
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

jcdr428 wrote:
Fri Apr 03, 2020 9:43 am
@Angryunibrow @shawnc22 could you please:
- Mux FEL Blu-ray BL and EL to single layer with yusesope tool, then to profile 4 with Dolby mp4muxer,
- Change in dvcC atom dv_profile from 4 to 6, and dv_bl_signal_compatibility_id from 2 to 1
(i.e. change '64 76 63 43 01 00 08 37 20' to '64 76 63 43 01 00 0C 37 10' with an Hex editor)

and try it on TV ?

@yusesope ExoPlayer being open-source, profile 6 can be pushed easily.
Same issues here on my B9 with 1917. Stutters initially at profile 4 and still stutters after changing to profile 6 via hex editor. Resulting mediainfo here:

Code: Select all

General
Complete name                            : Z:\TS\Prof6\1917_MP4.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/dby1/isom)
File size                                : 64.3 GiB
Duration                                 : 1 h 58 min
Overall bit rate                         : 77.4 Mb/s
Encoded date                             : UTC 2020-04-03 14:42:17
Tagged date                              : UTC 2020-04-03 14:42:17

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.06.06, BL+EL+RPU / SMPTE ST 2094 App 4, Version 1, HDR10+ Profile B compatible
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 1 h 58 min
Bit rate                                 : 77.4 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.389
Stream size                              : 64.3 GiB (100%)
Language                                 : English
Default                                  : Yes
Alternate group                          : 1
Encoded date                             : UTC 2020-04-03 14:42:17
Tagged date                              : UTC 2020-04-03 14:42:17
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.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 1000 cd/m2
Maximum Frame-Average Light Level        : 168 cd/m2
Codec configuration box                  : hvcC+dvcC+hvcE
MastaG
Posts: 98
Joined: Thu Aug 08, 2019 11:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by MastaG »

Angryunibrow wrote:
Tue Mar 31, 2020 8:57 pm
shawnc22 wrote:
Tue Mar 31, 2020 8:36 pm
Ah that does seem like a plausible explanation. I personally have never gotten profile 7 files to work on my B9, but people previously in this thread have reported that dual track dual layer profile 7 mp4 remuxes made with mp4muxer play without issue on their LG C# internal players. If anyone with a C# TV can try a mp4 prof7 remux of an FEL movie, that would be helpful.
I just watched Knives Out which is FEL on the LG C8.
This was Profile 7 with DTS-HD MA 7.1 audio.

Zero issues.
Could you please share the commands you've used to create these profile 7 muxes?
MastaG
Posts: 98
Joined: Thu Aug 08, 2019 11:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by MastaG »

Now some testing using an usb disk on my C8.

For Gemini Man 2019 (FEL/HFR), I have:

bl.hevc (base layer)
el.hevc (enhanced layer)
gemini_mode1.hevc (created with yusesope's tool BL+EL+RPU)
gemini_mode2.hevc (created with yusesope's tool BL+RPU)
gemini_thd.ac3 (TrueHD + Core AC3 audio)
gemini.ec3 (Dolby Digital Plus audio)

The first one I created was single layer profile 04 using gemini_mode1.hevc and gemini.ec3:

Code: Select all

# Create profile 04 mux with mp4muxer
mp4muxer -i gemini_mode1.hevc --dv-profile 4 -o gemini_sl_04.mp4
# Add E-AC3 audio with mp4box
MP4Box -add ./gemini_sl_04.mp4:rate=0 -add ./gemini.ec3#audio:lang=en-EN -tmp /home/mastag -brand mp42isom -ab dby1 -no-iod gemini_sl_04_audio.mp4
Result:

Code: Select all

$ mediainfo gemini_sl_04_audio.mp4 
General
Complete name                            : gemini_sl_04_audio.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (isom/mp42/dby1)
File size                                : 68.8 GiB
Duration                                 : 1 h 57 min
Overall bit rate                         : 84.1 Mb/s
Encoded date                             : UTC 2020-04-03 15:05:34
Tagged date                              : UTC 2020-04-03 15:05:34

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.04.09, BL+EL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 1 h 57 min
Bit rate                                 : 83.7 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.168
Stream size                              : 68.4 GiB (99%)
Default                                  : Yes
Alternate group                          : 1
Encoded date                             : UTC 2020-04-03 12:42:46
Tagged date                              : UTC 2020-04-03 15:06:40
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.0010 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 5180 cd/m2
Maximum Frame-Average Light Level        : 1577 cd/m2
Codec configuration box                  : hvcC+dvcC+hvcE

Audio
ID                                       : 2
Format                                   : E-AC-3
Format/Info                              : Enhanced AC-3
Commercial name                          : Dolby Digital Plus
Codec ID                                 : ec-3
Duration                                 : 58 min 31 s
Bit rate mode                            : Constant
Bit rate                                 : 448 kb/s
Maximum bit rate                         : 946 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 375 MiB (1%)
Title                                    : ec3#audio:lang=en-EN@GPAC0.8.0-rev188-gedca07712-master
Language                                 : English
Service kind                             : Complete Main
Encoded date                             : UTC 2020-04-03 15:06:39
Tagged date                              : UTC 2020-04-03 15:06:40
This one stutters, which was expected.
I'm not going to hex-edit it to profile 06, since @shawnc22 already tried that.


Second try single layer but this time profile 07 using gemini_mode1.hevc and gemini.ec3:

Code: Select all

# Create profile 07 mux with mp4muxer
mp4muxer -i gemini_mode1.hevc --dv-profile 7 -o gemini_sl_07.mp4
# Add E-AC3 audio with mp4box
MP4Box -add ./gemini_sl_07.mp4:rate=0 -add ./gemini.ec3#audio:lang=en-EN -tmp /home/mastag -brand mp42isom -ab dby1 -no-iod gemini_sl_07_audio.mp4
Result:

Code: Select all

$ mediainfo gemini_sl_07_audio.mp4 
General
Complete name                            : gemini_sl_07_audio.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (isom/mp42/dby1)
File size                                : 68.8 GiB
Duration                                 : 1 h 57 min
Overall bit rate                         : 84.1 Mb/s
Encoded date                             : UTC 2020-04-03 15:02:37
Tagged date                              : UTC 2020-04-03 15:02:37

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.07.09, BL+EL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 1 h 57 min
Bit rate                                 : 83.7 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.168
Stream size                              : 68.4 GiB (99%)
Default                                  : Yes
Alternate group                          : 1
Encoded date                             : UTC 2020-04-03 12:41:15
Tagged date                              : UTC 2020-04-03 15:03:53
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.0010 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 5180 cd/m2
Maximum Frame-Average Light Level        : 1577 cd/m2
Codec configuration box                  : hvcC+dvcC+hvcE

Audio
ID                                       : 2
Format                                   : E-AC-3
Format/Info                              : Enhanced AC-3
Commercial name                          : Dolby Digital Plus
Codec ID                                 : ec-3
Duration                                 : 58 min 31 s
Bit rate mode                            : Constant
Bit rate                                 : 448 kb/s
Maximum bit rate                         : 946 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 375 MiB (1%)
Title                                    : ec3#audio:lang=en-EN@GPAC0.8.0-rev188-gedca07712-master
Language                                 : English
Service kind                             : Complete Main
Encoded date                             : UTC 2020-04-03 15:03:52
Tagged date                              : UTC 2020-04-03 15:03:53
This one also stutters, like profile 04, so more proof that profiles don't make a difference.
I think that the "mode 1" (BL+EL+RPU) merges of movies with a "FEL" are either not fully compatible with LG televisions (as they do play on the Shield).
Or the LG televisions are simply not powerful enough to process these FEL movies.


Now here comes the thing I don't understand.
I've tried to create an old fashioned profile 07 dual layer mp4 mux using bl.hevc, el.hevc and gemini.ec3:

Code: Select all

# Create profile 07 mux with mp4muxer
mp4muxer -i bl.hevc -i el.hevc --dv-profile 7 -o gemini_dl_07.mp4
# Add E-AC3 audio with mp4box
MP4Box -add ./gemini_dl_07.mp4:rate=0 -add ./gemini.ec3#audio:lang=en-EN -tmp /home/mastag -brand mp42isom -ab dby1 -no-iod gemini_dl_07_audio.mp4
Result:

Code: Select all

$ mediainfo gemini_dl_07_audio.mp4 
General
Complete name                            : gemini_dl_07_audio.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (isom/mp42/dby1)
File size                                : 68.8 GiB
Duration                                 : 1 h 57 min
Overall bit rate                         : 84.1 Mb/s
Encoded date                             : UTC 2020-04-03 14:58:59
Tagged date                              : UTC 2020-04-03 14:58:59

Video #1
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : SMPTE ST 2086, HDR10 compatible
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 1 h 57 min
Bit rate                                 : 81.0 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.163
Stream size                              : 66.2 GiB (96%)
Default                                  : Yes
Alternate group                          : 1
Encoded date                             : UTC 2020-04-03 11:54:59
Tagged date                              : UTC 2020-04-03 15:00:05
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.0010 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 5180 cd/m2
Maximum Frame-Average Light Level        : 1577 cd/m2
Codec configuration box                  : hvcC

Video #2
ID                                       : 2
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.07.09, EL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 1 h 57 min
Bit rate                                 : 2 687 kb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.022
Stream size                              : 2.20 GiB (3%)
Default                                  : No
Alternate group                          : 1
Encoded date                             : UTC 2020-04-03 11:54:59
Tagged date                              : UTC 2020-04-03 15:00:05
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.0010 cd/m2, max: 1000 cd/m2
Codec configuration box                  : hvcC+dvcC

Audio
ID                                       : 3
Format                                   : E-AC-3
Format/Info                              : Enhanced AC-3
Commercial name                          : Dolby Digital Plus
Codec ID                                 : ec-3
Duration                                 : 58 min 31 s
Bit rate mode                            : Constant
Bit rate                                 : 448 kb/s
Maximum bit rate                         : 946 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 375 MiB (1%)
Title                                    : ec3#audio:lang=en-EN@GPAC0.8.0-rev188-gedca07712-master
Language                                 : English
Service kind                             : Complete Main
Encoded date                             : UTC 2020-04-03 15:00:05
Tagged date                              : UTC 2020-04-03 15:00:05
Now I've seen multiple members claiming this works for them.
Dual track FEL movies created with mp4muxer.
But for me it does not play at all.. all I get is a black screen and a spinner, both in Emby and from usb disk using the builtin mediaplayer.
Something wrong with the above steps or commands?
Any help would be nice :)


Now just for fun I created a TS movie using gemini_mode2.hevc, gemini_thd.ac3 and gemini.ec3.
I used TsMuxer compiled with jcdr428's PR: https://github.com/justdan96/tsMuxer/pull/269 (but without the last commit where he fixes the compatibility ID).
So this is BL+RPU with both TrueHD+Core-AC3 and E-AC3 audio.
Result:

Code: Select all

$ mediainfo gemini_mode2.ts 
General
ID                                       : 1 (0x1)
Complete name                            : gemini_mode2.ts
Format                                   : MPEG-TS
File size                                : 73.2 GiB
Duration                                 : 1 h 57 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 89.6 Mb/s
Maximum Overall bit rate                 : 35.5 Mb/s

Video
ID                                       : 4117 (0x1015)
Menu ID                                  : 1 (0x1)
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.08.09, BL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : 6
Duration                                 : 1 h 57 min
Bit rate                                 : 84.0 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.169
Stream size                              : 68.7 GiB (94%)
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.0010 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 5180 cd/m2
Maximum Frame-Average Light Level        : 1577 cd/m2

Audio #1
ID                                       : 4352 (0x1100)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3 MLP FBA 16-ch
Format/Info                              : Audio Coding 3 + Meridian Lossless Packing FBA with 16-channel presentation
Commercial name                          : Dolby TrueHD with Dolby Atmos
Muxing mode                              : Stream extension
Codec ID                                 : 131
Duration                                 : 1 h 57 min
Bit rate mode                            : Variable
Bit rate                                 : 640 kb/s
Maximum bit rate                         : 7 944 kb/s
Channel(s)                               : 8 channels
Channel layout                           : L R C LFE Ls Rs Lb Rb
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 536 MiB (1%)
Language                                 : English
Service kind                             : Complete Main
Number of dynamic objects                : 11
Bed channel count                        : 1 channel
Bed channel configuration                : LFE

Audio #2
ID                                       : 4353 (0x1101)
Menu ID                                  : 1 (0x1)
Format                                   : E-AC-3
Format/Info                              : Enhanced AC-3
Commercial name                          : Dolby Digital Plus
Codec ID                                 : 135
Duration                                 : 1 h 57 min
Bit rate mode                            : Constant
Bit rate                                 : 448 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 375 MiB (1%)
Language                                 : English
Service kind                             : Complete Main
This one without the FEL layer works perfectly fine as expected.
Of course I cannot play Atmos on my C8, but DD+ is better than nothing.
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

MastaG wrote:
Fri Apr 03, 2020 10:36 pm
Now here comes the thing I don't understand.
I've tried to create an old fashioned profile 07 dual layer mp4 mux using bl.hevc, el.hevc and gemini.ec3:

Code: Select all

# Create profile 07 mux with mp4muxer
mp4muxer -i bl.hevc -i el.hevc --dv-profile 7 -o gemini_dl_07.mp4
# Add E-AC3 audio with mp4box
MP4Box -add ./gemini_dl_07.mp4:rate=0 -add ./gemini.ec3#audio:lang=en-EN -tmp /home/mastag -brand mp42isom -ab dby1 -no-iod gemini_dl_07_audio.mp4
Result:

Code: Select all

$ mediainfo gemini_dl_07_audio.mp4 
General
Complete name                            : gemini_dl_07_audio.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (isom/mp42/dby1)
File size                                : 68.8 GiB
Duration                                 : 1 h 57 min
Overall bit rate                         : 84.1 Mb/s
Encoded date                             : UTC 2020-04-03 14:58:59
Tagged date                              : UTC 2020-04-03 14:58:59

Video #1
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : SMPTE ST 2086, HDR10 compatible
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 1 h 57 min
Bit rate                                 : 81.0 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.163
Stream size                              : 66.2 GiB (96%)
Default                                  : Yes
Alternate group                          : 1
Encoded date                             : UTC 2020-04-03 11:54:59
Tagged date                              : UTC 2020-04-03 15:00:05
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.0010 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 5180 cd/m2
Maximum Frame-Average Light Level        : 1577 cd/m2
Codec configuration box                  : hvcC

Video #2
ID                                       : 2
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.07.09, EL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 1 h 57 min
Bit rate                                 : 2 687 kb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.022
Stream size                              : 2.20 GiB (3%)
Default                                  : No
Alternate group                          : 1
Encoded date                             : UTC 2020-04-03 11:54:59
Tagged date                              : UTC 2020-04-03 15:00:05
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.0010 cd/m2, max: 1000 cd/m2
Codec configuration box                  : hvcC+dvcC

Audio
ID                                       : 3
Format                                   : E-AC-3
Format/Info                              : Enhanced AC-3
Commercial name                          : Dolby Digital Plus
Codec ID                                 : ec-3
Duration                                 : 58 min 31 s
Bit rate mode                            : Constant
Bit rate                                 : 448 kb/s
Maximum bit rate                         : 946 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 375 MiB (1%)
Title                                    : ec3#audio:lang=en-EN@GPAC0.8.0-rev188-gedca07712-master
Language                                 : English
Service kind                             : Complete Main
Encoded date                             : UTC 2020-04-03 15:00:05
Tagged date                              : UTC 2020-04-03 15:00:05
Now I've seen multiple members claiming this works for them.
Dual track FEL movies created with mp4muxer.
But for me it does not play at all.. all I get is a black screen and a spinner, both in Emby and from usb disk using the builtin mediaplayer.
Something wrong with the above steps or commands?
Any help would be nice :)
I have also never gotten this method to work for any titles on my B9. I figured it was just because of the inferior processor on the B series, resulting in a lack of hardware support to decode dual track files. In your case, I wonder if it's the 60fps that's causing the problem. Have you tried a different FEL title with regular 24fps?
Angryunibrow
Posts: 104
Joined: Wed Nov 06, 2019 11:26 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Angryunibrow »

MastaG wrote:
Fri Apr 03, 2020 9:54 pm
Angryunibrow wrote:
Tue Mar 31, 2020 8:57 pm
shawnc22 wrote:
Tue Mar 31, 2020 8:36 pm
Ah that does seem like a plausible explanation. I personally have never gotten profile 7 files to work on my B9, but people previously in this thread have reported that dual track dual layer profile 7 mp4 remuxes made with mp4muxer play without issue on their LG C# internal players. If anyone with a C# TV can try a mp4 prof7 remux of an FEL movie, that would be helpful.
I just watched Knives Out which is FEL on the LG C8.
This was Profile 7 with DTS-HD MA 7.1 audio.

Zero issues.
Could you please share the commands you've used to create these profile 7 muxes?

Sure.
Demux BL & EL using eac3to

Use mp4muxer with the profile 7 tag
mp4muxer_64bits.exe --dv-profile 7 --input-file BL.hevc --input-file EL.hevc --media-lang eng --output-file nameofmovie.mp4

I create DTS-HD MA 7.1 audio using the Atmos track (using DTS-HD Audio Suite) which I then run through mkvtoolnix to make an .mka file.
Then use this command to make it a .mp4
ffmpeg.exe -i path\to\file\audio.mka -map 0:0 -c copy path\to\file\audio.mp4

then I use mp4box to bring it all together.
mp4box.exe -add %userprofile%\Desktop\work\movie.mp4:rate=0 -add %userprofile%\Desktop\work\movieaudio.mp4:disable -brand mp42isom -ab dby1 -no-iod %userprofile%\Desktop\work\output.mp4

This produces a .mp4 Profile 7 with HD Audio (not Atmos) DTS-HD MA 7.1

Plays flawless on the C8 (of course it only uses the core dts track) but sounds fine with my setup.

**If you just want the core audio that is .ac3 just do this.
mp4muxer_64bits.exe --dv-profile 7 --input-file BL.hevc --input-file EL.hevc --input-file audio.ac3 --media-lang eng --output-file nameofmovie.mp4
mulucy
Posts: 145
Joined: Tue Jan 07, 2020 7:08 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by mulucy »

Angryunibrow wrote:
Fri Apr 03, 2020 11:48 pm
MastaG wrote:
Fri Apr 03, 2020 9:54 pm
Angryunibrow wrote:
Tue Mar 31, 2020 8:57 pm


I just watched Knives Out which is FEL on the LG C8.
This was Profile 7 with DTS-HD MA 7.1 audio.

Zero issues.
Could you please share the commands you've used to create these profile 7 muxes?

Sure.
Demux BL & EL using eac3to

Use mp4muxer with the profile 7 tag
mp4muxer_64bits.exe --dv-profile 7 --input-file BL.hevc --input-file EL.hevc --media-lang eng --output-file nameofmovie.mp4

I create DTS-HD MA 7.1 audio using the Atmos track (using DTS-HD Audio Suite) which I then run through mkvtoolnix to make an .mka file.
Then use this command to make it a .mp4
ffmpeg.exe -i path\to\file\audio.mka -map 0:0 -c copy path\to\file\audio.mp4

then I use mp4box to bring it all together.
mp4box.exe -add %userprofile%\Desktop\work\movie.mp4:rate=0 -add %userprofile%\Desktop\work\movieaudio.mp4:disable -brand mp42isom -ab dby1 -no-iod %userprofile%\Desktop\work\output.mp4

This produces a .mp4 Profile 7 with HD Audio (not Atmos) DTS-HD MA 7.1

Plays flawless on the C8 (of course it only uses the core dts track) but sounds fine with my setup.

**If you just want the core audio that is .ac3 just do this.
mp4muxer_64bits.exe --dv-profile 7 --input-file BL.hevc --input-file EL.hevc --input-file audio.ac3 --media-lang eng --output-file nameofmovie.mp4

Thank you. Where can I get the all the tools and other useful commands?
Post Reply