FFMPEG h264_videotoolbox输出奇怪

时间:2019-01-04 08:23:54

标签: ffmpeg h.264 video-toolbox

我想使用h264_videotoolbox编解码器将视频编码为FFMPEG库。我输入的图像格式为 AV_PIX_FMT_YUV420P ,但输出的视频帧如下。 我尝试了 libx264 ,并且所有工作正确
你们知道发生了什么吗?为什么要这样编码帧?

enter image description here

enter image description here

我的测试代码:
https://github.com/BeiKeJieDeLiuLangMao/videotoolbox

解决方案
数据应与32对齐。

0 个答案:

没有答案