Hallo Leute,

ich brauch mal Eure Hilfe.

Ich möchte alte Videos digitalisieren. Dies habe ich vor fast genau 2 Jahren mit derselben Hardware schon mal gemacht.

Damals notierte ich mir das Kommando, womit ich per ffmpeg den Stream vom Scartkabel ins mpg2 aufzeichnen und gleichzeitig konvertieren konnte.

Leider bleibt damit jetzt das Bild schwarz.

Im journal erscheint beim Anstecken Grabbers:

Jan 26 20:33:33 nh532 kernel: ------------[ cut here ]------------
Jan 26 20:33:33 nh532 kernel: usb 3-4: BOGUS control dir, pipe 80000280 doesn't match bRequestType 40
Jan 26 20:33:33 nh532 kernel: WARNING: CPU: 5 PID: 355 at drivers/usb/core/urb.c:410 usb_submit_urb+0x5e9/0x6e0
Jan 26 20:33:33 nh532 kernel: Modules linked in: usbtv nls_utf8 cifs cifs_arc4 cifs_md4 dns_resolver fscache netfs rfcomm 8021q garp mrp stp llc cmac algif_hash algif_skcipher af_alg bnep vfat fat snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_intel snd_intel_dspcfg intel_rapl_msr intel_rapl_common snd_intel_sdw_acpi snd_hda_codec snd_hda_core btusb btrtl x86_pkg_temp_thermal intel_powerclamp iwldvm btbcm btintel bluetooth coretemp uvcvideo mac80211 snd_hwdep snd_pcm snd_timer kvm_intel videobuf2_vmalloc ecdh_generic videobuf2_memops libarc4 kvm videobuf2_v4l2 snd joydev videobuf2_common mousedev irqbypass videodev soundcore iwlwifi mc crct10dif_pclmul crc32_pclmul nouveau ghash_clmulni_intel iTCO_wdt aesni_intel r8169 intel_pmc_bxt cfg80211 iTCO_vendor_support at24 realtek wmi_bmof i915 psmouse crypto_simd cryptd mxm_wmi mdio_devres rapl intel_cstate libphy mac_hid drm_ttm_helper rfkill intel_uncore i2c_i801 ttm intel_gtt fujitsu_laptop sparse_keymap lpc_ich
Jan 26 20:33:33 nh532 kernel:  i2c_smbus wmi pcspkr video crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 serio_raw atkbd libps2 ums_realtek crc32c_intel i8042 sr_mod xhci_pci uas cdrom usb_storage xhci_pci_renesas serio
Jan 26 20:33:33 nh532 kernel: CPU: 5 PID: 355 Comm: kworker/5:2 Not tainted 5.16.0-arch1-1 #1 06f1bf38b4a7de1d455b9405e9130eb32320269d
Jan 26 20:33:33 nh532 kernel: Hardware name: FUJITSU LIFEBOOK NH532/FJNBB2F, BIOS 2.08 11/25/2013
Jan 26 20:33:33 nh532 kernel: Workqueue: events snd_usbtv_trigger [usbtv]
Jan 26 20:33:33 nh532 kernel: RIP: 0010:usb_submit_urb+0x5e9/0x6e0
Jan 26 20:33:33 nh532 kernel: Code: 08 48 89 54 24 10 44 89 04 24 e8 a2 ea f2 ff 44 8b 04 24 44 89 f9 48 8b 54 24 10 48 89 c6 48 c7 c7 d8 dd 32 98 e8 37 01 31 00 <0f> 0b 44 8b 54 24 1c 4c 8b 5c 24 08 e9 a7 fc ff ff 80 3d dc fd 54
Jan 26 20:33:33 nh532 kernel: RSP: 0018:ffffaf28811dfd20 EFLAGS: 00010246
Jan 26 20:33:33 nh532 kernel: RAX: 0000000000000000 RBX: ffff916100c586c8 RCX: 0000000000000000
Jan 26 20:33:33 nh532 kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
Jan 26 20:33:33 nh532 kernel: RBP: ffff916145cc9300 R08: 0000000000000000 R09: 0000000000000000
Jan 26 20:33:33 nh532 kernel: R10: 0000000000000000 R11: 0000000000000000 R12: ffff916104bc3800
Jan 26 20:33:33 nh532 kernel: R13: 0000000000000000 R14: 0000000000000000 R15: 0000000080000280
Jan 26 20:33:33 nh532 kernel: FS:  0000000000000000(0000) GS:ffff916227340000(0000) knlGS:0000000000000000
Jan 26 20:33:33 nh532 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 26 20:33:33 nh532 kernel: CR2: 00007f82ac0021a8 CR3: 0000000131ece002 CR4: 00000000001706e0
Jan 26 20:33:33 nh532 kernel: Call Trace:
Jan 26 20:33:33 nh532 kernel:  <TASK>
Jan 26 20:33:33 nh532 kernel:  usb_start_wait_urb+0x8a/0x190
Jan 26 20:33:33 nh532 kernel:  usb_control_msg+0xe9/0x160
Jan 26 20:33:33 nh532 kernel:  usbtv_set_regs+0x5f/0xa0 [usbtv a0f402b8423d258a12796dc05348cbf23c57b932]
Jan 26 20:33:33 nh532 kernel:  snd_usbtv_trigger+0xbf/0x150 [usbtv a0f402b8423d258a12796dc05348cbf23c57b932]
Jan 26 20:33:33 nh532 kernel:  process_one_work+0x1e8/0x3c0
Jan 26 20:33:33 nh532 kernel:  worker_thread+0x50/0x3c0
Jan 26 20:33:33 nh532 kernel:  ? rescuer_thread+0x380/0x380
Jan 26 20:33:33 nh532 kernel:  kthread+0x15c/0x180
Jan 26 20:33:33 nh532 kernel:  ? set_kthread_struct+0x50/0x50
Jan 26 20:33:33 nh532 kernel:  ret_from_fork+0x22/0x30
Jan 26 20:33:33 nh532 kernel:  </TASK>
Jan 26 20:33:33 nh532 kernel: ---[ end trace ae11399224537cb1 ]---

