Keine Laut in Mplayer TV

G

GastonV

Jungspund
Hallo,
Mit untenstehendem Mplayerkonfiguration und Kommando kann ich TV-Kabel-Bilder gut anschauen, aber leider ohne Laut.

Meine Mplayer-Kofiguration-Datei:
[gastonv@pandora1 ~]$ cat /home/gastonv/.mplayer/config
tv=driver=v4l2:input=0:brightness=40:audiorate=32000:volume=100:immediatemode=1:norm=PAL:width=800:height=600:chanlist=europe-west:channels=SE5-1_ARD_Das_Erste,SE6-2_Nederland_2,
...und noch mehr TV-Kanäle.

Und mit diesem Kommando kann ich Mplayer TV laufen lassen:
[gastonv@pandora1 ~]$ mplayer -vo x11 -ao alsa:adevice=hw=0.3:amode=1:forceaudio -srate 100000 tv://7
MPlayer 1.0pre8-Fedora-GS-4.1.1 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) XP 1500+ (Family: 6, Model: 8, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.

Failed to open /dev/rtc: Device or resource busy (it should be readable by the user.)

Playing tv://7.
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: Pinnacle PCTV Stereo (saa7134)
Tuner cap: STEREO LANG1 LANG2
Tuner rxs: MONO
Capabilites: video capture video overlay VBI capture device tuner read/write streaming
supported norms: 0 = PAL; 1 = PAL-BG; 2 = PAL-I; 3 = PAL-DK; 4 = NTSC; 5 = SECAM; 6 = PAL-M; 7 = PAL-Nc; 8 = PAL-60;
inputs: 0 = Television; 1 = Composite1; 2 = Composite2; 3 = S-Video;
Current input: 0
Current format: BGR24
v4l2: current audio mode is : MONO
TV channel names detected.
Selected channel: E5 - 7 Ketnet/Canvas (freq: 175.250)
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 720 x 578 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 720x578 => 720x578 Planar YV12
SwScaler: using unscaled Planar YV12 -> BGR 16-bit special converter
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...
v4l2: 69 frames successfully processed, 3 frames dropped.
Exiting... (Quit)

Also, wie Sie sehen kann, habe ich keine Laut (Audio: no sound).

Zur Info:
[gastonv@pandora1 ~]$ yum list installed | grep mplayer
mplayer.i386 5:1.0pre8-1 installed
mplayer-doc.i386 1.0-0.46.pre8.lvn5 installed
mplayer-docs.i386 1.0-0.28.pre8.fc5 installed
mplayer-fonts.noarch 1.1-3.lvn5 installed
mplayer-gui.i386 5:1.0pre8-1 installed
mplayer-skins.noarch 1.7-1.fc installed
mplayer-vidix.i386 5:1.0pre8-1 installed

[gastonv@pandora1 ~]$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: AudioPCI [Ensoniq AudioPCI], device 0: ES1371/1 [ES1371 DAC2/ADC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: V8235 [VIA 8235], device 0: VIA 8235 [VIA 8235]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: V8235 [VIA 8235], device 1: VIA 8235 [VIA 8235]
Subdevices: 1/1
Subdevice #0: subdevice #0

Und ich habe auch
[gastonv@pandora1 ~]$ alsamixergui -c 1
laufen lassen und im ALSA Mixer alle Laut maximal gesetzt.

Ich habe schon viele Sachen probiert aber leider ohne Erfolg.
Vielleicht fehlt noch etwas ... ?

Bei anderen Anwendungen funktionniert Mplayer erfolgreich wie z.B. beim Aanhören Radio Salzburg:
[gastonv@pandora1 ~]$ mplayer rtsp://realorf.conova.com/salzburg.ra

Schon herzlichen Dank im Voraus für Hilfe.
Mit freundlichen Grüsse,
Gaston Verhulst.
 
Hast Du schon versucht, die Option -ao ganz wegzulassen, bzw. nur '-ao alsa' anzugeben? Mit der Option -v gibt mplayer weit mehr Informationen aus, vielleicht kann man dort ja sehen, weswegen kein AudioSignal beim Mplayer ankommt (siehe 'Audio: no sound'). Hast Du es schon mit kdetv oder xawtv ode tvtime versucht?
 
Danke für Ihre schnelle Antwort!
Ich habe die durch Ihnen vorgeschlagenen Optionen probiert und es gibt immer ein schönes Bild, aber leider kein Laut.
So machte ich:
[gastonv@pandora1 ~]$ mplayer -vo x11 tv://5

[gastonv@pandora1 ~]$ mplayer -v -vo x11 -ao alsa tv://5
Mit der Option -v wie hieroben bekomme ich:
[gastonv@pandora1 ~]$ mplayer -v -vo x11 -ao alsa tv://5
MPlayer 1.0pre8-Fedora-GS-4.1.1 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) XP 1500+ (Family: 6, Model: 8, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.


get_path('codecs.conf') -> '/home/gastonv/.mplayer/codecs.conf'
Reading /home/gastonv/.mplayer/codecs.conf: Can't open '/home/gastonv/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' '-vo' 'x11' '-ao' 'alsa' 'tv://5'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/gastonv/.mplayer/input.conf'
Can't open input config file /home/gastonv/.mplayer/input.conf: No such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 60 binds
get_path('5.conf') -> '/home/gastonv/.mplayer/5.conf'
....
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
v4l2: going to capture
*** [vo] Exporting mp_image_t, 720x578x12bpp YUV planar, 624240 bytes
Unicode font: 656 glyphs.
Uninit video: raw??% ??% ??,?% 0 0
v4l2: 37 frames successfully processed, 3 frames dropped.
v4l2: up to 1 video frames buffered.
Successfully enabled DPMS
vo: uninit ...
Exiting... (Quit)

Oder brauchen Sie den vollständigen Text?

In Bezug auf andere TV-Spieler hatte ich früher tvtime probiert und in Win95 ChrisTV.
1. ChrisTV klappte schön aber jetzt bin ich für 99,9% in Windows, weil Win95 nicht so stabil mehr war, also versuchte ich in Linux FC5 auch ein Alternativ zu finden.
2. In Linux konnte ich mit yum tvtime installieren, aber das klappte nicht so gut. Es gab kein stabil Bild, also das Bild "scrollte" oder "danste" und "flickerte" immer. Ich konnte das mit verschiedene Einstellungen leicht vermindern oder verringern, aber gans stabil bekam ich es nicht und .... ich konnte auch keine Laut bekommen.
3. Dann sa ich dass ich es mit Mplayer auch konnte und das gibt ein recht stabiles Bild, aber leider noch nicht mit Laat.
4. Ich konnte soeben mit yum auch KdeTV installieren.
Ich bekomme alle Belgischen Sender, aber das Bild scrollt heftig und ich habe auch keine Laut. Vielleicht muss ich hier auch Einstellungen suchen ... Es gibt 12 Möglichkeiiten : Master, PCM, Surround, Aux, PC Speaker, Phone, Mic, CD, Line, LFE, Center, Master Mono.
Die KdeTV-Interface sieht wohl benutzerfreundlich aus ...
Bei ChrisTV in Win98 gab es auch viele Möglichkeiten, vielleicht kann ich dort einmal gucken.

Vor ich das mache, biite eine Frage: welchen PC-TV-Speiler benutzten Sie?

Vollständigkeitshalber: Ich habe eine Telenet-Kabel-Verbindung womit ich digitalisches Fernsehen benutze, und mit einem Splitter geht einen 2-en Koaxkabel zur Tv-Karte am Komputer.

In Erwartung und Dank im Voraus für mehr Hilfe,
Grüsse,
Gaston.
 
Mplayer TV

Hallo,
Nach suchen und ausprobieren kann ich ab sofort Mplayer TV ohne die Meldung "no sound" laufen lassen, aber leider habe ich noch keine laut im Kopfhörer.
Hier eine ganze Log-Datei während das Laufen:

[gastonv@pandora1 ~]$ mplayer -v -vo x11 -tv driver=v4l2:adevice=hw.1,0:forceaudio:alsa:brightness=50 tv://7
MPlayer 1.0pre8-Fedora-GS-4.1.1 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) XP 1500+ (Family: 6, Model: 8, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.

get_path('codecs.conf') -> '/home/gastonv/.mplayer/codecs.conf'
Reading /home/gastonv/.mplayer/codecs.conf: Can't open '/home/gastonv/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' '-vo' 'x11' '-tv' 'driver=v4l2:adevice=hw.1,0:forceaudio:alsa:brightness=50' 'tv://7'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/gastonv/.mplayer/input.conf'
Can't open input config file /home/gastonv/.mplayer/input.conf: No such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 60 binds
get_path('7.conf') -> '/home/gastonv/.mplayer/7.conf'

Playing tv://7.
get_path('sub/') -> '/home/gastonv/.mplayer/sub/'
STREAM: [null] tv://7
STREAM: Description: Null stream
STREAM: Author: Albeu
STREAM: Comment:
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: Pinnacle PCTV Stereo (saa7134)
Tuner cap: STEREO LANG1 LANG2
Tuner rxs: MONO
Capabilites: video capture video overlay VBI capture device tuner read/write streaming
supported norms: 0 = PAL; 1 = PAL-BG; 2 = PAL-I; 3 = PAL-DK; 4 = NTSC; 5 = SECAM; 6 = PAL-M; 7 = PAL-Nc; 8 = PAL-60;
inputs: 0 = Television; 1 = Composite1; 2 = Composite2; 3 = S-Video;
Current input: 0
Format GREY ( 8 bits, 8 bpp gray): Planar Y800
Format RGB555 (16 bits, 15 bpp RGB, le): BGR 15-bit
Format RGB555X (16 bits, 15 bpp RGB, be): Unknown
Format RGB565 (16 bits, 16 bpp RGB, le): BGR 16-bit
Format RGB565X (16 bits, 16 bpp RGB, be): Unknown
Format BGR24 (24 bits, 24 bpp RGB, le): BGR 24-bit
Format RGB24 (24 bits, 24 bpp RGB, be): RGB 24-bit
Format BGR32 (32 bits, 32 bpp RGB, le): BGRA
Format RGB32 (32 bits, 32 bpp RGB, be): RGBA
Format YUYV (16 bits, 4:2:2 packed, YUYV): Packed YUY2
Format UYVY (16 bits, 4:2:2 packed, UYVY): Packed UYVY
Format YUV422P (16 bits, 4:2:2 planar, Y-Cb-Cr): Planar 422P
Format YUV420 (12 bits, 4:2:0 planar, Y-Cb-Cr): Planar I420
Format YVU420 (12 bits, 4:2:0 planar, Y-Cb-Cr): Planar YV12
Current format: BGR24
v4l2: current audio mode is : MONO
v4l2: set Volume: 15 [-15, 15]
v4l2: set format: YVU420
v4l2: set input: 0
Selected norm: PAL-B
v4l2: set norm: PAL
v4l2: set width: 800
v4l2: set height: 600
Selected channel list: europe-west (including 104 channels)
TV channel names detected.
Selected channel: E5 - 7 Ketnet/Canvas (freq: 175.250)
Current frequency: 2804 (175.250)
Current frequency: 2804 (175.250)
==> Found video stream: 0
v4l2: get format: YVU420
v4l2: get fps: 25.000000
v4l2: get width: 720
v4l2: get height: 578
Hardware PCM card 1 'VIA 8235' device 0 subdevice 0
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 1
rate : 48000
exact rate : 48000 (48000/1)
msbits : 16
buffer_size : 32768
period_size : 8192
period_time : 170666
tick_time : 4000
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 8192
xfer_align : 8192
start_threshold : 0
stop_threshold : 32768
silence_threshold: 0
silence_size : 0
boundary : 1073741824
v4l2: set audio samplerate: 32000
Hardware PCM card 1 'VIA 8235' device 0 subdevice 0
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 1
rate : 48000
exact rate : 48000 (48000/1)
msbits : 16
buffer_size : 32768
period_size : 8192
period_time : 170666
tick_time : 4000
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 8192
xfer_align : 8192
start_threshold : 0
stop_threshold : 32768
silence_threshold: 0
silence_size : 0
boundary : 1073741824
v4l2: get audio format: 9
==> Found audio stream: 0
v4l2: get audio samplerate: 48000
v4l2: get audio samplesize: 2
v4l2: get audio channels: 1
TV audio: 1 channels, 16 bits, 48000 Hz
Audio capture - buffer 256 blocks of 16384 bytes, skew average from 16 meas.
Using a ring buffer for maximum 422 frames, 251 MB total size.
v4l2: set Brightness: 191 [0, 255]
v4l2: set Hue: 0 [-128, 127]
v4l2: set Saturation: 64 [0, 127]
v4l2: set Contrast: 68 [0, 127]
[V] filefmt:9 fourcc:0x32315659 size:720x578 fps:25.00 ftime:=0.0400
get_path('sub/') -> '/home/gastonv/.mplayer/sub/'
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer.
AUDIO: 48000 Hz, 1 ch, s16le, 768.0 kbit/100.00% (ratio: 96000->96000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask: FFFF (R:F800 G:7E0 B:1F)
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms
Disabling DPMS
DPMSDisable stat: 1
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 720 x 578 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (720x578->720x578,flags=0,'MPlayer',0x32315659)
VO: [x11] 720x578 => 720x578 Planar YV12
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
Sharing memory.
SwScaler: using unscaled Planar YV12 -> BGR 16-bit special converter
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Building audio filter chain for 48000Hz/1ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/1ch/s16le
[dummy] Was reinitialized: 48000Hz/1ch/s16le
ao2: 48000 Hz 1 chans s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16le (requested: s16le)
audio_setup: using 1 channels (requested: 1)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags: 8/8 (8192 bytes/frag) free: 65536
AO: [oss] 48000Hz 1ch s16le (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/1ch/s16le -> 48000Hz/1ch/s16le...
[dummy] Was reinitialized: 48000Hz/1ch/s16le
[dummy] Was reinitialized: 48000Hz/1ch/s16le
Starting playback...
v4l2: going to capture
*** [vo] Exporting mp_image_t, 720x578x12bpp YUV planar, 624240 bytes
Unicode font: 656 glyphs.
Uninit audio filters...-0.201 ct: 0.013 4/ 4 0% 4% 0.1% 1 0
[libaf] Removing filter dummy
Uninit audio: pcm
Uninit video: raw
v4l2: 29 frames successfully processed, 3 frames dropped.
v4l2: up to 24 video frames buffered.
Successfully enabled DPMS
vo: uninit ...

Exiting... (Quit)

Vielleicht ist drin zu sehen was noch nicht richtig ist?

Und hier meine mplayer/config:
[gastonv@pandora1 ~]$ cat /home/gastonv/.mplayer/config
tv=driver=v4l2:input=0:adevice=hw.1,0:audiorate=32000:volume=100:immediatemode=0:
norm=PAL-B:width=800:height=600:chanlist=europe-west:channels=
SE5-1_ARD_Das_Erste,
... and all the other channels.

Ich denke Ich bin doch einen Schritt dichter gekommen ... Der nächste Schritt sollte das Laut sein können ... ?
Noch einmal viele Dank und Grüsse,
Gaston.
 
hast Du mit alsamixer die Kanaele ueberprueft sowie deren Lautstaerken und mute/non-mute-Zustaende?
 
Ja, das habe ich gemacht. Also habe ich alles als aktiv markiert und wo es die Möglichkeit gibt, alles maximal gesetzt.
Es gibt natürlich viele Items wie:
Master, Master M, PCM, Surround, Line, CD, Mic, Mic Boost (ein), Mic Select Mic2 (oder Mic2), Video, Phone, IEC958 (ein), PC Speaker, Aux, Mono output Mic (oder Mix), AC97 2ch. (ein), External (ein).

Bitte mussen allen eingeschaltet sein?

Es gibt noch immer einige "dummy":
[gastonv@pandora1 ~]$ mplayer -v -vo x11 -tv driver=v4l2:adevice=hw.1,0:forceaudio:alsa:brightness=50 tv://7
...
Building audio filter chain for 48000Hz/1ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/1ch/s16le
[dummy] Was reinitialized: 48000Hz/1ch/s16le
ao2: 48000 Hz 1 chans s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16le (requested: s16le)
audio_setup: using 1 channels (requested: 1)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags: 8/8 (8192 bytes/frag) free: 65536
AO: [oss] 48000Hz 1ch s16le (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/1ch/s16le -> 48000Hz/1ch/s16le...
[dummy] Was reinitialized: 48000Hz/1ch/s16le
[dummy] Was reinitialized: 48000Hz/1ch/s16le
Starting playback...
v4l2: going to capture
*** [vo] Exporting mp_image_t, 720x578x12bpp YUV planar, 624240 bytes
Unicode font: 656 glyphs.
Uninit audio filters... 0.003 ct: 0.177 139/139 0% 15% 0.2% 1 0
[libaf] Removing filter dummy
Uninit audio: pcm
Uninit video: raw
v4l2: 166 frames successfully processed, 20 frames dropped.
v4l2: up to 36 video frames buffered.
Successfully enabled DPMS
vo: uninit ...

Exiting... (Quit)

Ich versuche auch immer einen Radio-Sender und der klappte noch.
Dank und Grüsse,
Gaston
 
Zuletzt bearbeitet:
Nein, es müssen natürlich nicht alle mixer-Kanäle offen sein - möglicherweise ist dies sogar nachteilig... entscheidend sind master, pcm und gegebenenfalls Headphone.

Wenn Du Konsolenausgaben postest, solltest Du die "Code"-Funktion (Raute) nutzen, dann herrscht etwas mehr Übersicht! Danke!
 
Ich hatte mal den Effekt, dass wenn 'External' angeschaltet war, das Signal extrem leise war. Schalte den mal lieber aus. Hilft das was? Hoerst Du mit anderen Anwendungen etwas?
 
Ich habe gerade uebrigens den gleichen Effekt. Auf einem Thinkpad mit ICH6 chip funktionieren Bild und Ton. Auf einem Desktop-Rechner mit VIA chipset (vt82xx oder aehnlich) bekomme ich ebenfalls eine 'no sound' Ausgabe von mplayer, tvtime produziert ebenfalls keinen Mucks. Die Systemlaute funktionieren, d.h., es hat direkt etwas mit der TV-Karte zu tun - bei mir eine Hauppauge WinTV-USB2. Sobald ich Zeit habe, werde ich beide Rechner mal genauer vergleichen, vielleicht bekomme ich so raus, was geaendert werden muss.
 
Danke für die Reaktionen!
1. Mit alsamixer habe ich nur Master, PCM und Phone eingeschaltet.
2. Inzwischen habe ich noch mehr versucht mit
Code:
mplayer tv:// -v -vo x11  -tv driver=v4l2:norm=PAL:device=/dev/video0:fps=25:outfmt=yv12:quality=0:input=0:
width=720:height=576:brightness=50:volume=100:amode=1:normid=1:
alsa:adevice=hw.1,0:audiorate=32000:forceaudio:volume=100:immediatemode=0:
chanlist=europe-west:channels=E5-Ketnet,SE9-Mozaiek
Ich bekomme immer noch ein schönes TV-Bild, leider noch ohne Laut oder Ton.
Die Konsolenausgabe ist:
Code:
MPlayer 1.0pre8-Fedora-GS-4.1.1 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) XP 1500+ (Family: 6, Model: 8, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.


get_path('codecs.conf') -> '/home/gastonv/.mplayer/codecs.conf'
Reading /home/gastonv/.mplayer/codecs.conf: Can't open '/home/gastonv/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': 
No such file or directory
Using built-in default codecs.conf.
CommandLine: 'tv://' '-v' '-vo' 'x11' '-tv' 'driver=v4l2:norm=PAL:device=/dev/video0:fps=25:outfmt=yv12:quality=0:input=0:
width=720:height=576:brightness=50:volume=100:amode=1:normid=1:
alsa:adevice=hw.1,0:audiorate=32000:forceaudio:volume=100:immediatemode=0:
chanlist=europe-west:channels=E5-Ketnet,SE9-Mozaiek'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/gastonv/.mplayer/input.conf'
Can't open input config file /home/gastonv/.mplayer/input.conf: No such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 60 binds
get_path('.conf') -> '/home/gastonv/.mplayer/.conf'

Playing tv://.
get_path('sub/') -> '/home/gastonv/.mplayer/sub/'
STREAM: [null] tv://
STREAM: Description: Null stream
STREAM: Author: Albeu
STREAM: Comment:
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: Pinnacle PCTV Stereo (saa7134)
 Tuner cap: STEREO LANG1 LANG2
 Tuner rxs: MONO
 Capabilites:  video capture  video overlay  VBI capture device  tuner  read/write  streaming
 supported norms: 0 = PAL; 1 = PAL-BG; 2 = PAL-I; 3 = PAL-DK; 4 = NTSC; 5 = SECAM; 6 = PAL-M; 7 = PAL-Nc; 8 = PAL-60;
 inputs: 0 = Television; 1 = Composite1; 2 = Composite2; 3 = S-Video;
 Current input: 0
 Format GREY   ( 8 bits, 8 bpp gray): Planar Y800
 Format RGB555 (16 bits, 15 bpp RGB, le): BGR 15-bit
 Format RGB555X (16 bits, 15 bpp RGB, be): Unknown
 Format RGB565 (16 bits, 16 bpp RGB, le): BGR 16-bit
 Format RGB565X (16 bits, 16 bpp RGB, be): Unknown
 Format BGR24  (24 bits, 24 bpp RGB, le): BGR 24-bit
 Format RGB24  (24 bits, 24 bpp RGB, be): RGB 24-bit
 Format BGR32  (32 bits, 32 bpp RGB, le): BGRA
 Format RGB32  (32 bits, 32 bpp RGB, be): RGBA
 Format YUYV   (16 bits, 4:2:2 packed, YUYV): Packed YUY2
 Format UYVY   (16 bits, 4:2:2 packed, UYVY): Packed UYVY
 Format YUV422P (16 bits, 4:2:2 planar, Y-Cb-Cr): Planar 422P
 Format YUV420 (12 bits, 4:2:0 planar, Y-Cb-Cr): Planar I420
 Format YVU420 (12 bits, 4:2:0 planar, Y-Cb-Cr): Planar YV12
 Current format: BGR24
v4l2: setting audio mode
v4l2: current audio mode is : STEREO
v4l2: set Volume: 15 [-15, 15]
v4l2: set format: YVU420
v4l2: set input: 0
Selected norm id: 1
v4l2: set norm: PAL-BG
v4l2: set width: 720
v4l2: set height: 576
Selected channel list: europe-west (including 104 channels)
TV channel names detected.
Selected channel: E5 - Ketnet (freq: 175.250)
Current frequency: 2804 (175.250)
Current frequency: 2804 (175.250)
==> Found video stream: 0
v4l2: get format: YVU420
v4l2: get fps: 25.000000
v4l2: get width: 720
v4l2: get height: 576
Hardware PCM card 1 'VIA 8235' device 0 subdevice 0
Its setup is:
  stream       : CAPTURE
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 4096
  period_time  : 85333
  tick_time    : 4000
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 4096
  xfer_align   : 4096
  start_threshold  : 0
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
v4l2: set audio samplerate: 32000
Hardware PCM card 1 'VIA 8235' device 0 subdevice 0
Its setup is:
  stream       : CAPTURE
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 4096
  period_time  : 85333
  tick_time    : 4000
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 4096
  xfer_align   : 4096
  start_threshold  : 0
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
v4l2: get audio format: 9
==> Found audio stream: 0
v4l2: get audio samplerate: 48000
v4l2: get audio samplesize: 2
v4l2: get audio channels: 2
  TV audio: 2 channels, 16 bits, 48000 Hz
Audio capture - buffer 256 blocks of 16384 bytes, skew average from 16 meas.
Using a ring buffer for maximum 424 frames, 251 MB total size.
v4l2: set Brightness: 191 [0, 255]
v4l2: set Hue: 0 [-128, 127]
v4l2: set Saturation: 64 [0, 127]
v4l2: set Contrast: 68 [0, 127]
[V] filefmt:9  fourcc:0x32315659  size:720x576  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/gastonv/.mplayer/sub/'
=============================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer.
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
=============================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms
Disabling DPMS
DPMSDisable stat: 1
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (720x576->720x576,flags=0,'MPlayer',0x32315659)
VO: [x11] 720x576 => 720x576 Planar YV12
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
Sharing memory.
SwScaler: using unscaled Planar YV12 -> BGR 16-bit special converter
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
ao2: 48000 Hz  2 chans  s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16le (requested: s16le)
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags:   8/8  (8192 bytes/frag)  free:  65536
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
v4l2: going to capture
*** [vo] Exporting mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
Unicode font: 656 glyphs.
Uninit audio filters...-0.000 ct:  0.092 294/294  0% 19%  0.3% 1 0
[libaf] Removing filter dummy
Uninit audio: pcm
Uninit video: raw
v4l2: 311 frames successfully processed, 8 frames dropped.
v4l2: up to 16 video frames buffered.
Successfully enabled DPMS
vo: uninit ...

Exiting... (Quit)
meine TV-Karte ist eine Pinnacle-PCTV-Rave und der Sound-Output ist verbunden mit den Sound-Input meine Sound-Karte.. Dort ist auch noch eine Mikrofon-Eingangang und 2 Lautsprecher-Ausgänge. An einer davon ist nun meine Kopfhörer.
Zur Info, wenn ich:
Code:
mplayer rtsp://realorf.conova.com/salzburg.ra
laufen lasse, dann kann ich sehr gut Radio Salzburg anhören.
Ja, warscheinlich hat es etwas mit meiner TV-Karte zu tun, weiss leider nicht was ...
Doch allen schön im voraus bedankt für die Mühe.
Grüsse,
Gaston.
 
mplayer scheint ja sound festzustellen, nur dass er nicht rauskommt. Versuche doch mal, mit mencoder den Ton aufzunehmen. In etwa so:
Code:
mencoder -vo null -o tv.wav -tv <deine ganzen TV-Optionen>  tv://
bin mir nicht gaenzlich sicher, ob die Syntax so stimmt. Wenn es klappt, sollte so die tv.wav Datei erstellt werden, die Du dann normal (mit mplayer o.ae.) abspielen kannst. Hoerst Du dann etwas?
 
Danke für Ihre schnelle Antwort.
Ich habe es versucht, aber "-vo null" sollte nicht eine mencoder Option sein.
Ich weiss natürlich nicht was Ihre Bedeutung war.
Ich nehme an das nur eine tv.wav gespeichert wird.

Code:
$ mencoder -vo null -o tv.wav -tv driver=v4l2:norm=PAL:device=/dev/video0:fps=25:outfmt=yv12:quality=0:input=0:width=720:height=576:brightness=50:volume=100:amode=1:normid=1:alsa:adevice=hw.1,0:audiorate=32000:forceaudio:volume=100:immediatemode=0 tv://
MEncoder 1.0pre8-Fedora-GS-4.1.1 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) XP 1500+ (Family: 6, Model: 8, Stepping: 1)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
-vo is not an MEncoder option

Exiting... (error parsing command line)

Dank und in Erwartung, Grüss,
Gaston.
 
Damit wollte ich erreichen, dass nur der Ton aufgenommen wird, ist aber offensichtlich ein mplayer-Option (s.a. 'man mplayer').
Versuche es doch mal mit
Code:
mencoder -tv driver=v4l:width=640:height=480 tv:// -o tv.avi -ovc raw
Das ist direkt aus der man-page kopiert und sollte wohl eine tv.avi-Datei erzeugen. Evtl. kannst Du bei -tv die Optionen anpassen.
 
Dieses Kommando macht eine avi-Datei, die ich dann mit mplayer wieder nicht hören, sondern wohl sehen kann. Ich versuche mal ob ich noch andere avi-Dateien hören kann ...
Eine tv.avi.gz Datei kann ich nicht mitgeben, weil es zu gross ist. Ich sehe wohl keine Fehler-Meldung.
Code:
[gastonv@pandora1 ~]$ mencoder -tv driver=v4l2:norm=PAL:device=/dev/video0:fps=25:outfmt=yv12:quality=0:input=0:width=720:height=576:brightness=50:volume=100:amode=1:normid=1:alsa:adevice=hw.1,0:audiorate=32000:forceaudio:volume=100:immediatemode=0 tv://19 -oac pcm -o tv.avi -ovc raw
MEncoder 1.0pre8-Fedora-GS-4.1.1 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) XP 1500+ (Family: 6, Model: 8, Stepping: 1)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
success: format: 9  data: 0x0 - 0x0
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: Pinnacle PCTV Stereo (saa7134)
 Tuner cap: STEREO LANG1 LANG2
 Tuner rxs: MONO
 Capabilites:  video capture  video overlay  VBI capture device  tuner  read/write  streaming
 supported norms: 0 = PAL; 1 = PAL-BG; 2 = PAL-I; 3 = PAL-DK; 4 = NTSC; 5 = SECAM; 6 = PAL-M; 7 = PAL-Nc; 8 = PAL-60;
 inputs: 0 = Television; 1 = Composite1; 2 = Composite2; 3 = S-Video;
 Current input: 0
 Current format: BGR24
v4l2: current audio mode is : STEREO
[V] filefmt:9  fourcc:0x32315659  size:720x576  fps:25.00  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)
==========================================================================
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
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Forcing audio preload to 0, max pts correction to 0.
Writing header...1f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
ODML: vprp aspect is 16384:13107.
Writing header...
ODML: vprp aspect is 16384:13107.
Pos:   0.1s      2f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
2 duplicate frame(s)!
Pos:   0.8s     18f ( 0%) 13.25fps Trem:   0min   0mb  A-V:0.000 [0:0]
2 duplicate frame(s)!
Pos:   1.2s     26f ( 0%) 14.15fps Trem:   0min   0mb  A-V:0.000 [107827:1536]
...
2 duplicate frame(s)!
Pos:  18.5s    337f ( 0%) 17.78fps Trem:   0min   0mb  A-V:0.000 [90557:1536]
Flushing video frames
Writing index...
Writing header...
ODML: vprp aspect is 16384:13107.

Video stream: 90557.650 kbit/s  (11319706 B/s)  size: 209640960 bytes  18.520 secs  337 frames

Audio stream: 1536.000 kbit/s  (192000 B/s)  size: 3552000 bytes  18.500 secs
v4l2: 346 frames successfully processed, 126 frames dropped.

Beim Abspielen der tv.avi-Datei bekomm ich dieses:
Code:
[gastonv@pandora1 ~]$ mplayer tv.avi
MPlayer 1.0pre8-Fedora-GS-4.1.1 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) XP 1500+ (Family: 6, Model: 8, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.



Playing tv.avi.
AVI file format detected.
VIDEO:  [YV12]  720x576  12bpp  25.000 fps  97581.2 kbps (11911.8 kbyte/s)
Clip info:
 Software: MEncoder 1.0pre8-Fedora-GS-4.1.1
==========================================================================
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)
==========================================================================
open: No such file or directory
Couldn't open: /dev/mga_vid
open: No such file or directory
Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: No such file or directory.
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.25:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 720x576 Planar YV12
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
alsa-init: using device default
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
A:   2.4 V:   2.4 A-V: -0.005 ct: -0.002  60/ 60  0%  7% 11.1% 0 0
Badly interleaved AVI file detected - switching to -ni mode...
A:   4.0 V:   4.0 A-V: -0.000 ct: -0.002 102/102  0%  5%  8.1% 0 0
alsa-uninit: pcm closed

Exiting... (End of file)
[gastonv@pandora1 ~]$

Ich machte auch einen Test und kann bei einer anderen Avi-Datei nicht nur die Bilder, sondern auch das Laut hören, zB.
Code:
[gastonv@pandora1 ~]$ mplayer /mnt/E/Capture/Video/2005-12-02/Am_Bodensee.avi
MPlayer 1.0pre8-Fedora-GS-4.1.1 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) XP 1500+ (Family: 6, Model: 8, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.

Playing /mnt/E/Capture/Video/2005-12-02/Am_Bodensee.avi.
AVI file format detected.
AVI: ODML: Building ODML index (2 superindexchunks).
VIDEO:  [XVID]  360x240  16bpp  25.000 fps  2669.4 kbps (325.9 kbyte/s)
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 22050 Hz, 2 ch, s16le, 705.6 kbit/100.00% (ratio: 88200->88200)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
open: No such file or directory
Couldn't open: /dev/mga_vid
open: No such file or directory
Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: No such file or directory.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
AO: [oss] 22050Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 360 x 240 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.50:1 - prescaling to correct movie aspect.
VO: [xv] 360x240 => 360x240 Planar YV12
A:   0.8 V:   0.5 A-V:  0.316 ct:  0.001  14/ 14 39%  9%  1.5% 11 0
Badly interleaved AVI file detected - switching to -ni mode...
A:  12.6 V:  12.6 A-V:  0.001 ct:  0.000 316/316  8%  1%  0.2% 17 0
Exiting... (Quit)

Dank und Grüss,
Gaston.
 
Zuletzt bearbeitet:

Ähnliche Themen

X startet nichtmehr

PulseAudio sound nur bei MPD

Festplatte stirbt, dd funktioniert nicht

XFCE freezes at startup

Modulfehler?

Zurück
Oben