DolbyLaboratories / dlb_mp4base

The Dolby MP4 streaming muxer (dlb_mp4base) is a software implementation of a muxer of fragmented or unfragmented ISO base media file format (mp4). It supports muxing of Dolby Digital (AC-3), Dolby Digital Plus (E-AC-3), and Dolby AC-4 audio formats as well as Dolby Vision.
BSD 3-Clause "New" or "Revised" License
254 stars 60 forks source link

dvh1flag doesn't work #23

Closed perrinpagess closed 2 years ago

perrinpagess commented 2 years ago

using the option --dvh1flag returns an error on mp4muxer 1.1.0 saying the option doesn't exist, even though it's in the help dialogue.

--dvh1flag = Set the elementray stream index to set HEVC track's sample entry name to 'dvh1', default sample entry box name is 'dvhe' for non-cross compatible stream.

Error parsing command line: Unknown option: --dvh1flag Error parsing command line!

XingzhaoYun commented 2 years ago

Are you using the binaries directly from bin folder? could you provide the whole command line? I haven’t seen any issue on my side.

perrinpagess commented 2 years ago

I'm on windows 11 stable using the build from the bin folder. Maybe I'm using the option incorrectly? Can you post a command line that worked to tag video as dvh1?

mp4muxer -o "output.mp4" --dv-profile 5 -i "video.hevc" -i "audio.ec3" --media-lang eng --dvh1flag

M0djO commented 2 years ago

I think you're missing the index you need to provide with the --dvh1flag option, to my understanding this needs to be the index of the hevc track, so in your example I think this would be 0

try;

mp4muxer -o "output.mp4" --dv-profile 5 -i "video.hevc" -i "audio.ec3" --media-lang eng --dvh1flag 0

perrinpagess commented 2 years ago

@M0djO that resolved the issue, thanks!