[MPlayer-users] Dreambox & MPlayer

Gyuris Otto otto at tvnetwork.hu
Tue Aug 2 14:33:07 CEST 2005


2005. júl. 29., péntek, 13.09.33 GMT -kor Gyuris Otto ezt irta :
> 2005. júl. 29., péntek, 09.58.07 GMT -kor Guillaume POIRIER ezt irta :
> > > 
> > > I compiling the 1.0pre7-2.95.4 on Dreambox with "./configure
> > > --disable-libavcodec --disable-libavformat --enable-directfb" options,
> > > and "make" it is all right. I am playing the video with  "-vo directfb" option,
> > > but I do not see the video on TV. I just see the border of the video, and
> > > the black color outside the border. Inside of the video border I see the
> > > boot picture (background picture) of the Dreambox.
> > 
> > libavcodec
> > 
> 
> When I compiling the Mplayer on powerpc with "./configure --disable-libavformat
> --enable-directfb" options, I get the following output. I tryed to compile it with gcc-2.95,
> gcc-3.3 and gcc-3.4 too.
> 

hi

I found the solution for the compiling problem. I had to add some extra swap space 
(500 Mb) beside the 64 Mb RAM in the system, and I compiled Mplayer succefully. 
But I still have the video playing problem. I just see the background picture of 
the enigma in place of the video.

Does MPlayer support the directfb of the dreambox?





root at dreambox:/usr/src/MPlayer-1.0pre7# mplayer /tmp/eurcncs185030.mpg -vo directfb -nosound -v
MPlayer 1.0pre7-2.95.4 (C) 2000-2005 MPlayer Team
CPU: PowerPC

CommandLine: '/tmp/eurcncs185030.mpg' '-vo' 'directfb' '-nosound' '-v' init_freetype
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using Unoptimized OnScreenDisplay
Failed to open /dev/rtc: No such device (it should be readable by the user.)
Using nanosleep() timing
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('eurcncs185030.mpg.conf') -> '/root/.mplayer/eurcncs185030.mpg.conf'
Playing /tmp/eurcncs185030.mpg.
[file] File size is 4902912 bytes
STREAM: [file] /tmp/eurcncs185030.mpg
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for Nullsoft Streaming Video
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename /tmp/eurcncs185030.mpg ext: .mpg
Checking for MOV
Checking for VIVO
header block 1 size: 0
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 68154, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=553648376
LMLM4 Stream Format not found
system stream synced at 0x0 (11)!
==> Found video stream: 0
==> Found audio stream: 0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO:  MPEG1  352x288  (aspect 3)  25.000 fps  1000.0 kbps (125.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000001  size:352x288  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/root/.mplayer/sub/'
get_path('default.sub') -> '/root/.mplayer/default.sub'
DirectFB: Preinit entered
(*) DirectFB/Config: Parsing config file '/etc/directfbrc'.

       ---------------------- DirectFB v0.9.23 ---------------------
            (c) 2000-2002  convergence integrated media GmbH  
	    (c) 2002-2004  convergence GmbH                   
        -----------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2005-07-22 12:50) 
(*) Direct/Memcpy: Using ppcasm_memcpy()
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 898)...
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 899)...
 (!!!)  *** UNIMPLEMENTED [fusion_reactor_set_lock] *** [reactor.c:802]
 (*) DirectFB/Input: IMPS/2 Mouse 1.0 (Convergence GmbH)
 (*) Direct/Thread: Running 'Linux Input' (INPUT, 900)...
 (*) DirectFB/Input: Dreambox IR Keyboard (1) 0.1 (convergence integrated  media GmbH)
 (*) Direct/Thread: Running 'Linux Input' (INPUT, 901)...
 (*) DirectFB/Input:  (2) 0.1 (convergence integrated media GmbH)
 (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 902)...
 (*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
 (!) DirectFB/R200: couldn't access /proc/bus/pci/devices!
     --> No such file or directory
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (convergence integrated media GmbH)
(*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH)
DirectFB: Keyboard init OK
DirectFB: Preinit OK
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 288 (preferred csp: Mpeg PES)
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
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
VDec: vo config request - 352 x 288 (preferred csp: Planar YV12)
Trying filter chain: vo
DirectFB: Format query: Planar YV12
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Format query: Planar I420
DirectFB: Test format - layer 0 scale/pos 0
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
DirectFB: Format query: Planar YV12
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Format query: Planar I420
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Format query: Packed YUY2
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Format query: Packed UYVY
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Format query: BGRA
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Test format - added layer 0 scale/pos 0
DirectFB: Format query: BGRA
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Test format - added layer 0 scale/pos 0
DirectFB: Format query: BGRA
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Test format - added layer 0 scale/pos 0
DirectFB: Format query: BGRA
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Test format - added layer 0 scale/pos 0
DirectFB: Format query: BGRA
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Test format - added layer 0 scale/pos 0
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (352x288->512x288,flags=0,'MPlayer',0x32315659)
DirectFB: Format query: BGRA
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Test format - added layer 0 scale/pos 0
No accelerated colorspace conversion found
SwScaler: using unscaled Planar YV12 -> BGRA special converter
DirectFB: Format query: BGRA
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Test format - added layer 0 scale/pos 0
REQ: flags=0x7  req=0x0  
VO: [directfb] 352x288 => 512x288 BGRA 
VO: Description: Direct Framebuffer Device
VO: Author: Jiri Svoboda Jiri.Svoboda at seznam.cz
VO: Comment: v 2.0 (for DirectFB version >=0.9.13)
DirectFB: Format query: BGRA
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Test format - added layer 0 scale/pos 0
DirectFB: Config entered [352x288]
DirectFB: With requested format: BGRA
 (!!!)  *** WARNING [letting unprivileged  IDirectFBDisplayLayer::GetSurface() call pass until cooperative level  handling is finished] *** [idirectfbdisplaylayer.c:170 in IDirectFBDisplayLayer_GetSurface()]
DirectFB: Config - looking for suitable layer
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Test format - added layer 0 scale/pos 0
DirectFB: Config - layer 0
DirectFB: Config - switching layer to exclusive mode
DirectFB: Layer reports format:200801
DirectFB: Desired pixelformat: 400c03
DirectFB: Config - changing layer configuration (format)
DirectFB: Double buffering is active
DirectFB: Requested field parity: Don't care
DirectFB: Config - flipping = 1
DirectFB: Config - surface size = 720x576
DirectFB: Frame is active.
DirectFB: Config finished [512x308] - [352x288]
*** [scale] Allocating mp_image_t, 352x288x12bpp YUV planar, 152064 bytes
*** [scale] Allocating mp_image_t, 352x288x12bpp YUV planar, 152064 bytes
*** [vo] Allocating mp_image_t, 352x288x32bpp BGR packed, 405504 bytes
get_path('subfont.ttf') -> '/root/.mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
*** [scale] Allocating mp_image_t, 352x288x12bpp YUV planar, 152064 bytes
V:   5.4 131/131 92% 352%  0.0% 0 0


-- 

Best regards,
 Otto
 Key fingerprint = 3DEA 9F1D F4F3 54CD 12EC  F658 2EC6 C277 ABDA 91B9




More information about the MPlayer-users mailing list