Pagina 1 di 1

Problema con mplayer

Inviato: sab 14 gen 2006, 12:51
da danae20032001
Salve a tutti! Visto che con xine e noatun i dvd dvx vanno un po' a scatti (ho un pc
preistorico su cui pero' funziona benissimo la mia 10.2) ho installato mplayer e relativi pacchetti (lame, libdvdread, libdvdcss e tutti i codec...il pacchetto all....mi pare). Quando apro un file multimediale pero' mi compare il seguente errore:

Error opening/initializing the selected video_out (-vo) device

Ho provato a controllare i vecchi post e ne ho trovato uno che suggeriva di
andare su Preferences->Video e cambiare il driver in XV. Cosi' ho fatto ma il rpoblema e' sempre lo stesso. Ho provato ad avviare da riga di comando gmplayer per vedere se ci sono problemi e questo e' il risultato:

$ gmplayer
MPlayer 1.0pre7try2-3.3.6 (C) 2000-2005 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 1)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2



vo: X11 running at 800x600 with depth 24 and 32 bpp (":0.0" => local display)
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.

Che posso fare?

Inviato: sab 14 gen 2006, 14:06
da Paoletta
innanzitutto direi di provare a fare questo:

Codice: Seleziona tutto

#echo 1024 > /proc/sys/dev/rtc/max-user-freq

Inviato: sab 14 gen 2006, 14:24
da danae20032001
Ho fatto quanto hai detto

# echo 1024 > /proc/sys/dev/rtc/max-user-freq

ma...

$ gmplayer
MPlayer 1.0pre7try2-3.3.6 (C) 2000-2005 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 1)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2



vo: X11 running at 800x600 with depth 24 and 32 bpp (":0.0" => local display)
Playing /home/matteo/Media/julie night/0011.mpg.
MPEG-PS file format detected.
VIDEO: MPEG1 320x240 (aspect 1) 29.970 fps 716.8 kbps (89.6 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8000->176400)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
open: Permission denied
vo_mga: Couldn't open /dev/mga_vid
Error opening/initializing the selected video_out (-vo) device.

Playing /home/matteo/Media/julie night/0034.mpg.
MPEG-PS file format detected.
VIDEO: MPEG1 320x240 (aspect 1) 30.000 fps 700.0 kbps (87.5 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8000->176400)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
open: Permission denied
vo_mga: Couldn't open /dev/mga_vid
Error opening/initializing the selected video_out (-vo) device.


Exiting... (Exit)

mi dava lo stesso messaggio di errore di prima!

Inviato: sab 14 gen 2006, 14:39
da danae20032001
Ho inoltre cambiato i driver provandoli un po' tutti e all' inizio sembrava che mplayer funzionasse con file .mpg e .wmv......ma se provo ad aprire un dvd ecco cosa succede: all' inizio il dvd si apre e si sente e vede tutto perfettamente...ma dopo qualche secondo compare il seguente messaggio:

Too many packets in the video buffer: (4096 in 8280394 bytes)

posto l' output:

$ gmplayer
MPlayer 1.0pre7try2-3.3.6 (C) 2000-2005 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 1)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2



vo: X11 running at 800x600 with depth 24 and 32 bpp (":0.0" => local display)
Playing dvd://1.
Reading disc structure, please wait...
There are 1 titles on this DVD.
There are 12 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 9800.0 kbps (1225.0 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
AF_pre: 48000Hz/2ch/s16le
AO: [oss] 48000Hz 2ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [x11] 720x576 => 1024x576 Planar YV12
SwScaler: using unscaled Planar YV12 -> BGRA special converter
A: 58.0 V: 54.8 A-V: 3.235 ct: 0.204 52/ 52 50% 131% 35.7% 50 0

************************************************
**** Your system is too SLOW to play this! ****
************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
- Try -ao sdl or use the OSS emulation of ALSA.
- Experiment with different values for -autosync, 30 is a good start.
- Slow video output
- Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
- Don't try to play a big DVD/DivX on a slow CPU! Try -hardframedrop.
- Broken file
- Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
- Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
- Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.

A: 71.3 V: 60.4 A-V: 10.894 ct: 0.768 193/193 66% 128% 25.7% 191 0
Too many video packets in the buffer: (4096 in 8280394 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
A: 71.6 V: 165.8 A-V:-94.209 ct: -7.538 2828/2828 76% 45% 1.8% 191 0
Exiting... (Exit)

Re: Problema con mplayer

Inviato: sab 14 gen 2006, 16:10
da goldy
danae20032001 ha scritto:Salve a tutti! Visto che con xine e noatun i dvd dvx vanno un po' a scatti
Qui è molto probabile che sia un problema di dma non attivato
un semplice xine-check dovrebbe dartene la conferma
danae20032001 ha scritto: Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.

Che posso fare?

Codice: Seleziona tutto

# chmod a+r /dev/rtc
# echo 1024 > /proc/sys/dev/rtc/max-user-freq
se non ti funziona devi abilitare il RealTimeClock nel kernel

Re: Problema con mplayer

Inviato: dom 15 gen 2006, 14:13
da prione
danae20032001 ha scritto:Salve a tutti! Visto che con xine e noatun i dvd dvx vanno un po' a scatti (ho un pc
preistorico su cui pero' funziona benissimo la mia 10.2) ho installato mplayer e relativi pacchetti (lame, libdvdread, libdvdcss e tutti i codec...il pacchetto all....mi pare). Quando apro un file multimediale pero' mi compare il seguente errore:

Error opening/initializing the selected video_out (-vo) device

Ho provato a controllare i vecchi post e ne ho trovato uno che suggeriva di
andare su Preferences->Video e cambiare il driver in XV. Cosi' ho fatto ma il rpoblema e' sempre lo stesso. Ho provato ad avviare da riga di comando gmplayer per vedere se ci sono problemi e questo e' il risultato:

$ gmplayer
MPlayer 1.0pre7try2-3.3.6 (C) 2000-2005 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 1)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2



vo: X11 running at 800x600 with depth 24 and 32 bpp (":0.0" => local display)
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.

Che posso fare?

digita mplayer -vo help
così avrai la lista degli output disponibili.
io con la mia scheda video ( una vecchia riva 128 ) ottengo buoni risultati con
mplaer -vo xvidix nomedelfilevideo
oppure
mplayer -nocache -vo xvidx nomedelfilevideo
fai le tue prove da root, oppure esegui mplayer con set user id attivivato
Ciao!

Inviato: lun 27 feb 2006, 13:25
da salbutamolo
Ciao a tutti,
anche io ho un problema simile; ho aggiornato mplayer all'ultima versione presente nel repository, ma quando lancio gmplayer la console mi restituisce questo errore:
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts
Ho tentato tutte le soluzione suggerite in questo post, ma nulla da fare. Premetto che con la precedente versione tutto funzionava alla perfezione. Il kernel è un 2.6.15.4 con RTC compilato staticamente, e la scheda video è una GeForce fx-5700 con accelerazione grafica abilitata tramite drivers nvidia. Any idea? Have a nice day