lsmod:

Module                  Size  Used by
usbtv                  24576  1
nls_utf8               16384  5
cifs                 2228224  4
cifs_arc4              16384  1 cifs
cifs_md4               16384  1 cifs
dns_resolver           16384  1 cifs
fscache               475136  1 cifs
netfs                  53248  1 fscache
rfcomm                 90112  16
8021q                  40960  0
garp                   16384  1 8021q
mrp                    20480  1 8021q
stp                    16384  1 garp
llc                    16384  2 stp,garp
cmac                   16384  5
algif_hash             16384  1
algif_skcipher         16384  1
af_alg                 36864  6 algif_hash,algif_skcipher
bnep                   32768  2
vfat                   24576  1
fat                    90112  1 vfat
snd_hda_codec_hdmi     86016  1
snd_hda_codec_realtek   159744  1
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_intel          61440  3
snd_intel_dspcfg       32768  1 snd_hda_intel
intel_rapl_msr         20480  0
intel_rapl_common      32768  1 intel_rapl_msr
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
snd_hda_codec         184320  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core          118784  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
btusb                  65536  0
btrtl                  28672  1 btusb
x86_pkg_temp_thermal    20480  0
intel_powerclamp       20480  0
iwldvm                278528  0
btbcm                  24576  1 btusb
btintel                45056  1 btusb
bluetooth             770048  43 btrtl,btintel,btbcm,bnep,btusb,rfcomm
coretemp               20480  0
uvcvideo              151552  0
mac80211             1232896  1 iwldvm
snd_hwdep              20480  1 snd_hda_codec
snd_pcm               167936  5 snd_hda_codec_hdmi,snd_hda_intel,usbtv,snd_hda_codec,snd_hda_core
snd_timer              45056  1 snd_pcm
kvm_intel             364544  0
videobuf2_vmalloc      20480  2 usbtv,uvcvideo
ecdh_generic           16384  2 bluetooth
videobuf2_memops       20480  1 videobuf2_vmalloc
libarc4                16384  1 mac80211
kvm                  1089536  1 kvm_intel
videobuf2_v4l2         40960  2 usbtv,uvcvideo
snd                   126976  17 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,usbtv,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
joydev                 28672  0
videobuf2_common       86016  5 videobuf2_vmalloc,usbtv,videobuf2_v4l2,uvcvideo,videobuf2_memops
mousedev               24576  0
irqbypass              16384  1 kvm
videodev              307200  4 usbtv,videobuf2_v4l2,uvcvideo,videobuf2_common
soundcore              16384  1 snd
iwlwifi               466944  1 iwldvm
mc                     65536  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
crct10dif_pclmul       16384  1
crc32_pclmul           16384  0
nouveau              2748416  0
ghash_clmulni_intel    16384  0
iTCO_wdt               16384  0
aesni_intel           380928  6
r8169                 106496  0
intel_pmc_bxt          16384  1 iTCO_wdt
cfg80211             1077248  3 iwldvm,iwlwifi,mac80211
iTCO_vendor_support    16384  1 iTCO_wdt
at24                   28672  0
realtek                36864  1
wmi_bmof               16384  0
i915                 3301376  26
psmouse               212992  0
crypto_simd            16384  1 aesni_intel
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel
mxm_wmi                16384  1 nouveau
mdio_devres            16384  1 r8169
rapl                   16384  0
intel_cstate           20480  0
libphy                167936  3 r8169,mdio_devres,realtek
mac_hid                16384  0
drm_ttm_helper         16384  1 nouveau
rfkill                 32768  6 bluetooth,cfg80211
intel_uncore          208896  0
i2c_i801               45056  0
ttm                    86016  3 drm_ttm_helper,i915,nouveau
intel_gtt              28672  1 i915
fujitsu_laptop         28672  0
sparse_keymap          16384  1 fujitsu_laptop
lpc_ich                28672  0
i2c_smbus              20480  1 i2c_i801
wmi                    40960  3 wmi_bmof,mxm_wmi,nouveau
pcspkr                 16384  0
video                  57344  3 fujitsu_laptop,i915,nouveau
crypto_user            20480  0
fuse                  172032  1
bpf_preload            16384  0
ip_tables              32768  0
x_tables               61440  1 ip_tables
ext4                  999424  2
crc32c_generic         16384  0
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  192512  1 ext4
serio_raw              20480  0
atkbd                  36864  0
libps2                 20480  2 atkbd,psmouse
ums_realtek            24576  0
crc32c_intel           24576  4
i8042                  45056  0
sr_mod                 28672  0
xhci_pci               20480  0
uas                    32768  0
cdrom                  81920  1 sr_mod
usb_storage            81920  2 uas,ums_realtek
xhci_pci_renesas       24576  1 xhci_pci
serio                  28672  9 serio_raw,atkbd,psmouse,i8042

