从捕获设备 Osprey 450e 流式传输 Ffmpeg 失败

标签 ffmpeg directshow 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

ffmpeg 可以编码 Directshow 输入吗?

最佳答案

您的设备是交叉开关设备吗? ffmpeg 当前不支持这些设备。

另见此处 - https://trac.ffmpeg.org/wiki/DirectShow

If you have a video capture card (ex: AverMedia, possibly some BlackMagic, though it may be a separate unrelated problem, and also some BlackMagic cards don't have the right inputs set up ask on the forum), it may not work (yet) out of the box with FFmpeg, as it lacks crossbar support presently. The work around currently is to install the AmerecTV software, which presents the capture card as directshow devices, then input the AmerecTV directshow devices into your FFmpeg.

关于从捕获设备 Osprey 450e 流式传输 Ffmpeg 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20288671/

相关文章:

video - FFMPEG hwaccel 将 WEBM 转换为 MP4 视频失败 : could not find codec parameters

FFMPEG,更改视频比率后查找 PSNR 值

video - FFMPEG:编译时未生成 FFPLAY 二进制文件

directshow - 如何唯一标识 DirectShow 音频渲染器过滤器?

php - ffmpeg - 如何在 laravel 中制作没有音频的视频

c++ - 从我的输出引脚到 avi mux 的连接

c++ - 将抓取的音频样本(以字节为单位)流式传输到音频渲染器过滤器

java - 使用 DJI Android SDK LiveStreamManager 直播无人机摄像头有很大的延迟。使用 SampleCode 却没有,我错过了什么?

c# - 在 HTML5 Canvas /页面中直播音频?

安卓媒体播放器 RTSP