Re: [Freevo-users] Menus and external programs (Web, VVOIP)

2007-05-16 Thread Francisco Eduardo Álvarez Solano

Hi,

My next question has to do with menus... I know I could add commands

(external programs) to the main menu using .fxd files, but that could make
the main menu "busy".  Is it possible to have a main menu item like "Misc
Stuff", which lead to a sub-menu of the various commands?  If so, how would
I go about doing it?  Would /etc/freevo/fxd/ be a good place to put various
fxd files, or is there a "standard" location freevo will look?



Try "command" plugin. Insert in your local.conf:

plugin.activate('command', level=45)
COMMANDS_DIR = '/usr/local/freevo_data/Commands'

In COMMANDS_DIR you can put .fxd files with your commands. See the Wiki for
more help about commands and fxd files.

For more info:

freevo plugins -i command

or

freevo plugins -i command.CommandMainMenuItem


Eduardo
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Freevo 1.7.1 - new panorama skin and 16/9 TV out

2007-05-16 Thread Jean-François
Hi everyone,

I haven't tried this new skin yet but have a few questions...

I'm running an ATI Radeon 9600 (fglrx) based Freevo box. I also use VDR
and vdr_xine plugin.

What resolution would you recommend for TV out ?
Anyone out there who could share his xorg.conf ?
And mplayer and xine config from local_conf.py as well ?

I'm currently not very happy with my settings. Some movies are cropped (I
mean one third or more is cropped), vdr_xine plugin is even worst (only
1/4th of the screen is visible)...

And I have been trying to tweak for weeks now :-(
So really, any advice on this type of setup are warmly welcomed ;-)

Many thanks to you all
Jean-Francois


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Mixed-mode cd's

2007-05-16 Thread Michel Hoogervorst

Hi,

I just found out that my Freevo box handles mixed-mode cd's as normal audio
cd's... before I start debugging, is this normal behaviour?

My wife got a free cd, with a multimedia part on it.  When I log into my box
through ssh, I can see the contents of the cd, but Freevo only shows it as
an audio cd, and thus is unable to play the video on this disc...
All 'normal' discs work fine btw.


Michel
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Cannot schedule a record

2007-05-16 Thread Pirlouwi

2007/5/16, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:


