You are not logged in.

#1 2007-12-31 15:02:38

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

VLC & MPlayer - can't play .mov and 'Insufficient Ressources ... '

I tried to play a movie from RailsCasts. It didn't work with VLC; the sound was to be heard, but no video appeared.

So I decided to reinstall the Codecs-Package extra/codecs.

Now for some reason after doing that I am getting a new error from VLC:

$ vlc 083_migrations_in_rails_2.mov 
VLC media player 0.8.6d Janus
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  141 (XVideo)
  Minor opcode of failed request:  19 ()
  Serial number of failed request:  93
  Current serial number in output stream:  94

And MPlayer gives me this:

]$ mplayer 083_migrations_in_rails_2.mov 
MPlayer 1.0rc2-4.2.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM) Duo CPU      L2400  @ 1.66GHz (Family: 6, Model: 14, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
115 audio & 237 video codecs
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 083_migrations_in_rails_2.mov.
ISO: File Type Major Brand: Original QuickTime
Quicktime/MOV file format detected.
[mov] Audio stream found, -aid 0
[mov] Video stream found, -vid 1
VIDEO:  [rle ]  800x600  24bpp  3.746 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffqtrle] vfm: ffmpeg (QuickTime Animation (RLE))
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 96.0 kbit/6.80% (ratio: 12000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 800 x 600 (preferred colorspace: RGB 24-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using RGB 24-bit as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8
[swscaler @ 0x8987670]SwScaler: BICUBIC scaler, from rgb24 to yuv420p using MMX2
[swscaler @ 0x8987670]SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0x8987670]SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0x8987670]SwScaler: using 1-tap MMX "scaler" for vertical scaling (YV12 like)
[swscaler @ 0x8987670]SwScaler: 800x600 -> 800x600
VO: [xv] 800x600 => 800x600 Planar YV12 
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0 
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0 
X11 error: BadAlloc (insufficient resources for operation)2.4% 0 0 
X11 error: BadAlloc (insufficient resources for operation)1.8% 0 0 
X11 error: BadAlloc (insufficient resources for operation)1.7% 0 0 
X11 error: BadAlloc (insufficient resources for operation)1.7% 0 0 
X11 error: BadAlloc (insufficient resources for operation)1.6% 0 0 
X11 error: BadAlloc (insufficient resources for operation)1.4% 0 0 
X11 error: BadAlloc (insufficient resources for operation)1.4% 0 0 
X11 error: BadAlloc (insufficient resources for operation)1.3% 0 0 
X11 error: BadAlloc (insufficient resources for operation)1.3% 0 0 
X11 error: BadAlloc (insufficient resources for operation)1.2% 0 0 
X11 error: BadAlloc (insufficient resources for operation)1.2% 0 0 
X11 error: BadAlloc (insufficient resources for operation)1.2% 0 0 
X11 error: BadAlloc (insufficient resources for operation)1.2% 0 0 
X11 error: BadAlloc (insufficient resources for operation)1.1% 0 0 
X11 error: BadAlloc (insufficient resources for operation)1.1% 0 0 
X11 error: BadAlloc (insufficient resources for operation)1.1% 0 0 
X11 error: BadAlloc (insufficient resources for operation)1.1% 0 0 
X11 error: BadAlloc (insufficient resources for operation)1.1% 0 0 
X11 error: BadAlloc (insufficient resources for operation)1.1% 0 0 
X11 error: BadAlloc (insufficient resources for operation)1.1% 0 0 
X11 error: BadAlloc (insufficient resources for operation)1.1% 0 0 
X11 error: BadAlloc (insufficient resources for operation)1.1% 0 0 
A:   5.6 V:   5.9 A-V: -0.323 ct:  0.021  25/ 25  2%  7%  1.0% 0 0 
Exiting... (Quit)

Now what could I do about that? I have a Intel graphics card in my notebook, a 945GM, and I am running it with extra/xf86-video-i810.

Last edited by Stalafin (2007-12-31 15:03:01)

Offline

#2 2007-12-31 20:06:59

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: VLC & MPlayer - can't play .mov and 'Insufficient Ressources ... '

MPlayer 1.0rc2-4.2.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU     E4500  @ 2.20GHz (Family: 6, Model: 15, Stepping: 13)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
115 audio & 237 video codecs
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 083_migrations_in_rails_2.mov.
ISO: File Type Major Brand: Original QuickTime
Quicktime/MOV file format detected.
[mov] Audio stream found, -aid 0
[mov] Video stream found, -vid 1
VIDEO:  [rle ]  800x600  24bpp  3.746 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffqtrle] vfm: ffmpeg (QuickTime Animation (RLE))
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 96.0 kbit/6.80% (ratio: 12000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 800 x 600 (preferred colorspace: RGB 24-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using RGB 24-bit as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8
[swscaler @ 0x8987670]SwScaler: BICUBIC scaler, from rgb24 to yuv420p using MMX2
[swscaler @ 0x8987670]SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0x8987670]SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0x8987670]SwScaler: using 1-tap MMX "scaler" for vertical scaling (YV12 like)
[swscaler @ 0x8987670]SwScaler: 800x600 -> 800x600
VO: [xv] 800x600 => 800x600 Planar YV12

works fine here ;-)


Mr Green

Offline

#3 2007-12-31 21:30:30

Wilson Phillips
Member
From: Vicksburg, MS, USA
Registered: 2007-09-24
Posts: 70

Re: VLC & MPlayer - can't play .mov and 'Insufficient Ressources ... '

This is where the problem starts.

Starting playback...
VDec: vo config request - 800 x 600 (preferred colorspace: RGB 24-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]

I would check the setup for the video card. Possibly, you do not have a setting for 800 by 600 in your /etc/X11/xorg.conf , but I am guessing right now.


Guarantee does not cover shark bite, bear attack, or children under 5.

Offline

#4 2008-01-01 13:43:59

LB06
Member
From: The Netherlands
Registered: 2003-10-29
Posts: 435

Re: VLC & MPlayer - can't play .mov and 'Insufficient Ressources ... '

Your system is simply not fast enough. What CPU do you have?

There are some tweaks possible, however. Try using another video output (see mplayer -vo help for all possible outputs). Personally I have very good experience with -vo gl2 and especially with -vo x11 -zoom. To my surprise I was able to play 720p content on a Pentium-M "Dothan" 1,5GHz with only 35%-70% CPU usage.

Also add -framedrop if you A/V runs out of sync.

So `mplayer -vo x11 -zoom -framedrop file.mov` should do the trick. The chance of success will of course depend on your specs, but I'd say it should work, given the fact that the i945GM is only slightly older than my chipset (i955GM) and 800x600 QT doesn't even come close to H.264 720p.

Last edited by LB06 (2008-01-01 14:05:43)

Offline

#5 2008-01-01 14:48:31

ProzacR
Member
Registered: 2007-04-29
Posts: 272

Re: VLC & MPlayer - can't play .mov and 'Insufficient Ressources ... '

I have almost same (or tottaly same)  problem with my old GF2 and 850Mhz CPU when compiz-fusion is activated.
So if you use compiz-fusion try to turn it off and then play movie.

Offline

#6 2008-01-02 01:37:18

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Re: VLC & MPlayer - can't play .mov and 'Insufficient Ressources ... '

LB06 wrote:

Your system is simply not fast enough. What CPU do you have?

There are some tweaks possible, however. Try using another video output (see mplayer -vo help for all possible outputs). Personally I have very good experience with -vo gl2 and especially with -vo x11 -zoom. To my surprise I was able to play 720p content on a Pentium-M "Dothan" 1,5GHz with only 35%-70% CPU usage.

Also add -framedrop if you A/V runs out of sync.

So `mplayer -vo x11 -zoom -framedrop file.mov` should do the trick. The chance of success will of course depend on your specs, but I'd say it should work, given the fact that the i945GM is only slightly older than my chipset (i955GM) and 800x600 QT doesn't even come close to H.264 720p.

I don't really think my system is too slow to do the job... I have a Core Duo L2400 build in. Sure thing, it's not the fastest CPU out there... but definitely fast enough to play a movie. smile Also, you can see my CPU specs in the MPlayer-output I posted in my first post.
But here they go again (with the option applied to mplayer you suggested):

$ mplayer -vo x11 -zoom -framedrop 083_migrations_in_rails_2.mov 
MPlayer 1.0rc2-4.2.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM) Duo CPU      L2400  @ 1.66GHz (Family: 6, Model: 14, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
115 audio & 237 video codecs
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 083_migrations_in_rails_2.mov.
ISO: File Type Major Brand: Original QuickTime
Quicktime/MOV file format detected.
[mov] Audio stream found, -aid 0
[mov] Video stream found, -vid 1
VIDEO:  [rle ]  800x600  24bpp  3.746 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffqtrle] vfm: ffmpeg (QuickTime Animation (RLE))
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 96.0 kbit/6.80% (ratio: 12000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 800 x 600 (preferred colorspace: RGB 24-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using RGB 24-bit as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 1 -> 1
[swscaler @ 0x8987670]SwScaler: BICUBIC scaler, from rgb24 to dithered bgr565 using MMX2
[swscaler @ 0x8987670]SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0x8987670]SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0x8987670]SwScaler: using n-tap MMX scaler for vertical scaling (BGR)
[swscaler @ 0x8987670]SwScaler: using MMX YV12->BGR16 Converter
[swscaler @ 0x8987670]SwScaler: 800x600 -> 800x600
VO: [x11] 800x600 => 800x600 BGR 16-bit  [zoom]
A:   9.5 V:   9.5 A-V:  0.000 ct:  0.024  59/ 59  1% 10%  0.9% 0 0 
Exiting... (Quit)

And indeed it ran! So you just got to be my pesonal hero...
Still, there has to be a fix for that. I can't possibly imagine that I always have to use some options to run this mov...

--

I don't have CompizFusion turned on -  I don't even have CompizFusion at all smile.


These are the (auto generated) settings in my Xorg.conf; these are all entries with such specs I could get... 800x600 wasn't found anywhere else (and neither any other settings regarding resolution):

Section "Monitor"
    Identifier "Monitor0"
        Option "DPMS" "true"
#    HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
    HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
    VertRefresh  50.0 - 75.0 # Very conservative. May flicker.
#    VertRefresh  50.0 - 62.0 # Extreme conservative. Will flicker. TFT default.
    #  Default modes distilled from
    #      "VESA and Industry Standards and Guide for Computer Display Monitor
    #       Timing", version 1.0, revision 0.8, adopted September 17, 1998.
    #  $XFree86: xc/programs/Xserver/hw/xfree86/etc/vesamodes,v 1.4 1999/11/18 16:52:17 tsi Exp $
    # 640x350 @ 85Hz (VESA) hsync: 37.9kHz
    ModeLine "640x350"    31.5  640  672  736  832    350  382  385  445 +hsync -vsync
    # 640x400 @ 85Hz (VESA) hsync: 37.9kHz
    ModeLine "640x400"    31.5  640  672  736  832    400  401  404  445 -hsync +vsync
    # 720x400 @ 85Hz (VESA) hsync: 37.9kHz
    ModeLine "720x400"    35.5  720  756  828  936    400  401  404  446 -hsync +vsync
    # 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz
    ModeLine "640x480"    25.2  640  656  752  800    480  490  492  525 -hsync -vsync
    # 640x480 @ 72Hz (VESA) hsync: 37.9kHz
    ModeLine "640x480"    31.5  640  664  704  832    480  489  491  520 -hsync -vsync
    # 640x480 @ 75Hz (VESA) hsync: 37.5kHz
    ModeLine "640x480"    31.5  640  656  720  840    480  481  484  500 -hsync -vsync
    # 640x480 @ 85Hz (VESA) hsync: 43.3kHz
    ModeLine "640x480"    36.0  640  696  752  832    480  481  484  509 -hsync -vsync
    # 800x600 @ 56Hz (VESA) hsync: 35.2kHz
    ModeLine "800x600"    36.0  800  824  896 1024    600  601  603  625 +hsync +vsync
    # 800x600 @ 60Hz (VESA) hsync: 37.9kHz
    ModeLine "800x600"    40.0  800  840  968 1056    600  601  605  628 +hsync +vsync
    # 800x600 @ 72Hz (VESA) hsync: 48.1kHz
    ModeLine "800x600"    50.0  800  856  976 1040    600  637  643  666 +hsync +vsync
    # 800x600 @ 75Hz (VESA) hsync: 46.9kHz
    ModeLine "800x600"    49.5  800  816  896 1056    600  601  604  625 +hsync +vsync
    # 800x600 @ 85Hz (VESA) hsync: 53.7kHz
    ModeLine "800x600"    56.3  800  832  896 1048    600  601  604  631 +hsync +vsync
    # 1024x768i @ 43Hz (industry standard) hsync: 35.5kHz
    ModeLine "1024x768"   44.9 1024 1032 1208 1264    768  768  776  817 +hsync +vsync Interlace
    # 1024x768 @ 60Hz (VESA) hsync: 48.4kHz
    ModeLine "1024x768"   65.0 1024 1048 1184 1344    768  771  777  806 -hsync -vsync
    # 1024x768 @ 70Hz (VESA) hsync: 56.5kHz
    ModeLine "1024x768"   75.0 1024 1048 1184 1328    768  771  777  806 -hsync -vsync
    # 1024x768 @ 75Hz (VESA) hsync: 60.0kHz
    ModeLine "1024x768"   78.8 1024 1040 1136 1312    768  769  772  800 +hsync +vsync
    # 1024x768 @ 85Hz (VESA) hsync: 68.7kHz
    ModeLine "1024x768"   94.5 1024 1072 1168 1376    768  769  772  808 +hsync +vsync
    # 1152x864 @ 75Hz (VESA) hsync: 67.5kHz
    ModeLine "1152x864"  108.0 1152 1216 1344 1600    864  865  868  900 +hsync +vsync
    # 1280x960 @ 60Hz (VESA) hsync: 60.0kHz
    ModeLine "1280x960"  108.0 1280 1376 1488 1800    960  961  964 1000 +hsync +vsync
    # 1280x960 @ 85Hz (VESA) hsync: 85.9kHz
    ModeLine "1280x960"  148.5 1280 1344 1504 1728    960  961  964 1011 +hsync +vsync
    # 1280x1024 @ 60Hz (VESA) hsync: 64.0kHz
    ModeLine "1280x1024" 108.0 1280 1328 1440 1688   1024 1025 1028 1066 +hsync +vsync
    # 1280x1024 @ 75Hz (VESA) hsync: 80.0kHz
    ModeLine "1280x1024" 135.0 1280 1296 1440 1688   1024 1025 1028 1066 +hsync +vsync
    # 1280x1024 @ 85Hz (VESA) hsync: 91.1kHz
    ModeLine "1280x1024" 157.5 1280 1344 1504 1728   1024 1025 1028 1072 +hsync +vsync
    # 1600x1200 @ 60Hz (VESA) hsync: 75.0kHz
    ModeLine "1600x1200" 162.0 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync
    # 1600x1200 @ 65Hz (VESA) hsync: 81.3kHz
    ModeLine "1600x1200" 175.5 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync
    # 1600x1200 @ 70Hz (VESA) hsync: 87.5kHz
    ModeLine "1600x1200" 189.0 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync
    # 1600x1200 @ 75Hz (VESA) hsync: 93.8kHz
    ModeLine "1600x1200" 202.5 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync
    # 1600x1200 @ 85Hz (VESA) hsync: 106.3kHz
    ModeLine "1600x1200" 229.5 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync
    # 1792x1344 @ 60Hz (VESA) hsync: 83.6kHz
    ModeLine "1792x1344" 204.8 1792 1920 2120 2448   1344 1345 1348 1394 -hsync +vsync
    # 1792x1344 @ 75Hz (VESA) hsync: 106.3kHz
    ModeLine "1792x1344" 261.0 1792 1888 2104 2456   1344 1345 1348 1417 -hsync +vsync
    # 1856x1392 @ 60Hz (VESA) hsync: 86.3kHz
    ModeLine "1856x1392" 218.3 1856 1952 2176 2528   1392 1393 1396 1439 -hsync +vsync
    # 1856x1392 @ 75Hz (VESA) hsync: 112.5kHz
    ModeLine "1856x1392" 288.0 1856 1984 2208 2560   1392 1393 1396 1500 -hsync +vsync
    # 1920x1440 @ 60Hz (VESA) hsync: 90.0kHz
    ModeLine "1920x1440" 234.0 1920 2048 2256 2600   1440 1441 1444 1500 -hsync +vsync
    # 1920x1440 @ 75Hz (VESA) hsync: 112.5kHz
    ModeLine "1920x1440" 297.0 1920 2064 2288 2640   1440 1441 1444 1500 -hsync +vsync
    # Additional modelines
    ModeLine "1800x1440"  230    1800 1896 2088 2392  1440 1441 1444 1490 +HSync +VSync
    ModeLine "1800x1440"  250    1800 1896 2088 2392  1440 1441 1444 1490 +HSync +VSync
    # Extended modelines with GTF timings
    # 640x480 @ 100.00 Hz (GTF) hsync: 50.90 kHz; pclk: 43.16 MHz
    ModeLine "640x480"  43.16  640 680 744 848  480 481 484 509  -HSync +Vsync
    # 768x576 @ 60.00 Hz (GTF) hsync: 35.82 kHz; pclk: 34.96 MHz
    ModeLine "768x576"  34.96  768 792 872 976  576 577 580 597  -HSync +Vsync
    # 768x576 @ 72.00 Hz (GTF) hsync: 43.27 kHz; pclk: 42.93 MHz
    ModeLine "768x576"  42.93  768 800 880 992  576 577 580 601  -HSync +Vsync
    # 768x576 @ 75.00 Hz (GTF) hsync: 45.15 kHz; pclk: 45.51 MHz
    ModeLine "768x576"  45.51  768 808 888 1008  576 577 580 602  -HSync +Vsync
    # 768x576 @ 85.00 Hz (GTF) hsync: 51.42 kHz; pclk: 51.84 MHz
    ModeLine "768x576"  51.84  768 808 888 1008  576 577 580 605  -HSync +Vsync
    # 768x576 @ 100.00 Hz (GTF) hsync: 61.10 kHz; pclk: 62.57 MHz
    ModeLine "768x576"  62.57  768 816 896 1024  576 577 580 611  -HSync +Vsync
    # 800x600 @ 100.00 Hz (GTF) hsync: 63.60 kHz; pclk: 68.18 MHz
    ModeLine "800x600"  68.18  800 848 936 1072  600 601 604 636  -HSync +Vsync
    # 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz
    ModeLine "1024x768"  113.31  1024 1096 1208 1392  768 769 772 814  -HSync +Vsync
    # 1152x864 @ 60.00 Hz (GTF) hsync: 53.70 kHz; pclk: 81.62 MHz
    ModeLine "1152x864"  81.62  1152 1216 1336 1520  864 865 868 895  -HSync +Vsync
    # 1152x864 @ 85.00 Hz (GTF) hsync: 77.10 kHz; pclk: 119.65 MHz
    ModeLine "1152x864"  119.65  1152 1224 1352 1552  864 865 868 907  -HSync +Vsync
    # 1152x864 @ 100.00 Hz (GTF) hsync: 91.50 kHz; pclk: 143.47 MHz
    ModeLine "1152x864"  143.47  1152 1232 1360 1568  864 865 868 915  -HSync +Vsync
    # 1280x960 @ 72.00 Hz (GTF) hsync: 72.07 kHz; pclk: 124.54 MHz
    ModeLine "1280x960"  124.54  1280 1368 1504 1728  960 961 964 1001  -HSync +Vsync
    # 1280x960 @ 75.00 Hz (GTF) hsync: 75.15 kHz; pclk: 129.86 MHz
    ModeLine "1280x960"  129.86  1280 1368 1504 1728  960 961 964 1002  -HSync +Vsync
    # 1280x960 @ 100.00 Hz (GTF) hsync: 101.70 kHz; pclk: 178.99 MHz
    ModeLine "1280x960"  178.99  1280 1376 1520 1760  960 961 964 1017  -HSync +Vsync
    # 1280x1024 @ 100.00 Hz (GTF) hsync: 108.50 kHz; pclk: 190.96 MHz
    ModeLine "1280x1024"  190.96  1280 1376 1520 1760  1024 1025 1028 1085  -HSync +Vsync
    # 1400x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 122.61 MHz
    ModeLine "1400x1050"  122.61  1400 1488 1640 1880  1050 1051 1054 1087  -HSync +Vsync
    # 1400x1050 @ 72.00 Hz (GTF) hsync: 78.77 kHz; pclk: 149.34 MHz
    ModeLine "1400x1050"  149.34  1400 1496 1648 1896  1050 1051 1054 1094  -HSync +Vsync
    # 1400x1050 @ 75.00 Hz (GTF) hsync: 82.20 kHz; pclk: 155.85 MHz
    ModeLine "1400x1050"  155.85  1400 1496 1648 1896  1050 1051 1054 1096  -HSync +Vsync
    # 1400x1050 @ 85.00 Hz (GTF) hsync: 93.76 kHz; pclk: 179.26 MHz
    ModeLine "1400x1050"  179.26  1400 1504 1656 1912  1050 1051 1054 1103  -HSync +Vsync
    # 1400x1050 @ 100.00 Hz (GTF) hsync: 111.20 kHz; pclk: 214.39 MHz
    ModeLine "1400x1050"  214.39  1400 1512 1664 1928  1050 1051 1054 1112  -HSync +Vsync
    # 1600x1200 @ 100.00 Hz (GTF) hsync: 127.10 kHz; pclk: 280.64 MHz
    ModeLine "1600x1200"  280.64  1600 1728 1904 2208  1200 1201 1204 1271  -HSync +Vsync
EndSection

# Auto-generated by Archie mkxcfg

Section "Device"
    Identifier  "Card0"
    Driver      "i810"
    VendorName  "All"
    BoardName   "All"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultColorDepth 16
    SubSection "Display"
        Depth     1
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     4
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     8
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     15
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     32
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Last edited by Stalafin (2008-01-02 01:37:43)

Offline

#7 2008-01-02 13:57:52

LB06
Member
From: The Netherlands
Registered: 2003-10-29
Posts: 435

Re: VLC & MPlayer - can't play .mov and 'Insufficient Ressources ... '

I don't think Xorg settings really matter, since afaik GPU acceleration is not supported on Linux (not that a i945 would help much).

Are you able to play Matroska (.mkv) 720p files with the -vo x11 flag?

Last edited by LB06 (2008-01-02 14:06:15)

Offline

#8 2008-01-02 16:54:37

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Re: VLC & MPlayer - can't play .mov and 'Insufficient Ressources ... '

Could you provide me with a sample file? Small little file somewhere on the web...

Offline

#9 2008-01-02 22:27:40

LB06
Member
From: The Netherlands
Registered: 2003-10-29
Posts: 435

Re: VLC & MPlayer - can't play .mov and 'Insufficient Ressources ... '

Stalafin wrote:

Could you provide me with a sample file? Small little file somewhere on the web...

Define small tongue

I find a 100MB file to be pretty small smile. I also have a 60MB file (also Matroska h.264), but that one seems to be wider than usual (it's 1280 x 528 so officially it isn't 720p I suppose).

Here's the link: http://stuwww.uvt.nl/~s178024/h264/720p.mkv. It's a dual gbit server, so you should be able to utilize your full download speed.

Last edited by LB06 (2008-01-02 22:39:50)

Offline

#10 2008-01-03 00:20:34

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Re: VLC & MPlayer - can't play .mov and 'Insufficient Ressources ... '

Downloaded it and runs. smile No problems with the flag... without the flag though it crashes.

Offline

#11 2008-01-03 11:54:16

LB06
Member
From: The Netherlands
Registered: 2003-10-29
Posts: 435

Re: VLC & MPlayer - can't play .mov and 'Insufficient Ressources ... '

Stalafin wrote:

Downloaded it and runs. smile No problems with the flag... without the flag though it crashes.

In that case there could be something wrong with the QT codec.

Offline

#12 2008-01-03 20:34:10

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Re: VLC & MPlayer - can't play .mov and 'Insufficient Ressources ... '

So, does someone have suggestions on how to fix this issue?

Offline

#13 2008-01-03 22:11:00

brickwedde.eu
Member
Registered: 2007-05-01
Posts: 9

Re: VLC & MPlayer - can't play .mov and 'Insufficient Ressources ... '

Same Problem here (Q6600 | 8gig Ram | Intel G33 Onboard Graka | arch 64 bit)

[b]VLC[/b]
VLC media player 0.8.6d Janus
[00000324] a52 decoder: A/52 channels:6 samplerate:48000 bitrate:448000
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  141 (XVideo)
  Minor opcode of failed request:  19 ()
  Serial number of failed request:  88
  Current serial number in output stream:  89

[b]Mplayer:[/b]

AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [XVID]  640x352  12bpp  25.000 fps  1158.9 kbps (141.5 kbyte/s)
Clip info:
 Software: VirtualDubMod 1.5.10.2 (build 2540/release)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
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)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 640 x 352 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
VO: [xv] 640x352 => 640x352 Planar YV12 
New_Face failed. Maybe the font path is wrong. 1 ??% ??% ??,?% 0 0 
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0 
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0 
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0 
.
.
.

Last edited by brickwedde.eu (2008-01-03 22:13:37)

Offline

#14 2008-01-04 00:49:09

LB06
Member
From: The Netherlands
Registered: 2003-10-29
Posts: 435

Re: VLC & MPlayer - can't play .mov and 'Insufficient Ressources ... '

Stalafin wrote:

So, does someone have suggestions on how to fix this issue?

Do you also run Arch64? Maybe it's related to that.

Offline

#15 2008-01-04 00:52:26

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Re: VLC & MPlayer - can't play .mov and 'Insufficient Ressources ... '

Nope, I run the plain normal Arch. The L2400 isn't a 32 bit CPU being a Core Duo CPU. Only the Intel Core 2 Duo are 64 bit.

Offline

#16 2008-01-09 22:25:35

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Re: VLC & MPlayer - can't play .mov and 'Insufficient Ressources ... '

I would like get this one back up. If someone has ideas about how to fix this issue, please share them

Offline

#17 2008-01-09 22:49:41

Shaika-Dzari
Member
From: Québec, Canada
Registered: 2006-04-14
Posts: 436
Website

Re: VLC & MPlayer - can't play .mov and 'Insufficient Ressources ... '

I have no problem here.
My computer did not like your video ( a small PIV...) and mplayer complain my CPU is a little bit too slow but it plays fine.

Maybe, you should give a try to mplayer-svn smile

Also, try this:

mplayer -vfm ffmpeg -lavdopts lowres=0:fast:skiploopfilter=all 720.mkv

Last edited by Shaika-Dzari (2008-01-09 22:52:31)

Offline

#18 2008-01-12 02:55:23

TripleE
Member
From: Houston, TX
Registered: 2006-10-10
Posts: 64

Re: VLC & MPlayer - can't play .mov and 'Insufficient Ressources ... '

I have the same issue on my IBM T61 running gnome and compiz.  When I go back to Metacity from Compiz, mplayer works fine.  Maybe a compiz error.  Do you run compiz?


HP Chromebook 14

Offline

#19 2008-01-12 14:47:02

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Re: VLC & MPlayer - can't play .mov and 'Insufficient Ressources ... '

As I said in Post #6 I don't have CompizFusion running; neither have I activated the XFCE compositor.

Offline

#20 2008-01-12 17:15:43

Shaika-Dzari
Member
From: Québec, Canada
Registered: 2006-04-14
Posts: 436
Website

Re: VLC & MPlayer - can't play .mov and 'Insufficient Ressources ... '

Did you try my line?

@+

Offline

#21 2008-01-12 21:23:57

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Re: VLC & MPlayer - can't play .mov and 'Insufficient Ressources ... '

Shaika-Dzari:

Just tried your line - and it doesn't work. There is sound, but no video. Just a plain blue screen.

Here's the output:

$ mplayer -vfm ffmpeg -lavdopts lowres=0:fast:skiploopfilter=all 720p.mkv 
MPlayer 1.0rc2-4.2.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM) Duo CPU      L2400  @ 1.66GHz (Family: 6, Model: 14, Stepping: 12)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
115 audio & 237 video codecs
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 720p.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC) "720p x264", -vid 0
[mkv] Track ID 2: audio (A_MPEG/L2) "2.0 MP2 (Original)", -aid 0, -alang eng
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO:  [avc1]  1280x720  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Trying to force video codec driver family ffmpeg...
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1280x720 => 1280x720 Planar YV12 
[ASPECT] Warning: No suitable new res found!
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0 
X11 error: BadAlloc (insufficient resources for operation)?,?% 2 0 
X11 error: BadAlloc (insufficient resources for operation)?,?% 3 0 
X11 error: BadAlloc (insufficient resources for operation)?,?% 3 0 
X11 error: BadAlloc (insufficient resources for operation)?,?% 3 0 
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)?,?% 3 0 
X11 error: BadAlloc (insufficient resources for operation)?,?% 3 0 
X11 error: BadAlloc (insufficient resources for operation)?,?% 3 0 
X11 error: BadAlloc (insufficient resources for operation)?,?% 3 0 
X11 error: BadAlloc (insufficient resources for operation)1.2% 3 0 
X11 error: BadAlloc (insufficient resources for operation)1.1% 3 0 
X11 error: BadAlloc (insufficient resources for operation)1.1% 3 0 
X11 error: BadAlloc (insufficient resources for operation)
X11 error: BadAlloc (insufficient resources for operation)1.0% 3 0 
X11 error: BadAlloc (insufficient resources for operation)1.0% 3 0 
X11 error: BadAlloc (insufficient resources for operation)1.0% 3 0 
X11 error: BadAlloc (insufficient resources for operation)1.0% 3 0 
X11 error: BadAlloc (insufficient resources for operation)1.0% 3 0 
X11 error: BadAlloc (insufficient resources for operation)0.9% 3 0 
X11 error: BadAlloc (insufficient resources for operation)0.9% 3 0 
X11 error: BadAlloc (insufficient resources for operation)0.9% 3 0 
X11 error: BadAlloc (insufficient resources for operation)0.9% 3 0 
X11 error: BadAlloc (insufficient resources for operation)0.9% 3 0 
X11 error: BadAlloc (insufficient resources for operation)0.9% 3 0 
X11 error: BadAlloc (insufficient resources for operation)0.9% 3 0 
X11 error: BadAlloc (insufficient resources for operation)0.9% 3 0 
X11 error: BadAlloc (insufficient resources for operation)0.9% 3 0 
X11 error: BadAlloc (insufficient resources for operation)0.9% 3 0 
X11 error: BadAlloc (insufficient resources for operation)0.9% 3 0 
X11 error: BadAlloc (insufficient resources for operation)0.9% 3 0 
X11 error: BadAlloc (insufficient resources for operation)0.9% 3 0 
X11 error: BadAlloc (insufficient resources for operation)0.8% 3 0 
X11 error: BadAlloc (insufficient resources for operation)0.8% 3 0 

Exiting... (Quit)

I deleted some of those X11 error: BadAlloc lines.

Last edited by Stalafin (2008-01-12 21:24:27)

Offline

#22 2008-01-13 05:41:11

Shaika-Dzari
Member
From: Québec, Canada
Registered: 2006-04-14
Posts: 436
Website

Re: VLC & MPlayer - can't play .mov and 'Insufficient Ressources ... '

Hello!

Could you give me your mplayer config:

$ cat ~/.mplayer/config

@+

Offline

#23 2008-01-13 15:36:26

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Re: VLC & MPlayer - can't play .mov and 'Insufficient Ressources ... '

Shaika-Dzari wrote:

Hello!

Could you give me your mplayer config:

$ cat ~/.mplayer/config

@+

$ cat ~/.mplayer/config 
# Write your default config options here!

Fairly empty...

Offline

#24 2008-01-13 17:10:33

Shaika-Dzari
Member
From: Québec, Canada
Registered: 2006-04-14
Posts: 436
Website

Re: VLC & MPlayer - can't play .mov and 'Insufficient Ressources ... '

Add this and try again:

# Use alsa for sound
ao=alsa

# Use xv for video
vo=xv

# Cache
cache=8192

# Normalize sound
af=volnorm

# Double buffering
double="yes"

#background color ala closed captions
sub-bg-alpha="0" 

#black to white
sub-bg-color="0" 

# truetype font scaling
subfont-text-scale="3.7"

# Slight blur
subfont-blur="1"

Offline

Board footer

Powered by FluxBB