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

Reply via email to