Problem mit mplayer und TV
Peter Kuechler
peter.kuechler at gmx.de
Mi Feb 2 17:58:51 UTC 2011
Am Mittwoch, 2. Februar 2011, um 13:17:50 schrieb Christian Brabandt:
So, hier jetzt die Ergebnisse von meinen Versuchen.
Leider hat mich mediainfo in diesem Fall nicht weiter gebracht, den ich kann
ihm ja nix zu lesen anbieten! Von /dev/video0 mag es nicht lesen.
Aber das hat mich auf eine andere Idee gebracht. Wie ich schon vorher
geschrieben habe funktioniert es mit tvtime ja einwandfrei. Also habe ich
tvtime mal von der Kommandozeile gestartet und mir die Ausgabe angesehen:
#######################################################
#peter at thinktank1:~$ tvtime -v /dev/video0
Starte tvtime 1.0.2.
Lese Konfiguration aus /etc/tvtime/tvtime.xml
Lese Konfiguration aus /home/peter/.tvtime/tvtime.xml
cpuinfo: CPU Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz, family 6, model
7, stepping 6.
cpuinfo: CPU measured at 883,561MHz.
tvtime: Cannot set priority to -10: Keine Berechtigung.
xcommon: Display :0.0, vendor The X.Org Foundation, vendor release 10900000
xfullscreen: Using XINERAMA for dual-head information.
xfullscreen: Pixels are square.
xfullscreen: Number of displays is 1.
xfullscreen: Head 0 at 0,0 with size 1680x1050.
xcommon: Have XTest, will use it to ping the screensaver.
xcommon: Pixel aspect ratio 1:1.
xcommon: Pixel aspect ratio 1:1.
xcommon: Window manager is KWin and is EWMH compliant.
xcommon: Using EWMH state fullscreen property.
xcommon: Using EWMH state above property.
xcommon: Using EWMH state below property.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 768x576 window inside 768x576 space.
xvoutput: Using XVIDEO adaptor 310: NV17 Video Texture.
speedycode: Using MMXEXT optimized functions.
station: Reading stationlist from /home/peter/.tvtime/stationlist.xml
videoinput: Using video4linux2 driver 'em28xx', card 'Pinnacle Dazzle DVC
90/100/101/' (bus usb-0000:00:1d.7-2).
videoinput: Version is 258, capabilities 5020051.
videoinput: Maximum input width: 720 pixels.
tvtime: Sampling input at 720 pixels per scanline.
mixer: Can't open device /dev/mixer, mixer volume and mute unavailable.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 768x576 window inside 768x576 space.
Found "USB 2861 Device : USB Audio (hw:1,0)"
xcommon: Received a map, marking window as visible (58).
xcommon: Window fully obscured, marking window as hidden (58).
xcommon: Window made visible, marking window as visible (58).
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 768x576 window inside 768x576 space.
tvtime: Cleaning up.
Danke, daß Sie tvtime gewählt haben.
peter at thinktank1:~$
#############################################################
Man beachte die Zeile
Found "USB 2861 Device : USB Audio (hw:1,0)"
Liegt hier das Geheimnis?
Wie kann man mplayer erklären, da er die Audiodaten von dort holen muss?
mplayer an sich funktioniert, hab ich auch getestet mit einem .VOB File un
einfach mal diesem Aufruf:
##########################################################
peter at thinktank1:~$ mplayer -vo xv,sdl,x11 -ao alsa,oss,sdl,arts -framedrop -
vf pp=lb file:///export-local/dvd-rip/VTS_01_4.VOB MPlayer 1.0rc4-4.4.5 (C)
2000-2010 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing file:///export-local/dvd-rip/VTS_01_4.VOB.
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 3000.0 kbps (375.0 kbyte/s)
Opening video filter: [pp=lb]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[ac3 @ 0x144a9a0]frame sync error
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[PP] Using external postprocessing filter, max q = 6.
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 768x576 Planar YV12
A:8611.8 V:8611.8 A-V: -0.000 ct: -0.472 792/792 13% 4% 1.0% 3 0
Exiting... (Quit)
##########################################################
und schon spielt er den Video mit Ton ab.
Für mich sieht es so aus als würde Mplayer alles für die Ausgabe finden was es
braucht, es findet nur die richtige Eingabe nicht.
Oder sehe ich da was falsch?
Gruß Peter
Mehr Informationen über die Mailingliste ubuntu-de