Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Mattl0
Posts: 37
Joined: Mon Apr 26, 2021 6:57 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Mattl0 » Wed Jun 02, 2021 1:55 am

bobbymkV wrote:
Tue Jun 01, 2021 4:24 pm
I laid out some of the FEL-specific issues I've been experiencing on the AM6+ in an email to Ugoos. They replied back very quickly saying they are trying to reach out to Amlogic for assistance as their hands are pretty tied when it comes to those specific DV-related issues. Sounds like a longshot, but maybe a tiny bit of hope left.
Thanks !

Here is the ouput of the contentof some files that control am6+ behaviors with dolby.

Code: Select all

AM6:/sys/module/amdolby_vision/parameters $ cat | grep "" *
debug_dolby:0
debug_dolby_frame:65535
dolby_vision_efuse_bypass:N
dolby_vision_enable:Y
dolby_vision_flags:5
dolby_vision_graphic_max:0
dolby_vision_graphic_min:50
[b]dolby_vision_graphics_priority:1 // This default value of 1 set the Dv graphics priority mode to graphic priority . Setting this to 0 set this mode to video priority. The only thing I found on this is [url]https://www.freepatentsonline.com/y2019/0304407.html[/url][/b]. Setting this to 0 , the video is less bright, but from what i read I think it should not be set to 1 (graphic priority) by default. 
dolby_vision_hdr10_policy:0 
dolby_vision_level:255
dolby_vision_ll_policy:0 //  [b]( is that llldv?)[/b]
dolby_vision_mask:7
dolby_vision_mode:5
dolby_vision_policy:1 // [b]Setting this to 0 activate dolby vision, And setting it to 1 deactivate it[/b].
dolby_vision_profile:255  
dolby_vision_reset:3
dolby_vision_reset_delay:514
dolby_vision_run_mode:255
dolby_vision_run_mode_delay:0
dolby_vision_status:0
dolby_vision_tunning_mode:0
dolby_vision_wait_delay:0
dv_cert_graphic_height:1080 //
dv_cert_graphic_width:1920  //  whit is this 1080x1920 ? Is this to get the el layer? This seems to be a bad because when playing mp4 or ts dtdl with default mediaplayer, the box output 1080p dv.
dv_ll_output_mode:2
force_stb_mode:N
panel_max_lumin:350 // why does it get that number? if the box can do rgb tunneling , why does it need a panel luminance number? could my b6 only output 350 nits in lldv?
vpotch:16
vtotal_add:64

I am starting to think the am6+ can't decode fel, and can only output lldv dithered at 8 bit ?

Mattl0
Posts: 37
Joined: Mon Apr 26, 2021 6:57 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Mattl0 » Wed Jun 02, 2021 2:11 am

Also found theses, related to h254 , but can't comment :

Code: Select all

AM6:/sys/module/amvdec_h265/parameters # cat | grep "" *
again_threshold:64
bit_depth_chroma:8
bit_depth_luma:8
buf_alloc_height:0
buf_alloc_size:0
buf_alloc_width:0
buffer_mode:8
buffer_mode_dbg:4294901760
data_resend_policy:1
dbg_cmd:0
dbg_skip_decode_index:0
debug:0
debug_mask:4294967295
decode_frame_count:1409279,10049,0,0,0,0,0,0,0
decode_pic_begin:0
decode_timeout_val:200
disp_vframe_valve_level:0
display_frame_count:1407864,9484,0,0,0,0,0,0,0
dolby_el_flush_th:2
dolby_meta_with_el:0
double_write_mode:3
dump_nal:0
dv_debug:0
dv_toggle_prov_name:0
dynamic_buf_num_margin:7
enable_mem_saving:1
endian:4080
error_handle_nal_skip_threshold:10
error_handle_policy:0
error_handle_system_threshold:30
error_handle_threshold:30
error_skip_nal_count:6
fast_output_enable:1
force_bypass_dvenl:0
force_disp_pic_index:0
force_fps:0
force_w_h:0
frmbase_cont_bitlevel:96
i_only_flag:0
input_empty:0,0,0,0,0,0,0,0,0
interlace_enable:1
log_mask:0
max_buf_num:16
max_decoding_time:3432
max_get_frame_interval:0,0,0,0,0,0,0,0,0
max_process_time:24,212,0,0,0,0,0,0,0
mem_map_mode:0
mmu_enable:1
mmu_enable_force:0
nal_skip_policy:2
not_run_ready:4,8,0,0,0,0,0,0,0
parser_dolby_vision_enable:1
parser_sei_enable:7
pic_list_debug:0
pre_decode_buf_level:4096
prefix_aux_buf_size:16384
pts_unstable:0
radr:0
ref_frame_mark_flag:1,1,1,1,1,1,1,1,1
run_count:1409391,10062,0,0,0,0,0,0,0
run_ready_display_q_num:0
run_ready_max_buf_num:255
run_ready_max_vf_only_num:0
rval:0
slice_parse_begin:0
start_decode_buf_level:32768
step:0
suffix_aux_buf_size:0
udebug_flag:0
udebug_pause_decode_idx:0
udebug_pause_pos:0
udebug_pause_val:0
use_cma:2
video_signal_type:889258241