lsusb:

...........
Bus 003 Device 002: ID 1b71:3002 Fushicai USBTV007 Video Grabber [EasyCAP]
..............

lspci:

00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
00:1c.5 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 6 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 640M LE] (rev a1)
03:00.0 Network controller: Intel Corporation Centrino Wireless-N 2200 (rev c4)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07)

ls -haltr /dev/:

crw-rw----+  1 root    video    81,   1 26. Jan 20:30 video1
crw-rw----+  1 root    video    81,   0 26. Jan 20:30 video0
drwxr-xr-x   4 root    root          80 26. Jan 20:30 v4l
drwxr-xr-x   3 root    root         140 26. Jan 20:30 dri
drwxr-xr-x   4 root    root         360 26. Jan 20:30 input
brw-rw----   1 root    disk      8,   1 26. Jan 20:30 sda1
brw-rw----   1 root    disk      8,   4 26. Jan 20:30 sda4
crw-rw----   1 root    tty       7,  69 26. Jan 20:30 vcsu5
crw-rw----   1 root    tty       7,  68 26. Jan 20:30 vcsu4
crw-rw----   1 root    tty       7,  67 26. Jan 20:30 vcsu3
crw-rw----   1 root    tty       7,  66 26. Jan 20:30 vcsu2
crw-rw----   1 root    tty       7, 133 26. Jan 20:30 vcsa5
crw-rw----   1 root    tty       7, 132 26. Jan 20:30 vcsa4
crw-rw----   1 root    tty       7, 131 26. Jan 20:30 vcsa3
crw-rw----   1 root    tty       7, 130 26. Jan 20:30 vcsa2
crw-rw----   1 root    tty       7,   5 26. Jan 20:30 vcs5
crw-rw----   1 root    tty       7,   4 26. Jan 20:30 vcs4
crw-rw----   1 root    tty       7,   3 26. Jan 20:30 vcs3
crw-rw----   1 root    tty       7,   2 26. Jan 20:30 vcs2
crw-rw----   1 root    tty       7,  70 26. Jan 20:30 vcsu6
crw-rw----   1 root    tty       7, 134 26. Jan 20:30 vcsa6
crw-rw----   1 root    tty       7,   6 26. Jan 20:30 vcs6
crw-------   1 root    root      5,   1 26. Jan 20:30 console
drwxr-xr-x  20 root    root        3,9K 26. Jan 20:33 .
drwxr-xr-x   3 root    root         280 26. Jan 20:33 snd
crw-rw----+  1 root    video    81,   2 26. Jan 20:33 video2
drwxr-xr-x   2 root    root        4,1K 26. Jan 20:33 char
brw-rw----   1 root    disk      8,  32 26. Jan 20:43 sdc
drwxr-xr-x   2 root    root         280 26. Jan 20:43 block
crw-------   1 andreas tty       4,   1 26. Jan 20:43 tty1
crw-rw-rw-   1 root    tty       5,   2 26. Jan 20:43 ptmx

pacman -Si wayland:

Name                     : wayland
Version                  : 1.20.0-1
Beschreibung             : A computer display server protocol
Architektur              : x86_64

pacman -Si xorg-server:

