Re: [Freevo-users] Freevo and rtsp (live.com) - How I did it.

2005-09-15 Thread Ow Mun Heng
On Sat, 2005-07-30 at 17:41 +0200, Andreas Lorensen wrote:
> I have made a hack so I can watch and record TV whit mplayer / mencoder using 
>  
> the rtsp patch from live.com (www.live.com)

Meaning you compiled mplayer with RTSP support? Is that what you mean?

> 
> It is working pritty well. I also tryed to get it working in the Freevo 2.0, 
> but could not find a easy way, and gave up for now. 

But it's working well for current 1.5 version of Freevo?

> In local_conf.py I put the following
> 
> VIDEO_GROUPS = [
>VideoGroup(desc='rtsp',
>   group_type='rtsp',
>   recordable=True) ]
> 
> TV_CHANNELS = [
> ( '003.tv.tv2.dk', 'DR 1', 'user:[EMAIL PROTECTED]/video/dr1'),
> ( '004.tv.tv2.dk', 'DR 2', 'user:[EMAIL PROTECTED]/video/dr2'),
> ..
> 
> MPLAYER_ARGS = { 
>  'rtsp'   : '-rtsp-stream-over-tcp -zoom -X 800 -fps 25 -nobps',
> ..
> 
> VCR_CMD = (CONF.mencoder + ' ' +
> 'rtsp://%(channel)s ' +   
> '-ovc lavc -oac lavc -of mpeg  ' +
>   '-vf pp=scale=800 -noskip -fps 25 -nobps ' +
> '-endpos %(seconds)s ' +
> '-o %(filename)s') 
> 
> TV_RECORDFILE_SUFFIX = '.mpeg'
> 
> Then I added the following in freevo/tv/plugins/mplayer.py 
> 
> elif vg.group_type == 'rtsp':
>self.fc.chanSet(tuner_channel, app='mplayer')
>tvcmd = ''
>args += ('"rtsp://%s" %s' % (tuner_channel, / 
>   config.MPLAYER_ARGS['rtsp']),)
> 
> 
> /Andreas
> 

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 14:34:38 up 3 days, 3:09, 8 users, load average: 1.14, 0.89,
0.71 




---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo and rtsp (live.com) - How I did it.

2005-08-05 Thread Andreas Lorensen
Fredag den 5. august 2005 16:10 skrev Bastian Farkas:
> looks cool, but will it work with other streaming protocols like for
> example mms or simple http, too? i have some winamp-tv "channels" in an
> fxd file, but having them as real tv channels would be much much
> cooler. :)

I dont see why not. 
Make a wideogroup and ad some code in mplayer.py. something like 

 elif vg.group_type == 'mms':
        self.fc.chanSet(tuner_channel, app='mplayer')
        tvcmd = ''
        args += ('"mms://%s" %s' % (tuner_channel, / 
   config.MPLAYER_ARGS['mms']),)
 
And make sure you have some MPLAYER_ARGS for mms. 

Because Freevo can handle more then one videogroup, you can have TV, DVB, RTSP 
an MMS at the same time. Only problem is recording. Freevo can obly record 
from one videogroup whitout changing the recorder code.

/A

-- 
Denne meddelelse er blevet skannet for virus og farligt indhold
af OpenProtect på mail.sodemark.dk, og er fundet ufarlig.



---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo and rtsp (live.com) - How I did it.

2005-08-05 Thread Bastian Farkas
looks cool, but will it work with other streaming protocols like for
example mms or simple http, too? i have some winamp-tv "channels" in an
fxd file, but having them as real tv channels would be much much
cooler. :)

On Sat, 2005-07-30 at 17:41 +0200, Andreas Lorensen wrote:
> I have made a hack so I can watch and record TV whit mplayer / mencoder using 
>  
> the rtsp patch from live.com (www.live.com)
> 
> It is working pritty well. I also tryed to get it working in the Freevo 2.0, 
> but could not find a easy way, and gave up for now. 
> 
> In local_conf.py I put the following
> 
> VIDEO_GROUPS = [
>VideoGroup(desc='rtsp',
>   group_type='rtsp',
>   recordable=True) ]
> 
> TV_CHANNELS = [
> ( '003.tv.tv2.dk', 'DR 1', 'user:[EMAIL PROTECTED]/video/dr1'),
> ( '004.tv.tv2.dk', 'DR 2', 'user:[EMAIL PROTECTED]/video/dr2'),
> ..
> 
> MPLAYER_ARGS = { 
>  'rtsp'   : '-rtsp-stream-over-tcp -zoom -X 800 -fps 25 -nobps',
> ..
> 
> VCR_CMD = (CONF.mencoder + ' ' +
> 'rtsp://%(channel)s ' +   
> '-ovc lavc -oac lavc -of mpeg  ' +
>   '-vf pp=scale=800 -noskip -fps 25 -nobps ' +
> '-endpos %(seconds)s ' +
> '-o %(filename)s') 
> 
> TV_RECORDFILE_SUFFIX = '.mpeg'
> 
> Then I added the following in freevo/tv/plugins/mplayer.py 
> 
> elif vg.group_type == 'rtsp':
>self.fc.chanSet(tuner_channel, app='mplayer')
>tvcmd = ''
>args += ('"rtsp://%s" %s' % (tuner_channel, / 
>   config.MPLAYER_ARGS['rtsp']),)
> 
> 
> /Andreas
> 



---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Freevo and rtsp (live.com) - How I did it.

2005-07-30 Thread Andreas Lorensen

I have made a hack so I can watch and record TV whit mplayer / mencoder using  
the rtsp patch from live.com (www.live.com)

It is working pritty well. I also tryed to get it working in the Freevo 2.0, 
but could not find a easy way, and gave up for now. 

In local_conf.py I put the following

VIDEO_GROUPS = [
   VideoGroup(desc='rtsp',
  group_type='rtsp',
  recordable=True) ]

TV_CHANNELS = [
( '003.tv.tv2.dk', 'DR 1', 'user:[EMAIL PROTECTED]/video/dr1'),
( '004.tv.tv2.dk', 'DR 2', 'user:[EMAIL PROTECTED]/video/dr2'),
..

MPLAYER_ARGS = { 
 'rtsp'   : '-rtsp-stream-over-tcp -zoom -X 800 -fps 25 -nobps',
..

VCR_CMD = (CONF.mencoder + ' ' +
'rtsp://%(channel)s ' +   
'-ovc lavc -oac lavc -of mpeg  ' +
'-vf pp=scale=800 -noskip -fps 25 -nobps ' +
'-endpos %(seconds)s ' +
'-o %(filename)s') 

TV_RECORDFILE_SUFFIX = '.mpeg'

Then I added the following in freevo/tv/plugins/mplayer.py 

elif vg.group_type == 'rtsp':
   self.fc.chanSet(tuner_channel, app='mplayer')
   tvcmd = ''
   args += ('"rtsp://%s" %s' % (tuner_channel, / 
config.MPLAYER_ARGS['rtsp']),)


/Andreas

-- 
Denne meddelelse er blevet skannet for virus og farligt indhold
af OpenProtect på mail.sodemark.dk, og er fundet ufarlig.



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users