RE: [Freevo-users] Freevo + mp1e

2003-10-13 Thread Gray, Tim
you DO want v4lctl installed on your freevo box.

That way you can adjust color, bright and contrast to get better recordings.
(and to reduce file size!  I found by bringing up bright by 10% reduced my
file sizes by simply washing out some of the minor details in bright areas.
Overall I had a more pleasant to watch divx.)

Although I am swtiching over to mp1e and mpeg files now to take advantage of
using hardware playback in video chipsets and the dxr3 on lower end
hardware.





-Original Message-
From: Alan Murrell [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 11, 2003 12:18 PM
To: [EMAIL PROTECTED]
Subject: Re: [Freevo-users] Freevo + mp1e


Hi Aubin,

Actually, I installed xawtv-control, and I think I can
control channel changing using 'v4lctl' to do the
channel changing.  Here is my VCR_CMD now:

--- VCR_CMD ---
VCR_CMD = ('/usr/bin/v4lctl setnorm NTSC; ' +
   '/usr/bin/v4lctl setchannel %(channel)s; '
+
   '/usr/local/freevo/runtime/apps/mp1e ' +
   '-v ' +
   '-m3 ' +
   '-p/dev/dsp1 ' +
   '-r14,100 ' +
   '-S32 ' +
   '-a0 ' +
   '-c/dev/video0 ' +
   '-s640x480 ' +
   '-b3 ' +
   '-n%(timecode)s ' +
   '-o %(filename)s.mpg')
--- VCR_CMD ---

However, the traceback looks the same:

--- TRACEBACK ---
2003/10/11 09:00 PDT [*RecordServer*] Traceback (most
recent call last):
  File
/usr/local/freevo-1.4-rc1/runtime/lib/python2.2/site-packages/twisted/pytho
n/log.py,
line 52, in callWithContext
return context.call({ILogContext: newCtx},
func, *args, **kw)
  File
/usr/local/freevo-1.4-rc1/runtime/lib/python2.2/site-packages/twisted/pytho
n/context.py,
line 32, in callWithContext
return func(*args,**kw)
  File
/usr/local/freevo-1.4-rc1/runtime/lib/python2.2/site-packages/twisted/inter
net/default.py,
line 122, in run
self.mainLoop()
  File
/usr/local/freevo-1.4-rc1/runtime/lib/python2.2/site-packages/twisted/inter
net/default.py,
line 130, in mainLoop
self.runUntilCurrent()
--- exception caught here ---
  File
/usr/local/freevo-1.4-rc1/runtime/lib/python2.2/site-packages/twisted/inter
net/base.py,
line 368, in runUntilCurrent
call.func(*call.args, **call.kw)
  File ./src/helpers/recordserver.py, line
698, in minuteCheck
self.record_app.Record(rec_prog)
  File
/usr/local/freevo-1.4-rc1/src/tv/plugins/generic_record.py,
line 92, in Record
self.rec_command = config.VCR_CMD %
cl_options
exceptions.KeyError: timecode
--- TRACEBACK ---

However, I think the problem may be a little more than
that, since if I use the above mp1e commands on the
command line, nothing gets recorded; it just sort of
sits there, so I will see if I can get that working
first, but in the meantime, any ideas on what the
traceback is showing would be appreciated.

TIA,

Alan






__ 
Post your free ad now! http://personals.yahoo.ca


---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo + mp1e

2003-10-11 Thread Alan Murrell
Hi Aubin,

--- Aubin Paul [EMAIL PROTECTED] wrote:
 I posted a shell script to change channels via
 mplayer awhile back;

That would be your 'schedulerec' script. correct?  If
so, I did a search for that on both the Users and
Devel archives, but no luck (I did find references to
'schedulerec', but mostly in error postings)

Since Sourceforge's search is useless if you are
searching for more than one word, my search options
were very limited.

 for the 'timecode' it just uses min:sec rather
 than raw seconds like mencoder, so make sure your
 VCR_CMD has %(timecode)s instead of %(seconds)s

It does.  My full VCR_CMD I tried for mp1e is posted
below, followed by the traceback that appears in the
recordserver log.

--- VCR_CMD ---
VCR_CMD =
('/usr/local/freevo/runtime/apps/mp1e ' +
 '-v -m3 ' +
 '-p/dev/dsp1 ' +
 '-r14,100 ' +
 '-s32 ' +
 '-a0 ' +
 '-c/dev/video0 ' +
 '-s640x480 ' +
 '-b3 channel=%(channel)s ' +
 '-n %(timecode)s ' +
 '-o %(filename)s.mpg')
--- VCR_CMD ---

--- TRACEBACK ---
2003/10/10 21:00 PDT [*RecordServer*] Traceback (most
recent call last):
  File
/usr/local/freevo-1.4-rc1/runtime/lib/python2.2/site-packages/twisted/python/log.py,
line 52, in callWithContext
return context.call({ILogContext: newCtx},
func, *args, **kw)
  File
/usr/local/freevo-1.4-rc1/runtime/lib/python2.2/site-packages/twisted/python/context.py,
line 32, in callWithContext
return func(*args,**kw)
  File
/usr/local/freevo-1.4-rc1/runtime/lib/python2.2/site-packages/twisted/internet/default.py,
line 122, in run
self.mainLoop()
  File
/usr/local/freevo-1.4-rc1/runtime/lib/python2.2/site-packages/twisted/internet/default.py,
line 130, in mainLoop
self.runUntilCurrent()
--- exception caught here ---
  File
/usr/local/freevo-1.4-rc1/runtime/lib/python2.2/site-packages/twisted/internet/base.py,
line 368, in runUntilCurrent
call.func(*call.args, **call.kw)
  File ./src/helpers/recordserver.py, line
698, in minuteCheck
self.record_app.Record(rec_prog)
  File
/usr/local/freevo-1.4-rc1/src/tv/plugins/generic_record.py,
line 92, in Record
self.rec_command = config.VCR_CMD %
cl_options
exceptions.KeyError: timecode
--- TRACEBACK ---

I hope this helps.

Alan


__ 
Post your free ad now! http://personals.yahoo.ca


---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo + mp1e

2003-10-11 Thread Aubin Paul
No, the schedulerec thing was just my hack because I did manual
recordings so often.

Basically, it was this:

echo q | mplayer -vo null -ao null tv://$1

With the rest of the mplayer TV options in there somewhere. 

It changes the channel and then quits.

On Sat, Oct 11, 2003 at 11:06:25AM -0400, Alan Murrell wrote:
 Hi Aubin,
 
 --- Aubin Paul [EMAIL PROTECTED] wrote:
  I posted a shell script to change channels via
  mplayer awhile back;
 
 That would be your 'schedulerec' script. correct?  If
 so, I did a search for that on both the Users and
 Devel archives, but no luck (I did find references to
 'schedulerec', but mostly in error postings)
 
 Since Sourceforge's search is useless if you are
 searching for more than one word, my search options
 were very limited.
 
  for the 'timecode' it just uses min:sec rather
  than raw seconds like mencoder, so make sure your
  VCR_CMD has %(timecode)s instead of %(seconds)s
 
 It does.  My full VCR_CMD I tried for mp1e is posted
 below, followed by the traceback that appears in the
 recordserver log.
 
 --- VCR_CMD ---
 VCR_CMD =
 ('/usr/local/freevo/runtime/apps/mp1e ' +
  '-v -m3 ' +
  '-p/dev/dsp1 ' +
  '-r14,100 ' +
  '-s32 ' +
  '-a0 ' +
  '-c/dev/video0 ' +
  '-s640x480 ' +
  '-b3 channel=%(channel)s ' +
  '-n %(timecode)s ' +
  '-o %(filename)s.mpg')
 --- VCR_CMD ---
 
 --- TRACEBACK ---
 2003/10/10 21:00 PDT [*RecordServer*] Traceback (most
 recent call last):
   File
 /usr/local/freevo-1.4-rc1/runtime/lib/python2.2/site-packages/twisted/python/log.py,
 line 52, in callWithContext
 return context.call({ILogContext: newCtx},
 func, *args, **kw)
   File
 /usr/local/freevo-1.4-rc1/runtime/lib/python2.2/site-packages/twisted/python/context.py,
 line 32, in callWithContext
 return func(*args,**kw)
   File
 /usr/local/freevo-1.4-rc1/runtime/lib/python2.2/site-packages/twisted/internet/default.py,
 line 122, in run
 self.mainLoop()
   File
 /usr/local/freevo-1.4-rc1/runtime/lib/python2.2/site-packages/twisted/internet/default.py,
 line 130, in mainLoop
 self.runUntilCurrent()
 --- exception caught here ---
   File
 /usr/local/freevo-1.4-rc1/runtime/lib/python2.2/site-packages/twisted/internet/base.py,
 line 368, in runUntilCurrent
 call.func(*call.args, **call.kw)
   File ./src/helpers/recordserver.py, line
 698, in minuteCheck
 self.record_app.Record(rec_prog)
   File
 /usr/local/freevo-1.4-rc1/src/tv/plugins/generic_record.py,
 line 92, in Record
 self.rec_command = config.VCR_CMD %
 cl_options
 exceptions.KeyError: timecode
 --- TRACEBACK ---
 
 I hope this helps.
 
 Alan
 
 
 __ 
 Post your free ad now! http://personals.yahoo.ca
 
 
 ---
 This SF.net email is sponsored by: SF.net Giveback Program.
 SourceForge.net hosts over 70,000 Open Source Projects.
 See the people who have HELPED US provide better services:
 Click here: http://sourceforge.net/supporters.php
 ___
 Freevo-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/freevo-users


---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo + mp1e

2003-10-11 Thread Alan Murrell
Hi Aubin,

Actually, I installed xawtv-control, and I think I can
control channel changing using 'v4lctl' to do the
channel changing.  Here is my VCR_CMD now:

--- VCR_CMD ---
VCR_CMD = ('/usr/bin/v4lctl setnorm NTSC; ' +
   '/usr/bin/v4lctl setchannel %(channel)s; '
+
   '/usr/local/freevo/runtime/apps/mp1e ' +
   '-v ' +
   '-m3 ' +
   '-p/dev/dsp1 ' +
   '-r14,100 ' +
   '-S32 ' +
   '-a0 ' +
   '-c/dev/video0 ' +
   '-s640x480 ' +
   '-b3 ' +
   '-n%(timecode)s ' +
   '-o %(filename)s.mpg')
--- VCR_CMD ---

However, the traceback looks the same:

--- TRACEBACK ---
2003/10/11 09:00 PDT [*RecordServer*] Traceback (most
recent call last):
  File
/usr/local/freevo-1.4-rc1/runtime/lib/python2.2/site-packages/twisted/python/log.py,
line 52, in callWithContext
return context.call({ILogContext: newCtx},
func, *args, **kw)
  File
/usr/local/freevo-1.4-rc1/runtime/lib/python2.2/site-packages/twisted/python/context.py,
line 32, in callWithContext
return func(*args,**kw)
  File
/usr/local/freevo-1.4-rc1/runtime/lib/python2.2/site-packages/twisted/internet/default.py,
line 122, in run
self.mainLoop()
  File
/usr/local/freevo-1.4-rc1/runtime/lib/python2.2/site-packages/twisted/internet/default.py,
line 130, in mainLoop
self.runUntilCurrent()
--- exception caught here ---
  File
/usr/local/freevo-1.4-rc1/runtime/lib/python2.2/site-packages/twisted/internet/base.py,
line 368, in runUntilCurrent
call.func(*call.args, **call.kw)
  File ./src/helpers/recordserver.py, line
698, in minuteCheck
self.record_app.Record(rec_prog)
  File
/usr/local/freevo-1.4-rc1/src/tv/plugins/generic_record.py,
line 92, in Record
self.rec_command = config.VCR_CMD %
cl_options
exceptions.KeyError: timecode
--- TRACEBACK ---

However, I think the problem may be a little more than
that, since if I use the above mp1e commands on the
command line, nothing gets recorded; it just sort of
sits there, so I will see if I can get that working
first, but in the meantime, any ideas on what the
traceback is showing would be appreciated.

TIA,

Alan






__ 
Post your free ad now! http://personals.yahoo.ca


---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo + mp1e

2003-10-11 Thread Aubin Paul
I'm not sure to be honest, because I haven't used it in awhile (I
bought an ivtv card) and I almost am not sure if python allows you to
chain commands together in the VCR_CMD using ';' between commands.

Aubin


On Sat, Oct 11, 2003 at 12:17:42PM -0400, Alan Murrell wrote:
 Hi Aubin,
 
 Actually, I installed xawtv-control, and I think I can
 control channel changing using 'v4lctl' to do the
 channel changing.  Here is my VCR_CMD now:
 
 --- VCR_CMD ---
 VCR_CMD = ('/usr/bin/v4lctl setnorm NTSC; ' +
'/usr/bin/v4lctl setchannel %(channel)s; '
 +
'/usr/local/freevo/runtime/apps/mp1e ' +
'-v ' +
'-m3 ' +
'-p/dev/dsp1 ' +
'-r14,100 ' +
'-S32 ' +
'-a0 ' +
'-c/dev/video0 ' +
'-s640x480 ' +
'-b3 ' +
'-n%(timecode)s ' +
'-o %(filename)s.mpg')
 --- VCR_CMD ---
 
 However, the traceback looks the same:
 
 --- TRACEBACK ---
 2003/10/11 09:00 PDT [*RecordServer*] Traceback (most
 recent call last):
   File
 /usr/local/freevo-1.4-rc1/runtime/lib/python2.2/site-packages/twisted/python/log.py,
 line 52, in callWithContext
 return context.call({ILogContext: newCtx},
 func, *args, **kw)
   File
 /usr/local/freevo-1.4-rc1/runtime/lib/python2.2/site-packages/twisted/python/context.py,
 line 32, in callWithContext
 return func(*args,**kw)
   File
 /usr/local/freevo-1.4-rc1/runtime/lib/python2.2/site-packages/twisted/internet/default.py,
 line 122, in run
 self.mainLoop()
   File
 /usr/local/freevo-1.4-rc1/runtime/lib/python2.2/site-packages/twisted/internet/default.py,
 line 130, in mainLoop
 self.runUntilCurrent()
 --- exception caught here ---
   File
 /usr/local/freevo-1.4-rc1/runtime/lib/python2.2/site-packages/twisted/internet/base.py,
 line 368, in runUntilCurrent
 call.func(*call.args, **call.kw)
   File ./src/helpers/recordserver.py, line
 698, in minuteCheck
 self.record_app.Record(rec_prog)
   File
 /usr/local/freevo-1.4-rc1/src/tv/plugins/generic_record.py,
 line 92, in Record
 self.rec_command = config.VCR_CMD %
 cl_options
 exceptions.KeyError: timecode
 --- TRACEBACK ---
 
 However, I think the problem may be a little more than
 that, since if I use the above mp1e commands on the
 command line, nothing gets recorded; it just sort of
 sits there, so I will see if I can get that working
 first, but in the meantime, any ideas on what the
 traceback is showing would be appreciated.
 
 TIA,
 
 Alan
 
 
 
 
 
 
 __ 
 Post your free ad now! http://personals.yahoo.ca
 
 
 ---
 This SF.net email is sponsored by: SF.net Giveback Program.
 SourceForge.net hosts over 70,000 Open Source Projects.
 See the people who have HELPED US provide better services:
 Click here: http://sourceforge.net/supporters.php
 ___
 Freevo-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/freevo-users


---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users