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

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

问题描述

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

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
  • $转换视频文件时的命令行选项b $ b
  • as an option within ffmpeg, or
  • as part of a post conversion, command line option when converting the video files via ffmpeg

编辑1

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


MOV / MP4 muxer

MOV / MP4 muxer

muxer选项是:

' - moov_size bytes' / p>

‘-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天全站免登陆