right getting debugging more organized:
/var/log/freevo/mplayer-stderr.log sais
'-autosync' '100' '-nolirc' '-autoq' '100' '-screenw' '720' '-screenh' '576' '-fs' '-slave' '-ao' 'alsa' '-v' '-vo' 'xvidix -colorkey 0x000000' '-cache' '5000' '-loop' '1' '//media/films/Vlamboog.mpg'
Error opening/initializing the selected video_out (-vo) device.
freevo runs as root to avoid just this problem! I do not get this error when I run mplayer as root or under sudo from the command line however I have to set the DISPLAY correctly.
Could that be the problem here? How do I check which setting DISPLAY has in ChildApp?
Paul
Paul Sijben wrote:
some more debugging info (after insering a print statement in mplayer.py's parsing of the startup info. It seems to me that childapp is giving up on mplayer while it is still starting, can this be?
-------------------
mplayer.py (202): MPlayer.play(): mode=file, url=//media/films/Vlamboog.mpg
osd.py (216): Loading font "/usr/share/freevo/fonts/Vera.ttf"
rc.py (425): register callback: <bound method MPlayerApp.poll of <video.plugins.
mplayer.MPlayerApp instance at 0x411969cc>>
rc.py (421): register shutdown callback: <bound method MPlayerApp.stop of <video
.plugins.mplayer.MPlayerApp instance at 0x411969cc>>
self.t1.isAlive()=True, self.t2.isAlive()=True
ChildApp.__init__(), pid=15394, app=/usr/local/bin/mplayer -autosync 100 -nolirc
-autoq 100 -screenw 720 -screenh 576 -fs -slave -ao alsa -v -vo xvidix -colorke
y 0x000000 -cache 5000 -loop 1 //media/films/Vlamboog.mpg, poll=-1
main.py (289): handling event VIDEO_START
main.py (307): no eventhandler for event VIDEO_START
main.py (289): handling event PLAY_START
main.py (307): no eventhandler for event PLAY_START
MPlayer 1.0pre6-3.3.3 (C) 2000-2004 MPlayer Team
CPU: IDT/Centaur/VIA C3 Samuel 2 (WinChip C5B core)/C3 Ezra (Family: 6, Stepping
: 3)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX 3DNow
CommandLine: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 MMX (with tiny bit 3DNow) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf: No such file or director
y
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('Vlamboog.mpg.conf') -> '/root/.mplayer/Vlamboog.mpg.conf'
Playing //media/films/Vlamboog.mpg.
[file] File size is 1596588 bytes
STREAM: [file] //media/films/Vlamboog.mpg
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:1596588
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 //media/films/Vlamboog.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 71768, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=553648913 childapp.py (320): stderr: No data, stopping (pid 15396)!
LMLM4 Stream Format not found
system stream synced at 0xB (0)!
==> 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 352x240 (aspect 12) 29.970 fps 1150.0 kbps (143.8 kbyte/s)
childapp.py (320): stdout: No data, stopping (pid 15395)! [V] filefmt:2 fourcc:0x10000001 size:352x240 fps:29.97 ftime:=0.0334
get_path('sub/') -> '/root/.mplayer/sub/'
get_path('default.sub') -> '/root/.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 3DNow! optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer II, 44100 Hz 224 kbit Stereo, BPF: 731
Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 28000->176400 (224.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
uninit audio: mp3lib
vo: x11 uninit called but X11 not inited..
rc.py (437): unregister callback: <bound method MPlayerApp.poll of <video.plugin
s.mplayer.MPlayerApp instance at 0x411969cc>>
rc.py (441): unregister shutdown callback: <bound method MPlayerApp.stop of <vid
eo.plugins.mplayer.MPlayerApp instance at 0x411969cc>>
childapp.py (209): done the easy way
main.py (289): handling event PLAY_END
childapp.py (200): already dead
Paul Sijben wrote:
today I upgraded my mplayer to the latest version only to find out that it does not like the environment freevo 1.5.3 provides for it when starting freevo with "freevo -fs". When activating mplayer to play a video mplayer complains "vo: x11 uninit called but X11 not inited.." and exits.
I have no idea yeat what changed here nor have I found a parameter to feed mplayer to address this.
Has anyone else found a solution?
-- Paul Sijben mailto:[EMAIL PROTECTED] Amersfoort http://www.sijben.net
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users