Open miedao opened 12 months ago
ffmpeg -i index.m3u8 -i index.m3u8.meta -map_metadata 1 -bsf:v filter_units=remove_types=12 -codec copy output.mp4
此问题同#188
非常感谢,解决了。
ffmpeg -i index.m3u8 -i index.m3u8.meta -map_metadata 1 -bsf:v filter_units=remove_types=12 -codec copy output.mp4
此问题同#188
2.0没m3u8.meta,只有meta.json
metadata 文件可以参考 https://ffmpeg.org/ffmpeg-formats.html#Metadata-1 自己写
ffmpeg -i index.m3u8 -i index.m3u8.meta -map_metadata 1 -bsf:v filter_units=remove_types=12 -codec copy output.mp4
此问题同#188
求问-bsf:v filter_units=remove_types=12
是什么意思啊。求科普各种type
可以从哪里查到。
-bsf
: bitstream filter:v
: 对视频数据生效filter_units=
: filter_units
过滤器remove_types=
: filter_units
的参数,remove_types
,要移除的类型12
: ID 12,对应 H.264 里的 filler data参考文档:
filter_units
没有设置文件处理转封装MP4格式,现在录播结束后,看见录播文件的M4s格式文件抓耳扰腮,QAQ。