Pirlouwi a écrit :
> Hello,
> i have set up freevo for working with my dvb usb stick (a freecom), on
> ubuntu feisty.
>
> When I push on the recording entry in the menu, i got an error, and
> this messages in the log:
>
> Traceback (most recent call last):
>   File
>
"/usr/share/python-support/python-freevo/freevo/tv/record_client.py",
> line 93, in scheduleRecording
> (status, message) = server.scheduleRecording(jellyToXML(prog))
>   File "xmlrpclib.py", line 1147, in __call__
> return self.__send(self.__name, args)
>   File "xmlrpclib.py", line 1437, in __request
> verbose=self.__verbose
>   File "xmlrpclib.py", line 1201, in request
> return self._parse_response(h.getfile(), sock)
>   File "xmlrpclib.py ", line 1340, in _parse_response
> return u.close()
>   File "xmlrpclib.py", line 787, in close
> raise Fault(**self._stack[0])
> Fault: 
>
>
> I also have this in the recordserver log:
>
> 2007/05/16 00:20 CEST [HTTPChannel,499,127.0.0.1 ]
> config.LOCALE=latin-1
> 2007/05/16 00:20 CEST [HTTPChannel,499, 127.0.0.1 ]
> prog=mar 2007-05-15 23:55->00:25 (23:55)  la%20une Cinquante degrés nord
> 2007/05/16 00:20 CEST [HTTPChannel,499,127.0.0.1 ]
> Traceback (most recent call last):
>   File "/usr/lib/python2.5/site-packages/twisted/web/http.py",
> line 601, in requestReceived
> self.process()
>   File
> "/usr/lib/python2.5/site-packages/twisted/web/server.py", line 160, in
> process
> self.render (resrc)
>   File
> "/usr/lib/python2.5/site-packages/twisted/web/server.py", line 167, in
> render
> body = resrc.render(self)
>   File
> "/usr/lib/python2.5/site-packages/twisted/web/xmlrpc.py", line 117, in
> render
> defer.maybeDeferred (function, *args).addErrback(
> ---  ---
>   File
> "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line
> 107, in maybeDeferred
> result = f(*args, **kw)
>   File
> "/var/lib/python-support/python2.5/freevo/helpers/recordserver.py",
> line 1259, in xmlrpc_scheduleRecording
> (status, response) = self.scheduleRecording(prog)
>   File
> "/var/lib/python-support/python2.5/freevo/helpers/recordserver.py",
> line 687, in scheduleRecording
> self.checkToRecord()
>   File
> "/var/lib/python-support/python2.5/freevo/helpers/recordserver.py",
> line 927, in checkToRecord
> self.record_app.Record(rec_prog)
>   File
> "/var/lib/python-support/python2.5/freevo/tv/plugins/generic_record.py",
> line 74, in Record
> frequency = self.fc.chanSet(str(rec_prog.tunerid), False,
> 'record plugin')
> : TvProgram instance has no
> attribute 'tunerid'
>
>
> I someone has an idea, it would be fine because i am lost and dont
> find any info on the net.
> Thanks
> Louis.
hello,

try add this in local_conf.py :


VIDEO_GROUPS = [
VideoGroup(vdev = '/dev/video0',
   adev = None,
   input_type = 'tuner',
   input_num = 0,
   tuner_norm = CONF.tv,
   tuner_chanlist = CONF.chanlist,
   desc = 'the_name_of_your_card',
   group_type = 'tuner',
   record_group = None),
]




I tried the lines you gave to me, but without any success!
Same log result inside recordserver.log :-(  (see begin of this mail)

I have just changed one line in the VIDEO_GROUPS lines you gave to me,
groupe_type="dvb" instead of ="tuner", as i have configured it like that in
the mplayers groups.

All ideas are welcome because i am a little bit lost!

Thx
LOUIS
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Cannot schedule a record

2007-05-16 Thread Duncan Webb
Pirlouwi wrote:
> 2007/5/16, [EMAIL PROTECTED] 
> <[EMAIL PROTECTED] >:
> 
> Pirlouwi a écrit :
> > Hello,
> > i have set up freevo for working with my dvb usb stick (a freecom), on
> > ubuntu feisty.
> >
> > When I push on the recording entry in the menu, i got an error, and
> > this messages in the log:
> >
> > Traceback (most recent call last):
> >   File
> >
> "/usr/share/python-support/python-freevo/freevo/tv/record_client.py",
> > line 93, in scheduleRecording
> > (status, message) = server.scheduleRecording(jellyToXML(prog))
> >   File "xmlrpclib.py", line 1147, in __call__
> > return self.__send(self.__name, args)
> >   File " xmlrpclib.py", line 1437, in __request
> > verbose=self.__verbose
> >   File "xmlrpclib.py", line 1201, in request
> > return self._parse_response(h.getfile(), sock)
> >   File " xmlrpclib.py ", line 1340, in _parse_response
> > return u.close()
> >   File "xmlrpclib.py", line 787, in close
> > raise Fault(**self._stack[0])
> > Fault: 
> >
> >
> > I also have this in the recordserver log:
> >
> > 2007/05/16 00:20 CEST [HTTPChannel,499,127.0.0.1
>  ]
> > config.LOCALE=latin-1
> > 2007/05/16 00:20 CEST [HTTPChannel,499, 127.0.0.1
>  ]
> > prog=mar 2007-05-15 23:55->00:25 (23:55)  la%20une Cinquante
> degrés nord
> > 2007/05/16 00:20 CEST [HTTPChannel,499,127.0.0.1
>  ]
> > Traceback (most recent call last):
> >   File
> "/usr/lib/python2.5/site-packages/twisted/web/http.py",
> > line 601, in requestReceived
> > self.process()
> >   File
> > "/usr/lib/python2.5/site-packages/twisted/web/server.py", line 160, in
> > process
> > self.render (resrc)
> >   File
> > "/usr/lib/python2.5/site-packages/twisted/web/server.py", line 167, in
> > render
> > body = resrc.render(self)
> >   File
> > "/usr/lib/python2.5/site-packages/twisted/web/xmlrpc.py", line
> 117, in
> > render
> > defer.maybeDeferred (function, *args).addErrback(
> > ---  ---
> >   File
> > "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line
> > 107, in maybeDeferred
> > result = f(*args, **kw)
> >   File
> > "/var/lib/python-support/python2.5/freevo/helpers/recordserver.py",
> > line 1259, in xmlrpc_scheduleRecording
> > (status, response) = self.scheduleRecording(prog)
> >   File
> > "/var/lib/python-support/python2.5/freevo/helpers/recordserver.py",
> > line 687, in scheduleRecording
> > self.checkToRecord()
> >   File
> > "/var/lib/python-support/python2.5/freevo/helpers/recordserver.py",
> > line 927, in checkToRecord
> > self.record_app.Record (rec_prog)
> >   File
> >
> "/var/lib/python-support/python2.5/freevo/tv/plugins/generic_record.py",
> > line 74, in Record
> > frequency = self.fc.chanSet(str(rec_prog.tunerid), False,
> > 'record plugin')
> > : TvProgram instance has no
> > attribute 'tunerid'
> >
> >
> > I someone has an idea, it would be fine because i am lost and dont
> > find any info on the net.
> > Thanks
> > Louis.
> hello,
> 
> try add this in local_conf.py :
> 
> 
> VIDEO_GROUPS = [
> VideoGroup(vdev = '/dev/video0',
>adev = None,
>input_type = 'tuner',
>input_num = 0,
>tuner_norm = CONF.tv,
>tuner_chanlist = CONF.chanlist,
>desc = 'the_name_of_your_card',
>group_type = 'tuner',
>record_group = None),
> ]
> 
> 
> 
> I tried the lines you gave to me, but without any success!
> Same log result inside recordserver.log :-(  (see begin of this mail)
> 
> I have just changed one line in the VIDEO_GROUPS lines you gave to me,
> groupe_type="dvb" instead of ="tuner", as i have configured it like that
> in the mplayers groups.
> 
> All ideas are welcome because i am a little bit lost!


Have you tried a search for VIDEO_GROUPS in the freevo wiki? This is the
first place to start.

You will need to check what the correct tuner is for the TV, possible
called Television or Tuner. Try:
v4l2-ctl --list-inputs
This will list the inputs for the video device and then you set the
input_num to be correct for you device, 0 is usually correct.

The v4l2-ctl is part of the ivtv driver but works with all v4l2 devices.

Duncan


-
This SF.net 

[Freevo-users] wrong aspect ration on 16:10 screen

2007-05-16 Thread Tanjeff-N. Moos
Hi,

I'm using freevo on my 16:10 monitor. The menus are looking correct,
but when viewing images from my hard disk, these are stretched to fit
onto the screen. The same occurs when starting xine (for watching
DVD).

My screen resolution is 1660x1050. The size of the screen, as
reported by xrandr, is correct. I use freevo 1.7.1 with the bluestar
theme.

I searched on the online help and on google, but found nothing helpful.

Tanjeff

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Dual DVD-T tuner and Freevo

2007-05-16 Thread Duncan Webb
Xavier Beaudouin wrote:
> Hello there,
> 
> I have successfully installed my Freevo using Nova-T-500 PCI card.
> 
> TV is running well and I'd like to use the feature of dual tuner of this 
> card.
> 
> Any hint to make a somewhat "pool" of tuners ? (eg is first one is busy 
> recording for example, then use the second one for example ?).
> 
> For watching TV and also recording ?

The only supported option with freevo-1 is to dedicate one of the two
tuners for recording and the other for playing, this should work fine
with DVB cards, though I don't have either DVB or a DVB card. But other
people on the list have.

If I'm not mistaken, DVB cards write mpeg files so I think you don't
need to use mencoder to capture the data stream. Search the wiki for DVB
and you may come up with something.

> For even if I specify dvb://2@ in VCR_CMD, the 
> /var/cache/freevo/record.video0 is still exist?
> 
> Some extract of /etc/freevo/local_conf.py (debian etch) :
> 
> VCR_CMD = ( CONF.mencoder + ' ' +
>  'dvb://[EMAIL PROTECTED](channel)s'  +
>  ' -ovc copy -oac copy ' +  # Direct stream copy
>  ' -idx ' + # Fix idx
>  '-endpos %(seconds)s ' +   # only mencoder uses this so do it 
> here.
>  '-o %(filename)s ' )   # Filled in by Freevo
> #
> # [...]
> #
> VIDEO_GROUPS[0].group_type = 'dvb'
> TV_CHANNELS = [('C1.programme-television.org', 'TF1', 'TF1' ),
> ('C2.programme-television.org', 'France2', 'France2' ),
> ('C3.programme-television.org', 'France3', 'France3' ),
> ('C10.programme-television.org', 'France4', 'France4' ),
> #
> # [...]
> #
> ('C20.programme-television.org', 'TPS STAR', 'TPSSTAR' ),
> ('C21.programme-television.org', 'Paris 1ERE', 'PARISPREMIERE' ) ]

Duncan


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] wrong aspect ration on 16:10 screen

2007-05-16 Thread Josh Vickery
I don't know about images or xine, but to get mplayer to display in
the proper aspect ratio for my TV (for live and recorded shows), I had
to add "monitoraspect=16:9" to my .mplayer/config file.  I'm not sure
if this the correct solution, so I'll be watching this thread in case
someone has a better one.

Josh

On 5/16/07, Tanjeff-N. Moos <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm using freevo on my 16:10 monitor. The menus are looking correct,
> but when viewing images from my hard disk, these are stretched to fit
> onto the screen. The same occurs when starting xine (for watching
> DVD).
>
> My screen resolution is 1660x1050. The size of the screen, as
> reported by xrandr, is correct. I use freevo 1.7.1 with the bluestar
> theme.
>
> I searched on the online help and on google, but found nothing helpful.
>
> Tanjeff
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] problems after fiesty or kaa upgrade

2007-05-16 Thread Duncan Webb
Adam Butler wrote:
> Hello,
> 
> Sorry accidentally sent that last message without finishing it.
> 
> Freevo worked in the same system but its not really the same because I 
> upgraded ubuntu to fiesty, which updated heaps of packages and probably has a 
> newer version of python. I seem to remember finding freevo in the 2.4 and 2.5 
> site patches folders which explains why I had to re-install it after I 
> upgraded. Maybe I can force freevo and kaa,etc to use python 2.4 or maybe try 
> getting the pygame that was in ubuntu edgy.
> 
> I think the patch was for a different version of pygame and I am not sure how 
> to apply patches, but I manually added the changes where required.
> After applying the changes in the patch freevo runs but when I look at a 
> folder with an image associated I now get freevo crash with the below error.
> 
> I attached the image.c I updated in pygame if its any help

You patched image looks fine.

BTW all you need to do is:
cd /path/to/pygame-1.7release
patch -Np0 -i /path/to/patch

The blurr skin should work fine.

You can add the line to skin_utils.py:
print 'image is "%s"' % image
This may show what image is causing the crash, I suspect that it is None

Index: src/skins/main/skin_utils.py
===
--- src/skins/main/skin_utils.py(revision 9565)
+++ src/skins/main/skin_utils.py(working copy)
@@ -46,6 +46,7 @@

 def pygamesurface_imlib2_scale(image, newsize):

+print 'image is "%s"' % image
 buf = pygame.image.tostring(image, 'RGBA')
 im2 = imlib2.new(image.get_size(), buf)
 scaled_im2 = im2.scale(newsize)

What you can sensibly try is to grab a copy of freevo from the svn
repository and install it, you can always re-install the old one later.

Duncan

> * Imlib2 Developer Warning * :
> This program is calling the Imlib call:
> 
> imlib_image_set_has_alpha();
> 
> With the parameter:
> 
> image
> 
> being NULL. Please fix your program.
> Traceback (most recent call last):
>   File "/usr/lib/python2.5/site-packages/freevo/main.py", line 290, in 
> eventhandler
> app.eventhandler(event)
>   File "/usr/lib/python2.5/site-packages/freevo/menu.py", line 673, in 
> eventhandler
> action( arg=arg, menuw=self )
>   File "/usr/lib/python2.5/site-packages/freevo/directory.py", line 477, in 
> cwd
> self.check_password_and_build(arg=None, menuw=menuw
>  File "/usr/lib/python2.5/site-packages/freevo/directory.py", line 532, in 
> check_password_and_build
> self.build(arg=arg, menuw=menuw)
>   File "/usr/lib/python2.5/site-packages/freevo/directory.py", line 786, in 
> build
> menuw.pushmenu(item_menu)
>   File "/usr/lib/python2.5/site-packages/freevo/menu.py", line 378, in 
> pushmenu
> self.refresh()
>   File "/usr/lib/python2.5/site-packages/freevo/menu.py", line 406, in refresh
> skin.draw('menu', self, self.menustack[-1])
>   File "/usr/lib/python2.5/site-packages/freevo/skins/main/main.py", line 
> 526, in draw
> a.draw(settings, object, menu, style, type, self.force_redraw)
>   File "/usr/lib/python2.5/site-packages/freevo/skins/main/area.py", line 
> 194, in draw
> self.update_content()
>   File "/usr/lib/python2.5/site-packages/freevo/skins/main/view_area.py", 
> line 107, in update_content
> image, i_w, i_h = format_image(self.settings, item, width, height, 0, 
> self.xml_settings.anamorphic)
>   File "/usr/lib/python2.5/site-packages/freevo/skins/main/skin_utils.py", 
> line 187, in format_image
> cimage = pygamesurface_imlib2_scale(image, (width, height))
>   File "/usr/lib/python2.5/site-packages/freevo/skins/main/skin_utils.py", 
> line 50, in pygamesurface_imlib2_scale
> im2 = imlib2.new(image.get_size(), buf)
>   File "/usr/lib/python2.5/site-packages/kaa/imlib2/__init__.py", line 114, 
> in new
> return Image(_Imlib2.create(size, bytes, from_format, copy))
> RuntimeError: Failed to create image
> Exception exceptions.ReferenceError: ReferenceError('weakly-referenced object 
> no longer exists',) in  > ignore
> 
> 
> 
> - Original Message 
> From: Jason Tackaberry <[EMAIL PROTECTED]>
> To: freevo-users@lists.sourceforge.net
> Sent: Wednesday, 2 May, 2007 8:27:49 PM
> Subject: Re: [Freevo-users] problems after fiesty or kaa upgrade
> 
> On 2007-05-02 15:19, Adam Butler wrote:
>> Rolling back kaa didn´t help, freevo used to work for me so its quite
>> annoying that its not now (I almost finished downloading all my album
>> covers). I notice that pyGame is a part of ubuntu so I could try
>> uninstalling and getting the latest and applying your patch as you
>> suggest.
> 
> Freevo used to work on the same system you're using now?  (The one with
> Python 2.5?)  Or was python recently upgraded?
> 
> 
>> In the trace it mentions skins, I was using a non-standard skin, I´d
>> like to try changing this to the default - where is this setting stored?
> 
> In the SKIN_XML_FILE variable in 

Re: [Freevo-users] Cannot schedule a record

2007-05-16 Thread Pirlouwi


Have you tried a search for VIDEO_GROUPS in the freevo wiki? This is the
first place to start.

You will need to check what the correct tuner is for the TV, possible
called Television or Tuner. Try:
v4l2-ctl --list-inputs
This will list the inputs for the video device and then you set the
input_num to be correct for you device, 0 is usually correct.

The v4l2-ctl is part of the ivtv driver but works with all v4l2 devices.

Duncan



Here is the result of the v4l2-ctl command:
$ v4l2-ctl --list-inputs
ioctl: VIDIOC_ENUMINPUT
   Input   : 0
   Name: Television
   Type: 0x0001
   Audioset: 0x0001
   Tuner   : 0x
   Standard: 0x00FFBFFF ( PAL NTSC SECAM )
   Status  : 256

   Input   : 1
   Name: Composite1
   Type: 0x0002
   Audioset: 0x0001
   Tuner   : 0x
   Standard: 0x00FFBFFF ( PAL NTSC SECAM )
   Status  : 0

   Input   : 2
   Name: S-Video
   Type: 0x0002
   Audioset: 0x0001
   Tuner   : 0x
   Standard: 0x00FFBFFF ( PAL NTSC SECAM )
   Status  : 0

   Input   : 3
   Name: Composite3
   Type: 0x0002
   Audioset: 0x0001
   Tuner   : 0x
   Standard: 0x00FFBFFF ( PAL NTSC SECAM )
   Status  : 0


I only see data of my Wintv-go tuner card. I do not see any information
about my Freecom DVB USB stick.

What should I do to know the correct setting to put inside the VIDEO_GROUPS
array of freevo?
Is there a similar command for dvb material?
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Cannot schedule a record

2007-05-16 Thread Duncan Webb
Pirlouwi wrote:
> Have you tried a search for VIDEO_GROUPS in the freevo wiki? This is the
> first place to start.
> 
> You will need to check what the correct tuner is for the TV, possible
> called Television or Tuner. Try:
> v4l2-ctl --list-inputs
> This will list the inputs for the video device and then you set the
> input_num to be correct for you device, 0 is usually correct.
> 
> The v4l2-ctl is part of the ivtv driver but works with all v4l2 devices.
> 
> Duncan
> 
> 
> Here is the result of the v4l2-ctl command:
> $ v4l2-ctl --list-inputs
> ioctl: VIDIOC_ENUMINPUT
> Input   : 0
> Name: Television
> Type: 0x0001
> Audioset: 0x0001
> Tuner   : 0x
> Standard: 0x00FFBFFF ( PAL NTSC SECAM )
> Status  : 256
> 
> Input   : 1
> Name: Composite1
> Type: 0x0002
> Audioset: 0x0001
> Tuner   : 0x
> Standard: 0x00FFBFFF ( PAL NTSC SECAM )
> Status  : 0
> 
> Input   : 2
> Name: S-Video
> Type: 0x0002
> Audioset: 0x0001
> Tuner   : 0x
> Standard: 0x00FFBFFF ( PAL NTSC SECAM )
> Status  : 0
> 
> Input   : 3
> Name: Composite3
> Type: 0x0002
> Audioset: 0x0001
> Tuner   : 0x
> Standard: 0x00FFBFFF ( PAL NTSC SECAM )
> Status  : 0
> 
> 
> I only see data of my Wintv-go tuner card. I do not see any information
> about my Freecom DVB USB stick.
> 
> What should I do to know the correct setting to put inside the
> VIDEO_GROUPS array of freevo?
> Is there a similar command for dvb material?

The possible group_type are:
'ivtv', 'webcam', 'dvb', 'tvalsa', 'normal'
When the type is something else then normal is used.

I believe that you need to select group_type='dvb' in VIDEO_GROUPS and
set the TV_CHANNELS in local_conf.py.

As far as I can tell only the mplayer tv plug-in supports dvb.

Hopefully someone with a dvb card or stick can help you further.

When you succeed and I'm sure you will may be you can update the wiki
page for the Freecom DVB stick.

Duncan


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] DVB/ATSC live pause (was RE: Wishlist)

2007-05-16 Thread Adam Charrett
Apologies for the previous email, don't know what happened there seems Hotmail 
messed up the formatting?!I've added a feature request for a couple of new 
plugins I've written to support recording from DVB/ATSC and also pausing live 
tv from DVB/ATSC.See 
http://sourceforge.net/tracker/index.php?func=detail&aid=1720288&group_id=46652&atid=446898
 for the plugins.To use this you'll need to get dvbstreamer 0.7 (DVB-T and -C) 
from http://www.sourceforge.net/projects/dvbstreamer or for DVB-S and ATSC 
you'll need the latest version from subversion (see the previous url for 
details).I've also add the ability to turn on DVB subtitles.CheersAdam
_
Try Live.com - your fast, personalized homepage with all the things you care 
about in one place.
http://www.live.com/getstarted-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Cannot schedule a record

2007-05-16 Thread Pirlouwi

Indeed...
Meanwhile, have I uncommented the option: TV_RECORD_SCHEDULE
and modified vdev from /dev/video0 (which is a device from my Hauppauge
Wintv-go card) to /dev/dvb value. I don't know if this is right, but it
seems logical, and this is the only reference inside /dev about something
relative to dvb.
Now I am able to place record schedules, although i get from time to time
the same error than before, but when i retry just after, it works
(apparently).
The next problem now is that the scheduled recording is timed 12 hours
before. I program to record a broadcasting that start at 23:20 for example,
and it is written in the freevo GUI that it is going to start at 11.20. What
should I configure to correct that in local_conf.py?
BTW: no info in the wiki about VIDEO_GROUPS keyword.
LOUIS

2007/5/16, Duncan Webb <[EMAIL PROTECTED]>:


Pirlouwi wrote:
> Have you tried a search for VIDEO_GROUPS in the freevo wiki? This is
the
> first place to start.
>
> You will need to check what the correct tuner is for the TV,
possible
> called Television or Tuner. Try:
> v4l2-ctl --list-inputs
> This will list the inputs for the video device and then you set the
> input_num to be correct for you device, 0 is usually correct.
>
> The v4l2-ctl is part of the ivtv driver but works with all v4l2
devices.
>
> Duncan
>
>
> Here is the result of the v4l2-ctl command:
> $ v4l2-ctl --list-inputs
> ioctl: VIDIOC_ENUMINPUT
> Input   : 0
> Name: Television
> Type: 0x0001
> Audioset: 0x0001
> Tuner   : 0x
> Standard: 0x00FFBFFF ( PAL NTSC SECAM )
> Status  : 256
>
> Input   : 1
> Name: Composite1
> Type: 0x0002
> Audioset: 0x0001
> Tuner   : 0x
> Standard: 0x00FFBFFF ( PAL NTSC SECAM )
> Status  : 0
>
> Input   : 2
> Name: S-Video
> Type: 0x0002
> Audioset: 0x0001
> Tuner   : 0x
> Standard: 0x00FFBFFF ( PAL NTSC SECAM )
> Status  : 0
>
> Input   : 3
> Name: Composite3
> Type: 0x0002
> Audioset: 0x0001
> Tuner   : 0x
> Standard: 0x00FFBFFF ( PAL NTSC SECAM )
> Status  : 0
>
>
> I only see data of my Wintv-go tuner card. I do not see any information
> about my Freecom DVB USB stick.
>
> What should I do to know the correct setting to put inside the
> VIDEO_GROUPS array of freevo?
> Is there a similar command for dvb material?

The possible group_type are:
'ivtv', 'webcam', 'dvb', 'tvalsa', 'normal'
When the type is something else then normal is used.

I believe that you need to select group_type='dvb' in VIDEO_GROUPS and
set the TV_CHANNELS in local_conf.py.

As far as I can tell only the mplayer tv plug-in supports dvb.

Hopefully someone with a dvb card or stick can help you further.

When you succeed and I'm sure you will may be you can update the wiki
page for the Freecom DVB stick.

Duncan


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] wrong aspect ration on 16:10 screen

