ffmpeg转码和avfilter错误

时间:2014-11-18 14:11:12

标签: c ffmpeg transcoding

FFmpeg配置选项:

--enable-avfilter \
--enable-nonfree \
--disable-filters \
--enable-filter=movie \
--enable-filter=overlay \
--enable-filter=null \
--enable-filter=anull \
--enable-filter=scale \
--enable-filter=rotate \

并运行成功

filter_spec = "null"; /* passthrough (dummy) filter for video */

获取转码视频成功! 但请使用

filter_spec = "movie=/storage/emulated/0/image.png [wm]; [in][wm] overlay=10:10 [out]";

然后跑到

if ((ret = avfilter_graph_parse_ptr(filter_graph, filter_spec,
    &inputs, &outputs, NULL)) < 0)
        goto end;

得到错误:

处理输入时找到的数据无效

请帮帮我......

0 个答案:

没有答案