Portál AbcLinuxu, 5. listopadu 2025 06:37
MPlayer 1.0rc3-4.4.4 (C) 2000-2009 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 1.avi. Cache fill: 0.00% (0 bytes) AVI file format detected. [aviheader] Video stream found, -vid 0 [aviheader] Audio stream found, -aid 1 VIDEO: [XVID] 624x352 12bpp 23.976 fps 1030.1 kbps (125.7 kbyte/s) Clip info: Software: MEncoder SVN-r32669-4.3.2 Could not parse arguments at the position indicated below: osdcolor=0xd2691e ^ Error opening/initializing the selected video_out (-vo) device. ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== AO: [pulse] Init failed: Connection refused Failed to initialize audio driver 'pulse' [AO_ALSA] alsa-lib: pcm_hw.c:1293:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' failed (-2): No such file or directory [AO_ALSA] alsa-lib: pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave [AO_ALSA] Playback open error: No such file or directory Failed to initialize audio driver 'alsa' [AO SDL] Samplerate: 48000Hz Channels: Stereo Format s16le [AO SDL] using aalib audio driver. [AO SDL] Unable to open audio: No available audio device Failed to initialize audio driver 'sdl:aalib' Could not open/initialize audio device -> no sound. Audio: no sound Video: no video Exiting... (End of file)~/.mplayer/config
# Write your default config options here! # Nastaví ovladač videa. vo=xv:osdcolor=0xd2691e # Nastavení velikosti cache. cache=8192 #cache-min=95 # Nastavení velikosti fontů. subfont-text-scale=2.5 subpos=98 subfont-osd-scale=4.4 subfont-blur=2.0 subfont-outline=2.0 # Anti-alias subs. (4: best and slowest) spuaa=4 # Nastavení preferovaných jazyků. alang=jp,en,eng,cz,cr slang=cz,cr,en # Nastavení kódování fontů. subcp='windows-1250' #subcp=enca:cs:cp1250 subfont-encoding=unicode # Nastavení dublebufferingu. (Doporučeno pro xv video výstup s použitím SUB/OSD) double=1 # Hledání souborů s titulky. sub-fuzziness=2 unicode=yes ffactor=1 # Deaktivuje šetřič obrazovky. stop-xscreensaver=yes # Pozice okna s filmem. (50%:50%: střed obrazovky) geometry=50%:50% # Nastavení upravující zobrazení filmu: autoq=100 fixed-vo=1 dr=1 vf=pp=ha:a/va:a/dr:a/al:a/tn:a,scale fontconfig=1 font='DejaVu Sans'Hodně jsem při instalaci čerpal z: http://wiki.ubuntu.cz/MPlayer Co jsem koukal, tak mi nejspíš chybějí nějaké ovladače. Jak je nainstalovat? Moje MB: ASUS E35M1-I DELUXE
MPlayer 1.0rc3-4.4.4 (C) 2000-2009 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 1.avi. Cache fill: 0.00% (0 bytes) AVI file format detected. [aviheader] Video stream found, -vid 0 [aviheader] Audio stream found, -aid 1 VIDEO: [XVID] 624x352 12bpp 23.976 fps 1030.1 kbps (125.7 kbyte/s) Clip info: Software: MEncoder SVN-r32669-4.3.2 vo: couldn't open the X11 display ()! Error opening/initializing the selected video_out (-vo) device. ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== AO: [pulse] Init failed: Connection refused Failed to initialize audio driver 'pulse' [AO_ALSA] alsa-lib: pcm_hw.c:1293:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' failed (-2): No such file or directory [AO_ALSA] alsa-lib: pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave [AO_ALSA] Playback open error: No such file or directory Failed to initialize audio driver 'alsa' [AO SDL] Samplerate: 48000Hz Channels: Stereo Format s16le [AO SDL] using aalib audio driver. [AO SDL] Unable to open audio: No available audio device Failed to initialize audio driver 'sdl:aalib' Could not open/initialize audio device -> no sound. Audio: no sound Video: no video Exiting... (End of file)
mplayer -vo help, tak ti to vypíše seznam dostupných video ovladačů, stejně tak pro audio mplayer -ao help.
Zkus některé z nich. A taky se podívej, co máš v proměnné $DISPLAY (echo $DISPLAY). Mělo by tam být něco jako :0
MPlayer 1.0rc3-4.4.4 (C) 2000-2009 MPlayer Team
Available video output drivers:
xmga Matrox G200/G4x0/G550 overlay in X11 window (using /dev/mga_vid)
mga Matrox G200/G4x0/G550 overlay (/dev/mga_vid)
tdfxfb 3Dfx Banshee/Voodoo3/Voodoo5
3dfx 3dfx (/dev/3dfx)
xv X11/Xv
vdpau VDPAU with X11
x11 X11 ( XImage/Shm )
xover General X11 driver for overlay capable video output drivers
gl X11 (OpenGL)
gl2 X11 (OpenGL) - multiple textures version
dga DGA ( Direct Graphic Access V2.0 )
sdl SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
fbdev Framebuffer Device
fbdev2 Framebuffer Device
svga SVGAlib
aa AAlib
caca libcaca
v4l2 V4L2 MPEG Video Decoder Output
directfb Direct Framebuffer Device
dfbmga DirectFB / Matrox G200/G400/G450/G550
xvidix X11 (VIDIX)
cvidix console VIDIX
null Null video output
xvmc XVideo Motion Compensation
mpegpes MPEG-PES to DVB card
yuv4mpeg yuv4mpeg output for mjpegtools
png PNG file
jpeg JPEG file
gif89a animated GIF output
tga Targa output
pnm PPM/PGM/PGMYUV file
md5sum md5sum of each frame
mplayer -ao help
MPlayer 1.0rc3-4.4.4 (C) 2000-2009 MPlayer Team
Available audio output drivers:
oss OSS/ioctl audio output
alsa ALSA-0.9.x-1.x audio output
esd EsounD audio output
pulse PulseAudio audio output
jack JACK audio output
nas NAS audio output
sdl SDLlib audio output
openal OpenAL audio output
mpegpes DVB audio output
v4l2 V4L2 MPEG Audio Decoder output
null Null audio output
pcm RAW PCM/WAVE file writer audio output
echo $DISPLAY Vypíše prázdný řádek.
export DISPLAY=":0" a pak zkusit nějaký video. Asi ti to bude ještě řvát, že nejde zvuk, ale video už by mohlo jet.
MPlayer 1.0rc3-4.4.4 (C) 2000-2009 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 /1.avi. Cache fill: 0.00% (0 bytes) AVI file format detected. [aviheader] Video stream found, -vid 0 [aviheader] Audio stream found, -aid 1 VIDEO: [XVID] 624x352 12bpp 23.976 fps 1030.1 kbps (125.7 kbyte/s) Clip info: Software: MEncoder SVN-r32669-4.3.2 dvdsublang...1 cz cr en vo: couldn't open the X11 display ()! Error opening/initializing the selected video_out (-vo) device. ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== AO: [null] 48000Hz 2ch s16le (2 bytes per sample) Video: no video Starting playback... A: 27.5 (27.5) of 22776.9 ( 6:19:36.9) 0.9% 58% Exiting... (End of file)stále se mění řádek A:, ale nikde nevidim video :( Jen bílá písmenka na černém pozadí :/
MPlayer 1.0rc3-4.4.4 (C) 2000-2009 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 /1.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [XVID] 624x352 12bpp 23.976 fps 1030.1 kbps (125.7 kbyte/s)
Clip info:
Software: MEncoder SVN-r32669-4.3.2
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: No such file or directory.
[VO_3DFX] Unable to open /dev/3dfx.
vo: couldn't open the X11 display ()!
[vdpau] Could not open dynamic library libvdpau.so.1
vo: couldn't open the X11 display ()!
VO XOverlay need a subdriver
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
commandline read: mplayer
commandline read: /1.avi
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.10 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2008 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2010-06-30 18:13)
(*) Direct/Memcpy: Using Generic 64bit memcpy()
(!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed
--> No such file or directory
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
(!) DirectFB/Core: Could not initialize 'system_core' core!
--> Initialization error!
[VO_SDL] SDL initialization failed: DirectFBCreate: Initialization error!.
Can't open /dev/fb0: No such file or directory
[fbdev2] Can't open /dev/fb0: No such file or directory
[svgalib: allocated virtual console #7]
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.