Re: [Freevo-users] freevo tv live streaming

2008-04-21 Thread Jonathan Isom
On Mon, Apr 21, 2008 at 4:02 PM, Markus Wittenberg
<[EMAIL PROTECTED]> wrote:
> Hi
>
>  The freevo TipsAndTricks page provides some information about how to realize 
> tv
>  live streaming
>  
> (http://doc.freevo.org/TipsAndTricks#head-0d183c9bc8870ce53a63467d2dfb3bc9f454f0a9).
>
>  I'm wondering if
>  - there is an other and easier way for making tv live streaming possible?
>  - the give solution is working?
Don't know about that method. If you have dvb the author of
dvbstreamer,  Adam Charrett, has
a new live pause plugin that can be used over a network. It is in svn.
 It may be to your liking.

Later
Jonathan



>  Thanks
>  Markus
>
>
>  -
>  This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>  Don't miss this year's exciting event. There's still time to save $100.
>  Use priority code J8TL2D2.
>  
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>  ___
>  Freevo-users mailing list
>  Freevo-users@lists.sourceforge.net
>  https://lists.sourceforge.net/lists/listinfo/freevo-users
>

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] freevo tv live streaming

2008-04-21 Thread Markus Wittenberg
Hi

The freevo TipsAndTricks page provides some information about how to realize tv 
live streaming 
(http://doc.freevo.org/TipsAndTricks#head-0d183c9bc8870ce53a63467d2dfb3bc9f454f0a9).

I'm wondering if
- there is an other and easier way for making tv live streaming possible?
- the give solution is working?

Thanks
Markus


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Disable sound in mplayer when seeking

2008-04-21 Thread Michel Hoogervorst
2008/4/21, Duncan Webb <[EMAIL PROTECTED]>:

>  How are the speakers connected, to the PC or using an amp? If your using a
> digital connection it won't work as the external amp will control the sound
> levels.
>

Ah, yes... that's exactly how they are connected... through an
external amp with a digital cable :-P


>  You can try mapping a button to send the mute command to mplayer and see if
> it actually works.
>

I'll try that, thank you for thinking with me :-)

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Display not refreshed after quitting plugin vdr_xine

2008-04-21 Thread Duncan Webb
Jean P. wrote:

Would you do something for me, as I don't use the vdr_xine plug-in and I 
would like to know from where this is being called. Just create an error 
or raise an exception. This will hopefully generate a stack trace which 
may indicate where the problem is being caused.

> ok that works for me
> here the patch for vdr_xine.py
> 
> --- vdr_xine.py.old 2008-04-21 08:56:04.0 +0200
> +++ vdr_xine.py 2008-04-21 08:56:26.0 +0200
> @@ -75,7 +75,7 @@
>  import re
>  
>  #freevo modules
> -import config, menu, rc, plugin, util
> +import config, menu, rc, plugin, util, osd, time
>  from item import Item
>  import childapp
>  import pygame.locals as key
> @@ -152,6 +152,7 @@
>  config.KEYMAP[key.K_F11]   = 'YELLOW'
>  config.KEYMAP[key.K_F12]   = 'BLUE'
>  config.KEYMAP[key.K_BACKSPACE] = 'BACK'
> +   self.osd = osd.get_singleton()
>  
>  def actions(self):
>  """
> @@ -186,6 +187,8 @@
>  if self.app:
>  self.app.stop('quit\n')
>  rc.app(None)
You could try this too:
for i in range(10):
if not rc.app.isAlive():
break
time.sleep(0.1)

This should exit with a stack trace
raise "error"

> +time.sleep(1)
> +self.osd.update()
>  
>  def eventhandler(self, event, menuw=None):
>  """


Will you also say if you have a fast machine or a slow one, and it has 
hyper-threading or dual core. AFAICT python does not use more than one 
core, need parallel python for that.

I would like to find out why this problem has only recently appeared. 
I'm guessing that vdr_xine.py is based on ChildApp instead of ChildApp2, 
if this is the case then just changing this to ChildApp2 may sort out 
the problem as it's stop command waits for the child to be completed 
before returning.

Thanks
Duncan

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] freevo and sopcast solution?

2008-04-21 Thread Markus Wittenberg
Hi

Is there a out of the box solution for streaming sopcast tv streams with freevo?

Because I couldn't find a solution I wrote some scripts for supporting this 
feature by freevo commands and mplayer. Unfortunately there are some issues.
- When watching a sopcast stream for too long, freevo will 'crash' after 
returning from mplayer/sopcast. The python process is running with 99% CPU (VIA 
EPIA M) and has to be killed.
- Sometimes a stream doesn't start. Maybe the sleep intervall in sopscript is 
too short for connecting or the stream isn't available at all.

little sopcast howto
0. get, compile and install sopcast

1. activate commands plugin in local_conf.py
   plugin.activate('command', level=45)
   COMMANDS_DIR = FREEVO_STATICDIR + '/commands'

2. create commands, e.g. for CCTV1 (Chinese television), under 
/home/username/.freevo/static/commands as CCTV1.fxd




/home/username/.freevo/static/sopscript 
sop://broker1.sopcast.com:3912/15102



CCTV 1




3. create the script mentioned in CCTV1.fxd under ' as 
/home/username/.freevo/static/sopscript

   #!/bin/sh
   /usr/bin/sp-sc $1 44008 38139 &
   sleep 25s
   /usr/bin/mplayer -fs fullscreen 'http://127.0.0.1:38139'
   kill $(pgrep sp-sc)
   kill $(pgrep wget)
   kill $(pgrep mplayer)

Any comments on my 'workaround'?

