Ffmpeg命令,用于在Ubuntu Linux中从Decklink 4k Extreme捕获视频
我正在尝试使用ffmpeg从UbuntuLinux中Blackmagic DeckLink 4K极端捕获卡的HDMI输入端口捕获视频 根据报告,我尝试了以下方法:Ffmpeg命令,用于在Ubuntu Linux中从Decklink 4k Extreme捕获视频,linux,video,ffmpeg,video-capture,Linux,Video,Ffmpeg,Video Capture,我正在尝试使用ffmpeg从UbuntuLinux中Blackmagic DeckLink 4K极端捕获卡的HDMI输入端口捕获视频 根据报告,我尝试了以下方法: ffmpeg -f decklink -video_input 'hdmi' -i 'DeckLink 4K Extreme (1)@14' -acodec copy -vcodec copy ~/testCapture/card1_f14_hdmi.avi 但无论我做什么,我总是把这张照片作为视频 我的ffmpeg版本是: 我有
ffmpeg -f decklink -video_input 'hdmi' -i 'DeckLink 4K Extreme (1)@14' -acodec copy -vcodec copy ~/testCapture/card1_f14_hdmi.avi
但无论我做什么,我总是把这张照片作为视频我的ffmpeg版本是: 我有两张这样的卡片,如下所示: 我可以通过以下方式获得受支持格式的列表:
ffmpeg -f decklink -video_input 'hdmi' -i 'DeckLink 4K Extreme (1)@14' -acodec copy -vcodec copy ~/testCapture/card1_f14_hdmi.avi
为了从HDMI端口捕获带有声音的高清视频,我应该使用ffmpeg什么?当ffmpeg中设置的参数选择的分辨率/扫描速率与输入不匹配时,将显示条形图。您当前正在将其设置为1280x720@50p"
从
在卡的内部生成条形图。我猜你的HDMI确实在传输720p50。这就是说,“DeckLink Quad 2”支持更多的格式,我也得到了条形图
使用工具调用
bmdcapture
,可与FFMPEG或libav配合使用。BM对输入格式和样本格式非常挑剔。我有确切的问题,并已通过USB sdi捕获卡验证我的sdi源是否有效。当我使用未连接SDI的端口时,会获得相同的条捕获。
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