Replies: 2 comments
-
TS杜比视界(P5)封装mp4批处理: @echo off
for /l %%i in (1,1,60) do (
ffmpeg -y -i %%i.ts -map 0:a -c copy %%i.aac && ffmpeg -y -i %%i.ts -c copy -vbsf hevc_mp4toannexb -f hevc %%i.hevc && mp4muxer -i %%i.hevc -o %%i.hevc.mp4 --dvh1flag 0 --dv-profile 5 --mpeg4-comp-brand mp42,iso6,isom,msdh,dby1 --overwrite && mp4box -inter 500 -noprog -add %%i.hevc.mp4#1:name= -add %%i.aac#1:name=:lang=chi -brand mp42isom -ab iso6 -ab msdh -ab dby1 -itags tool=:cover="cover.jpg":title="You Title":comment="You Comment" -new MUX_%%i.mp4
)
pause
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
更新
一键工具:https://github.com/nilaoda/DoViMuxer
所需软件:
MP4Box: https://www.videohelp.com/software/MP4Box
MP4Box直接
-add
就行了。注意音轨和字幕的标题只有写进udta
信息才能被主流播放器读取注意:
MP4Box
能且只能处理MP4封装的杜比视界具体参数可以参考以下链接:
https://github.com/gpac/gpac/wiki/mp4box-gen-opts
https://github.com/gpac/gpac/wiki/mp4box-import-opts
Beta Was this translation helpful? Give feedback.
All reactions