在 ffmpeg 中进行后处理以在 MP4 文件中移动“moov atom"(qt-faststart) [英] Post processing in ffmpeg to move 'moov atom' in MP4 files (qt-faststart)

查看:92
本文介绍了在 ffmpeg 中进行后处理以在 MP4 文件中移动“moov atom"(qt-faststart)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以从命令行运行 ffmpeg,它将moov atom"元数据放在 MP4 文件的开头,或者运行 qt-faststart 作为 ffmpeg 中的后处理操作,因此生成的文件是流-可以通过互联网吗?

Is it possible to run ffmpeg from the command line which will either place the 'moov atom' metadata in the beginning of the MP4 file or run the qt-faststart as a post processing operation in ffmpeg so the generated file is stream-able through the internet?

我当然可以将它作为一个单独的命令运行,但更希望它是某种东西

I can of course run it as a separate command, but would prefer it to be something

  • 作为 ffmpeg 中的一个选项,或
  • 作为转换后的一部分,通过 ffmpeg 转换视频文件时的命令行选项

编辑 1

http://ffmpeg.org/ffmpeg.html#mov

MOV/MP4 多路复用器

MOV / MP4 muxer

多路复用器选项是​​:

The muxer options are:

‘-moov_size 字节’

‘-moov_size bytes’

Reserves space for the moov atom at the beginning of the file instead of 
placing the moov atom at the end. If the space reserved is insufficient, 
muxing will fail.

推荐答案

在 ffmpeg 转换过程后结束设置和运行 qt-faststart.

Ended up setting up and running qt-faststart after ffmpeg conversion process.

这篇关于在 ffmpeg 中进行后处理以在 MP4 文件中移动“moov atom"(qt-faststart)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