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
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to