[MPlayer-users] fbdev output doesn't work

Alexander N. Kogan alexander at kogan.nnov.ru
Wed Mar 9 11:14:41 CET 2005


Hi!

After I rebuild mplayer from CVS yesterday, it doesn't work with fbdev output. 
It says it can't set graphics mode: Invalid argument.

jk at ipjk:~% mplayer -v -vo fbdev:/dev/fb1 /dos/video/animations/munhgausen.avi
MPlayer dev-CVS-050307-21:56-3.3.5 (C) 2000-2005 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 
10)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE



CommandLine: '-v' '-vo' 'fbdev:/dev/fb1' 
'/dos/video/animations/munhgausen.avi'
init_freetype
get_path('font/font.desc') -> '/home/jk/.mplayer/font/font.desc'
font: can't open file: /home/jk/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/jk/.mplayer/input.conf'
Can't open input config file /home/jk/.mplayer/input.conf: No such file or 
directory
Can't open input config file /etc/mplayer/input.conf: No such file or 
directory
Falling back on default (hardcoded) input config
get_path('munhgausen.avi.conf') -> '/home/jk/.mplayer/munhgausen.avi.conf'
Playing /dos/video/animations/munhgausen.avi.
[file] File size is 331872730 bytes
STREAM: [file] /dos/video/animations/munhgausen.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0
Cache fill:  0.00% (0 bytes)    AVI file format detected.
list_end=0x192
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames  total: 59162   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  352 x 288
==========================
list_end=0x120
==> Found video stream: 0
====== STREAM Header =====
Type: vids   FCC: DIV3 (33564944)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 25/1 = 25.000
Start: 0   Len: 59162
Suggested BufferSize: 38646
Quality 0
Sample size: 0
==========================
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 352
  biHeight 288
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 304128
===========================
Regenerating keyframe table for DIVX3 video
======= Video Properties Header =======
Format: 0  VideoStandard: 0
VRefresh: 25  HTotal: 352  VTotal: 288
FrameAspect: 4:3  Framewidth: 352  Frameheight: 288
Fields: 1
  == Field 0 description ==
  CompressedBMHeight: 288  CompressedBMWidth: 352
  ValidBMHeight: 288  ValidBMWidth: 352
  ValidBMXOffset: 0  ValidBMYOffset: 0
  VideoXOffsetInT: 0  VideoYValidStartLine: 0
=======================================
list_end=0x192
==> Found audio stream: 1
====== STREAM Header =====
Type: auds   FCC: U (55)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 5972/1 = 5972.000
Start: 0   Len: 14131572
Suggested BufferSize: 2986
Quality 0
Sample size: 1
==========================
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 1
Samplerate: 44100
avg byte/sec: 5972
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=156
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
===========================
list_end=0x1CA
hdr=Software  size=36
Software  : MEncoder dev-CVS-050127-11:05-3.3.5
list_end=0x13B86062
Found movie at 0x100C - 0x13B86062
Reading INDEX block, 63895 chunks for 59162 frames (fpos=0x13b8606a)
AVI index offset: 0x1008 (movi=0x100C idx0=0x4 idx1=0xBB6)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=316174237 (59162) audio size=14131572 (14131572)
VIDEO:  [DIV3]  352x288  24bpp  25.000 fps  1068.8 kbps (130.5 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:352x288  fps:25.00  ftime:=0.0400
Clip info:
 Software: MEncoder dev-CVS-050127-11:05-3.3.5
get_path('sub/') -> '/home/jk/.mplayer/sub/'
get_path('default.sub') -> '/home/jk/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: made decode tables with MMX optimization
mp3lib: using MMX optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer III, 44100 Hz 48 kbit Single-Channel, BPF: 156
Channels: 1, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, s16le, 48.0 kbit/3.40% (ratio: 6000->176400)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
using /dev/fb1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
AF_pre: 44100Hz/2ch/s16le
ao2: 44100 Hz  2 chans  s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16le (requested: s16le)
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
AO: [oss] 44100Hz 2ch s16le (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Starting playback...
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 352 x 288 (preferred csp: Planar YV12)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (352x288->384x288,flags=1,'MPlayer',0x32315659)
SwScaler: using unscaled Planar YV12 -> BGRA special converter
REQ: flags=0x403  req=0x0
VO: [fbdev] 352x288 => 384x288 BGRA  [fs]
VO: Description: Framebuffer Device
VO: Author: Szabolcs Berecz <szabi at inf.elte.hu>
Can't set graphics mode: Invalid argument
var info:
xres: 640
yres: 480
xres_virtual: 640
yres_virtual: 480
xoffset: 0
yoffset: 0
bits_per_pixel: 32
grayscale: 0
red: 16 8 0
green: 8 8 0
blue: 0 8 0
transp: 24 8 0
nonstd: 0
fix info:
framebuffer size: 8388608 bytes
type: 0
type_aux: 0
visual: 2
line_length: 2560 bytes
fb_bpp: 32
fb_pixel_size: 4 bytes
other:
in_width: 352
in_height: 288

Uninit audio filters...
[libaf] Removing filter dummy
uninit audio: mp3lib
uninit video: ffmpeg
vo: x11 uninit called but X11 not inited..

Exiting... (End of file)
jk at ipjk:~%

-- 
Alexander Kogan
Auto Wave Processes Group
Institute of Applied Physics RAS




More information about the MPlayer-users mailing list