Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mplayer e avvio lento
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Manuelixm
l33t
l33t


Joined: 03 Apr 2004
Posts: 832
Location: Brescia

PostPosted: Wed Dec 01, 2004 8:55 am    Post subject: mplayer e avvio lento Reply with quote

Ciao a tutti, era da tempo che non avevo questo problema, ma purtroppo è tornato. Dopo l'ultima reinstallazione, mplayer ha ripreso a non partire subito attendendo qualche minuto prima di riprodurre un filmato. Ho cercato sul forum ed effettivamente ho trovato qualcosa, ma purtroppo non ho risolto il problema. Ho provato a riemerge con nuove use, nulla da fare. Ho provato a controllare alsa, arts, oss e compagnia bella, ma il problema non sparisce, o meglio senza audio la riproduzione parte subito, ma non ha senso.
Posto il file mplayer.conf ed i messaggi che da quando si avvia in attesa.
Code:

$ mplayer test.avi
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale

MPlayer 1.0pre4-3.3.4 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium M Banias 1496 MHz (Family: 6, Stepping: 5)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compilato per CPU x86 con estensioni: MMX MMX2 SSE SSE2

Reading config file /usr/share/mplayer/mplayer.conf
Reading config file /home/manuel/.mplayer/config
Reading /home/manuel/.mplayer/codecs.conf: 66 audio & 176 video codecs
Font /home/manuel/.mplayer/font/font.desc loaded successfully! (206 chars)
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.
Using usleep() timing
Input config file /home/manuel/.mplayer/input.conf parsed: 53 binds

