View previous topic :: View next topic |
Author |
Message |
faya972 n00b
Joined: 24 May 2007 Posts: 24
|
Posted: Fri Jul 06, 2007 2:55 am Post subject: [MPlayer] Pas d'image |
|
|
Bonjour, jusqu'à ce soir Mplayer lisait correctement toutes les vidéos mais je n'avais pas la jolie interface et lorsque je voulais mettre en plein écran, il m'affichait juste un grand rectangle noir autour de la vidéo qui restait à la même taille.
J'avais comme USE flags :
Code: | media-video/mplayer X aac sdl xv gtk xvid mmx win32codecs mmxext sse sse2 |
Auxquels j'ai rajouté gtk, sdl et xv. Depuis, j'ai la jolie interface graphique pas d'image du tout ... quelque soit la taille de la vidéo. En plein écran, il m'affiche juste les deux bandes noires en haut et en bas ...
Quelqu'un aurait une idée svp ?
Merci d'avance.
(Au cas ou ça servirait
Code: | $ gmplayer fayatheque/Arrested.Development.2x07.Buster.Part.A.La.Guerre.FR.DVDRip.\[tvu.org.ru\].avi
MPlayer dev-SVN-rUNKNOWN-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 1.50GHz (Family: 15, Model: 1, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compil�� pour CPU x86 avec les extensions: MMX MMX2 SSE SSE2
Lecture de /home/faya/fayatheque/_.-={_Internet_}=-._/Arrested.Development.2x07.Buster.Part.A.La.Guerre.FR.DVDRip.[tvu.org.ru].avi
Fichier de type AVI d��tect��.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [XVID] 720x400 24bpp 25.000 fps 1410.5 kbps (172.2 kbyte/s)
Information sur le clip :
Software: VirtualDubMod 1.4.13
==========================================================================
Ouverture du d��codeur vid��o : [ffmpeg] FFmpeg's libavcodec codec family
Codec vid��o choisi : [ffodivx] vfm : ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Ouverture d��codeur audio : [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Codec audio s��lectionn�� : [mp3] afm : mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
D��marre la lecture...
VDec : requ��te de config de vo - 720 x 400 (espace colorim��trique pr��fer�� : Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
L'aspect du film est 1.80:1 - pr��-redimensionnement �� l'aspect correct.
VO: [xv] 720x400 => 720x400 Planar YV12
A: 5.9 V: 5.9 A-V: 0.023 ct: 0.003 148/148 9% 6% 1.5% 0 0 |
|
|
Back to top |
|
|
razer l33t
Joined: 08 Oct 2004 Posts: 893 Location: Paris - France
|
Posted: Fri Jul 06, 2007 6:22 am Post subject: |
|
|
AMHA tu as un problème avec xv, cela ne fonctionne pas ou tout du moins cela ne plait pas à mplayer
déjà, commence par de créer un fichier .mplayer/config correctement renseigné, voici le mien pour exemple :
Code: | ### Options Generales
double = yes
cache = 1024
#slang = fr
#alang = en
stop-xscreensaver = yes
osdlevel = 1
rtsp-port = 32700
### Options Video
vo = xv
#vo = gl2
#vf =pp=de,hqdn3d,scale,pp=fd
vf =fspp,hqdn3d,scale
lavdopts =threads=2
autoq = 60
monitoraspect = 16:10
framedrop = yes
# fs = no
### Options Audio
ao = alsa:device=default
af = volnorm
autosync = 30
### Options Sous-titres
noautosub = yes
subfont-auto-scale = 1
subfont-text-scale = 2
subfont-osdscale = 2
|
Essaye de passe le paramètre "vo" en "x11", "gl2" tout en ayant l'option "scale" dans vf
Si c'est bien xv qui fouare, donne la sortie de "xvinfo" et donne des information sur ta carte graphique et son driver |
|
Back to top |
|
|
faya972 n00b
Joined: 24 May 2007 Posts: 24
|
Posted: Fri Jul 06, 2007 6:53 pm Post subject: |
|
|
Après quelques tests (je n'ai pas le temps de tester avec l'option scale dans vf , je suis au taff)
xv : pas d'image du tout.
x11 : le plein écran me rajoute simplement un contour noir autour de la vidéo
gl : le plein écran fonctionne mais avec certaines vidéos l'image est très ralentie
gl2 : des traits bizarres en affichage normal ou plein écran.
Voici xvinfo :
Code: |
user@server ~ $ xvinfo
X-Video Extension version 2.2
screen #0
Adaptor #0: "ATI Radeon Video Overlay"
number of ports: 1
port base: 73
operations supported: PutImage
supported visuals:
depth 24, visualID 0x23
depth 24, visualID 0x24
depth 24, visualID 0x25
depth 24, visualID 0x26
depth 24, visualID 0x27
depth 24, visualID 0x28
depth 24, visualID 0x29
depth 24, visualID 0x2a
depth 24, visualID 0x2b
depth 24, visualID 0x2c
depth 24, visualID 0x2d
depth 24, visualID 0x2e
depth 24, visualID 0x2f
depth 24, visualID 0x30
depth 24, visualID 0x31
depth 24, visualID 0x32
number of attributes: 22
"XV_DEVICE_ID" (range 0 to -1)
client gettable attribute (current value is 108)
"XV_LOCATION_ID" (range 0 to -1)
client gettable attribute (current value is 109)
"XV_INSTANCE_ID" (range 0 to -1)
client gettable attribute (current value is 110)
"XV_DUMP_STATUS" (range 0 to 1)
client settable attribute
"XV_SET_DEFAULTS" (range 0 to 1)
client settable attribute
"XV_AUTOPAINT_COLORKEY" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
"XV_COLORKEY" (range 0 to -1)
client settable attribute
client gettable attribute (current value is 30)
"XV_DOUBLE_BUFFER" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 1)
"XV_OVERLAY_ALPHA" (range 0 to 255)
client settable attribute
client gettable attribute (current value is 255)
"XV_GRAPHICS_ALPHA" (range 0 to 255)
client settable attribute
client gettable attribute (current value is 255)
"XV_ALPHA_MODE" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
"XV_BRIGHTNESS" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_CONTRAST" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_SATURATION" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_COLOR" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_HUE" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_RED_INTENSITY" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_GREEN_INTENSITY" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_BLUE_INTENSITY" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_SWITCHCRT" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
"XV_GAMMA" (range 100 to 10000)
client settable attribute
client gettable attribute (current value is 1000)
"XV_COLORSPACE" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
maximum XvImage size: 2048 x 2048
Number of image formats: 8
id: 0x41424752 (RGBA)
guid: 52474241-0000-0010-8000-00aa00389b71
bits per pixel: 32
number of planes: 1
type: RGB (packed)
depth: 32
red, green, blue masks: 0xff0000, 0xff00, 0xff
id: 0x0
guid: 52474200-0000-0010-8000-00aa00389b71
bits per pixel: 24
number of planes: 1
type: RGB (packed)
depth: 24
red, green, blue masks: 0xff0000, 0xff00, 0xff
id: 0x54424752 (RGBT)
guid: 52474254-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: RGB (packed)
depth: 16
red, green, blue masks: 0x7c00, 0x3e0, 0x1f
id: 0x32424752 (RGB2)
guid: 52474200-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: RGB (packed)
depth: 16
red, green, blue masks: 0xf800, 0x7e0, 0x1f
id: 0x32595559 (YUY2)
guid: 59555932-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x59565955 (UYVY)
guid: 55595659-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x32315659 (YV12)
guid: 59563132-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x30323449 (I420)
guid: 49343230-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
|
Merci beaucoup pour l'aide, j'essaye de poster les résultats avec scale dès que je peux s'il n'y a pas eu d'amélioration entre temps. |
|
Back to top |
|
|
faya972 n00b
Joined: 24 May 2007 Posts: 24
|
Posted: Sat Jul 07, 2007 1:54 am Post subject: |
|
|
Bonsoir !
Avant tout, gmplayer ne prend pas en compte les modifs de .mplayer/config ... comment y remédier ?
Après tout plein de tests :
- nocache ne change rien, ce n'est pas un problème de "non-multiplexage"
- avec ou sans scale et framedrop et cache=8192 (je lis depuis un partage samba) xv n'affiche strictement rien, le son joue parfaitement.
- avec ou sans scale et framedrop et cache=8192 (je lis depuis un partage samba) gl2 affiche des traits bizzares, le son joue parfaitement. Avec framedrop, les traits bizarres semblent s'afficher à une vitesse normale.
- avec ou sans scale et framedrop et cache=8192 (je lis depuis un partage samba) x11 affiche la vidéo à une vitesse normale mais le plein écran ne fonctionne pas (comme indiqué plus haut)
- AVEC framedrop (avec ou sans scale et cache = 8192), gl lit à une vitesse normale mais l'affichage s'en ressent beaucoup je trouve on sent qu'il manque des trames. Et sans framedrop ... bin la vidéo est très au ralenti.
Pour tous sauf gl et gl2, quand je n'utilise pas framedrop, j'ai la sortie suivante :
Code: | mplayer -cache 8192 fayatheque/Un_Divx.avi
MPlayer dev-SVN-rUNKNOWN-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 1.50GHz (Family: 15, Model: 1, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compil�� pour CPU x86 avec les extensions: MMX MMX2 SSE SSE2
Lecture de fayatheque/Un_Divx.avi
Fichier de type AVI d��tect��.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [DX50] 720x544 24bpp 25.000 fps 529.8 kbps (64.7 kbyte/s)
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
xscreensaver_disable: xscreensaver wid=6291997.
Ouverture du filtre vid��o : [scale]
==========================================================================
Ouverture du d��codeur vid��o : [ffmpeg] FFmpeg's libavcodec codec family
Codec vid��o choisi : [ffodivx] vfm : ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Ouverture d��codeur audio : [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 96.0 kbit/6.25% (ratio: 12000->192000)
Codec audio s��lectionn�� : [mp3] afm : mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
D��marre la lecture...
VDec : requ��te de config de vo - 720 x 544 (espace colorim��trique pr��fer�� : Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
L'aspect du film est 1.32:1 - pr��-redimensionnement �� l'aspect correct.
[swscaler @ 0x870c068]SwScaler: using unscaled yuv420p -> rgb32 special converter
VO: [gl] 720x544 => 720x544 BGRA
A: 37.7 V: 35.5 A-V: 2.159 ct: 0.224 889/889 15% 168% 2.1% 50 0 64%
*************************************************************
**** Votre syst��me est trop LENT pour jouer ce fichier ! ****
*************************************************************
Raisons possibles, probl��mes, solutions :
- Le plus courant : pilote _audio_ corrompu/bogu��
- Essayez -ao sdl ou l'��mulation OSS d'ALSA.
- Essayez diff��rentes valeurs pour -autosync, 30 est un bon d��but.
- Sortie vid��o lente
- Essayez avec un pilote -vo diff��rent (-vo help pour la liste) ou
essayez avec -framedrop !
- CPU lent
- N'essayez pas de lire de gros DVD/DivX sur un CPU lent !
Essayez une des options -lavdopts,
e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Fichier corrompu
- Essayez diff��rentes combinaisons de -nobps -ni -forceidx -mc 0.
- Pour jouer depuis un m��dia lent (NFS/SMB, DVD, VCD, etc.)
- Essayez -cache 8192
- Utilisez-vous -cache avec un fichier AVI non multiplex�� ?
- Essayez avec -nocache
Lisez DOCS/HTML/fr/video.html pour les astuces de r��glage/acc��l��ration.
Si rien de tout cela ne vous aide, lisez DOCS/HTML/fr/bugreports.html.
A: 45.8 V: 39.8 A-V: 5.960 ct: 0.240 997/997 14% 170% 2.0% 158 0 59%
Sortie... (Fin)
|
- gl:nomanyfmts n'apporte rien.
En clair c'est bien "xv qui fouare". xvinfo est au dessus.
xorg.conf :
Code: |
Section "Device"
Identifier "RADEON 9200SE"
Driver "radeon"
#VideoRam 131072
# Insert Clocks lines here if appropriate
Option "AGPMode" "4"
# Option "EnablePageFlip" "1" # Enable page flipping for 3D apps
# Option "ColorTiling" "1"
# Option "EnableDepthMoves" "yes"
Option "MonitorLayout" "TMDS"
# Option "RenderAccel" "true" # Enable the hardware render acceleration
# Option "mtrr" "on"
# Option "SubPixelOrder" "RGB"
# Option "DPMS"
EndSection
|
glxinfo au cas ou :
Code: | # glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI R200 20060602 AGP 4x x86/MMX/SSE2 TCL
OpenGL version string: 1.3 Mesa 6.5.2
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_texture_border_clamp,
GL_ARB_texture_compression, GL_ARB_texture_cube_map,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
GL_ARB_texture_mirrored_repeat, GL_ARB_texture_rectangle,
GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
GL_ARB_vertex_program, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_blend_color, GL_EXT_blend_equation_separate,
GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array, GL_EXT_convolution,
GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
GL_EXT_histogram, GL_EXT_packed_pixels, GL_EXT_point_parameters,
GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_stencil_wrap, GL_EXT_subtexture,
GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp,
GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,
GL_APPLE_packed_pixels, GL_ATI_blend_equation_separate,
GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
GL_ATI_fragment_shader, GL_IBM_rasterpos_clip,
GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_MESA_window_pos,
GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_texture_rectangle,
GL_NV_texgen_reflection, GL_OES_read_format, GL_SGI_color_matrix,
GL_SGI_color_table, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod
|
- dmesg ne se plaint pas ... enfin voilà quoi, je n'ai pas de problème particulier ...
- Je suis sous XFCE sur un écran 22" que je n'ai jamais réussi à faire fonctionner en 1680x1050 comme il devrait normalement.
Voilà voilà ... si quelqu'un à une idée ... |
|
Back to top |
|
|
razer l33t
Joined: 08 Oct 2004 Posts: 893 Location: Paris - France
|
Posted: Sun Jul 08, 2007 7:25 am Post subject: |
|
|
1. Pour gmplayer, ne me demande pas vraiment car je déteste cette interface, je n'y trouve aucun intérêt donc moi c'est mplayer simple chez moi...
2. Clairement, ton problème provient de ton driver video, ou tout du moins d'une incompatibilité de mplayer à ce niveau. Là encore, je ne suis pas très renseigné en ce qui concerne les drivers ati, mais regarde si il n'y a pas un flag "ati" pour ton mplayer. Vérifie aussi que d'autres programmes tels que vlc ne sont pas sujets aux mêmes problèmes
3. Pour la sortie x11, "scale" doit normalement te permettre de mettre en plein écran, il doit y avoir un filtre dans ta commande "vf=" qui ne plait pas à cette sortie : lance mplayer <tonfichier> en ligne de commande, si çà lui plait pas il doit te le dire. Enfin, je pense que dans ce mode tu auras un truc encore plus lent qu'en gl2, donc ce n'est pas vraiment la solution |
|
Back to top |
|
|
|
|
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
|
|