- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我正在尝试使用 ffmpeg 从 Ubuntu Linux 中的 Blackmagic DeckLink 4K Extreme 采集卡的 HDMI 输入端口采集视频。
根据 ffmpeg Documentation我尝试了以下方法:
ffmpeg -f decklink -video_input 'hdmi' -i 'DeckLink 4K Extreme (1)@14' -acodec copy -vcodec copy ~/testCapture/card1_f14_hdmi.avi
我的 ffmpeg 版本是:
ffmpeg version git-2016-08-15-4899953 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static
--extra-cflags=-I/root/ffmpeg_build/include
--extra-ldflags=-L/root/ffmpeg_build/lib
--bindir=/root/bin --enable-gpl --enable-libass --enable-libfdk-aac
--enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265
--enable-decklink
--extra-cflags=-I/root/decklinkSDK/Blackmagic_DeckLink_SDK/Linux/include
--extra-ldflags=-L/root/decklinkSDK/Blackmagic_DeckLink_SDK/Linux/include
--enable-nonfree
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 51.102 / 57. 51.102
libavformat 57. 46.101 / 57. 46.101
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 51.100 / 6. 51.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
我有两张这样的卡片:
ffmpeg -f decklink -list_devices 1 -i dummy
.....
[decklink @ 0x2e9e440] Blackmagic DeckLink devices:
[decklink @ 0x2e9e440] 'DeckLink 4K Extreme (1)'
[decklink @ 0x2e9e440] 'DeckLink 4K Extreme (2)'
我可以通过以下方式获得支持格式的列表:
ffmpeg -f decklink -list_formats 1 -i 'DeckLink 4K Extreme (1)'
...
[decklink @ 0x36e2440] Supported formats for 'DeckLink 4K Extreme (1)':
[decklink @ 0x36e2440] 1 720x486 at 30000/1001 fps (interlaced, lower field first)
[decklink @ 0x36e2440] 2 720x576 at 25000/1000 fps (interlaced, upper field first)
[decklink @ 0x36e2440] 3 1920x1080 at 24000/1001 fps
[decklink @ 0x36e2440] 4 1920x1080 at 24000/1000 fps
[decklink @ 0x36e2440] 5 1920x1080 at 25000/1000 fps
[decklink @ 0x36e2440] 6 1920x1080 at 30000/1001 fps
[decklink @ 0x36e2440] 7 1920x1080 at 30000/1000 fps
[decklink @ 0x36e2440] 8 1920x1080 at 25000/1000 fps (interlaced, upper field first)
[decklink @ 0x36e2440] 9 1920x1080 at 30000/1001 fps (interlaced, upper field first)
[decklink @ 0x36e2440] 10 1920x1080 at 30000/1000 fps (interlaced, upper field first)
[decklink @ 0x36e2440] 11 1920x1080 at 50000/1000 fps
[decklink @ 0x36e2440] 12 1920x1080 at 60000/1001 fps
[decklink @ 0x36e2440] 13 1920x1080 at 60000/1000 fps
[decklink @ 0x36e2440] 14 1280x720 at 50000/1000 fps
[decklink @ 0x36e2440] 15 1280x720 at 60000/1001 fps
[decklink @ 0x36e2440] 16 1280x720 at 60000/1000 fps
...
DeckLink 4K Extreme (1): Immediate exit requested
为了从 HDMI 端口捕获带有声音的高清视频,我应该使用 ffmpeg 做什么?
最佳答案
“当 ffmpeg 中设置的参数选择的分辨率/扫描速率与输入不匹配时,将显示条形图。您当前将其设置为 1280x720@50p”
来自 https://forum.blackmagicdesign.com/viewtopic.php?f=12&t=50941
条形是在卡片内部生成的。所以我的猜测是确认您的 HDMI 实际上正在传输 720p50。也就是说,“DeckLink Quad 2”支持更多格式,我也得到了条形图。
https://forum.blackmagicdesign.com/viewtopic.php?f=3&t=9654
使用来自 https://github.com/lu-zero/bmdtools 的工具调用 bmdcapture
可以与 FFMPEG 或 libav 配合使用。
关于linux - 在 Ubuntu Linux 中从 Decklink 4k Extreme 捕获视频的 Ffmpeg 命令,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38955775/
我已经完成了 ffmpeg 编译教程,并设法让它按预期工作。该构建看起来稳定且可用。但是现在我需要使用 --enable-decklink 标志在构建中包含 Blackmagick Decklink
我有 Black Magic 的 DeckLink 4K Extreme Capture 卡,我想从我的 SET-Top-Box 的 HDMI 输入中捕获视频,它在 HDMI 上输出格式 yuv4:2
我试图使用 FFMPEG 流式传输到我的 Decklink duo 2 但我无法这样做。 这是我尝试的命令: ffmpeg -f decklink -i "DeckLink Duo (1)@5" -p
我的 DirectShow 图形的输出是 1080 FPS 30。当我将此输入发送到 Decklink 渲染器时。 Decklink 设备检测 1080i60 输入。为什么会这样?如何强制 Deckl
我需要从 decklink 卡向浏览器直播。我还必须能够在非常差的网络链接(128kbits/s...)下完成此操作,因此我需要能够以非常低的 fps(1 fps 就可以)和非常低的图像质量进行流式传
我正在使用 DirectShowLib.Net 为 C# .Net 搜索 decklink 视频设备的接口(interface)。 好像是有可用的,因为这里用到了: blackmagic SDK in
我正在尝试使用 ffmpeg 从 Windows 上的 Decklink Studio 卡捕获输出,这将如何完成?这甚至可能吗? 最佳答案 ffmpeg -video_size 720x576 -rt
我正在尝试使用 FFmpeg 在 DeckLink Quad 2 的本地显示器上完成来自 4 个或更多源的流式视频作为我的转码器。我可以播放两个不同的视频(我只有两个可以在办公 table 上同时使用
描述: 我有一个要求,我必须对来自 DeckLink 设备的单个摄像机流做两件事 - OpenCV 处理和 RTMP 实时流。如果相关,该设备是 DeckLink 8K Pro。 DeckLink 设
我正在尝试使用 FFmpeg 通过几个不同的 RTMP 流一次发送进入 BlackMagic DeckLink Studio 4K 采集卡的视频流。我正在使用的命令是这样的: ffmpeg -re -
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 我们不允许在 Stack Overflow 上提出有关通用计算硬件和软件的问题。您可以编辑问题,使其成为
我正在尝试使用 ffmpeg 从 Ubuntu Linux 中的 Blackmagic DeckLink 4K Extreme 采集卡的 HDMI 输入端口采集视频。 根据 ffmpeg Docume
我正在尝试使用 Windows 7 @ 720p 从 blackmagic decklink 采集卡采集音频和视频,但我似乎无法正确设置 ffmpeg 命令行。 ffmpeg -list_device
我是一名优秀的程序员,十分优秀!