Hallo Horst.
Vielleicht ist folgende Information hilfreich.
Ich habe auch ein Grabster AV 350 MX (im Folgenden nur noch 350 genannt). Diesen 350 vor über 11 Jahren gekauft. Vor 11 Jahren unter Windows verwendet. Bis gestern seit 10 Jahren im Kasten gestanden. Und habe mich gestern erstmals mit diesem 350 unter Linux "ubuntu 16.04 LTS" (Kernel version:
| oliver:~$ uname -srm
Linux 4.4.0-186-generic x86_64
|
) beschäftigt. Bei mir funktioniert die Digitalisierung eines 30 Sekunden Clips (kam noch nicht dazu längere Videos zu digitalisieren) mittels mencoder:
| oliver:~$ mencoder
MEncoder 1.2.1 (Debian), built with gcc-5.4.0 (C) 2000-2016 MPlayer Team
|
Und Bild und Ton sind OK.
Ich habe mir eine Anleitung zur Digitalisierung geschrieben, welche ich mir erlaube hier zu posten (ist auf Englisch, da ich mir meine Notizen in Englisch erstelle):
Connect the 350 through USB to the computer.
Note: the 350 red LED should shine.
Either: Connect the 350 through video and audio jacks to the video/audio-source. Switch the 350 switch to the Video-position.
Or: Connect the 350 through Scart to the video/audio-source. Switch the 350 switch to the Scart-position.
Play back the video/audio-source.
The basis for the following terminal command was taken from [1], chapter “Making it Work”, and adapted. Adapted especially with information from [2], chapter "MPlayer und Mencoder", sub-chapter "Aufnehmen mit MEncoder":
| mencoder tv:// -tv device=/dev/video0:input=0:width=720:height=576:outfmt=uyvy:fps=25:alsa:adevice=hw.2:audiorate=48000:amode=1:forceaudio:immediatemode=0 -ffourcc DX50 -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:turbo:vbitrate=4800:keyint=15 -oac mp3lame -noskip -o out.avi
|
Note regarding mencoder command:
See [3] for details.
For the -tv options search in [3] for -tv , and see its first entry. And see below this first entry for the options.
Note regarding alsa:adevice=hw.2: See [2], chap. "ALSA-Soundsystem" for a "how to"-find out the correct number after hw.
Note regarding width=720:height=576: This is stated on [4] as PAL.
Note regarding input=0: After executing mencoder it states: inputs: 0 = Composite1; 1 = S-Video; . And the video-source is in my case connected to the 350 through composite.
Note: In case the capture time duration is known, add -endpos 00:01:00 to the command, and adapt the time duration (0:1:0 is just an example).
In a terminal execute the above command to start capturing the video/audio-source.
When the play back is finished, end the capturing in the terminal by pressing Ctrl+C.
Note: Following possible problem might occur: Replaying the captured video shows:
The captured video runs faster than the original source (original source: 25 seconds, captured video: ~15 to 20 seconds).
The captured video and audio are out of sync. More specific: The audio runs faster than the video.
Above problem was observed until now every time when I connect the 350 for the first time of the day to my computer, and capture for the first time of the day a video.
Note: In the terminal which executes mencoder, mencoder prints the position time in 1/10 seconds. For example:
| Pos: 30.2s ...
...
Pos: 30.3s ...
...
Pos: 30.3s ...
...
Pos: 30.4s ...
|
It could be observed, that this printed position time progress is not in sync with the "wall clock". Instead, this printed position time progress is slower, compared to the "wall clock".
Until now identified problem solution: Disconnect the USB connection between 350 and the computer. Wait for 30 seconds. Reconnect the USB connection. Capture a video. Now the problem could no longer be observed.
Da du schreibst
Aber mit mplayer,mencoder oder ffmpeg ist es mir leider nicht gelungen einen Ton auszugeben bzw. aufzunehmen.
vermute ich, dass es etwas mit deinen mencoder Audio-Settings zu tun hat. Deshalb würde ich deine Settings gegen folgende (welche ich einfach von obiger Anleitung hierher kopiert habe) überprüfen:
alsa:adevice=hw.2 - siehe hierzu [2] Kapitel "ALSA-Soundsystem" um zu überprüfen ob du die richtige Zahl nach hw gesetzt hast.
audiorate=48000:amode=1:forceaudio:immediatemode=0 - siehe hierzu [1] Kapitel "Making it Work", die zweite NOTE.
Was vielleicht auch noch hilfreich sein kann:
Viele hilfreiche und erklärende Information können in [2] gefunden werden.
Informationen können auch in [5] gefunden werden.
Führe im Terminal folgendes aus um Informationen über das 350 zu erhalten (Hinweis: In deinem Fall muss es /dev/video1 sein.):
| v4l2-ctl -d /dev/video0 --all
|
Vielleicht hilft dir [7], "Bug Description", Absatz welcher mit WORKAROUND beginnt. Hinweis: Ich habe diesen Workaround nicht verwendet.
Im Folgenden ein paar Kommandozeilen Ausgaben von meinem Computer, welche vielleicht für dich, zum Vergleichen, hilfreich sein können:
| oliver:~$ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 046d:c50b Logitech, Inc. Cordless Desktop Optical
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0ccd:0084 TerraTec Electronic GmbH
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
|
| oliver:~$ cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xfe8f8000 irq 29
1 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xfe9fc000 irq 30
2 [G350 ]: USB-Audio - Grabster AV 350
Grabster AV 350 at usb-0000:00:1a.7-2, high speed
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54 | oliver:~$ mencoder tv:// -tv device=/dev/video0:input=0:width=720:height=576:outfmt=uyvy:fps=25:alsa:adevice=hw.2:audiorate=48000:amode=1:forceaudio:immediatemode=0 -ffourcc DX50 -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:turbo:vbitrate=4800:keyint=15 -oac mp3lame -noskip -o out.avi
MEncoder 1.2.1 (Debian), built with gcc-5.4.0 (C) 2000-2016 MPlayer Team
success: format: 9 data: 0x0 - 0x0
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come ;-)
Selected device: Terratec AV350
Capabilities: video capture VBI capture device audio read/write streaming
supported norms: 0 = NTSC; 1 = NTSC-M; 2 = NTSC-M-JP; 3 = NTSC-M-KR; 4 = NTSC-443; 5 = PAL; 6 = PAL-BG; 7 = PAL-H; 8 = PAL-I; 9 = PAL-DK; 10 = PAL-M; 11 = PAL-N; 12 = PAL-Nc; 13 = PAL-60; 14 = SECAM; 15 = SECAM-B; 16 = SECAM-G; 17 = SECAM-H; 18 = SECAM-DK; 19 = SECAM-L; 20 = SECAM-Lc;
inputs: 0 = Composite1; 1 = S-Video;
Current input: 0
Current format: YUYV
Selected input hasn't got a tuner!
[V] filefmt:9 fourcc:0x32595559 size:720x576 fps:25.000 ftime:=0.0400
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
libavcodec version 56.60.100 (external)
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x7f3894174fa0]bicubic scaler, from yuyv422 to yuv420p using MMXEXT
[swscaler @ 0x7f3894174fa0]using unscaled yuyv422 -> yuv420p special converter
videocodec: libavcodec (720x576 fourcc=34504d46 [FMP4])
[VE_LAVC] High quality encoding selected (non-realtime)!
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
Forcing output FourCC to 30355844 [DX50].
MP3 audio selected.
Forcing audio preload to 0, max pts correction to 0.
[mpeg4 @ 0x7f3893407560]AVFrame.format is not set
[mpeg4 @ 0x7f3893407560]AVFrame.width or height is not set
Pos: 0.0s 1f ( 0%) 0.93fps Trem: 0min 0mb A-V:0.000 [0:0]
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
[mpeg4 @ 0x7f3893407560]AVFrame.format is not set
[mpeg4 @ 0x7f3893407560]AVFrame.width or height is not set
Pos: 0.1s 2f ( 0%) 0.79fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x7f3893407560]AVFrame.format is not set
[mpeg4 @ 0x7f3893407560]AVFrame.width or height is not set
Pos: 0.1s 3f ( 0%) 1.19fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x7f3893407560]AVFrame.format is not set
[mpeg4 @ 0x7f3893407560]AVFrame.width or height is not set
Pos: 0.2s 4f ( 0%) 1.58fps Trem: 0min 0mb A-V:0.000 [0:0]
|
References:
[1] https://www.linuxtv.org/wiki/index.php/TerraTec_Grabby
[2] https://wiki.ubuntuusers.de/Videograbbing/
[3] https://linux.die.net/man/1/mencoder
[4] https://www.terratec.de/details.php?artnr=10599
[5] https://www.linuxtv.org/wiki/index.php/MEncoder
[6] https://www.linuxtv.org/wiki/index.php/V4L_capturing
[7] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/998143
Gruß
Oliver.