2007-05-16 Thread Tanjeff-N. Moos
Am Wed, 16 May 2007 20:28:51 +0200
schrieb "Tanjeff-N. Moos" <[EMAIL PROTECTED]>:

> I'm using freevo on my 16:10 monitor. The menus are looking correct,
> but when viewing images from my hard disk, these are stretched to fit
> onto the screen. The same occurs when starting xine (for watching
> DVD).
> 
> My screen resolution is 1660x1050. The size of the screen, as
> reported by xrandr, is correct. I use freevo 1.7.1 with the bluestar
> theme.
> 
> I searched on the online help and on google, but found nothing
> helpful.

Well, I found the config. It's in $HOME/.freevo/freevo.conf. There is a
line in there wich specifies the geometry. I set this to my screen's
resolution and now all works just fine. 
Well, nearly all. My idlebar is now smaller and the audio player
doesn't fit in it (The one from the idlebar.detach plugin). This is no
serios problem, it doesn't look very nice, tough.

BTW, no additional configurations are neccessary for xine, and I expect
the same is true for mplayer. Both uses parameters based on the
geometry line in freevo.conf.

Tanjeff

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Dual DVD-T tuner and Freevo

2007-05-16 Thread Jim Duda
For DVB ATSC recording using an HD5500 card from pcHDTV,
I use the following in local_conf.py:

