音频和 vcr/usb 捕获设备出现问题

音频和 vcr/usb 捕获设备出现问题

我正在尝试使用模拟到 USB 捕获设备来数字化旧 VHS 磁带。视频可以播放,但音频不行。

Ubuntu:22.04 5.19.0-35-通用

设备:https://www.amazon.com/dp/B08C9T5M37?psc=1&ref=ppx_yo2ov_dt_b_product_details

dmesg:

[Mar21 09:57] usb 1-2: USB disconnect, device number 19
[Mar21 09:58] usb 1-2: new high-speed USB device number 21 using xhci_hcd
[  +0.149974] usb 1-2: New USB device found, idVendor=534d, idProduct=0021, bcdDevice= 1.21
[  +0.000013] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  +0.000006] usb 1-2: Product: AV TO USB2.0
[  +0.000004] usb 1-2: Manufacturer: MACROSIL
[  +0.001204] usb 1-2: Found UVC 1.00 device AV TO USB2.0 (534d:0021)
[  +0.000445] usb 1-2: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[  +0.101934] usbcore: registered new interface driver snd-usb-audio

aplay-l:

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

答案1

OBS Studio 配置错误。用户错误

答案2

我有相同的设备,可以使用以下脚本从 Sony Hi8 摄像机捕获音频和视频:

/bin/sh #!/bin/sh 复制代码

videodevice="/dev/video0" alsadevice="hw:CARD=MS210x,DEV=0"

gst-launch-1.0 -q v4l2src 设备="$videodevice" do-timestamp=true norm="PAL" 像素纵横比=1
!video/x-raw,格式=YUY2,帧速率=25/1,宽度=720,高度=576
!队列最大大小缓冲区=0最大大小时间=0最大大小字节=0
!mux。alsasrc
设备="$alsadevice" do-timestamp=true
!audio/x-raw,格式=S16LE,速率=48000,通道=2
!队列
最大大小缓冲区=0最大大小时间=0最大大小字节=0
!mux。matroskamux 名称=mux
!队列最大大小缓冲区=0最大大小时间=0最大大小字节=0
!文件接收器位置=$1.mkv

希望这可以帮助。

但是,我在从 VHS VCR 捕获时遇到了问题。使用 S-Video 输入时视频是黑白的,使用复合输入时没有信号。您有来自 VHS 的彩色视频吗(以及如何获得)?

相关内容