Question: in local_conf.py you can configure a command that is executed befor 
starting and after finishing a movie. Is it possible to have such a feature 
within a movie FXD? Maybe then I could get rid of the freevo commands.

Thanks
Markus

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] How can freevo stream the webradio (stream mms) to other machines of the home network (no freevo installed) ?

2008-04-21 Thread yellow protoss
How can freevo stream the webradio (stream mms) to other machines of the
home network (no freevo installed) ?

thank you
Happy Freevo Tux
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Display not refreshed after quitting plugin vdr_xine

2008-04-21 Thread Jean P.
ok that works for me
here the patch for vdr_xine.py

--- vdr_xine.py.old 2008-04-21 08:56:04.0 +0200
+++ vdr_xine.py 2008-04-21 08:56:26.0 +0200
@@ -75,7 +75,7 @@
 import re
 
 #freevo modules
-import config, menu, rc, plugin, util
+import config, menu, rc, plugin, util, osd, time
 from item import Item
 import childapp
 import pygame.locals as key
@@ -152,6 +152,7 @@
 config.KEYMAP[key.K_F11]   = 'YELLOW'
 config.KEYMAP[key.K_F12]   = 'BLUE'
 config.KEYMAP[key.K_BACKSPACE] = 'BACK'
+   self.osd = osd.get_singleton()
 
 def actions(self):
 """
@@ -186,6 +187,8 @@
 if self.app:
 self.app.stop('quit\n')
 rc.app(None)
+time.sleep(1)
+self.osd.update()
 
 def eventhandler(self, event, menuw=None):
 """

THX a lot
Bye

Le jeudi 17 avril 2008 à 14:09 +0200, Gorka Olaizola a écrit :
> On Thu, Apr 17, 2008 at 06:31:19AM -0400, Partha Bagchi wrote:
> > I have a similar issue though not with vdr_xine but with xine. After I
> > finish playing a movie and hit q to quit, the control is returned to
> > freevo. However, the screen is black.
> >
> I have seen this behaviour with the freevoscreensaver plugin.
> After quiting the screensaver the screen was black.
> 
> I added a sleep time of one second in the plugin shutdown function 
> and after that it seems to work well.
> 
> time.sleep(1)
> self.osd.update()
> 
> I think that the problem could be that Freevo calls to update the Freevo
> window before the window of the external application gets killed and
> then Pygame or X do not update the Freevo window because as the
> app window is hiding the Freevo window no one will see that blitting 
> operation.
> 
> Freevo appears then with the black screen and the screen, or parts of
> it, is drawed when a new event is received.
> 
> -
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> ___ Freevo-users mailing list 
> Freevo-users@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/freevo-users


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Disable sound in mplayer when seeking

2008-04-21 Thread Duncan Webb
Michel Hoogervorst wrote:
> 2008/4/16, Duncan Webb <[EMAIL PROTECTED]>:
>> Never tried this but it may be possible to send several commands to
>>  mplayer, with the VIDEO_SEND_MPLAYER_CMD such as:
>>
>>  'mute 1\nseek +30 0\nmute 0'
>>
>>  EVENTS['video']['LEFT'] = \
>>Event(VIDEO_SEND_MPLAYER_CMD, arg='mute 1\npausing_keep seek
>>  -60\nmute 0')
>>
> 
> Sorry for the late reply (had some other things to worry about last week...).
> It doesn't work.. I think it would be nice to keep the sound muted for
> about half a second or so.
> 
> Thinking... thinking... thinking...

How are the speakers connected, to the PC or using an amp? If your using 
a digital connection it won't work as the external amp will control the 
sound levels.

You can try mapping a button to send the mute command to mplayer and see 
if it actually works.


Duncan

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Disable sound in mplayer when seeking

2008-04-21 Thread Michel Hoogervorst
2008/4/16, Duncan Webb <[EMAIL PROTECTED]>:
>
> Never tried this but it may be possible to send several commands to
>  mplayer, with the VIDEO_SEND_MPLAYER_CMD such as:
>
>  'mute 1\nseek +30 0\nmute 0'
>
>  EVENTS['video']['LEFT'] = \
>Event(VIDEO_SEND_MPLAYER_CMD, arg='mute 1\npausing_keep seek
>  -60\nmute 0')
>

Sorry for the late reply (had some other things to worry about last week...).
It doesn't work.. I think it would be nice to keep the sound muted for
about half a second or so.

Thinking... thinking... thinking...


- Michel

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Image Viewer

2008-04-21 Thread Duncan Webb
Partha Bagchi wrote:
> Hi All,
> 
> First of, must say that I find Freevo the best HTPC frontend.
> 
> I have a couple of questions about the imageviewer:
> 1. I am trying to view 1080p images on my 1080p screen. However, the
> viewer will not display full screen. It always cuts of on 3 sides. How
> do I force it show 1080p on a 1080p screen?

Any chance of a screen shot? Use F10 for this and they go into /tmp.
Is it just image viewer that chops off bit of images?

> 2. Can I configure my own viewer such as eog?

You can try using a command.fxd, there is some information in the wiki 
about these.

BTW I've just tested imageviewer on a monitory running at 1920x1200 and 
this is fine, it was fine on the TV until the TV went bang, :(.

Duncan

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Image Viewer

2008-04-21 Thread Partha Bagchi
Hi All,

First of, must say that I find Freevo the best HTPC frontend.

I have a couple of questions about the imageviewer:
1. I am trying to view 1080p images on my 1080p screen. However, the
viewer will not display full screen. It always cuts of on 3 sides. How
do I force it show 1080p on a 1080p screen?

2. Can I configure my own viewer such as eog?

Thanks in advance,

Partha

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users