VCR_CMD = ('/usr/local/bin/record-hd5500.sh' + ' ' +
   '/dev/dvb/adapter0/dvr0' + ' ' +
   '%(channel)s' + ' ' +
   '%(seconds)s' + ' ' +
   '%(filename)s')

my /usr/local/bin/record-hd5500.sh looks like :

#!/bin/bash
# 1: video device
# 2: channel
# 3: time in seconds
# 4: recording file

kill_it()
{
   echo "Caught SIGINT ..."
   echo "PID $SLEEP_PID"
   kill $SLEEP_PID
   kill $CAT_PID
   kill $AZAP_PID
   exit
}

trap 'kill_it' INT TERM

sleep 2

azap -r $2 > /dev/null &
AZAP_PID=$!

sleep 2

cat $1 > $4 &
CAT_PID=$!
# $! is PID of last job running in background.

sleep $3 &
SLEEP_PID=$!

wait $SLEEP_PID

# You should add some check here to make sure cat is still running,
# otherwise you might accidentally kill some other process.
kill $CAT_PID
kill $AZAP_PID


I post process the transport streams using this:

#!/usr/bin/perl

my $dirname = shift;
my $binary = "/usr/java/jre/bin/java -jar 
/usr/local/bin/ProjectX/ProjectX.jar";

