I updated to the latest snapshot after adding a docbook requirement to the ebuild and running autogen.sh. (Dischi - there is a patch below)
Now I am no longer getting the error below. Instead I am now running into the same problem I am having with mplayer. It seems that when the display is stopped, the dxr3 isn't actually released. This causes xine, mplayer and even freevo itself to bail since they cannot access the display. On their own, freevo, mplayer and xine work. I can listen to music in freevo using mplayer. This is a critical error, as it prevents me from watching any video in freevo. I have been attempting to troubleshoot this problem, but have not gotten very far. If I'm not mistaken, freevo doesn't actually control the releasing of the video device. It looks to me like this is done by pygame and libsdl. After freevo essentially dies, I am left with one or more python processes that I must kill manually. It seems logical that this is where the display is being held. Is there any way I can determine what these processes are doing? Any help would be greatly appreciated, as I am currently dead as far as video goes. thanks, -atom ========================================================================== Forced audio codec: mad Opening audio decoder: [msadpcm] MS ADPCM audio decoder dec_audio: Allocating 1024 bytes for input buffer dec_audio: Allocating 4096 + 65536 = 69632 bytes for output buffer AUDIO: 22050 Hz, 2 ch, 16 bit (0x10), ratio: 22179->88200 (177.4 kbit) Selected audio codec: [msadpcm] afm:msadpcm (MS ADPCM) ========================================================================== VO: [dxr3] Will set TV norm to: NTSC. VO: [dxr3] Opened /dev/em8300-0. VO: [dxr3] Error opening /dev/em8300_mv-0 for writing, trying /dev/em8300_mv instead. VO: [dxr3] Error opening /dev/em8300_mv for writing as well! Bailing. VO: [dxr3] Uninitializing. uninit audio: msadpcm DEMUXER: freeing demuxer at 0x84485a0 Exiting... (End of file) mplayer.py (197): MPlayer.play(): mode=file, filename=/mnt/zeroone/movies/cars/2002_RallyWrecks.avi mplayer.py (300): MPlayer.play(): Starting thread, cmd=--prio=-20 /usr/bin/mplayer -ac mad, -autosync 100 -nolirc -autoq 100 -screenw 720 -screenh 576 -fs -slave -ao oss:/dev/em8300_ma-0 -cache 5000 -v -vo dxr3:norm=5 "/mnt/zeroone/movies/cars/2002_RallyWrecks.avi" --prio=-20 /usr/bin/mplayer -ac mad, -autosync 100 -nolirc -autoq 100 -screenw 720 -screenh 576 -fs -slave -ao oss:/dev/em8300_ma-0 -cache 5000 -v -vo dxr3:norm=5 "/mnt/zeroone/movies/cars/2002_RallyWrecks.avi" rom_drives.py (694): MEDIA: Status=4 rom_drives.py (694): MEDIA: Status=4 mplayer.py (552): MPlayer_Thread.run(): Started, cmd=--prio=-20 /usr/bin/mplayer -ac mad, -autosync 100 -nolirc -autoq 100 -screenw 720 -screenh 576 -fs -slave -ao oss:/dev/em8300_ma-0 -cache 5000 -v -vo dxr3:norm=5 "/mnt/zeroone/movies/cars/2002_RallyWrecks.avi" MPlayer logging to "/var/log/freevo/mplayer_stdout.log" and "/var/log/freevo/mplayer_stderr.log" main.py (313): no eventhandler for event PLAY_START self.t1.isAlive()=1, self.t2.isAlive()=1 ChildApp.__init__(), pid=21771, app= /usr/bin/mplayer -ac mad, -autosync 100 -nolirc -autoq 100 -screenw 720 -screenh 576 -fs -slave -ao oss:/dev/em8300_ma-0 -cache 5000 -v -vo dxr3:norm=5 "/mnt/zeroone/movies/cars/2002_RallyWrecks.avi" , poll=-1 stdout: No data, stopping (pid 21772)! stderr: No data, stopping (pid 21773)! childapp: killing pid 21771 signal 2 childapp: Before wait(21771) childapp: After wait() mplayer.py (478): Killing mplayer Exception in thread Thread-2: Traceback (most recent call last): File "/usr/lib/python2.2/threading.py", line 414, in __bootstrap self.run() File "/root/work/freevo/src/video/plugins/mplayer.py", line 572, in run osd.restartdisplay() File "/root/work/freevo/src/util.py", line 676, in __call__ return self.__method(self.__obj, *args, **kwargs) File "./src/osd.py", line 491, in restartdisplay self.depth) error: Couldn't open video part of dxr3. On Sun, 2003-09-21 at 05:33, Dirk Meyer wrote: > Adam Stephens wrote: > > Once again: > > > > http://pvrhw.goldfish.org/tiki-view_pvrent.php?systemid=Malco > > > > Using freevo snapshots, not always every day, but tried today: > > * media-video/mplayer > > Latest version installed: 0.91 > > * media-libs/libsdl > > Latest version installed: 1.2.5-r10 > > * media-video/xine-ui > > Latest version installed: 0.9.22-r10 > > So far so good. > > > xine.py (197): Xine.play(): Starting thread, cmd=/usr/bin/fbxine > > --stdctl --no-lirc -V dxr3 -A oss > > Exception in thread Thread-6: > > Traceback (most recent call last): > > File "/usr/lib/python2.2/threading.py", line 414, in __bootstrap > > self.run() > > File "/root/work/freevo/src/video/plugins/xine.py", line 396, in run > > osd.stopdisplay() > > NameError: global name 'osd' is not defined > > Try a new snapshot, I changed some stuff about the stop and restart of > the display and it should work now. > > > Dischi
--- freevo-snapshot/freevo-snapshot-1.3.4.ebuild 2003-09-07 12:20:25.0000 00000 -0400 +++ freevo-snapshot-1.3.4.ebuild 2003-09-21 15:33:53.000000000 -0400 @@ -18,7 +18,8 @@ >=dev-python/mmpython-snapshot-0.1 dxr3? ( =media-libs/libsdl-1.2.5-r10 ) matrox? ( >=media-video/matroxset-0.3 ) - >=media-video/mplayer-0.90" + >=media-video/mplayer-0.90 + app-text/docbook-sgml-utils" if [ -f /usr/include/lirc/lirc_client.h ] then @@ -33,6 +34,8 @@ wget http://freevo.sourceforge.net/snapshots/freevo-snapshot.tar.bz2 tar -jxf freevo-snapshot.tar.bz2 ln -s freevo freevo-snapshot-${PV} + cd freevo + ./autogen.sh } src_install() {