【发布时间】:2011-11-10 23:34:22
【问题描述】:
我按照链接How does one encode a series of images into H264 using the x264 C API?对图片进行编码,但每次x264_encoder_encode(encoder, &nals, &i_nals, &pic_in, &pic_out) 都返回0。
【问题讨论】:
-
回答的有点模糊;我建议在ffmpeg中启用日志并检查;顺便说一句,返回值 0 不是表示成功吗?