Repositorium             : extra
Name                     : xorg-server
Version                  : 21.1.3-1
Beschreibung             : Xorg X server
Architektur              : x86_64

pacman -Si ffmpeg:

Repositorium             : extra
Name                     : ffmpeg
Version                  : 2:4.4.1-1
Beschreibung             : Complete solution to record, convert and stream audio and video
Architektur              : x86_64

uname -r:

5.16.0-arch1-1

Das Kommando von früher:

ffmpeg -f alsa -i hw:1,0 -f video4linux2 -i /dev/video0 -standard PAL -target pal-dvd -b:a 192k Test.mpg

Alsa habe ich durch pulseaudio ersetzt.

pactl list sources:

Status: SUSPENDED
        Name: alsa_input.pci-0000_00_14.0-usb-0_4.stereo-fallback
        Beschreibung: USBTV007 Video Grabber [EasyCAP] Stereo
        Treiber: module-alsa-card.c
        Abtastwert-Angabe: s16le 2ch 48000Hz
        Kanalzuordnung: front-left,front-right
        Besitzer-Modul: 25
        Stumm: nein
        Lautstärke: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
                Verteilung 0,00
        Basis-Lautstärke: 65536 / 100% / 0,00 dB
        Ziel-Monitor: k. A.
        Latenz: 0 usec, eingestellt 0 usec
        Flags: HARDWARE DECIBEL_VOLUME LATENCY 
        Eigenschaften:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "USBTV Audio Input"
                alsa.id = "USBTV Audio"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "1"
                alsa.card_name = "usbtv"
                alsa.long_card_name = "USBTV Audio at bus 3 device 2"
                device.bus_path = "pci-0000:00:14.0-usb-0:4"
                sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb3/3-4/sound/card1"
                device.vendor.name = "Fushicai"
                device.product.name = "USBTV007 Video Grabber [EasyCAP]"
                device.string = "hw:1"
                device.buffering.buffer_size = "22120"
                device.buffering.fragment_size = "11060"
                device.access_mode = "mmap"
                device.profile.name = "stereo-fallback"
                device.profile.description = "Stereo"
                device.description = "USBTV007 Video Grabber [EasyCAP] Stereo"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card"
        Ports:
                analog-input: Analog Input (type: Analog, priority: 10000, availability unknown)
        Aktiver Port: analog-input
        Formate:
                pcm

Ton läuft, alles okay.

Vor 2 Jahren lief xfce, jetzt Plasma-wayland.

Sowohl mit ffplay als auch mit "QT v4l2 Test utility" bleibt das Bild schwarz.
Ich komme nicht weiter. Bitte helft. Die Doku von ffmpeg

Grüße Andreas

  • forty hat auf diesen Beitrag geantwortet.

    Bitte drauf achten, die richtige Code-Auszeichnung zu benutzen:

    https://wiki.archlinux.de/title/Foren-FAQs#Was_ist_mit_Formatierung_und_Rechtschreibung?

    Der Trick ist, erst den Code einzufügen, ihn dann zu markieren, und dann auf den Code-Button im editor zu klicken. Alternativ einfach manuell wie in den FAQ beschrieben, drei Backticks jeweils in einer eigenen Zeile vor und nach Code-Blöcken hinzuschreiben.

    Ich habs mal für dich erledigt 🙂

      Dirk
      Bist ein Guter. Vielen Dank. Mir hatte die Darstellung auch nicht gefallen, aber besser wusste ich es nicht.
      Danke
      Andreas

      Hallo forty,
      forty

      Leider Nein. Fenster total schwarz.

      • forty hat auf diesen Beitrag geantwortet.

        forty
        Alles probiert, einmal kommt eingebaute Cam, anderes mal ein Fehler ioctl.....

        • forty hat auf diesen Beitrag geantwortet.

          forty

          Das kann ich ja heute abend mal tauschen. Probehalber.
          Danke !!!
          Rückmeldung kommt.

          forty

          So, läuft. Neues Kabel S-Video und Rot/Weiss für Ton.
          /dev/video2 für Bild und "alsa_input.pci-0000_00_14.0-usb-0_4.stereo-fallback" für Ton.

          Vielen Dank nochmal !!
          Morgen probier ich trotzdem nochmal das Scart-kabel. Nicht das es nur ein Kontaktproblem war.

          Bis morgen.

          forty

          Hallo forty,

          abschliessend: Kabel sind und waren alle OKAY.
          Ich muss mit der Option -channel angeben, ob Composite- od. S-Video-Eingang am Grabber.
          Scheinbar wird das dann bis zum Runterfahren irgendwo hinterlegt.
          Am nä. Tag muss man das jedenfalls wieder angeben, Video-Standard ebenfalls.
          Nochmal Danke.

          Andreas