opendir (DIR, $dirname) or die "Can't opendir $dirname: $!\n";
while (defined (my $file = readdir(DIR))) {
   if ($file =~ /\.ts$/) {
 $file =~ /(.*)\.ts$/;
 my $base = $1;
 system ( "$binary $dirname/$file -tom2p -out $dirname -name 
$base.mpg" );
 rename ("$dirname/$base.m2p", "$dirname/$base.mpg") or warn 
("Couldn't rename $base.m2v to $base.mpg : $!\n");
 unlink "$dirname/$file";
 unlink "$dirname/$base.mpg_log.txt";
   }
}
closedir(DIR);



Duncan Webb wrote:
> Xavier Beaudouin wrote:
>> Hello there,
>>
>> I have successfully installed my Freevo using Nova-T-500 PCI card.
>>
>> TV is running well and I'd like to use the feature of dual tuner of this 
>> card.
>>
>> Any hint to make a somewhat "pool" of tuners ? (eg is first one is busy 
>> recording for example, then use the second one for example ?).
>>
>> For watching TV and also recording ?
> 
> The only supported option with freevo-1 is to dedicate one of the two
> tuners for recording and the other for playing, this should work fine
> with DVB cards, though I don't have either DVB or a DVB card. But other
> people on the list have.
> 
> If I'm not mistaken, DVB cards write mpeg files so I think you don't
> need to use mencoder to capture the data stream. Search the wiki for DVB
> and you may come up with something.
> 
>> For even if I specify dvb://2@ in VCR_CMD, the 
>> /var/cache/freevo/record.video0 is still exist?
>>
>> Some extract of /etc/freevo/local_conf.py (debian etch) :
>>
>> VCR_CMD = ( CONF.mencoder + ' ' +
>>  'dvb://[EMAIL PROTECTED](channel)s'  +
>>  ' -ovc copy -oac copy ' +  # Direct stream copy
>>  ' -idx ' + # Fix idx
>>  '-endpos %(seconds)s ' +   # only mencoder uses this so do it 
>> here.
>>  '-o %(filename)s ' )   # Filled in by Freevo
>> #
>> # [...]
>> #
>> VIDEO_GROUPS[0].group_type = 'dvb'
>> TV_CHANNELS = [('C1.programme-television.org', 'TF1', 'TF1' ),
>> ('C2.programme-television.org', 'France2', 'France2' ),
>> ('C3.programme-television.org', 'France3', 'France3' ),
>> ('C10.programme-television.org', 'France4', 'France4' ),
>> #
>> # [...]
>> #
>> ('C20.programme-television.org', 'TPS STAR', 'TPSSTAR' ),
>> ('C21.programme-television.org', 'Paris 1ERE', 'PARISPREMIERE' ) ]
> 
> Duncan
> 
> 
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] feature request

