ffmpeg avformat_open_input打开定名管道文件注意事项

ffmpeg avformat_open_input打开命名管道文件注意事项编译 ffmpeg 的时候需要加入如下 configure 选项支持

ffmpeg avformat_open_input打开命名管道文件注意事项

编译 ffmpeg 的时候需要加入如下 configure 选项支持PIPE,否则函数avformat_open_input会一直阻塞。

?

?写道 --enable-protocol=file \
--enable-protocol=pipe \