Replies: 13 comments 5 replies
-
对于腾讯视频,若为mp4格式(多为iOS设备提供)方法同上,若为ts格式(多为云视听极光提供)的杜比视界,则参考此评论的做法。 下载eac3to并解压至 以《芳华》为例,使用下载器下载结束后,得到 使用eac3to抽取视频流和音频流:
然后使用mp4muxer进行封装即可:
封装耗时根据不同片源大约需要1~30分钟不等 等待封装结束即可看到成品
|
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
鸟大,如果你有时间考虑开发个懒人工具就更好了! |
Beta Was this translation helpful? Give feedback.
-
大佬,如果是双音轨的,第二条音轨要怎么封装 |
Beta Was this translation helpful? Give feedback.
-
腾讯视频TS混流脚本: 每集文件名命名为 for /l %%i in (1,1,60) do (
eac3to.exe %%i.ts 1: %%i.hevc 2: %%i.aac -log=nul && mp4muxer -i %%i.hevc -o %%i_tmp.mp4 --dv-profile 5 --overwrite && mp4box -inter 500 -add 1_tmp.mp4:name= -add %%i.aac#trackID=1:name=:lang=chi -itags tool="libav":cover="标题.jpg":title="标题 (2021)" %%i.mp4 && del %%i.ts && del %%i_tmp.mp4 && del %%i.hevc && del %%i.aac
) 工具包:
|
Beta Was this translation helpful? Give feedback.
-
腾讯有些杜比电影混一天都没动静是怎么回事? |
Beta Was this translation helpful? Give feedback.
-
现在腾讯新出的杜比视界好像混流阶段卡很久很久都没结果,比如刚出的 门锁 ,抽取都正常,在混流阶段不出结果了.. |
Beta Was this translation helpful? Give feedback.
-
某些TS封装使用
脚本替换如下: for /l %%i in (1,1,60) do (
ffmpeg.exe -i %%i.ts -map 0:a -c copy %%i.aac && ffmpeg.exe -i %%i.ts -c:v copy -vbsf hevc_mp4toannexb -f hevc %%i.hevc && mp4muxer -i %%i.hevc -o %%i_tmp.mp4 --dv-profile 5 --overwrite && mp4box -inter 500 -add 1_tmp.mp4:name= -add %%i.aac#trackID=1:name=:lang=chi -itags tool="libav":cover="标题.jpg":title="标题 (2021)" %%i.mp4 && del %%i.ts && del %%i_tmp.mp4 && del %%i.hevc && del %%i.aac
) |
Beta Was this translation helpful? Give feedback.
-
https://github.com/DolbyLaboratories/dlb_mp4base/tree/master/bin
mp4muxer更新后支持设置mp4的flag(苹果设备只认dvh1/hvc1) |
Beta Was this translation helpful? Give feedback.
-
mp4muxer混流好像很慢,还是ffmpeg快 |
Beta Was this translation helpful? Give feedback.
-
概览 视频 音频 我有一个VFR格式的视频,无法使用mp4demuxer进行封装,使用mp4box对视频进行了剪切,请问如何在不重新编码的情况下封装视频啊,主要是我这个视频在电脑和手机上都能识别但是上传B站会被降级为HDR,很奇怪,CBR就没有这个问题 |
Beta Was this translation helpful? Give feedback.
-
所需软件:
mp4demuxer:https://github.com/DolbyLaboratories/dlb_mp4demux/tree/master/bin
mp4muxer:https://github.com/DolbyLaboratories/dlb_mp4base/tree/master/bin
以优酷视频《“大”人物》举例。
使用N_m3u8DL-CLI下载完成后,得到两个mp4文件,分别为
“大”人物_01.45.42_mp5hd3v3vision_atmos.mp4
、“大”人物_01.45.42_mp5hd3v3vision_atmos(Audio).mp4
将视频命名为
video.mp4
,将音频命名为audio.mp4
由于mp4muxer不直接支持mp4封装混流,所以需要先使用mp4demuxer提取音视频流再进行封装:
执行结束后,得到
out_1.h265
、out_1.ec3
使用mediainfo观察Dolby Vision版本情况:
Dolby Vision, Version 1.0, dvhe.05.03, BL+RPU
则需使用--dv-profile 5
参数然后使用mp4muxer进行封装即可:
封装耗时根据不同片源大约需要1~30分钟不等
等待封装结束即可看到成品
output_dolby.mp4
Beta Was this translation helpful? Give feedback.
All reactions