[MPlayer-users] Re: Question about "Frame too small!" error

Dean S. Messing deanm at sharplabs.com
Fri Dec 20 22:58:02 CET 2002


 :: From: Balatoni Denes <pnis at coder.hu>
 :: To: mplayer-users at mplayerhq.hu
 :: Subject: Re: [MPlayer-users] Question about "Frame too small!" error
 :: Date: Fri, 20 Dec 2002 08:46:59 +0100

Thanks Balantoi for your help.

 :: Did you try with -vop scale   ?

I tried it after reading your reply.  No go.
I don't believe the problem is one of scale.
I have verified that the .avi files are greyscale (8bpp monochome).
The decoder mplayer is choosing  is (I think) assuming I have 16bpp
and so the frame size it hopes to see is twice what is coming in.

Besides I certainly _don't_ want to scale these sequences.  They are
specially designed to test various spatio-temporal aspects of the human
visual system so scaling them will ruin them.

So my problem still stands:  How do I get mplayer to play an .avi
I file made out of raw greyscale frames?  Or is it even possible?

 :: I don't know if it helps, as mplayer should insert it automatically afaik.
 :: 
 :: > VDec: vo config request - 532 x 516 (preferred csp: BGR 8-bit)
 :: > Couldn't find matching colorspace - retrying with -vop scale...
<snip>

                                  Dean S. Messing
                                  Display Algorithms & Visual Optimization Lab
                                  Information Systems Technologies Dept.
                                  Sharp Laboratories of America


=== original message ===

   A colleague sent me a .avi file of an experimental sequence
   he constructed today.  The .avi was built from uncompressed
   .bmp files using a Matlab utility.  I've been able to play
   other such sequences but this one won't play.  Instead I get
   the output I've put at the end.

   I notice that the .avi is found to be 8bpp.  I take it this means it's
   monochrome.  This may very well be the case but the colleague
   is not around to ask right now.

   In any case, when Mplayer finally figures out which decoder to use
   (see near the bottom) it prints:

       Opening video decoder: [raw] RAW Uncompressed Video
       VDec: vo config request - 532 x 516 (preferred csp: Packed YUY2)
       VDec: using Packed YUY2 as output csp (no 0)
       Movie-Aspect is undefined - no prescaling applied.
       VO: [xv] 532x516 => 532x516 Packed YUY2 
       Selected video codec: [rawyuy2] vfm:raw (RAW YUY2)

   which, I think implies it is expecting a file with frames twice the
   size of a purely monochrome frame of dimensions 532x516.

   Any suggestions on how to play this?  I've looked through the
   commandline switches in the man page and the only thing I see is -bpp.
   I tried -bpp 8 on the command line but it changed nothing.

   I emphasise that I can play other _colour_ .avi files which he has generated
   using the same process.

   Thanks for your help!


                                  Dean S. Messing
                                  Display Algorithms & Visual Optimization Lab
                                  Information Systems Technologies Dept.
                                  Sharp Laboratories of America

   =========== commandline output follows ===========

   ==> mplayer /tmp/moving_edge_capture.avi -loop 0
   Using GNU internationalization
   Original domain: messages
   Original dirname: /usr/share/locale
   Current domain: mplayer
   Current dirname: /usr/share/locale


   MPlayer CVS-021202-17:05-3.2 (C) 2000-2002 Arpad Gereoffy (see DOCS)

   CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
   CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
   Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

   Reading /home/deanm/.mplayer/codecs.conf: can't open '/home/deanm/.mplayer/codecs.conf': No such file or directory
   Reading /etc/mplayer/codecs.conf: 49 audio & 123 video codecs
   init_freetype
   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/deanm/.mplayer/input.conf parsed : 0 binds

   Playing /tmp/moving_edge_capture.avi
   Cache fill:  0.00% (0 bytes)    Detected AVI file format!
   AVI_NI: No Audio stream found...  ->  no sound
   AVI: No Audio stream found...  ->  no sound
   VIDEO:  []  532x516  8bpp  20.00 fps  43921.9 kbps (5361.6 kbyte/s)
   vo: X11 running at 1600x1200 with depth 24 and 32 bpp (":0" => local display)
   ==========================================================================
   Opening video decoder: [raw] RAW Uncompressed Video
   VDec: vo config request - 532 x 516 (preferred csp: BGR 8-bit)
   Couldn't find matching colorspace - retrying with -vop scale...
   Opening video filter: [scale]
   Sorry, selected video_out device is incompatible with this codec.
   VDecoder init failed :(
   Opening video decoder: [raw] RAW Uncompressed Video
   VDec: vo config request - 532 x 516 (preferred csp: BGR 8-bit)
   Couldn't find matching colorspace - retrying with -vop scale...
   Opening video filter: [scale]
   Sorry, selected video_out device is incompatible with this codec.
   VDecoder init failed :(
   Opening video decoder: [raw] RAW Uncompressed Video
   VDec: vo config request - 532 x 516 (preferred csp: BGR 8-bit)
   Couldn't find matching colorspace - retrying with -vop scale...
   Opening video filter: [scale]
   Sorry, selected video_out device is incompatible with this codec.
   VDecoder init failed :(
   Opening video decoder: [raw] RAW Uncompressed Video
   VDec: vo config request - 532 x 516 (preferred csp: BGR 8-bit)
   Couldn't find matching colorspace - retrying with -vop scale...
   Opening video filter: [scale]
   Sorry, selected video_out device is incompatible with this codec.
   VDecoder init failed :(
   Opening video decoder: [raw] RAW Uncompressed Video
   VDec: vo config request - 532 x 516 (preferred csp: BGR 8-bit)
   Couldn't find matching colorspace - retrying with -vop scale...
   Opening video filter: [scale]
   Sorry, selected video_out device is incompatible with this codec.
   VDecoder init failed :(
   Opening video decoder: [raw] RAW Uncompressed Video
   VDec: vo config request - 532 x 516 (preferred csp: BGR 8-bit)
   Couldn't find matching colorspace - retrying with -vop scale...
   Opening video filter: [scale]
   Sorry, selected video_out device is incompatible with this codec.
   VDecoder init failed :(
   Opening video decoder: [raw] RAW Uncompressed Video
   VDec: vo config request - 532 x 516 (preferred csp: BGR 8-bit)
   Couldn't find matching colorspace - retrying with -vop scale...
   Opening video filter: [scale]
   Sorry, selected video_out device is incompatible with this codec.
   VDecoder init failed :(
   Opening video decoder: [raw] RAW Uncompressed Video
   VDec: vo config request - 532 x 516 (preferred csp: BGR 8-bit)
   Couldn't find matching colorspace - retrying with -vop scale...
   Opening video filter: [scale]
   Sorry, selected video_out device is incompatible with this codec.
   VDecoder init failed :(
   Opening video decoder: [raw] RAW Uncompressed Video
   VDec: vo config request - 532 x 516 (preferred csp: BGR 8-bit)
   Couldn't find matching colorspace - retrying with -vop scale...
   Opening video filter: [scale]
   Sorry, selected video_out device is incompatible with this codec.
   VDecoder init failed :(
   Opening video decoder: [raw] RAW Uncompressed Video
   VDec: vo config request - 532 x 516 (preferred csp: Packed YUY2)
   VDec: using Packed YUY2 as output csp (no 0)
   Movie-Aspect is undefined - no prescaling applied.
   VO: [xv] 532x516 => 532x516 Packed YUY2 
   Selected video codec: [rawyuy2] vfm:raw (RAW YUY2)
   ==========================================================================
   Audio: no sound!!!
   Start playing...
   Frame too small! (274512<549024) Wrong format?
   Frame too small! (274512<549024) Wrong format?
   Frame too small! (274512<549024) Wrong format?
   Frame too small! (274512<549024) Wrong format?
   Frame too small! (274512<549024) Wrong format?
   Frame too small! (274512<549024) Wrong format?
   Frame too small! (274512<549024) Wrong format?
   Frame too small! (274512<549024) Wrong format?
   Frame too small! (274512<549024) Wrong format?
   Frame too small! (274512<549024) Wrong format?
   Frame too small! (274512<549024) Wrong format?
   Frame too small! (274512<549024) Wrong format?
   Frame too small! (274512<549024) Wrong format?
   Frame too small! (274512<549024) Wrong format?
   Frame too small! (274512<549024) Wrong format?


   MPlayer interrupted by signal 2 in module: enable_cache 


   MPlayer interrupted by signal 2 in module: sleep_usleep 




More information about the MPlayer-users mailing list