我知道 this 可能重复, 但...
我正在尝试使用这样的答案:
ffmpeg.exe -i http://xxx:8080/video -i http://yyy:8080/video -filter_complex "[0:v] scale=iw/2:ih/2, pad=2*iw:ih [left]; [1:v] scale=iw/3:ih/3, fade=out:300:30:alpha=1[right]; [left][right] overlay=main_w/2:0 [out]" -b:v 768k Output.mp4
但得到一个错误:
Output pad "default" with type video of the filter instance "Parsed_overlay_4" of overlay not connected to any destination
我究竟做错了什么?
最佳答案
好的,我找到了解决方案...
必须添加 -map "[out]"
参数,它的工作原理!
关于ffmpeg从mjpeg错误分屏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24288151/