Sure.
Dolby Vision now possible through MP4 Mux.
-
- Posts: 55
- Joined: Sun Sep 13, 2020 10:25 am
Re: Dolby Vision now possible through MP4 Mux.
Hello yusesope, I am using your 8.1 Beta method:
Code: Select all
UHD-BD TO PROFILE 8.1
You can use both UHD-BD MEL and FEL
In the case of a Dual Track Dual Layer DV file (e.g. an m2ts file in the BDMV\STREAM folder)
Extract the base layer and the enhancement layer
Code: Select all
ffmpeg -i path\to\the\file.m2ts -ss 0 -t 120 -map 0:0 -c copy path\to\BL.hevc
ffmpeg -i path\to\the\file.m2ts -ss 0 -t 120 -map 0:1 -c copy path\to\EL.hevc
Using my tool, double click on the MUX_AND_CONVERT_TO_PROFILE_81.bat file and follow the instructions on the screen.
You will get a BL_EL_RPU.hevc file.
Actually, the file does not contain EL (it's just BL+RPU).
BL_EL_RPU is just the filename !!!
Let's put it this way, you are too lazy to use the command line and I am too lazy to add lines of code for the purpose of renaming a file
EXTRA (MKV):
Simply, create an ISO using BL_EL_RPU and TsMuxeR.
Open the ISO with MakeMKV and create mkv
Re: Dolby Vision now possible through MP4 Mux.
I took @quietvoid's advice and THESE should be the last samples to test ... I hope so !
There are two samples (I still have a little doubt).
Try them both and let me know.
Thank you for your time!
Thanks for the reply
Re: Dolby Vision now possible through MP4 Mux.
neither of the new files are recognized by the internal Panasonic Z1000 oled (did still show earlier versions on the drive)
edit
renamed files and recognized this time
both files played as HDR only (tested vs Alita mkv which does bring up DV/DA)
both files played as HDR only with audio on the Zidoo Z9x (should be new firmware this week,so hopefully they fix the DV/DA issues )
edit
renamed files and recognized this time
both files played as HDR only (tested vs Alita mkv which does bring up DV/DA)
both files played as HDR only with audio on the Zidoo Z9x (should be new firmware this week,so hopefully they fix the DV/DA issues )
Last edited by cuculain on Mon Nov 02, 2020 9:31 pm, edited 1 time in total.
Re: Dolby Vision now possible through MP4 Mux.
After installing Shield 8.8.1...
All MKV samples play DV - all MP4 samples (including the new 021120 ones) only play HDR. MP4 and Shield apparently do not play well together.
I've now standardized on using the GAMMA method. I'd like to add Chapters to the MKV file. Any thoughts on how I should proceed?
-
- Posts: 311
- Joined: Tue Oct 30, 2018 4:17 pm
Re: Dolby Vision now possible through MP4 Mux.
Drop your new mkv in mkvtoolnix then either add the original mpls file or mkv rip and delete everything except the chapters then remix together.kws53 wrote: ↑Mon Nov 02, 2020 8:54 pmAfter installing Shield 8.8.1...
All MKV samples play DV - all MP4 samples (including the new 021120 ones) only play HDR. MP4 and Shield apparently do not play well together.
I've now standardized on using the GAMMA method. I'd like to add Chapters to the MKV file. Any thoughts on how I should proceed?
-
- Posts: 311
- Joined: Tue Oct 30, 2018 4:17 pm
Re: Dolby Vision now possible through MP4 Mux.
Thanks for this, I will try when I get time.ghostshadow wrote: ↑Mon Nov 02, 2020 3:10 pmHello yusesope, I am using your 8.1 Beta method:Code: Select all
UHD-BD TO PROFILE 8.1 You can use both UHD-BD MEL and FEL In the case of a Dual Track Dual Layer DV file (e.g. an m2ts file in the BDMV\STREAM folder) Extract the base layer and the enhancement layer Code: Select all ffmpeg -i path\to\the\file.m2ts -ss 0 -t 120 -map 0:0 -c copy path\to\BL.hevc ffmpeg -i path\to\the\file.m2ts -ss 0 -t 120 -map 0:1 -c copy path\to\EL.hevc Using my tool, double click on the MUX_AND_CONVERT_TO_PROFILE_81.bat file and follow the instructions on the screen. You will get a BL_EL_RPU.hevc file. Actually, the file does not contain EL (it's just BL+RPU). BL_EL_RPU is just the filename !!! Let's put it this way, you are too lazy to use the command line and I am too lazy to add lines of code for the purpose of renaming a file EXTRA (MKV): Simply, create an ISO using BL_EL_RPU and TsMuxeR. Open the ISO with MakeMKV and create mkv
I have also submitted a sample of FEL to MEL 8.1 made with Gamma 004 to Zidoo vie Mark Swift, hopefully they can adapt the sdk to recognise this method, if they can I think we are onto a winner.
Re: Dolby Vision now possible through MP4 Mux.
I think you already knew the result but just for completion sake:
On my CX both files did the usual "This file cannot be recognised. Do you want to play the next file?"
Re: Dolby Vision now possible through MP4 Mux.
I just sent you a PM with what you need!
When you feel like it, give it a try!
Thanks!
It seems that 2020 LG TVs actually have some issues with the DTDL mp4 files generated by both Dolby's mp4muxer and my tool.
I advise the owners of the latter to use files with profile 8.1 (as soon as I have some time, I will update the GAMMA post with instructions to generate MP4 files).
DTDL files can only be played on LG TVs and bluray players.
I haven't tried it yet. Try like this:
using GAMMA, in the second command line:
- replacewith
Code: Select all
-i \path\to\your\original\file.m2ts
where \path\to\bluray must be the address of the folder that contains the BDMV folder.Code: Select all
-i bluray:\path\to\bluray
. - before -c copy add the switch -map_chapters 1
EXPLANATION:
On blu-ray chapters are stored in mpls files.
With the "-i bluray:" switch you tell FFmpeg to read the longest playlist (mpls).
With the -map_chapters switch instead you tell FFmpeg to copy the chapters from the second input and insert them in the output file. Remember that, as in programming languages, the first element is always zero. So, in this case, the second input is one (-map_chapters 1)!
I invite you to read how these switches work (bluray and map_chapters).
With FFmpeg you can do whatever you want. It's up to you to read the documentation.
Re: Dolby Vision now possible through MP4 Mux.
I considered this originally, but thought that a REMUX would remove the relevant internal metadata/coding. However, a test has confirmed this works!DaMacFunkin wrote: ↑Mon Nov 02, 2020 9:06 pmDrop your new mkv in mkvtoolnix then either add the original mpls file or mkv rip and delete everything except the chapters then remix together.
I now have a Jack Reacher MKV with Chapters triggering DV...
Re: Dolby Vision now possible through MP4 Mux.
I'll give this a try (including changing the appropriate code in first command line) and report back. If this works, it will solve another potential problem - UHD with seamless branching (multiple m2ts components).yusesope wrote: ↑Tue Nov 03, 2020 10:46 amI haven't tried it yet. Try like this:
using GAMMA, in the second command line:
- replace
withCode: Select all
-i \path\to\your\original\file.m2ts
where \path\to\bluray must be the address of the folder that contains the BDMV folder.Code: Select all
-i bluray:\path\to\bluray
- before -c copy add the switch -map_chapters 1
EXPLANATION:
On blu-ray chapters are stored in mpls files.
With the "-i bluray:" switch you tell FFmpeg to read the longest playlist (mpls).
With the -map_chapters switch instead you tell FFmpeg to copy the chapters from the second input and insert them in the output file. Remember that, as in programming languages, the first element is always zero. So, in this case, the second input is one (-map_chapters 1)!
I invite you to read how these switches work (bluray and map_chapters).
With FFmpeg you can do whatever you want. It's up to you to read the documentation.
-
- Posts: 311
- Joined: Tue Oct 30, 2018 4:17 pm
Re: Dolby Vision now possible through MP4 Mux.
If there are multiple main movie playlists, ie 0800, 0801, 0802 and you specifically know you want 0801, cut the other 2 out of the playlist folder, this way ffmpeg will choose 0801 as the only main movie playlist in the folderkws53 wrote: ↑Tue Nov 03, 2020 5:41 pmI'll give this a try (including changing the appropriate code in first command line) and report back. If this works, it will solve another potential problem - UHD with seamless branching (multiple m2ts components).yusesope wrote: ↑Tue Nov 03, 2020 10:46 amI haven't tried it yet. Try like this:
using GAMMA, in the second command line:
- replace
withCode: Select all
-i \path\to\your\original\file.m2ts
where \path\to\bluray must be the address of the folder that contains the BDMV folder.Code: Select all
-i bluray:\path\to\bluray
- before -c copy add the switch -map_chapters 1
EXPLANATION:
On blu-ray chapters are stored in mpls files.
With the "-i bluray:" switch you tell FFmpeg to read the longest playlist (mpls).
With the -map_chapters switch instead you tell FFmpeg to copy the chapters from the second input and insert them in the output file. Remember that, as in programming languages, the first element is always zero. So, in this case, the second input is one (-map_chapters 1)!
I invite you to read how these switches work (bluray and map_chapters).
With FFmpeg you can do whatever you want. It's up to you to read the documentation.
Re: Dolby Vision now possible through MP4 Mux.
@Yusesope
I am trying to use your command for chapters in gamma tool without success.
First command:
Second command:
And I get this:
Of course my mistake, But "where?"
I am trying to use your command for chapters in gamma tool without success.
First command:
Code: Select all
python-3.7.6.amd64\python.exe src\app.py -mode 2 -mux -exp I:\Atomic\BDMV\STREAM\00234.m2ts
Code: Select all
src\Gpac\gpac.exe -i pipe://video:ext=hevc:audelim=true -o stdout:ext=ts:pes_pack=none | src\FFmpeg\ffmpeg_win_x64.exe -hide_banner -y -i - -i bluray: I:\Atomic -map 0:0 -map 1:2 -map 1:6 -map 1:11 -map_chapters 1 -c copy -bsf:v hevc_metadata=aud=insert -metadata title="Atomic_____________________________________" D:\Atomic.mkv
Of course my mistake, But "where?"
- Attachments
-
- test.jpg (75.09 KiB) Viewed 21409 times