DaMacFunkin
Posts: 312
Joined: Tue Oct 30, 2018 4:17 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by DaMacFunkin » Wed Jun 02, 2021 4:50 am

Mattl0 wrote:
Wed Jun 02, 2021 1:55 am
bobbymkV wrote:
Tue Jun 01, 2021 4:24 pm
I laid out some of the FEL-specific issues I've been experiencing on the AM6+ in an email to Ugoos. They replied back very quickly saying they are trying to reach out to Amlogic for assistance as their hands are pretty tied when it comes to those specific DV-related issues. Sounds like a longshot, but maybe a tiny bit of hope left.
Thanks !

Here is the ouput of the contentof some files that control am6+ behaviors with dolby.

Code: Select all

AM6:/sys/module/amdolby_vision/parameters $ cat | grep "" *
debug_dolby:0
debug_dolby_frame:65535
dolby_vision_efuse_bypass:N
dolby_vision_enable:Y
dolby_vision_flags:5
dolby_vision_graphic_max:0
dolby_vision_graphic_min:50
[b]dolby_vision_graphics_priority:1 // This default value of 1 set the Dv graphics priority mode to graphic priority . Setting this to 0 set this mode to video priority. The only thing I found on this is [url]https://www.freepatentsonline.com/y2019/0304407.html[/url][/b]. Setting this to 0 , the video is less bright, but from what i read I think it should not be set to 1 (graphic priority) by default. 
dolby_vision_hdr10_policy:0 
dolby_vision_level:255
dolby_vision_ll_policy:0 //  [b]( is that llldv?)[/b]
dolby_vision_mask:7
dolby_vision_mode:5
dolby_vision_policy:1 // [b]Setting this to 0 activate dolby vision, And setting it to 1 deactivate it[/b].
dolby_vision_profile:255  
dolby_vision_reset:3
dolby_vision_reset_delay:514
dolby_vision_run_mode:255
dolby_vision_run_mode_delay:0
dolby_vision_status:0
dolby_vision_tunning_mode:0
dolby_vision_wait_delay:0
dv_cert_graphic_height:1080 //
dv_cert_graphic_width:1920  //  whit is this 1080x1920 ? Is this to get the el layer? This seems to be a bad because when playing mp4 or ts dtdl with default mediaplayer, the box output 1080p dv.
dv_ll_output_mode:2
force_stb_mode:N
panel_max_lumin:350 // why does it get that number? if the box can do rgb tunneling , why does it need a panel luminance number? could my b6 only output 350 nits in lldv?
vpotch:16
vtotal_add:64

I am starting to think the am6+ can't decode fel, and can only output lldv dithered at 8 bit ?
True Dolby vision is tunnelled RGB 8 bit - LLDV is 12 bit.

kazuma
Posts: 186
Joined: Fri Nov 08, 2019 9:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by kazuma » Thu Jun 03, 2021 8:17 am

are the WEB DV-rips single layer or dual layer on the internet? for example series dv-rips of diney+?

Ride_UL
Posts: 10
Joined: Thu Jan 21, 2021 10:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Ride_UL » Thu Jun 03, 2021 2:14 pm

