View previous topic :: View next topic |
Author |
Message |
IvanZD Apprentice
Joined: 04 Jul 2005 Posts: 166
|
Posted: Tue Jul 05, 2005 4:32 pm Post subject: Can't play ANY video |
|
|
Hi! Wierd problem.. no matter which app using, no matter which file I try to play.. every app freezes when start to play video.. this is example of output from mplayer, I can't see anything useful from this, but maybe someone will help me:
Code: | ivan@tux /storage/fights $ gmplayer pride.fc.shockwave.2004.cd1.avi
MPlayer 1.0pre6-3.3.5-20050130 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
3DNow supported but disabled
3DNowExt supported but disabled
CPUflags: MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions:
Warning unknown option cache_min at line 144
Warning unknown option cache_prefill at line 147
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
77 audio & 189 video codecs
/home/ivan/.kde/share/config/gtkrc:37: error: unexpected identifier `gtk-alternative-button-order', expected keyword - e.g. `style'
Playing /storage/fights/pride.fc.shockwave.2004.cd1.avi.
AVI file format detected.
VIDEO: [DX50] 720x480 24bpp 29.970 fps 1482.8 kbps (181.0 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 14000->176400 (112.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[gl] Using 4 as slice height (0 means image height).
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
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
[ws] Error in display.
[ws] Error code: 178 ( BadShmSeg (invalid shared segment parameter) )
[ws] Request code: 147
[ws] Minor code: 2
[ws] Modules: enable_cache
[ws] Error in display.
[ws] Error code: 14 ( BadIDChoice (invalid resource ID chosen for this connection) )
[ws] Request code: 1
[ws] Minor code: 0
[ws] Modules: ao2_init
Broken pipe
ivan@tux /storage/fights $ |
After gmplayer file_name command, mplayer starts but freezes immediately with this console output.. starting from this line:
Code: | [ws] Error in display. |
to the end of output... is shown after I press Ctrl-C.
It is fresh instalation, so never worked out before.. starting gmplayer as root gives no change in situation. Any idea please? _________________ http://www.meteoadriatic.net/ |
|
Back to top |
|
|
arma Apprentice
Joined: 07 Nov 2004 Posts: 198 Location: Belgium
|
Posted: Tue Jul 05, 2005 5:04 pm Post subject: |
|
|
try 'mplayer -vo help' to sees what video output is available
then try with 'mplayer -vo [chosen vo] [your file] _________________ l'alcool est un ennemi...
et en quelque sorte,...
fuir l'ennemi, c'est lâche |
|
Back to top |
|
|
IvanZD Apprentice
Joined: 04 Jul 2005 Posts: 166
|
Posted: Tue Jul 05, 2005 5:33 pm Post subject: |
|
|
Unfortunately, don't work. I tried them all:
Code: | ivan@tux /storage/fights $ mplayer -vo help
MPlayer 1.0pre6-3.3.5-20050130 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
3DNow supported but disabled
3DNowExt supported but disabled
CPUflags: MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions:
Warning unknown option cache_min at line 144
Warning unknown option cache_prefill at line 147
Available video output drivers:
xv X11/Xv
x11 X11 ( XImage/Shm )
xover General X11 driver for overlay capable video output drivers
gl X11 (OpenGL)
gl2 X11 (OpenGL) - multiple textures version
sdl SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
vesa VESA VBE 2.0 video output
null Null video output
mpegpes Mpeg-PES file
yuv4mpeg yuv4mpeg output for mjpegtools
png PNG file
jpeg JPEG file
gif89a animated GIF output
pnm PPM/PGM/PGMYUV file
md5sum md5sum of each frame
|
Noone output work.. only with xv and x11 freezes, with others do not freeze, but then shows message "Error opening selected vo" _________________ http://www.meteoadriatic.net/ |
|
Back to top |
|
|
cuciferus n00b
Joined: 05 Jul 2005 Posts: 17 Location: RO
|
|
Back to top |
|
|
IvanZD Apprentice
Joined: 04 Jul 2005 Posts: 166
|
Posted: Tue Jul 05, 2005 6:03 pm Post subject: |
|
|
It is turned on.. Yes, I already had in mind that I maybe switched something off in kernel.. but I cannot find anything related to playing video there. _________________ http://www.meteoadriatic.net/ |
|
Back to top |
|
|
cuciferus n00b
Joined: 05 Jul 2005 Posts: 17 Location: RO
|
Posted: Tue Jul 05, 2005 6:46 pm Post subject: |
|
|
Quote: | Code: | BadShmSeg (invalid shared segment parameter | |
so my guess is that is something wrong with the shared memory configuration, not directly related to playing videos...it's just a guess basted opon my experience |
|
Back to top |
|
|
IvanZD Apprentice
Joined: 04 Jul 2005 Posts: 166
|
Posted: Tue Jul 05, 2005 7:01 pm Post subject: |
|
|
Dammit maybe you're right.. maybe now I will say some stupidness.. but looking at top shows this:
"Mem: 904860k total"
I have a 2x512MB of RAM.. pretty sure that in previous installation (slackware) there was somewhat bigger that number. What could I check now? Any idea? _________________ http://www.meteoadriatic.net/ |
|
Back to top |
|
|
IvanZD Apprentice
Joined: 04 Jul 2005 Posts: 166
|
Posted: Tue Jul 05, 2005 7:22 pm Post subject: |
|
|
Now, when I press Play in mplayer, it show this block in console:
Code: | Playing /storage/fights/pride.fc.shockwave.2004.cd1.avi.
Cache fill: 5.18% (434176 bytes) AVI file format detected.
VIDEO: [DX50] 720x480 24bpp 29.970 fps 1482.8 kbps (181.0 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 14000->176400 (112.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
VO XOverlay need a subdriver
Error opening/initializing the selected video_out (-vo) device.
|
Doens't freeze.. if I press Play again, it prints that output again.. and like that... _________________ http://www.meteoadriatic.net/ |
|
Back to top |
|
|
IvanZD Apprentice
Joined: 04 Jul 2005 Posts: 166
|
Posted: Tue Jul 05, 2005 8:26 pm Post subject: |
|
|
I got it! It starts playing with this:
Code: | $ gmplayer -vo x11 -nosound 1.avi |
When I omit -nosound I get:
Code: |
.....
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)
alsa-init: got device=0, subdevice=0
alsa-init: 1 soundcard found, using: default
[ws] Error in display.
[ws] Error code: 178 ( BadShmSeg (invalid shared segment parameter) )
......
|
Just like before.. it means that problem is with audio..
AmaroK and other sound apps works.. strange... _________________ http://www.meteoadriatic.net/ |
|
Back to top |
|
|
arma Apprentice
Joined: 07 Nov 2004 Posts: 198 Location: Belgium
|
Posted: Tue Jul 05, 2005 8:41 pm Post subject: |
|
|
again, try with '-ao help'
and choose a plugins that suits to you
are you sure you dont use any ESD or ARTS thats blocking your soundcard ? _________________ l'alcool est un ennemi...
et en quelque sorte,...
fuir l'ennemi, c'est lâche |
|
Back to top |
|
|
IvanZD Apprentice
Joined: 04 Jul 2005 Posts: 166
|
Posted: Tue Jul 05, 2005 9:27 pm Post subject: |
|
|
It works with -ao arts. So I put these lines in .mplayer/config:
Now I am able to play video with mplayer (still not with noatun, but now I know where probles should be). I must admit that multimedia was always be hard point for me in linux.. never really understood how it works
Thanks everyone for help! _________________ http://www.meteoadriatic.net/ |
|
Back to top |
|
|
|