Re: [Freevo-users] Recording not starting and problem with channel management

2009-01-19 Thread markus frei
OK, I didn't get anywhere, so I tried this on another PC with a similar config. 
Again I used the mint repositories to install freevo 1.8.1 through synaptic and 
had similar porblems. I then used standard channels and not frequencies, again 
similar problems. Then I uninstalled freevo via synaptic and instead installed 
the freevo source. With that I got it working. Is there something broken with 
freevo and mint6 from the mint repositories?

 Original-Nachricht 
 Datum: Thu, 15 Jan 2009 09:58:48 +
 Von: John Molohan john.molo...@gcd.ie
 An: freevo-users@lists.sourceforge.net
 CC: freevo-us...@list.sourceforge.net
 Betreff: Re: [Freevo-users] Recording not starting and problem with channel 
 management

 markus frei wrote:
  I have at least 2 issues with freevo 1.8.1 (installed in mint 6 from
 repositories and using tvtime with a pinnaclesys tv pro card):
 
  1).  Tvtime itself works great, and I'm using frequencies to tune the
 channels, as that gives me better quality and I don't have to finetune. When
 freevo adds it's info to the tvtime stationlist.xml file, it also adds US
 Cable to the band identifier. This makes it impossible to actually tune in
 to the channel. When I then edit the stationlist.xml file and change US
 Cable to Custom, then restart freevo, it works. The problem seems to be
 that after a PC restart freevo again puts the US Cable into the file. Does
 anyone know where I can change that behavior?

 It's a bug. I patched it a long time ago when I was using tvtime but 
 never submitted it and now it's long gone (I'm using ivtv). It wasn't 
 difficult to patch so if you have the time and can submit a patch that 
 would be great. From what I remember I changed it so that when using 
 frequencies I had Custom set as the country in freevo.conf then patched 
 tvtime.py so that it in turn set Custom in it's xml file instead of US 
 Cable when it saw that. I could be wrong though it was around 3 years ago.
  2).  I can't get any recording from TV to start. I do get a file with
 the scheduled recording info, but no recording itself. I tried the
 instructions on the following Link where there is a bash script that is run 
 to start
 mencoder, http://freevo.sr-club.de/ and I also tried the freevo builtin
 things by just uncommenting the mencoder parts in my local_conf.py file (the
 user's file) and no recording started. If I do everything from the terminal
 it works, but as I'm not a scripter I don't know how to get the correct
 info from freevo to go into the bash script. Can someone help me here?
 
  Thanks.

 We'll need some more info - the relevant settings from your config and 
 excerpts from main.log and recordserver.log.
 
 John
 
 --
 This SF.net email is sponsored by:
 SourcForge Community
 SourceForge wants to tell your story.
 http://p.sf.net/sfu/sf-spreadtheword
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users

-- 
Sensationsangebot verlängert: GMX FreeDSL - Telefonanschluss + DSL 
für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K1308T4569a

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Recording not starting and problem with channel management

2009-01-15 Thread John Molohan
markus frei wrote:
 I have at least 2 issues with freevo 1.8.1 (installed in mint 6 from 
 repositories and using tvtime with a pinnaclesys tv pro card):

 1).  Tvtime itself works great, and I'm using frequencies to tune the 
 channels, as that gives me better quality and I don't have to finetune. When 
 freevo adds it's info to the tvtime stationlist.xml file, it also adds US 
 Cable to the band identifier. This makes it impossible to actually tune in 
 to the channel. When I then edit the stationlist.xml file and change US 
 Cable to Custom, then restart freevo, it works. The problem seems to be 
 that after a PC restart freevo again puts the US Cable into the file. Does 
 anyone know where I can change that behavior?
   
It's a bug. I patched it a long time ago when I was using tvtime but 
never submitted it and now it's long gone (I'm using ivtv). It wasn't 
difficult to patch so if you have the time and can submit a patch that 
would be great. From what I remember I changed it so that when using 
frequencies I had Custom set as the country in freevo.conf then patched 
tvtime.py so that it in turn set Custom in it's xml file instead of US 
Cable when it saw that. I could be wrong though it was around 3 years ago.
 2).  I can't get any recording from TV to start. I do get a file with the 
 scheduled recording info, but no recording itself. I tried the instructions 
 on the following Link where there is a bash script that is run to start 
 mencoder, http://freevo.sr-club.de/ and I also tried the freevo builtin 
 things by just uncommenting the mencoder parts in my local_conf.py file (the 
 user's file) and no recording started. If I do everything from the terminal 
 it works, but as I'm not a scripter I don't know how to get the correct info 
 from freevo to go into the bash script. Can someone help me here?

 Thanks.
   
We'll need some more info - the relevant settings from your config and 
excerpts from main.log and recordserver.log.

John

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Recording not starting and problem with channel management

2009-01-15 Thread Elizabeth Dodd
On Thu, 15 Jan 2009, markus frei wrote:
 When freevo adds it's info to the tvtime stationlist.xml file, it also adds
 US Cable to the band identifier. This makes it impossible to actually
 tune in to the channel. When I then edit the stationlist.xml file and
 change US Cable to Custom, then restart freevo, it works. The problem
 seems to be that after a PC restart freevo again puts the US Cable into
 the file. Does anyone know where I can change that behavior?

My change was less sophisticated than the other respondent, but I fixed the 
directory containing stationlist.xml to be read only.
It may have been /home/user/.tvtime
Trying to make stationlist.xml readonly didn't do the trick.



-- 
So little time, so little to do.
-- Oscar Levant

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Recording not starting and problem with channel management

2009-01-15 Thread Elizabeth Dodd
On Thu, 15 Jan 2009, markus frei wrote:
 2).  I can't get any recording from TV to start. I do get a file with the
 scheduled recording info, but no recording itself. I tried the instructions
 on the following Link where there is a bash script that is run to start
 mencoder, http://freevo.sr-club.de/ and I also tried the freevo builtin
 things by just uncommenting the mencoder parts in my local_conf.py file
 (the user's file) and no recording started. If I do everything from the
 terminal it works, but as I'm not a scripter I don't know how to get the
 correct info from freevo to go into the bash script. Can someone help me
 here?
could you get appropriate ideas from this page
http://doc.freevo.org/MultiRecordingCard
for creating a bash script?
There isn't a sample for your card but you should be able to work it out if 
you can do command line recording


-- 
Seems a computer engineer, a systems analyst, and a programmer were
driving down a mountain when the brakes gave out.  They screamed down the
mountain, gaining speed, but finally managed to grind to a halt, more by
luck than anything else, just inches from a thousand foot drop to jagged
rocks.  They all got out of the car:
The computer engineer said, I think I can fix it.
The systems analyst said, No, no, I think we should take it
into town and have a specialist look at it.
The programmer said, OK, but first I think we should get back
in and see if it does it again.

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Recording not starting and problem with channel management

2009-01-15 Thread markus frei
I've changed the tvtime.py file to just return Custom instead of US Cable. 
This seems to work for me now, but I guess it isn't the patch you had in mind. 
I'll probably also have to repeat the edit when I get system updates.


 Original-Nachricht 
 Datum: Thu, 15 Jan 2009 09:58:48 +
 Von: John Molohan john.molo...@gcd.ie
 An: freevo-users@lists.sourceforge.net
 CC: freevo-us...@list.sourceforge.net
 Betreff: Re: [Freevo-users] Recording not starting and problem with channel 
 management

 markus frei wrote:
  I have at least 2 issues with freevo 1.8.1 (installed in mint 6 from
 repositories and using tvtime with a pinnaclesys tv pro card):
 
  1).  Tvtime itself works great, and I'm using frequencies to tune the
 channels, as that gives me better quality and I don't have to finetune. When
 freevo adds it's info to the tvtime stationlist.xml file, it also adds US
 Cable to the band identifier. This makes it impossible to actually tune in
 to the channel. When I then edit the stationlist.xml file and change US
 Cable to Custom, then restart freevo, it works. The problem seems to be
 that after a PC restart freevo again puts the US Cable into the file. Does
 anyone know where I can change that behavior?

 It's a bug. I patched it a long time ago when I was using tvtime but 
 never submitted it and now it's long gone (I'm using ivtv). It wasn't 
 difficult to patch so if you have the time and can submit a patch that 
 would be great. From what I remember I changed it so that when using 
 frequencies I had Custom set as the country in freevo.conf then patched 
 tvtime.py so that it in turn set Custom in it's xml file instead of US 
 Cable when it saw that. I could be wrong though it was around 3 years ago.
  2).  I can't get any recording from TV to start. I do get a file with
 the scheduled recording info, but no recording itself. I tried the
 instructions on the following Link where there is a bash script that is run 
 to start
 mencoder, http://freevo.sr-club.de/ and I also tried the freevo builtin
 things by just uncommenting the mencoder parts in my local_conf.py file (the
 user's file) and no recording started. If I do everything from the terminal
 it works, but as I'm not a scripter I don't know how to get the correct
 info from freevo to go into the bash script. Can someone help me here?
 
  Thanks.

 We'll need some more info - the relevant settings from your config and 
 excerpts from main.log and recordserver.log.
 
 John
 
 --
 This SF.net email is sponsored by:
 SourcForge Community
 SourceForge wants to tell your story.
 http://p.sf.net/sfu/sf-spreadtheword
 ___
 Freevo-users mailing list
 Freevo-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freevo-users

-- 
Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Recording not starting and problem with channel management

2009-01-15 Thread markus frei
This is what I have in the local_conf.py file:

VCR_AUDIO = (':adevice=%s' % AUDIO_DEVICE +
  ':audiorate=32000' + # 44100 for better sound
  ':forceaudio:forcechan=1:' + # Forced mono for bug in my driver
  'buffersize=64') # 64MB capture buffer, change?

# TV capture size for viewing and recording. Max 768x480 for NTSC,
# 768x576 for PAL. Set lower if you have a slow computer!
#
# For the 'tvtime' TV viewing application, only the horizontal size is used.
# Set the horizontal size to 400 or 480 if you have a slow (~500MHz) computer,
# it still looks OK, and the picture will not be as jerky.
# The vertical size is always either fullscreen or 480/576 (NTSC/PAL)
# for tvtime.
TV_VIEW_SIZE = (640, 480)
TV_REC_SIZE = (320, 240)   # Default for slower computers

# Input formats for viewing and recording. The format affect viewing
# and recording performance. It is specific to your hardware, so read
# the MPlayer docs and experiment with mplayer to see which one fits
# your computer best.
TV_VIEW_OUTFMT = 'yuy2'   # Better quality, slower on pure FB/X11
TV_REC_OUTFMT = 'yuy2'

# XXX Please see the mencoder docs for more info about the settings
# XXX below. Some stuff must be changed (adevice), others probably
# XXX should be (Change), or could be in some cases (change?)
#VCR_CMD = ('/root/bin/record.sh %(channel)s %(seconds)s %(filename)s')
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

And this is what's in the main log file:


Freevo 1.8.1 r10783 started at Thu Jan 15 12:36:03 2009

2009-01-15 12:36:03,406 INFO config.py (534): LOGDIR: /var/log 
/home/freevo/log
2009-01-15 12:36:03,407 INFO config.py (535): STATICDIR: /var/lib 
/home/freevo/static
2009-01-15 12:36:03,408 INFO config.py (536): CACHEDIR: /var/cache 
/home/freevo/cache
2009-01-15 12:36:03,410 INFO config.py (555): Loading freevo configuration 
file /etc/freevo/freevo.conf
2009-01-15 12:36:03,415 INFO config.py (591): Loading debconf configuration 
file /etc/freevo/debconf.py
2009-01-15 12:36:03,642 INFO config.py (646): Loading debconf configuration 
file /etc/freevo/debconf.py
2009-01-15 12:36:03,646 INFO config.py (656): Loading local configuration 
file /home/mfrei/.freevo/local_conf.py

Warning: freevo_config.py was changed, please check local_conf.py

You are using version 5.26, changes since then:
The changelist has not been updated, please notify the developers!

Error: VIDEO_SHOW_DATA_DIR not found
ROM_DRIVES: Auto-detected and added ('/media/cdrom0', '/dev/scd0', 'CD-1')
2009-01-15 12:36:03,707 INFO config.py (1054): overlaydir: 
/home/freevo/cache/vfs
2009-01-15 12:36:12,890 INFO rom_drives.py (342): Getting capabilities for 
CD-1 (/dev/scd0)
2009-01-15 12:36:12,894 INFO rom_drives.py (356): CD-1 can close
2009-01-15 12:36:12,895 INFO rom_drives.py (360): CD-1 can open
2009-01-15 12:36:12,896 INFO rom_drives.py (364): CD-1 can select speed
init MpdBaseScreen
Plugin Interface items
MpdMainMenu init
Freevo 1.8.1 ready
2009-01-15 12:36:18,326 INFO create thread notifier pipe
2009-01-15 12:36:22,434 INFO record_client.py (98): ('localhost', 18001) is 
up
2009-01-15 12:36:25,799 INFO epg_xmltv.py (110): XMLTV, got cached guide 
(version 6).
2009-01-15 12:39:21,062 INFO No Type found by Extension. Trying all
2009-01-15 12:39:21,182 INFO Invalid header
2009-01-15 12:39:21,286 INFO trying mpeg-pes scan
Stopping webserver plugin.
Stopping webserver plugin.
Stopping webserver plugin.

Freevo 1.8.1 r10783 finished at Thu Jan