Color space is not supported error after updating to 1.25.5

Y’all seem so angry!

I’d appreciate feedback on this please. Meanwhile I’m happily watching fixed HEVC DV P5 MP4 files myself. :laughing:

Easy hack ffmpeg && mp4dovi method:

# remux to correct structure
ffmpeg -i input.mp4 -map 0 -c:a copy -c:v copy -c:s mov_text -bsf:v hevc_mp4toannexb -tag:v hvc1 -strict experimental -movflags faststart output.mp4
# correct codec tag to dvh1
mp4dovi -from hvc1 -to dvh1 output.mp4

Alternative better MP4Box method:

# Extract all raw streams
ffmpeg -i input.mp4 -c copy video.h265
ffmpeg -i input.mp4 -c copy audio.eac3
# MP4Box uses dvh1 for dv-profile=5 when starting from raw streams
MP4Box -add video.h265:dv-profile=5 -add audio.eac3 -new output.mp4

(Or of course the Dolby mp4muxer tool works.)

1 Like