2007-05-16 Thread mike lewis
I would dearly love to be able to 'set' the aspect ratio of a file
from within freevo.  I know I can create an fxd manually to do this,
but this lowers my WAF. hehe.

Anyone worked on something like this recently?

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Menus and external programs (Web, VVOIP)

2007-05-16 Thread Michael Brown
Hi Eduardo!

>Try "command" plugin. Insert in your local.conf:

>plugin.activate('command', level=45)
COMMANDS_DIR = '/usr/local/freevo_data/Commands'

Thanks, that worked out nicely for what I'm doing.  I copied the "Mozilla" 
example fxd from the Wiki, and created an ekiga.fxd file with the relevant 
stuff in it, and it worked beautifully.  It gave me a main menu item "Commands" 
(above shutdown), which leads to another menu where my "VideoPhone" option is 
shown.  Next step, Ekiga configuration!

Thanks for the assistance!

/Mike


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] DVB/ATSC live pause (was RE: Wishlist)

2007-05-16 Thread Jonathan Isom
Is it possible to see a copy of you local_conf.py file?  I know
dvbstreamer is still
early with atsc support. adding

plugin.activate('tv.dvbstreamer.live_pause')
LIVE_BUFFER_PATH='/tmp/freevo/live.buf' # Location of the file to use
for pausing live TV
LIVE_BUFFER_SIZE=(20.25, 30*60) # Size of the live buffer as a tuple
of max Mbps of the TV and seconds, default 6.25Mbps and 30 minutes.