kazuma wrote:
Thu Jun 03, 2021 8:17 am
are the WEB DV-rips single layer or dual layer on the internet? for example series dv-rips of diney+?
Anything from OTT is single track

kazuma
Posts: 186
Joined: Fri Nov 08, 2019 9:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by kazuma » Thu Jun 03, 2021 6:13 pm

Ride_UL wrote:
Thu Jun 03, 2021 2:14 pm
kazuma wrote:
Thu Jun 03, 2021 8:17 am
are the WEB DV-rips single layer or dual layer on the internet? for example series dv-rips of diney+?
Anything from OTT is single track
Thank, but what is ott?

DaMacFunkin
Posts: 312
Joined: Tue Oct 30, 2018 4:17 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by DaMacFunkin » Thu Jun 03, 2021 6:31 pm

kazuma wrote:
Thu Jun 03, 2021 6:13 pm
Ride_UL wrote:
Thu Jun 03, 2021 2:14 pm
kazuma wrote:
Thu Jun 03, 2021 8:17 am
are the WEB DV-rips single layer or dual layer on the internet? for example series dv-rips of diney+?
Anything from OTT is single track
Thank, but what is ott?
Off the Telly 😁

Epedemic
Posts: 53
Joined: Mon Jan 21, 2019 11:07 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Epedemic » Fri Jun 04, 2021 2:28 pm

Ok, so i found a 2nd hand X700 for 90$ and couldn't resist finally getting proper(?) FEL playback of backups :D

Of course all my backups are .mkv, as i thought that would be the golden solution... Guess not :lol: So thanks bits and pieces from this forum, i think i've narrowed down the procedure to convert DV .mkv to the format the X700 accepts off USB, and decided i would share it here for reference:

1. Demux the .mkv with gMKVextractGUI.
2. Use EAC3to GUI demux feature on the .thd file output from step 1 to create a .thd+AC3 file tsmuxer will accept (not needed for DTS or lossy audio?)
3. Run demux.bat from yusesope's BETA (not gamma) 0.0.4 tool and drop the .hevc file produced in step 1 here.
4. Put the BL.HEVC & EL_RPU.HEVC produced in step 3 & the .thd+ac3 file produced in step 2 (in that order) in tsmuxer (i use the nightly from 30/4), and tell it to output to a blu-ray folder.
5. Rename the folder to AVCHD and put it in the root of your USB storage for the X700.

Regarding subtitles, i add the .mkv to tsmuxer and select the subs i want. Maybe they can be used from gMKVextractGUI as well, but i had some none working ones on my first attempt, so playing it safe as i know they work directely from the MKV.

Any comments if i made a mistake somewhere, or made it overly complicated would be appreciated :)

timason
Posts: 3
Joined: Fri Feb 15, 2019 7:10 am

Re: Dolby Vision now possible through MP4 Mux.

Post by timason » Sun Jun 13, 2021 7:06 pm

Hi. I have OLED C8 which, from my understanding reads profile 7 FEL and MEL Dolby visions files encoded in MP4s.
Is it possible to take the newer DV dual layer mkvs and re-encode them in mp4 whilst keeping all the info (except Atmos?).
I feel like this has been asked before but all I could find was a tool to convert FEL to MEL which isn't what I am trying to do.
Any help appreciated.

liamtoh1
Posts: 44
Joined: Mon May 10, 2021 6:25 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by liamtoh1 » Sun Jun 13, 2021 11:01 pm

Epedemic wrote:
Fri Jun 04, 2021 2:28 pm
Of course all my backups are .mkv, as i thought that would be the golden solution... Guess not :lol: So thanks bits and pieces from this forum, i think i've narrowed down the procedure to convert DV .mkv to the format the X700 accepts off USB, and decided i would share it here for reference:
Will your X700 also play the DV .mkv file with lossless HD audio tracks (DTS-HD or DTS:X or Atmos) via network share? Or this procedure you mentioned only works of connected USB drive?

Epedemic
Posts: 53
Joined: Mon Jan 21, 2019 11:07 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Epedemic » Sun Jun 13, 2021 11:11 pm

