一、执行ffmpeg -i xx.mp4 out.mp4报输出流0:1缓冲的数据包太多
1、分析
不是错误。该文件有一些稀疏的视频或音频帧,增加数据包队列大小有助于:
2、解决
修改命令:ffmpeg -i xx.mp4 -max_muxing_queue_size 400 out.mp4
3、参考链接
http://trac.ffmpeg.org/ticket/6375
二、Subtitle encoding currently only possible from text to text or bitmap to bitmap
1、分析
The subtitle stream of xx.mkv is image-based and the default subtitle encoder of the Matroska muxer is text-based,so a transcode operation for the subtitles is expected to fail and hence(因此) the stream isn't selected。
译文:xx.mkv的字幕流是基于图像的,并且Matroska复用器的默认字幕编码器是基于文本的,所以字幕的转码操作预计会失败。因此不会选择流。
FFmpeg常见问题解析
本文主要探讨了使用FFmpeg过程中遇到的问题,包括输出流缓冲数据包过多及字幕编码问题。针对输出流问题,通过调整数据包队列大小得以解决;对于字幕编码问题,则分析了基于图像的字幕流与默认文本型编码器不兼容的原因。
1580

被折叠的 条评论
为什么被折叠?