results in :
--

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/freevo/main.py", line 290, in
eventhandler
app.eventhandler(event)
  File "/usr/lib/python2.4/site-packages/freevo/menu.py", line 493, in
eventhandler
if not isinstance(menu, Menu) and menu.eventhandler(event):
  File "/usr/lib/python2.4/site-packages/freevo/tv/tvguide.py", line
244, in eventhandler
self.player('tv', self.selected.channel_id)
  File "/usr/lib/python2.4/site-packages/freevo/tv/tvmenu.py", line
85, in start_tv
plugin.getbyname(plugin.TV).Play(mode, tuner_id)
  File 
"/usr/lib/python2.4/site-packages/freevo/tv/plugins/dvbstreamer/live_pause.py",
line 188, in Play
self.change_channel(tuner_channel)
  File 
"/usr/lib/python2.4/site-packages/freevo/tv/plugins/dvbstreamer/live_pause.py",
line 212, in change_channel
adapter = eval(self.fc.getVideoGroup(channel, True).vdev)
  File "", line 1
 /dev/video0
 ^
 SyntaxError: invalid syntax

--
no idea where /dev/video0 comes from.
  thanks
  Jonathan


On 5/16/07, Adam Charrett <[EMAIL PROTECTED]> wrote:
>
> Apologies for the previous email, don't know what happened there seems
> Hotmail messed up the formatting?!
>
> I've added a feature request for a couple of new plugins I've written to
> support recording from DVB/ATSC and also pausing live tv from DVB/ATSC.
>
> See
> http://sourceforge.net/tracker/index.php?func=detail&aid=1720288&group_id=46652&atid=446898
> for the plugins.
>
> To use this you'll need to get dvbstreamer 0.7 (DVB-T and -C) from
> http://www.sourceforge.net/projects/dvbstreamer or for
> DVB-S and ATSC you'll need the latest version from subversion (see the
> previous url for details).
>
> I've also add the ability to turn on DVB subtitles.
>
> Cheers
>
> Adam
>
>
>
> 
> Express yourself instantly with Windows Live Messenger, the future of MSN
> Messenger! Windows Live Messenger, the future of MSN Messenger!
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users