Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
MastaG
Posts: 91
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?
daddy
Posts: 77
Joined: Sat Jul 06, 2019 8:17 am

Re: Dolby Vision now possible through MP4 Mux.

Post by daddy »

MastaG wrote:
Fri Apr 03, 2020 10:36 pm
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
Extract BL EL (try without audio first)

Code: Select all

ffmpeg.exe -i F:\BDMV\STREAM\00058.m2ts -map 0:0 -c copy BL.hevc -map 0:1 -c copy EL.hevc
mux the mp4 video profile 7

Code: Select all

mp4muxer_64bits.exe --dv-profile 7 --input-file BL.hevc --input-file EL.hevc --output-file mp4_dv.mp4
Play mp4_dv.mp4 on the LG player (by usb or dlna) and see if it works.

some FEL movies i made:
Terminator 6
Hunter Killer
Watchmen
Fast & Furious - Hobbs & Shaw
Aquaman
John Wick - Chapitre 3
Fast & Furious 8
Mission Impossible 1-2-3-4-5-6
Jurassic World 2 - Fallen Kingdom
Gladiator
Transformers 1-2-3-4-5

note: Geminy Man DV track is MEL (3%) and can't be play in DV on LG without stutter.
Last edited by daddy on Sat Apr 04, 2020 10:55 am, edited 2 times in total.
deadchip12
Posts: 286
Joined: Thu May 02, 2019 2:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by deadchip12 »

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.
Dual track dual layer profile 7 mp4 remuxes made with mp4muxer play without any problem on internal player of my c7, c8 and now c9. Except Gemini Man. Still can’t figure out a way to play it smoothly at correct 60fps. The hdr10 version plays fine but not the dolby vision version.
DaMacFunkin
Posts: 311
Joined: Tue Oct 30, 2018 4:17 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by DaMacFunkin »

My mp4 mux of Gemini man with ac3 audio has always played fine on my C9 via internal Plex app, Plex server is hosted on shield 2019 pro on same local network.
You need to turn of all internal processing on your TV for DV 60fps.
RESET_9999
Posts: 2106
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

daddy wrote:
Sat Apr 04, 2020 10:44 am

note: Geminy Man DV track is MEL (3%) and can't be play in DV on LG without stutter.
Gemini Man DV is FEL

Codec Bitrate Description
----- ------- -----------
MPEG-H HEVC Video 80973 kbps 2160p / 59.940 fps / 16:9 / Main 10 @ Level 5.1 @ High / 4:2:0 / 10 bits / 1000nits / HDR10 / BT.2020
* MPEG-H HEVC Video 2683 kbps (3.21%) 1080p / 59.940 fps / 16:9 / Main 10 @ Level 5.1 @ High / 4:2:0 / 10 bits / 1000nits / Dolby Vision FEL / BT.2020
MastaG
Posts: 91
Joined: Thu Aug 08, 2019 11:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by MastaG »

DaMacFunkin wrote:
Sat Apr 04, 2020 12:38 pm
My mp4 mux of Gemini man with ac3 audio has always played fine on my C9 via internal Plex app, Plex server is hosted on shield 2019 pro on same local network.
You need to turn of all internal processing on your TV for DV 60fps.
I'll try to disable processing on my TV then.
To be honest I never changed a single thing apart from the OLED brightness, since it's far too bright when watching TV at night.
deadchip12
Posts: 286
Joined: Thu May 02, 2019 2:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by deadchip12 »

DaMacFunkin wrote:
Sat Apr 04, 2020 12:38 pm
My mp4 mux of Gemini man with ac3 audio has always played fine on my C9 via internal Plex app, Plex server is hosted on shield 2019 pro on same local network.
You need to turn of all internal processing on your TV for DV 60fps.
Maybe Plex or Shield can handle Gemini man but the tv’s internal player can’t. I turned everything off but it never looks like true 60 fps.
jkatchy2
Posts: 16
Joined: Tue Mar 10, 2020 2:13 am

Re: Dolby Vision now possible through MP4 Mux.

Post by jkatchy2 »

deadchip12 wrote:
Sun Apr 05, 2020 7:10 am
DaMacFunkin wrote:
Sat Apr 04, 2020 12:38 pm
My mp4 mux of Gemini man with ac3 audio has always played fine on my C9 via internal Plex app, Plex server is hosted on shield 2019 pro on same local network.
You need to turn of all internal processing on your TV for DV 60fps.
Maybe Plex or Shield can handle Gemini man but the tv’s internal player can’t. I turned everything off but it never looks like true 60 fps.
Created Dual layer [BL+EL+RPU] With AC3 audio Gemini Man in MP4 container using DVDFab , it plays fine on my B9 internal player through usb with 60fps.
DaMacFunkin
Posts: 311
Joined: Tue Oct 30, 2018 4:17 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by DaMacFunkin »

deadchip12 wrote:
Sun Apr 05, 2020 7:10 am
DaMacFunkin wrote:
Sat Apr 04, 2020 12:38 pm
My mp4 mux of Gemini man with ac3 audio has always played fine on my C9 via internal Plex app, Plex server is hosted on shield 2019 pro on same local network.
You need to turn of all internal processing on your TV for DV 60fps.
Maybe Plex or Shield can handle Gemini man but the tv’s internal player can’t. I turned everything off but it never looks like true 60 fps.
My personal opinion of 60fps is why????
I sat watching the film and turned it off, it just looked like ‘soap opera’ it was just too smooth and TV like.
tr000
Posts: 71
Joined: Thu Jul 18, 2019 11:03 am

Re: Dolby Vision now possible through MP4 Mux.

Post by tr000 »

Has anyone had success creating a DV MP4 from a remuxed .mkv? I demux the video streams and AC3 audio from the .mkv, put it through mp4muxer, and it runs fine. However, on my TV, it's just a black screen. The raw .m2ts, however, will work fine. Any ideas?
deadchip12
Posts: 286
Joined: Thu May 02, 2019 2:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by deadchip12 »

tr000 wrote:
Mon Apr 06, 2020 9:56 am
Has anyone had success creating a DV MP4 from a remuxed .mkv? I demux the video streams and AC3 audio from the .mkv, put it through mp4muxer, and it runs fine. However, on my TV, it's just a black screen. The raw .m2ts, however, will work fine. Any ideas?
I make DV MP4 from remuxed .mkv all the time and it works fine on my c9. I no longer use the .m2ts structure because for some films the main video is split into multiple files.
tr000
Posts: 71
Joined: Thu Jul 18, 2019 11:03 am

Re: Dolby Vision now possible through MP4 Mux.

Post by tr000 »

deadchip12 wrote:
Mon Apr 06, 2020 10:22 am
tr000 wrote:
Mon Apr 06, 2020 9:56 am
Has anyone had success creating a DV MP4 from a remuxed .mkv? I demux the video streams and AC3 audio from the .mkv, put it through mp4muxer, and it runs fine. However, on my TV, it's just a black screen. The raw .m2ts, however, will work fine. Any ideas?
I make DV MP4 from remuxed .mkv all the time and it works fine on my c9. I no longer use the .m2ts structure because for some films the main video is split into multiple files.
Could you walk me through your process? Perhaps I'm coming at it wrong.
Post Reply