My VCR_CMD is as follows, but I don't believe IVTV uses it. Once I had
live tv running, record worked as well. It sounds like you may not have
activated the IVTV recording by doing the following:
plugin.remove('tv.generic_record')
plugin_record = plugin.activate('tv.ivtv_record')
For the record, here are are the other pieces of my setup (US NTSC cable).
VCR_CMD = (CONF.mencoder + ' ' +
'tv:// ' + # New mplayer requires this.
'-tv driver=%s:input=%d' % (TV_DRIVER, TV_INPUT) +
':norm=%s' % CONF.tv +
':channel=%(channel)s' + # Filled in by Freevo
':chanlist=%s' % CONF.chanlist +
':width=%d:height=%d' % (TV_REC_SIZE[0], TV_REC_SIZE[1]) +
':outfmt=%s' % TV_REC_OUTFMT +
':device=%s' % TV_DEVICE +
VCR_AUDIO + # set above
' -ovc lavc -lavcopts ' + # Mencoder lavcodec video codec
'vcodec=mpeg4' + # lavcodec mpeg-4
':vbitrate=1200:' + # Change lower/higher, bitrate
'keyint=30 ' + # Keyframe every 10 secs, change?
'-oac mp3lame -lameopts ' + # Use Lame for MP3 encoding,
must be enabled in mencoder!
'br=128:cbr:mode=3 ' + # MP3 const. bitrate, 128 kbit/s
'-ffourcc divx ' + # Force 'divx' ident, better
compat.
'-endpos %(seconds)s ' + # only mencoder uses this so
do it here.
'-o %(filename)s') # Filled in by Freevo
VIDEO_GROUPS = [
VideoGroup(vdev='/dev/video0',
adev=None,
input_type='tuner',
input_num=4,
tuner_norm='NTSC',
tuner_chanlist='us-cable',
desc='Regular cable',
group_type='ivtv',
recordable=True),
]
TV_IVTV_OPTIONS = {
'input' : 4,
'resolution' : '720x480',
'aspect' : 2,
'audio_bitmask' : 233,
'bframes' : 3,
'bitrate_mode' : 1,
'bitrate' : 4000000,
'bitrate_peak' : 4000000,
'dnr_mode' : 0,
'dnr_spatial' : 0,
'dnr_temporal' : 0,
'dnr_type' : 0,
'framerate' : 0,
'framespergop' : 15,
'gop_closure' : 1,
'pulldown' : 0,
'stream_type' : 10,
}
-Davin
Jon Hargett wrote:
Hey Davin, what are you using for your VCR_CMD now? Once I added the
VIDEO_GROUPS, viewing live TV worked, but it looks like the
recordserver is still using mencoder tv:// when it records.
From: Davin Desborough <[EMAIL PROTECTED]>
Reply-To: freevo-users@lists.sourceforge.net
To: freevo-users@lists.sourceforge.net
Subject: Re: [Freevo-users] freevo tv problem
Date: Fri, 27 May 2005 22:31:03 -0400
MIME-Version: 1.0
Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by
mc4-f1.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 27 May
2005 19:35:22 -0700
Received: from projects.sourceforge.net
(sc8-sf-list2-b.sourceforge.net [10.3.1.8])by
sc8-sf-spam1.sourceforge.net (Postfix) with ESMTPid C59E988AF2; Fri,
27 May 2005 19:35:21 -0700 (PDT)
Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12]
helo=sc8-sf-mx2.sourceforge.net)by sc8-sf-list2.sourceforge.net with
esmtp (Exim 4.30)id 1Dbr7J-0003Zm-34for
freevo-users@lists.sourceforge.net; Fri, 27 May 2005 19:32:01 -0700
Received: from smtpout04-04.prod.mesa1.secureserver.net
([64.202.165.199])by sc8-sf-mx2.sourceforge.net with smtp (Exim
4.41)id 1Dbr7I-00012v-3jfor freevo-users@lists.sourceforge.net; Fri,
27 May 2005 19:32:00 -0700
Received: (qmail 18833 invoked from network); 28 May 2005 02:31:57 -0000
Received: from unknown (69.163.36.6) by
smtpout04-04.prod.mesa1.secureserver.net (64.202.165.199) with ESMTP;
28 May 2005 02:31:52 -0000
X-Message-Info: U2wzkPk8/jbwZs9IzPwgmNbUzPSiF2eO6pgl58GZb+g=
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
References: <[EMAIL PROTECTED]>
X-Spam-Score: 0.1 (/)
X-Spam-Report: Spam Filtering performed by sourceforge.net.See
http://spamassassin.org/tag/ for more details.Report problems to
http://sf.net/tracker/?func=add&group_id=1&atid=2000010.0
SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with (0.0
SF_CHICKENPOX_PERIOD BODY: Text interparsed with .0.0
SF_CHICKENPOX_COMMA BODY: Text interparsed with ,0.0
SF_CHICKENPOX_SLASH BODY: Text interparsed with /0.0
SF_CHICKENPOX_MINUS BODY: Text interparsed with -0.0
SF_CHICKENPOX_COLON BODY: Text interparsed with :0.0
SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _0.0
SF_CHICKENPOX_EQUAL BODY: Text interparsed with =0.0
SF_CHICKENPOX_AT BODY: Text interparsed with @0.0
SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with '-0.0
AWL AWL: From: address is in the auto white-list
Errors-To: [EMAIL PROTECTED]
X-BeenThere: freevo-users@lists.sourceforge.net
X-Mailman-Version: 2.0.9-sf.net
Precedence: bulk
List-Unsubscribe:
<https://lists.sourceforge.net/lists/listinfo/freevo-users>,<mailto:[EMAIL PROTECTED]>
List-Id: <freevo-users.lists.sourceforge.net>
List-Post: <mailto:freevo-users@lists.sourceforge.net>
List-Help:
<mailto:[EMAIL PROTECTED]>
List-Subscribe:
<https://lists.sourceforge.net/lists/listinfo/freevo-users>,<mailto:[EMAIL PROTECTED]>
List-Archive:
<http://sourceforge.net/mailarchive/forum.php?forum=freevo-users>
X-Original-Date: Fri, 27 May 2005 22:31:03 -0400
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 28 May 2005 02:35:22.0822 (UTC)
FILETIME=[E5B17E60:01C5632D]
I just went through this myself. You need to configure your
VIDEO_GROUPS. Freevo is currently trying to use mplayer tv:// which
does not work with ivtv. edit your local_conf as follows and give it
another shot. This was just added to the wiki yesterday.
VIDEO_GROUPS = [
VideoGroup(vdev='/dev/video0',
adev=None,
input_type='tuner',
input_num=4,
tuner_norm='NTSC',
tuner_chanlist='us-cable',
desc='Regular cable',
group_type='ivtv',
recordable=True),
]
-Davin
nab Hassan wrote:
runnin suse 9.2, PVR-150, mplayer 1.0pre7. tv works fine with
mplayer in stand alone. when I use freevo to watch tv, it crashes
with following freevo output messages:
config.py (518): Logging to /tmp/freevo/main-1000.log
Error: VIDEO_SHOW_DATA_DIR not found
ROM_DRIVES: Auto-detected and added "('/media/dvd', '/dev/dvd',
'DVD-1')"
config.py (903): Using 'UTF-8' encoding
WARNING: /etc/freevo/lircrc not found!
main.py (221): load basic skin settings: blurr
osd.py (233): Couldnt load font "arial_bold.ttf"
osd.py (239): trying alternate: verabd.ttf
osd.py (233): Couldnt load font "arial_bold.ttf"
osd.py (239): trying alternate: verabd.ttf
osd.py (233): Couldnt load font "arial_bold.ttf"
osd.py (239): trying alternate: verabd.ttf
osd.py (233): Couldnt load font "arial_bold.ttf"
osd.py (239): trying alternate: verabd.ttf
osd.py (233): Couldnt load font "arial_bold.ttf"
osd.py (239): trying alternate: verabd.ttf
osd.py (233): Couldnt load font "arial_bold.ttf"
osd.py (239): trying alternate: verabd.ttf
osd.py (233): Couldnt load font "arial_bold.ttf"
osd.py (239): trying alternate: verabd.ttf
__init__.py (239): Building the xml hash database...
__init__.py (271): done
mplayer.py (102): MPlayer version is:
1.0pre7-SUSE-9.2-i686-Packman-3.3.4
mplayer.py (112): MPlayer version set to: 1.0
xine.py (114): detect xine version 9902
xine.py (76): detect fbxine version 9902
(111, 'Connection refused')
epg_xmltv.py (101): XMLTV, reading cached file
(/var/cache/freevo/TV.xml.pickled)
epg_xmltv.py (129): XMLTV, got cached guide (version 6).
(111, 'Connection refused')
tvguide.py (128): update schedule
(111, 'Connection refused')
USING STANDARD FREQUENCY: chan="3", freq="61250"
logging child to "/tmp/freevo/mplayer-stdout.log"
logging child to "/tmp/freevo/mplayer-stderr.log"
self.t1.isAlive()=True, self.t2.isAlive()=True
ChildApp.__init__(), pid=25564, app= /usr/bin/mplayer -vo
xv,sdl,x11, -fs -autosync 100 -nolirc -autoq 100 -screenw 800
-screenh 600 -fs -slave -nocache tv:// -tv
driver=v4l2:freq=61.250:device=/dev/video0:input=0:norm=NTSC:width=640:height=480:outfmt=yuy2
, poll=-1
1117242496.95: started tv app
tvguide.py (128): update schedule
(111, 'Connection refused')
(111, 'Connection refused')
Your help is appreciated,
TIA
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's
FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit
http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit
http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit
http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users