In riproduzione test.avi
Rilevato formato file AVI!
VIDEO:  [DX50]  320x240  24bpp  29,970 fps  550,0 kbps (67,1 kbyte/s)
==========================================================================
Apertura decoder audio: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 32000 Hz, 2 ch, 16 bit (0x10), ratio: 8000->128000 (64,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Apertura decoder video: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 32000Hz/2ch/16bit -> 32000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 32000 hz, little endian signed int
AF_pre: 32000Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: requested format: 32000 Hz, 2 channels, Signed 16-bit (Little-Endian)
alsa-init: soundcard set to default

Code:

# vo=xv                 # To specify default video driver (see -vo help for
#vo=xv                  # list)

# ao=oss                # To specify default audio driver (see -ao help for
ao=alsa1x:default                       # list)

fs=no                   # Enlarges movie window to your desktop's size.
                        # Used by drivers: all

# vm=yes                        # Tries to change to a different videomode
                        # Used by drivers: dga2, x11, sdl

# bpp=0                 # Force changing display depth.
                        # Valid settings are: 0, 15, 16, 24, 32
                        # may need 'vm=yes' too.
                        # Used by drivers: fbdev, dga2, svga, vesa

# zoom=no               # Enable software scaling (powerful CPU needed)
                        # Used by drivers: svga, x11, vesa

# double=yes            # use double-buffering (recommended for xv with
                        # SUB/OSD usage)

 monitoraspect=4:3      # standard monitor size, with square pixels
# monitoraspect=16:9    # use this for widescreen monitor! non-square pixels

# ontop=yes             # Makes the player window stay ontop
                        # Used by drivers which use X11, except SDL,
                        # as well as directx and gl2 under Windows

##
## Specify your preferred default skin here
## (skins are searched in /usr/local/share/mplayer/Skin/yourskin
##  and ~/.mplayer/Skin/yourskin)
##

 skin = default

##
## Multiple languages are available :)
##
## Hungarian    igen    nem
## English      yes     no
## German       ja      nein
## Spanish      si      no
## Polish       tak     nie
## Swedish ja nej
## Binary       1       0
##
## You can also use spaces and/or tabs.
##

# sound         = 1
# nosound       = nein
# mixer         = /dev/mixer

##
## resample the fonts' alphamap
## 0    plain white fonts
## 0.75 very narrow black outline (default)
## 1    narrow black outline
## 10   bold black outline
##

 ffactor = 0.75

##
## FBdev driver:

# fb = /dev/fb0                         # framebuffer device to use
# fbmode = 640x480-120                  # use this mode (read from fb.modes!)
# fbmodeconfig = /etc/fb.modes          # the fb.modes file

## VESA and FBdev driver: specify your monitor's timings
##
## (see for example /etc/X11/XF86Config for timings!)
## ** CAUTION! IF YOUR DISPLAY DOESN'T SUPPORT AUTOMATICALLY TURNING OFF WHEN
##    OVERDRIVED (AND EVEN IF IT DOES), THIS MAY CAUSE DAMAGE TO YOUR DISPLAY!
##    WE AREN'T RESPONSIBLE, IT'S YOUR DECISION! **
##
## k, K : means multiply by 1000
## m, M : means multiply by 1.000.000
##
# monitor-hfreq = 31.5k-50k,70k         # horizontal frequency range
# monitor-vfreq = 50-90                 # vertical frequency range
# monitor-dotclock = 30M-300M           # dotclock (or pixelclock) range

##
## SDL driver
##

# vo = sdl:aalib        # use SDL video driver by default
                        # use "vo = sdl:aalib" or "vo sdl:dga" and so on,
                        # for specifying SDL subdrivers
# ao = sdl:esd          # use SDL audio driver by default
                        # use "ao = sdl:esd" to use SDL's ESD driver
# noxv = no             # whether to use XVideo hardware acceleration or not
# forcexv = yes         # force XVideo even if not detected


##
## Other (preferred to be default from configfile) switches
##

framedrop       = yes   # drop frames, when not in sync (slow CPU, videocard,
                        # etc)

cache           = 8192  # use 8Mb input cache by default
cache-min       = 20.0  # Prefill 20% of the cache before initially playing
cache-prefill   = 5.0   # Prefill 5% of the cache before restarting playback if it empties

# slang         = en    # DVD : display english subtitles if available
# alang         = en    # DVD : play english audio tracks if available
#slang          = it
alang           = it



Non so cosa altro fare, xmms, noatun e juk possono funzionare contemporaneamente e partono immediatamente. Ultima particolarità è che tramite juk o noatun i filmati partono subito e senza problemi.
_________________
Linux user#370732
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Wed Dec 01, 2004 1:01 pm    Post subject: Reply with quote

Prova a settare a 48000Hz
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Manuelixm
l33t
l33t


Joined: 03 Apr 2004
Posts: 832
Location: Brescia

PostPosted: Wed Dec 01, 2004 1:37 pm    Post subject: Reply with quote

Scusa fedeliallalinea la mia ignoranza, ma come faccio, dove devo intervenire?
_________________
Linux user#370732
Back to top
View user's profile Send private message
Manuelixm
l33t
l33t


Joined: 03 Apr 2004
Posts: 832
Location: Brescia

PostPosted: Thu Dec 02, 2004 8:09 am    Post subject: Reply with quote

Non so come si fa a cambiare la frequenza, comunque ho aggirato il problema utilizzando un altro video a 44100, stesso problema.
_________________
Linux user#370732
Back to top
View user's profile Send private message
Manuelixm
l33t
l33t


Joined: 03 Apr 2004
Posts: 832
Location: Brescia

PostPosted: Fri Dec 03, 2004 12:44 pm    Post subject: Reply with quote

Ho cambiato l'impostazione a 44100 e poi a 48000, ma il problema permane, nessuno ha consigli?
_________________
Linux user#370732
Back to top
View user's profile Send private message
Manuelixm
l33t
l33t


Joined: 03 Apr 2004
Posts: 832
Location: Brescia

PostPosted: Tue Dec 21, 2004 9:45 am    Post subject: Reply with quote

Ciao a tutti riprendo questo post perchè in definitiva non ho mai risolto, anzi dopo l'ultimo aggiornamento le cose sono peggiorate.
mplayer, gmplayer,kmplayer ora partono subito, ma il problema è che non riesco in nessun modo a sentire l'audio.

Vi posto un po' di informazioni:
emerge -pv mplayer
Code:
# emerge -pv mplayer

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-video/mplayer-1.0_pre5-r5  -3dfx -3dnow -3dnowex +X -aalib +alsa (-altivec) +arts -bidi -cdparanoia +debug -directfb +divx4linux +doc +dvb +dvd +dvdread +edl +encode -esd -fbcon -ggi +gif +gtk -i8x0 +ipv6 +jack* -joystick +jpeg -libcaca -lirc -live -lzo +mad -matroska -matrox +mmx +mmx2 +mpeg-mythtv -nas +network +nls +nvidia +oggvorbis +opengl +oss +png +real +rtc +samba +sdl +sse +svga +tga +theora +truetype -v4l -v4l2 -xanim +xinerama +xmms +xv +xvid +xvmc 0 kB

Total size of downloads: 0 kB


Errore dato in riproduzione:
Code:
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale

MPlayer 1.0pre5try2-3.3.4 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium M Banias 598.9 MHz (Family: 6, Stepping: 5)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compilato per CPU x86 con estensioni: MMX MMX2 SSE SSE2

Reading config file /usr/share/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/share/mplayer/codecs.conf: 73 audio & 180 video codecs
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Sto utilizzando la temporizzazione hardware RTC di Linux (1024Hz)
Can't open input config file /root/.mplayer/input.conf: No such file or directory
Input config file /usr/share/mplayer/input.conf parsed: 53 binds

In riproduzione /home/manuel/Torrent/Download/natala a casa dj.AVI
Cache fill:  0,00% (0 bytes)    Rilevato formato file AVI!
VIDEO:  [DX50]  640x256  24bpp  25,000 fps  1130,0 kbps (137,9 kbyte/s)
==========================================================================
Apertura decoder audio: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 14000->192000 (112,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Disabling DPMS
==========================================================================
Apertura decoder video: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
Impossibile aprire/inizializzare il dispositivo audio -> NESSUN SUONO
Audio: nessun suono!!!
Inizio la riproduzione...
VDec: configurazione richiesta dal vo - 640 x 256 (csp preferito: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect è 2,50:1 - riscalo per ottenere un rapporto corretto.
VO: [xv] 640x256 => 640x256 Planar YV12
Successfully enabled DPMS0,0% 0 0 96%

In uscita... (Uscita)


Impostazioni mplayer.conf
Code:

# vo=xv                 # To specify default video driver (see -vo help for
vo=xv                   # list)

# ao=oss                # To specify default audio driver (see -ao help for
ao=alsa1x:default                       # list)

fs=no                   # Enlarges movie window to your desktop's size.
                        # Used by drivers: all

#vm=yes                 # Tries to change to a different videomode
                        # Used by drivers: dga2, x11, sdl

# bpp=0                 # Force changing display depth.
                        # Valid settings are: 0, 15, 16, 24, 32
                        # may need 'vm=yes' too.
                        # Used by drivers: fbdev, dga2, svga, vesa


Impostazioni /etc/modules.d/alsa
Code:

# Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.4 2004/11/16 01:31:22 eradicator Exp $

# ALSA portion
# OSS/Free portion

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371

##  OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
# OSS/Free portion - card #1
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias snd-card-1 snd-intel8x0m
alias sound-slot-1 snd-intel8x0m
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.6 ---
options snd  device_mode=0666
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
# --- END: Generated by ALSACONF, do not edit. ---

Non ho la più pallida idea di che cavolo abbia per non andare.
_________________
Linux user#370732
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Tue Dec 21, 2004 4:03 pm    Post subject: Reply with quote

Prova ad usare:

Code:
ao=alsa

_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Manuelixm
l33t
l33t


Joined: 03 Apr 2004
Posts: 832
Location: Brescia

PostPosted: Tue Dec 21, 2004 4:08 pm    Post subject: Reply with quote

Ciao gutter, grazie mille, purtroppo ho provato, ma il risultato è uguale... ho provato anche con oss e arts, ma mi va addirittura in crash.
_________________
Linux user#370732
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Tue Dec 21, 2004 4:09 pm    Post subject: Reply with quote

gutter wrote:
Prova ad usare:

Code:
ao=alsa

E' vero con i nuovi driver e' diventato solo alsa
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Manuelixm
l33t
l33t


Joined: 03 Apr 2004
Posts: 832
Location: Brescia

PostPosted: Tue Dec 21, 2004 4:16 pm    Post subject: Reply with quote

Ok, ho riprovato, ma il risultato è questo:
Code:

Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale

MPlayer 1.0pre5try2-3.3.4 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium M Banias 798.4 MHz (Family: 6, Stepping: 5)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compilato per CPU x86 con estensioni: MMX MMX2 SSE SSE2

Reading config file /usr/share/mplayer/mplayer.conf
Reading config file /home/manuel/.mplayer/config
Reading /home/manuel/.mplayer/codecs.conf: 66 audio & 176 video codecs
Font /home/manuel/.mplayer/font/font.desc loaded successfully! (206 chars)
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.
Using usleep() timing
Input config file /home/manuel/.mplayer/input.conf parsed: 53 binds

In riproduzione /home/manuel/Torrent/Download/Divx.Ita.Donnie.Darko.DvDScR.Nx-S.avi
Cache fill:  9,38% (786432 bytes)    Rilevato formato file AVI!
VIDEO:  [DIV3]  640x272  24bpp  23,976 fps  719,6 kbps (87,8 kbyte/s)
Informazioni sulla clip:
 Software: VirtualDubMod 1.5.1.1a (build 1155/release)
==========================================================================
Apertura decoder audio: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Apertura decoder video: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: got device=0, subdevice=0
alsa-init: 1 soundcard found, using: default

Purtroppo il video non parte.
_________________
Linux user#370732
Back to top
View user's profile Send private message
Manuelixm
l33t
l33t


Joined: 03 Apr 2004
Posts: 832
Location: Brescia

PostPosted: Tue Dec 21, 2004 4:20 pm    Post subject: Reply with quote

Grazia mille ora va meglio, devo bermi un caffè prima di vedermi un video, ma almeno parte... il post è tornato IT l'avvio è ancora lento...
_________________
Linux user#370732
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Tue Dec 21, 2004 4:29 pm    Post subject: Reply with quote

Da me è un poco lento ma dpo una decina di secondi parte :)
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Manuelixm
l33t
l33t


Joined: 03 Apr 2004
Posts: 832
Location: Brescia

PostPosted: Wed Dec 22, 2004 12:43 am    Post subject: Reply with quote

Ok ho trovato che la causa del mio problema in definitiva è arts, in poche parole durente l'utilizzo di kde arts monopolizza alsa e quindi mplayer che utilizza alsa non può partire.
Ho provato a impostare arts anche per mplayer ma il risultato è che mi da errore e non parte. Qualcuno ha idee?
Se torlgo arts non ho più la possibilità di avere più suoni contemporaneamente.
_________________
Linux user#370732
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum