简体   繁体   English

Gstreamer 模拟视频捕捉

[英]Gstreamer Analog Video Capturing

I am using Sensoray Model-1012 frame grabber.我正在使用 Sensoray Model-1012 图像采集卡。 First of all my setup is getting a screen output from HDMI and convert it to NTSC CVBS output. I am getting screen video to Toradex IM8 CPU via model-1012.首先,我的设置是从 HDMI 获取屏幕 output 并将其转换为 NTSC CVBS output。我通过 model-1012 获取屏幕视频到 Toradex IM8 CPU。

My problem is, when there is something moving horizontally on the screen it gets sketched from corners.我的问题是,当屏幕上有东西水平移动时,它会从角落勾画出来。 I am loading an example video.我正在加载示例视频。 It doesn't occur when I connect analog video to my JVC display.当我将模拟视频连接到我的 JVC 显示器时,它不会发生。

I am using Gstreamer as a software and here is my pipeline:我将 Gstreamer 用作软件,这是我的管道:

GST_DEBUG=3 gst-launch-1.0 v4l2src device=/dev/video6 ! 'video/x-raw, format=(string)UYVY, width=720, height=480, framerate=30/1' ! interlace field-pattern=2 ! videoconvert ! autovideosink

哥伦图

在此处输入图像描述

The problem should be related to the "interlace" module.问题应该与“interlace”模块有关。 You can find here a description of interlacing.您可以在此处找到隔行扫描的说明。 Basically half of the lines of your image are from a previous frame, and when something moves in the scene it looks weird, like ghosted.基本上图像的一半线条来自前一帧,当场景中有东西移动时,它看起来很奇怪,就像重影一样。 You should be able to solve simply removing interlace您应该能够解决简单地删除隔行扫描

GST_DEBUG=3 gst-launch-1.0 v4l2src device=/dev/video6 ! 'video/x-raw, format=(string)UYVY, width=720, height=480, framerate=30/1' ! videoconvert ! autovideosink

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM