[Freevo-users] Re: More help with DirectFB

2005-02-15 Thread Lucian Muresan
Justin Wetherell wrote:
After further examination, I have seen this problem before but I can't 
remember the solution.

I have installed DirectFB 0.9.21, SDL 1.2.8, pygame 1.6, and Freevo 1.5.3.
I recompiled DirectFB, SDL, pygame, and Mplayer. I can play movies fine 
with Mplayer but when I start Freevo I either get a blue screen (when 
primary-layer=2) or scrambled display (when SDL_DIRECTFB_MGA_CRTC2 is 
set). When I compiled SDL I did see DirectFB... yes.

Any suggestions would be welcomed.
ENV
export SDL_VIDEODRIVER=directfb
export AUDIODEV=/dev/dsp1
export SDL_AUDIODRIVER=oss
export SDL_PATH_DSP=/dev/dsp1
unset SDL_VIDEO_YUV_DIRECT
export SDL_VIDEO_YUV_HWACCEL=1
export SDL_DIRECTFB_MGA_CRTC2=1
export SDL_DIRECTFB_MGA_STRETCH=1
export SDL_DIRECTFB_MGA_OVERSCAN=1

What happens if you unset all of these SDL_ environment variables except 
SDL_VIDEODRIVER and keep also primary-layer=2 in directfbrc?
Then, can you try it with libsdl-1.2.7 ?

Cheers,
Lucian

matrox-crtc2
matrox-tv-standard=ntsc
#primary-layer=2
#fbdev=/dev/fb0
#no-vt-switch
#graphics-vt
#sync

---
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=6595alloc_id=14396op=click
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Firefox with CommandMainMenuItem

2005-02-15 Thread Georg Künzel
Hi,

I'm setting up a new freevo box based on 1.5.3 (my old, still running  1.4 
seems a bit outdated) and ran into a few minor problems. Here's the first 
one:

Firefox doesn't starts in fullscreen mode, at 800x600 on TV its window
is only ~ 600x400. Freevo is windowmanager (-fs -br)

My settings:

plugin.activate('command.CommandMainMenuItem', 
args=('/library/fxd/firefox.fxd',), level=35)

cat /library/fxd/firefox.fxd:

?xml version=1.0 ?
freevo
command title=Firefox
cmd/usr/bin/firefox www.pro-linux.de/cmd
stoposd /  !-- stop osd before starting --
info
descriptionFirefox/description
/info
/command
/freevo

What do I have to change to make firefox start in fs ?
As I understand from the wiki/google/mailinglists an extra windowmanager (e.g. 
ratpoison) is not neccessary anymore. Is this info correct ?

Let's start with this prob... When setup is complete, I'll write a summary
about hardwar/software config. Should I ad it to wiki or elsewhere ?

@Tanja (and others): Nice wiki job!

Regards
Georg

-- 
Mein oeffentlicher Schluessel fuer PGP/GPG - Verschluesselung:

pub  1024D/63EB55CA 2002-11-27 Georg Kuenzel [EMAIL PROTECTED]
Key fingerprint = 8DA9 55C6 91FA D92D 89C3  7C22 0A1D 790C 63EB 55CA


---
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_ide95alloc_id396op=click
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Auto executing scripts in freevo? (Was: Re: ATI Remote and Keybindings)

2005-02-15 Thread Tanja Striepling
freevo-users@lists.sourceforge.net schrieb am 15.02.05 02:20:46:
 
 ok, a little digging around, and i found starting X11 first
 then execute xmodmap -e keycode 54 = Escape gave me the desired
 result, but for some reason Debian isnt looking at .xmodmap or
 /etc/X11/xinit/ or even when i specify  it in ~/.xinitrc, so it only
 works when X11 is actually up. Ok, is there an auto exec setup if you
 start freevo? I like to have a startup script that executes, during
 freevo's booting, is this possible?
 
 

Hi

maybe this is what you are looking for:
OSD_SDL_EXEC_AFTER_STARTUP
and
OSD_SDL_EXEC_AFTER_CLOSE 
in local_conf.py

I use the first variable to execute a script to configure my tv-out. 
That also has to be done while X is already running.
The script is executed during freevo's startup.

Hope that helps
Greetings
Tanja



__
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193



---
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=6595alloc_id=14396op=click
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] No audio with recordings

2005-02-15 Thread Philip Wyett
On Mon, 2005-02-14 at 21:50 +0100, Stefan Lange-Hegermann wrote:
 Philip Wyett schrieb:
  alas still no audio with recordings. Hardware is Pinnacle PCTV Rave
  (saa7134) and sound card is SB Live (patch cable from tuner to sound
  card line in).
 
 I also have an saa7134 card, wich came with an audio cable to connect to 
 the sound card, but my audio was very bad quality. I finally found out, 
 that the cable is not needed at all, I was able to get the sound 
 directly through PCI. I had to load the module with oss=1 as an option 
 and then the audio in device was /dev/dsp1. The sound quality is much 
 better now.
 
 Stefan
 

Aha, a quick addition of: options saa7134 oss=1 in /etc/modprobe.conf
right below the the loading of the saa7134 module did the trick. Much
appreciate the help Stefan.

Regards

Phil

-- 

Philip Wyett

Personal Email: [EMAIL PROTECTED]

Work email: [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: [Freevo-users] More help with DirectFB

2005-02-15 Thread Justin Wetherell
Justin Wetherell wrote:
Kari Smolander wrote:
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of 
Justin Wetherell
Sent: Tuesday, February 15, 2005 6:12 AM
To: Freevo-devel@lists.sourceforge.net; 
mailto:Freevo-users@lists.sourceforge.net; [EMAIL PROTECTED]
Subject: [Freevo-users] More help with DirectFB

After further examination, I have seen this problem before but I 
can't remember the solution.

I have installed DirectFB 0.9.21, SDL 1.2.8, pygame 1.6, and Freevo 
1.5.3.

I recompiled DirectFB, SDL, pygame, and Mplayer. I can play movies 
fine with Mplayer but when I start Freevo I either get a blue screen 
(when primary-layer=2) or scrambled display (when 
SDL_DIRECTFB_MGA_CRTC2 is set). When I compiled SDL I did see 
DirectFB... yes.

Any suggestions would be welcomed.
  

This is just a guess, but:
Try to start freevo (or any dfb application) *twice*. I have a kernel
2.6.10, DirectFB 0.9.21 and Freevo 1.5.3. For some reason (related to
DirectFB implementation, I guess), the first dfb application never 
executes
but ends at dfb error. The second one starts OK.

Actually I have added a row
/usr/local/bin/dfbswitch 720x576
in the beginning to my freevo script in /etc/init.d
After that, freevo starts. It does not matter which dfb application 
you use.

Strange, isn't it?
Kari

---
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_ide95alloc_id396op=click
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
 

I laos found that if you set OSD_STOP_WHEN_PLAYING = 0 and just play a 
mpg file then when it exists the screen is fine.

---
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=6595alloc_id=14396op=click
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
I ended up using this in my local_config,py
OSD_SDL_EXEC_AFTER_STARTUP = /etc/freevo/run_first.sh
and set this:
OSD_STOP_WHEN_PLAYING = 0
made this file /etc/freevo/run_first.sh
 #!/bin/sh
 /usr/local/bin/mplayer -vo dfbmga /etc/freevo/sample.avi 
 exit

I recorded 0.1 secs with mencoder saved it as sample.avi as 
/etc/freevo/sample.avi

---
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=6595alloc_id=14396op=click
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] auto picture playlist/slideshow

2005-02-15 Thread Tanja Striepling
Hi Justin,

You need to set the following variable in local_conf.py:
IMAGEVIEWER_DURATION
by default it is set to 0, which means, you have to press a key to continue 
with the next image.

I have just fallen over this by chance while looking for something else.
Hope it helps you.

Greeting 
Tanja


 Ive installed v1.5.3 on YDL 4.0.  Im going to be using it mainly to
 view pictures.  Im trying to get the slideshow/autoplay feature to
 work, without creating ssr files.  From reading the docs, it appears
 that I can turn on some settings and it should autoplay pictures in the
 directories that I specify.  It does start to autoplay, even random, but
 never makes it past the first picture.  If I hit p to pause, and p
 again, it goes to the next picture, but again, never further.  Am I
 missing something?  Any help would be appreciated.
 
 FYI, currently I have the following set:
 
 DIRECTORY_AUTOPLAY_ITEMS = [ image ]
 DIRECTORY_ADD_RANDOM_PLAYLIST  = [ image ]
 
 Thanks, Justin.

__
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193



---
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=6595alloc_id=14396op=click
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] AVI Recording / Streaming problems

2005-02-15 Thread Stephan Kanthak
Hi all!

I've some problems with the files produced by mencoder:

 1. Almost every second recording has a broken index
 and mplayer tries to generate an index upon playback.
 That takes annoyingly long (even on a fast machine with
 a fast harddisk) and freevo leaves the screen blank at
 that time. This problem has already been discussed on
 this list without any outcome. Do others have the same
 problem? What's the problem and what the solution?

 2. Large files  2 GB play fine on the freevo box itself, but
 do not if being streamed via the web interface to a second
 machine. Output from mplayer is the following:

  Resolving home-center for AF_INET...
  Connecting to server home-center[10.0.32.15]:8080 ...
  ** warning: this is no extended AVI header..
  Resolving home-center for AF_INET...
  Connecting to server home-center[10.0.32.15]:8080 ...
  ** warning: this is no extended AVI header..
  ...

 which repeats over and over again. Any ideas? Did
 mencoder generate a broken AVI file? And if yes, why
 does it then play on the local machine? Does it have
 something to do with seeking?

Stephan



---
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=6595alloc_id=14396op=click
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Help writing plugin.

2005-02-15 Thread Ryan Roth
Why doesn't this code work?  I get the error tuple not callable:
   def createMenu(self, arg=None, menuw=None):
   ha_menu_items=[]
   for room in config.HA_ITEMS:
   index=config.HA_ITEMS.index(room)
   
ha_menu_items+=[menu.MenuItem(room[0],(self.createDeviceMenu, room[0]))] 
# ---here is what causes the error, but why?
   ha_menu=menu.Menu(Home Automation, ha_menu_items)
   menuw.pushmenu(ha_menu)
   menuw.refresh()
   def createDeviceMenu(self, room, arg=None, menuw=None):
   ha_menu_items=[]
   ha_menu_items+=[menu.MenuItem(room)]
   ha_menu=menu.Menu(Devices, ha_menu_items)
   menuw.pushmenu(ha_menu)
   menuw.refresh()
   return


---
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=6595alloc_id=14396op=click
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Help writing plugin.

2005-02-15 Thread Rob Shortt
Ryan Roth wrote:
Why doesn't this code work?  I get the error tuple not callable:
...
ha_menu_items+=[menu.MenuItem(room[0],(self.createDeviceMenu, room[0]))] 
# ---here is what causes the error, but why?
try:
ha_menu_items+=[menu.MenuItem(room[0],self.createDeviceMenu,(room[0],))]
or:
ha_menu_items+=[menu.MenuItem(room[0],self.createDeviceMenu,room[0])]
-Rob

---
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=6595alloc_id=14396op=click
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] More help with DirectFB

2005-02-15 Thread Justin Wetherell
Justin Wetherell wrote:
Justin Wetherell wrote:
Kari Smolander wrote:
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of 
Justin Wetherell
Sent: Tuesday, February 15, 2005 6:12 AM
To: Freevo-devel@lists.sourceforge.net; 
mailto:Freevo-users@lists.sourceforge.net; [EMAIL PROTECTED]
Subject: [Freevo-users] More help with DirectFB

After further examination, I have seen this problem before but I 
can't remember the solution.

I have installed DirectFB 0.9.21, SDL 1.2.8, pygame 1.6, and Freevo 
1.5.3.

I recompiled DirectFB, SDL, pygame, and Mplayer. I can play movies 
fine with Mplayer but when I start Freevo I either get a blue 
screen (when primary-layer=2) or scrambled display (when 
SDL_DIRECTFB_MGA_CRTC2 is set). When I compiled SDL I did see 
DirectFB... yes.

Any suggestions would be welcomed.
  

This is just a guess, but:
Try to start freevo (or any dfb application) *twice*. I have a kernel
2.6.10, DirectFB 0.9.21 and Freevo 1.5.3. For some reason (related to
DirectFB implementation, I guess), the first dfb application never 
executes
but ends at dfb error. The second one starts OK.

Actually I have added a row
/usr/local/bin/dfbswitch 720x576
in the beginning to my freevo script in /etc/init.d
After that, freevo starts. It does not matter which dfb application 
you use.

Strange, isn't it?
Kari

---
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_ide95alloc_id396op=click
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

 

I laos found that if you set OSD_STOP_WHEN_PLAYING = 0 and just play 
a mpg file then when it exists the screen is fine.

---
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=6595alloc_id=14396op=click
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
I ended up using this in my local_config,py
OSD_SDL_EXEC_AFTER_STARTUP = /etc/freevo/run_first.sh
and set this:
OSD_STOP_WHEN_PLAYING = 0
made this file /etc/freevo/run_first.sh
 #!/bin/sh
 /usr/local/bin/mplayer -vo dfbmga /etc/freevo/sample.avi  exit
I recorded 0.1 secs with mencoder saved it as sample.avi as 
/etc/freevo/sample.avi

---
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=6595alloc_id=14396op=click
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
This REALLY stinks! Does the DirectFB community know about this? I have 
a feeling that matroxset or fbset should fix this problem but cant seem 
to get anywhere. This makes xmame and all other emulators useless in Freevo.

---
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=6595alloc_id=14396op=click
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users