相关疑难解决方法(0)

49
推荐指数
2
解决办法
4万
查看次数

在ffmpeg中进行后处理以在MP4文件中移动'moov atom'(qt-faststart)

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

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

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

编辑1

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

MOV/MP4复用器

多路复用器选项包括:

'-moov_size字节'

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.
Run Code Online (Sandbox Code Playgroud)

mp4 ffmpeg video-processing video-streaming video-conversion

28
推荐指数
2
解决办法
4万
查看次数

如何修复ffmpeg中的“moov atom not found”错误?

好吧,我正在使用这个项目来创建一个 Telegram bot,它接收 mp4 文件的 URL,将它们下载到服务器上并将它们上传到 Telegram。

到目前为止一切正常,除了转换某些 .mp4 文件。

例如,如果我使用来自https://sample-videos.com/的示例 mp4 视频,它可以正常工作并成功转换,但如果我使用,例如某个随机网站的视频,它也是简单的 .mp4 文件,它不起作用并引发此错误:

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1932420] 格式 mov,mp4,m4a,3gp,3g2,mj2 仅检测到低分 1,可能误检测![mov,mp4,m4a,3gp,3g2,mj2 @ 0x1932420] moov atom not found data/720P_1500K_210306701.mp4:处理输入时发现无效数据

ffmpeg node.js telegram telegram-bot fluent-ffmpeg

12
推荐指数
1
解决办法
2万
查看次数