I have problem with xine tv plugins. I've been browsing mailing-list for some time to find some workaround - but without success, so I ask for help. I use Freevo 1.8.1 - deb package from Ubuntu 9.04
First of all I noticed, that parameters: config.XINE_TV_VO_DEV and config.XINE_TV_AO_DEV are not passed to ivtv_xine_tv.py plugin correctly (inside plugin they got 'None' value). That makes blank screen with no sound. I made workaround by assigning values directly inside ivtv_xine_tv.py just before 'xine pvr:/...' is called. After that I am able to run tv-guide and then watch tv with seeking backward/forward and pausing on the fly (200MB cache files are stored properly to HDD). Unfortunately I am unable to change channels and start live record. While I am pressing the CH+/CH- buttons I get OSD message with name of new channel together with name of new TV program, but this doesn't affect to the displayed channel which remains the same all the time. While I am pressing the [REC] button I get OSD message that recording has just started, but related record-file doesn't appear. ivtv_xine_tv.py plugin contains information about xine requirements: - xine media player (built with xvmc / xxmc if available) version xine-lib: >= 1.1.9 version xine-ui: >= 0.99.6 Those requirements are not exactly met (packages from Ubuntu 9.04 distro): xine-ui: 0.99.5+cvs20070914-2.1~lenny2ubuntu1 xine-lib: 1.1.16.3-0ubuntu1 As you can see my xine-ui version is lower than 0.99.6 - but I couldn't find source of exactly 0.99.6 to compile it. As it comes to xine built with xvmc/xxmc - it seems to me that xine is compiled with those modes, bacause I can play movies from command line: xine -V xv movie.file or xine -V xxmc movie.file All needed configuration details (I hope) are shown below: System: Ubuntu 9.04 (command line system) Window manager: ratpoison Freevo: 1.8.1-3ubuntu3 Xine-ui: 0.99.5+cvs20070914-2.1~lenny2ubuntu1 Xine-lib: 1.1.16.3-0ubuntu1 TV card: Hauppauge PVR-150 freevo.conf: cdparanoia = /usr/bin/cdparanoia chanlist = europe-east display = x11 geometry = 800x600 lsdvd = /usr/bin/lsdvd mplayer = /usr/bin/mplayer renice = /usr/bin/renice setterm = /usr/bin/setterm tv = pal version = 2.2 xine = /usr/bin/xine part od local_conf.py related to xine: plugin.activate('tv.ivtv_xine_tv') plugin.remove('tv.generic_record') plugin_record = plugin.activate('tv.ivtv_record') TV_SETTINGS = 'pal television europe-east /dev/video0' TV_DRIVER = 'ivtv' TV_DEVICE = '/dev/video0' TV_INPUT = 0 TV_VIDEO_GROUPS = [VideoGroup( vdev=TV_DEVICE, adev=AUDIO_DEVICE, input_type='tuner 1', input_num=TV_INPUT, tuner_norm=CONF.tv, tuner_chanlist=CONF.chanlist, group_type = 'ivtv', desc='PVR-150 Video Group', record_group = None) ] # Settings for ivtv based cards such as the WinTV PVR-250/350. # Options are: 0 (mpeg2_ps), 1 (mpeg2_ts), 2 (mpeg1), 3 (mpeg2_pes_av), # 5 (mpeg2_pes_v), 7 (mpeg2_pes_a), 10 (dvd) TV_IVTV_OPTIONS = { 'input' : 0, 'resolution' : '720x576', 'aspect' : 1, 'audio_bitmask' : 233, 'bframes' : 3, 'bitrate_mode' : 1, 'bitrate' : 8000000, 'bitrate_peak' : 9600000, 'dnr_mode' : 0, 'dnr_spatial' : 0, 'dnr_temporal' : 0, 'dnr_type' : 0, 'framerate' : 0, 'framespergop' : 15, 'gop_closure' : 1, 'pulldown' : 0, 'stream_type' : 10, } TV_CHANNELS = [('11_TVP 1','TVP1','24'), ('10_TVP 2','TVP2','41'), ('4_Polsat','POLSAT','56'), ('7_TVN','TVN','31'), ('1_TVP3 Regionalna','Rzeszow','59')] XINE_COMMAND = '%s --auto-play=fq --hide-gui --borderless --geometry %sx%s+0+0 --no-splash' % (CONF.xine, CONF.width, CONF.height) XINE_ARGS_DEF = "--network --no-lirc --post='pp:quality=10;expand'" XINE_VO_DEV = 'xv' XINE_AO_DEV = 'alsa' # alsa or oss XINE_TV_TIMESHIFT_FILEMASK = '/mnt/Filmy/NagraniaTV/tmp/tv_cache-!/mnt/Filmy/NagraniaTV/tv-!5' XINE_TV_CONFIRM_STOP = True XINE_TV_PROGRESSIVE_SEEK = True XINE_TV_PROGRESSIVE_SEEK_THRESHOLD = 2 XINE_TV_PROGRESSIVE_SEEK_INCREMENT = 5 XINE_TV_LIVE_RECORD = True XINE_TV_INPUT_REAL_CHANNELS = False XINE_TV_INDENT_OSD = True VIDEO_PREFERED_PLAYER = 'xine' XINE_BOOKMARK = True MIXER_MAJOR_CTRL = 'VOL' and main log output with DEBUG = 2 option just after trying to live record the tv: ================================================================================ Freevo 1.8.1 r10783 started at Mon May 4 14:52:58 2009 -------------------------------------------------------------------------------- 2009-05-04 14:52:58,258 INFO config.py (534): LOGDIR: /var/log /home/freevo/log 2009-05-04 14:52:58,266 INFO config.py (535): STATICDIR: /var/lib /home/freevo/static 2009-05-04 14:52:58,267 INFO config.py (536): CACHEDIR: /var/cache /home/freevo/cache 2009-05-04 14:52:58,267 INFO config.py (555): Loading freevo configuration file "/home/freevo/.freevo/freevo.conf" 2009-05-04 14:52:58,270 INFO config.py (591): Loading debconf configuration file "/etc/freevo/debconf.py" 2009-05-04 14:52:58,382 INFO config.py (646): Loading debconf configuration file "/etc/freevo/debconf.py" 2009-05-04 14:52:58,384 INFO config.py (656): Loading local configuration file "/home/freevo/.freevo/local_conf.py" WARNING: duplicate plugin activation, ignoring: <tv None None> Warning: freevo_config.py was changed, please check local_conf.py You are using version 5.23, changes since then: Version 5.24: Added POLL_TIME to allow custom poll rates to be set, default 0.01 seconds Error: VIDEO_SHOW_DATA_DIR not found ROM_DRIVES: Auto-detected and added "('/media/cdrom0', '/dev/scd0', 'CD-1')" 2009-05-04 14:52:58,430 INFO config.py (1054): overlaydir: /home/freevo/cache/vfs Please run 'freevo cache' 2009-05-04 14:53:00,755 INFO rom_drives.py (342): Getting capabilities for CD-1 (/dev/scd0) 2009-05-04 14:53:00,758 INFO rom_drives.py (356): CD-1 can close 2009-05-04 14:53:00,759 INFO rom_drives.py (360): CD-1 can open 2009-05-04 14:53:00,760 INFO rom_drives.py (364): CD-1 can select speed mac:V,A xxmc alsa Freevo 1.8.1 ready 2009-05-04 14:53:01,848 INFO create thread notifier pipe 2009-05-04 14:53:03,838 INFO epg_xmltv.py (110): XMLTV, got cached guide (version 6). 2009-05-04 14:53:03,879 INFO record_client.py (430): ('localhost', 18001) is up 2009-05-04 14:53:06,645 INFO ivtv_xine_tv.py (675): TunerControl: Set VideoGroup: <ivtv: /dev/video0 0:'tuner 1' 'PAL'> Maciej ---------------------------------------------------- Oceniaj innych i pokaż swoje ulubione ciuchy! Zobacz jak inspiruje ulica! http://klik.wp.pl/?adr=http%3A%2F%2Fstreetmoda.pl%2F%3Fsrc01%3D85ae5&sid=707 ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users