fox0618 / DoViMuxer

Tool to make Dolby Vison mp4.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DoViMuxer

Command line tool to make Dolby Vison mp4.

Features

  • Select tracks from variety media files (mp4, ts, mkv, hevc, aac, eac3...)
  • Keep metadata from source file
  • Set language and title for each track
  • Set global metadata (cover, title, copyright, comment, encoding tool)
  • Can be played directly by Apple devices (tag hvc1, dvh1)
  • Accepted Dolby Vision Profile 5 or Profile 8

Requirements

  • ffmpeg (>=5.0)
    Read track info, extract stream
  • mp4box (>=2.1)
    Mux video, audio, subtitle together
  • mp4muxer
    Mux ES to DoVi mp4
  • mediainfo (CLI version)
    Read metadata

Workflow

  1. Use ffmpeg to extract ES stream
  2. Use mp4muxer to make DoVi mp4
  3. Use mp4box to make final mp4

Metadata

Now, DoViMuxer can read/set:

  • Global Title
  • Global Copyright
  • Global Comment
  • Global EncodingTool
  • Track Title
  • Track Language

Examples

Read info:

DoViMuxer -i source.mp4 -i source2.eac3

Remux DoVi mkv to mp4 and keep meta:

DoViMuxer -i source.mkv output.mp4

Remux DoVi ts to mp4 and keep meta:

DoViMuxer -i source.ts output.mp4

Mux DoVi mp4 + eac3 + srt, and set metadata:

DoviMuxer -i v.mp4 -i a.eac3 -i s.srt -meta 1:lang=eng:title="English" -meta 2:lang=eng:title="English" -title "DoVi EP01" -comment "This a Test" -tool "DoviMuxer v1.0.0" output.mp4

Todo

  • Set track delay

About

Tool to make Dolby Vison mp4.

License:MIT License