Page 1 of 1

Dv mkv to mp4 issue with profile 8

Posted: Sat Jan 07, 2023 3:32 pm
by fidmille
Hi,
I have a lg oled that can handle DV but only in mp4 and not in mkv. Unfortunately i don't have any Android box like the nvidia one.
I use a script to convert my dv. The script is working well with profile 5, but when i change the 5 to 8 for profile 8 file i have some issue.

@echo off
set MKV=%1
set FILENAME=%MKV:~0,-4%
set HEVC=%FILENAME%.hevc
set EC3=%FILENAME%.ec3
set MP4=%FILENAME%.mp4
@echo on

ffmpeg -i "%MKV%" -an -sn -c copy "%HEVC%"
ffmpeg -i "%MKV%" -vn -sn -c copy -f eac3 "%EC3%"

mp4muxer --dv-profile 8 -i "%HEVC%" -i "%EC3%" --media-lang eng -o "%MP4%"

del "%HEVC%"
del "%EC3%"


Error: For Dolby vision profile 8, dv-bl-compatible-id should be set, value can be 1, 2 or 4.
I tried to add --dv-bl-compatible-id 4 , but no the file does not run after conversion

Thanks for your help