die*_*n79 5 directshow ffmpeg live-streaming
我想用ffmpeg从Directshow卡(Osprey Card 450e)捕获到mp4流组播来编码实时流视频.目前我有这个错误.
ffmpeg -f dshow -i video="Osprey-450e Video Device 1A":audio="Osprey-450e Audio Device 1A" -f mpegts -b:v 5120k -r 30 -c:v mpeg2video -c:a ac3 -b:a 256k udp://239.192.42.61:1234
[dshow @ 02c7f640] Could not run filter video=Osprey-450e Video Device 1A:Audio?Osprey-450e Audio Device 1A: Input/output error
Run Code Online (Sandbox Code Playgroud)
Ffmpeg可以编码Directshow输入吗?
您的设备是交叉设备吗?ffmpeg 目前不支持这些设备。
另请参阅此处 - https://trac.ffmpeg.org/wiki/DirectShow
如果您有视频捕获卡(例如:AverMedia,可能是一些 BlackMagic,尽管这可能是一个单独的不相关问题,而且某些 BlackMagic 卡没有在论坛上设置正确的输入),它可能无法工作(然而)FFmpeg 是开箱即用的,因为它目前缺乏 crossbar 支持。目前的解决方法是安装 AmerecTV 软件,该软件将采集卡呈现为 directshow 设备,然后将 AmerecTV directshow 设备输入到 FFmpeg 中。