Re: [Freevo-users] Problems running freevo 1.5.3/ivtv on Fedora Core 3 (python 2.3) - AMD64
tir, 31 05 2005 kl. 21:28 -0400, skrev Davin Desborough: The only thing I notice offhand is that you have 3 different input numbers specified. Not sure about a 150, but the 250 has its cable tuner at input 4. I see 1, 4, and 6 specified in the various input definitions in your config. -Davin My 150 also has tuner at input 6, so I believe this to be ok. However, recording in 720x480 in a PAL country is wrong, it should be 720x576 and 720x480 is NTSC resolution. My card has a really hard time working outside the preset correct sizes, so this might have influence. oh.. and yes, VIDEO_GROUPS was the correct one .. :$ - Jesper signature.asc Description: Dette er en digitalt underskrevet brevdel
Re: [Freevo-users] Problems running freevo 1.5.3/ivtv on Fedora Core 3 (python 2.3) - AMD64
Jesper Mathiassen wrote: Trond Eivind Glomsrd wrote: snip I don't see any reason why it should work, since the bug seems to be in doing ioctls in the v4l2 code? File /usr/lib/python2.3/site-packages/freevo/tv/v4l2.py, line 219, in querycap r = fcntl.ioctl(self.device, QUERYCAP_NO, val) OverflowError: signed integer is greater than maximum I did try, though. No change. v4l or v4l2 isn't implemented for the PVR-150 cards. you need to set the group_type = ivtv in your IVTV_OPTIONS . At least that works for me. VIDEO_GROUPS? IVTV_OPTIONS looks a bit different only problem is that you'll be watch encoded/decoded video, instead of the raw yuy2 stream, which kinda sucks.. The video from /dev/video0 looks rather good that said, I doubt I'll ever want to look on live TV, the video and audio quality is better on my digital cable anyway - the purpose is recording, and viewing that. I've attached my local_conf.py - anything obvious I've forgotten, to make it not use V4L? DEBUG=1 CHILDAPP_DEBUG=1 #if 0 # --- # freevo_config.py - System configuration # --- # $Id: local_conf.py.example,v 1.37.2.4 2005/01/09 10:45:55 dischi Exp $ # # Notes: #This file contains the freevo settings. To change the settings #you can edit this file, or better, put a file named local_conf.py ## in the same directory and add your changes there. E.g.: when #you # want a alsa as mplayer audio out, just put #MPLAYER_AO_DEV = # 'alsa9' in local_conf.py # #This is no normal config file, it's Python code. Because of that, you #need to follow some rules to avoid crashes. The examples should explain #the settings, but make sure a line starting with a variable has #NO SPACES OR TABS at the beginning. # # # --- # Freevo - A Home Theater PC framework # Copyright (C) 2002 Krister Lagerstrom, et al. # Please see the file freevo/Docs/CREDITS for a complete list of authors. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MER- # CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General # Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # --- #endif CONFIG_VERSION = 5.15 # == # General freevo settings: # == # AUDIO_DEVICE= '/dev/dsp' # e.g.: /dev/dsp0, /dev/audio, /dev/alsa/? # AUDIO_INPUT_DEVICE = '/dev/dsp1' # e.g.: /dev/dsp0, /dev/audio, /dev/alsa/? # MAJOR_AUDIO_CTRL= 'VOL' # Freevo takes control over one audio ctrl # 'VOL', 'PCM' 'OGAIN' etc. # CONTROL_ALL_AUDIO = 1 # Should Freevo take complete control of audio # MAX_VOLUME = 90 # Set what you want maximum volume level to be. # DEFAULT_VOLUME = 40 # Set default volume level. # TV_IN_VOLUME= 60 # Set this to your preferred level 0-100. # VCR_IN_VOLUME = 90 # If you use different input from TV # DEV_MIXER = '/dev/mixer'# mixer device # START_FULLSCREEN_X = 0 # Start in fullscreen mode if using x11 or xv. # CONFIRM_SHUTDOWN= 1 # ask before shutdown # # Physical ROM drives, multiple ones can be specified # by adding comma-seperated and quoted entries. # # Format [ ('mountdir1', 'devicename1', 'displayed name1'), # ('mountdir2', 'devicename2', 'displayed name2'), ...] # # Set to None to autodetect drives in during startup from /etc/fstab, # set to [] to disable rom drive support at all # # ROM_DRIVES = None # # Hide discs from the wrong menu (e.g. VCDs in audio menu) and empty discs. # # HIDE_UNUSABLE_DISCS = 1 # # Attempt to set the speed of the ROM drive. A good value for keeping the # drive silent while playing movies is 8. # # ROM_SPEED = 0 # # Perform a whole system shutdown at SHUTDOWN! Useful for standalone boxes. # # ENABLE_SHUTDOWN_SYS = 0 # # You can add more keybindings by adding them to the correct hash. # e.g. If you want to send 'contrast -100' to mplayer by pressing the '1' key, # just add the following line: # #
Re: [Freevo-users] Problems running freevo 1.5.3/ivtv on Fedora Core 3 (python 2.3) - AMD64
TC Wan wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, May 30, 2005 4:53 am, Trond Eivind Glomsrd said: When trying to view tv via freevo (mplayer on /dev/video0 works fine, as does channel switching with ptune), I get the following traceback: [...] From looking at google[1], it looks like this should only be a problem with 2.4... but that's not what I'm running (attempts to run freevo2 failed as well, due to cache) [1] http://www.mail-archive.com/freevo-users@lists.sourceforge.net/msg09366.html I can run freevo 1.5.3 fine on FC3 (32 bit). I don't think it's due to FC3 per-se, si No, I'm guessing a 64 bit issue. Freevo2 is not really ready for daily use. I think you should get the latest mmpython, rebuild the cache first ('freevo cache') and see if it works. I don't see any reason why it should work, since the bug seems to be in doing ioctls in the v4l2 code? File /usr/lib/python2.3/site-packages/freevo/tv/v4l2.py, line 219, in querycap r = fcntl.ioctl(self.device, QUERYCAP_NO, val) OverflowError: signed integer is greater than maximum I did try, though. No change. --- 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
Re: [Freevo-users] Problems running freevo 1.5.3/ivtv on Fedora Core 3 (python 2.3) - AMD64
Davin Desborough wrote: Taking a wild guess, but perhaps it's one of your local_conf.py options. The integer is greater than maximum is what makes me think this. I would double check the number settings of TV_IVTV_OPTIONS and VIDEO_GROUPS. You don't mention what card you are using, but here is what I have for a pvr 250: It's a PVR150. It works well enough when just using mplayer on /dev/video0, and channel switching (ptune, or the ivtvctl program) is also OK. I am using the latest stable (0.2.0-rc3j) ivtv driver. My video groups looks like this: VIDEO_GROUPS = [ VideoGroup(vdev=/dev/video0, adev=None, input_type='tuner', group_type='ivtv', input_num=6, tuner_norm='pal', tuner_chanlist='europe-west', desc='Default Video Group', recordable=True), ] I didn't specifiy any TV_IVTV_OPTIONS, but doing so made no difference. And looking at the traceback,I don't think the queryfunction (the badly formed ioctl) is dependent on any configuration at all either. --- 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
Re: [Freevo-users] Problems running freevo 1.5.3/ivtv on Fedora Core 3 (python 2.3) - AMD64
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Trond Eivind Glomsrd wrote: | No, I'm guessing a 64 bit issue. | | Freevo2 is not really ready for daily use. I think you should get the | latest mmpython, rebuild the cache first ('freevo cache') and see if it | works. | | | I don't see any reason why it should work, since the bug seems to be in | doing ioctls in the v4l2 code? | | File /usr/lib/python2.3/site-packages/freevo/tv/v4l2.py, line 219, in | querycap |r = fcntl.ioctl(self.device, QUERYCAP_NO, val) | OverflowError: signed integer is greater than maximum | Oh. I see. In that case you're right, it's probably a 64 bit isssue. As to whether it is a kernel driver issue or a python issue, I'm not sure (I'm not so familiar with python). T.C. - -- Wan Tat Chee (Senior Lecturer) School of Computer Sciences, Univ. of Science Malaysia, 11800 USM, Penang, Malaysia. Rm.625 Ofc Ph: +604 653-3888 x 3617 NRG Lab Admin: +604 659-4757 Rm.601-F Ofc Ph: +604 653-4396 Internet: [EMAIL PROTECTED]Web: http://nrg.cs.usm.my/~tcwan GPG Key : http://nrg.cs.usm.my/~tcwan/tcwan-nrg-20040805.asc F'print : 4B2E F0BF AAD7 2F51 CB41 4386 F72B 7859 8278 BDC4 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFCm9Vd9yt4WYJ4vcQRAi5rAJ9B+cc0NnbSNBLEX22Dwjmqh1zs3wCeNY8Y V1n/VTxAaeUF5WnTv55qanI= =1wef -END PGP SIGNATURE- --- 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
Re: [Freevo-users] Problems running freevo 1.5.3/ivtv on Fedora Core 3 (python 2.3) - AMD64
Taking a wild guess, but perhaps it's one of your local_conf.py options. The integer is greater than maximum is what makes me think this. I would double check the number settings of TV_IVTV_OPTIONS and VIDEO_GROUPS. You don't mention what card you are using, but here is what I have for a pvr 250: 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' : 400, 'bitrate_peak' : 400, 'dnr_mode' : 0, 'dnr_spatial' : 0, 'dnr_temporal' : 0, 'dnr_type' : 0, 'framerate' : 0, 'framespergop' : 15, 'gop_closure' : 1, 'pulldown' : 0, 'stream_type' : 10, } Trond Eivind Glomsrd wrote: When trying to view tv via freevo (mplayer on /dev/video0 works fine, as does channel switching with ptune), I get the following traceback: Traceback (most recent call last): File /usr/lib/python2.3/site-packages/freevo/main.py, line 315, in eventhandler app.eventhandler(event) File /usr/lib/python2.3/site-packages/freevo/menu.py, line 381, in eventhandler if not isinstance(menu, Menu) and menu.eventhandler(event): File /usr/lib/python2.3/site-packages/freevo/tv/tvguide.py, line 232, in eventhandler self.player('tv', self.selected.channel_id) File /usr/lib/python2.3/site-packages/freevo/tv/tvmenu.py, line 100, in start_tv plugin.getbyname(plugin.TV).Play(mode, tuner_id) File /usr/lib/python2.3/site-packages/freevo/tv/plugins/mplayer.py, line 127, in Play ivtv_dev = ivtv.IVTV(vg.vdev) File /usr/lib/python2.3/site-packages/freevo/tv/ivtv.py, line 68, in __init__ tv.v4l2.Videodev.__init__(self, device) File /usr/lib/python2.3/site-packages/freevo/tv/v4l2.py, line 147, in __init__ results = self.querycap() File /usr/lib/python2.3/site-packages/freevo/tv/v4l2.py, line 218, in querycap r = fcntl.ioctl(self.device, long(QUERYCAP_NO), val) OverflowError: signed integer is greater than maximum From looking at google[1], it looks like this should only be a problem with 2.4... but that's not what I'm running (attempts to run freevo2 failed as well, due to cache) [1] http://www.mail-archive.com/freevo-users@lists.sourceforge.net/msg09366.html --- 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
Re: [Freevo-users] Problems running freevo 1.5.3/ivtv on Fedora Core 3 (python 2.3) - AMD64
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, May 30, 2005 4:53 am, Trond Eivind Glomsrød said: When trying to view tv via freevo (mplayer on /dev/video0 works fine, as does channel switching with ptune), I get the following traceback: [...] From looking at google[1], it looks like this should only be a problem with 2.4... but that's not what I'm running (attempts to run freevo2 failed as well, due to cache) [1] http://www.mail-archive.com/freevo-users@lists.sourceforge.net/msg09366.html I can run freevo 1.5.3 fine on FC3 (32 bit). I don't think it's due to FC3 per-se. Freevo2 is not really ready for daily use. I think you should get the latest mmpython, rebuild the cache first ('freevo cache') and see if it works. T.C. - -- Wan Tat Chee (Senior Lecturer) School of Computer Sciences, Univ. of Science Malaysia, 11800 USM, Penang, Malaysia. Rm.625 Ofc Ph: +604 653-3888 x 3617 NRG Lab Admin: +604 659-4757 Rm.601-F Ofc Ph: +604 653-4396 Internet: [EMAIL PROTECTED]Web: http://nrg.cs.usm.my/~tcwan GPG Key : http://nrg.cs.usm.my/~tcwan/tcwan-nrg-20040805.asc F'print : 4B2E F0BF AAD7 2F51 CB41 4386 F72B 7859 8278 BDC4 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCmoXM9yt4WYJ4vcQRAgPYAJwKbn8wfnAbWVH/IYhQtLyW+GU29QCdGxs6 TxDOJnYY5TIcYyEdh2asvdM= =1K3P -END PGP SIGNATURE- --- 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