liamtoh1 wrote:
Sun Jun 13, 2021 11:01 pm
Epedemic wrote:
Fri Jun 04, 2021 2:28 pm
Of course all my backups are .mkv, as i thought that would be the golden solution... Guess not :lol: So thanks bits and pieces from this forum, i think i've narrowed down the procedure to convert DV .mkv to the format the X700 accepts off USB, and decided i would share it here for reference:
Will your X700 also play the DV .mkv file with lossless HD audio tracks (DTS-HD or DTS:X or Atmos) via network share? Or this procedure you mentioned only works of connected USB drive?
Pr. my understanding it will not, but i am not totally updated on the subject, as this solution is good enough for me, given i don't have THAT many DV movies.

liamtoh1
Posts: 44
Joined: Mon May 10, 2021 6:25 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by liamtoh1 » Sun Jun 13, 2021 11:16 pm

Epedemic wrote:
Sun Jun 13, 2021 11:11 pm
Pr. my understanding it will not, but i am not totally updated on the subject, as this solution is good enough for me, given i don't have THAT many DV movies.
Thanks for your response. I have just recently ventured into ripping my 4K UHD movies and have a DV enabled TV but older (but working without any issues X800) and still exploring my options for DV playback device. Currently nVidia Shield Pro is my top choice but since it is already 2 year old since release I will wait to see what features will be added to its next iteration and potentially get the 2019 version for less financial outlay.

Epedemic
Posts: 53
Joined: Mon Jan 21, 2019 11:07 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Epedemic » Sun Jun 13, 2021 11:27 pm

liamtoh1 wrote:
Sun Jun 13, 2021 11:16 pm
Epedemic wrote:
Sun Jun 13, 2021 11:11 pm
Pr. my understanding it will not, but i am not totally updated on the subject, as this solution is good enough for me, given i don't have THAT many DV movies.
Thanks for your response. I have just recently ventured into ripping my 4K UHD movies and have a DV enabled TV but older (but working without any issues X800) and still exploring my options for DV playback device. Currently nVidia Shield Pro is my top choice but since it is already 2 year old since release I will wait to see what features will be added to its next iteration and potentially get the 2019 version for less financial outlay.
Yeah, i have had a shield pro 2019 since launch as well, and it does pretty much everything very well. But once people here told me about the red push issue, i started noticing it haha. Fingers crossed it will be fixed eventually (and less likely: add FEL support) Probably wouldn't have bought the x700 at full price though. Also it is possible that there will be a shield 2021 refresh, possibly even with a fresh chipset. We will see.

jaimbo
Posts: 3
Joined: Thu Jun 17, 2021 9:33 am

Re: Dolby Vision now possible through MP4 Mux.

Post by jaimbo » Thu Jun 17, 2021 9:48 am

Hey guys, been having some trouble getting certain DV files to playback on my Sony XG9505 and I think I have identified the issue as being that my TV can't play profile 7 FEL but can play MEL?

I done some testing and I got the following results, which confused me at first as it seemed like since all the files were the same either all would play in DV or none should, but then stumbled onto a list on I think blu-ray.com identifying which releases were FEL and MEL and it seemed to line up with what I could and couldn't play.

Image

Am I right in saying that if I extract the HEVC stream from my rips I can use dovi_tool by quietvoid (dovi_tool -m 1 convert filename.hevc) to essentially convert the FEL DV into MEL (which in reality is just removing the enhancement layer?) and then mux the HEVC file back into the MKV I should have a working MEL release with HDR10 fallback? Since the MEL includes dynamic metadata, it should also still be an improvement over just HDR10, but not quite as good as full FEL playback?

Snickers333
Posts: 5
Joined: Thu May 13, 2021 9:07 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Snickers333 » Thu Jun 17, 2021 10:23 pm

Guys i tried to read into that but couldnt find answer.
Is it possible to take Bluray profile 7 DTDL and convert it into STSL profile 5 cause it seems that my LG CX is only capable of playing this instance of DV files. I tested and its working with rips from ex. Disney+ Falcon and Winter Soldier DV file from rarbg which is indeed STSL profile 5.
Thank you so much :)

Post Reply