Re: [Freevo-users] How to start Freevo

2007-03-20 Thread Gino
Hi!

If you have Ubuntu distro, I can tell you exactly the way I did... quite easy, freevo runs at -fs mode without problems!!!Duncan Webb escribió (Mon, 19 Mar 2007 22:30:14 +0100): Dan Mancini wrote: Hi, I would like to start freevo at time of startup, what command would I use? Also, I would like to make a button on my remote to start it using irexec, what do I need to do for that?  (just the start command I can set the instance in irexec). Have you cheked out the wiki page? http://freevo.sourceforge.net/cgi-bin/doc/BootFreevo This type of thing tends to be distro specific. Duncan  - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT  business topics through brief surveys- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEV DEV ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] CDs or DVDs with folders and files with movies.....

2007-03-20 Thread Gino
Hello

Just a question.. when I introduce in my freevo box 1,7 final, an CD or DVD created with Nero, by example, with few folders and/or few movies, Freevo crashes... doesn´t matter if CD or DVD I tried twice.

No matter if I introduce a DVD movie, which is currently played perfect!

- Introduce cd or dvd
- Freevo starts to scan the folders and files, and then crashes.. I must exit, because it´s a bucle of errors.

Freevo can manage this type of data CDs or DVDs?

The log is here:

[EMAIL PROTECTED]:/home/freevo/.freevo# cat main-1003.log 
---
Freevo (1.7.0) start at Mon Mar 19 21:47:26 2007
---
WARNING: duplicate plugin activation, ignoring:
mixer None None

WARNING: duplicate plugin activation, ignoring:
headlines None None

WARNING: duplicate plugin activation, ignoring:
video.imdb None None

config.py (519): Logging to /var/log/freevo/main-1003.log
Error: VIDEO_SHOW_DATA_DIR not found
config.py (903): Using 'UTF-8' encoding
osd.py (571): Setting fullscreen mode to 1
main.py (210): load basic skin settings: crystal
__init__.py (216): Building the xml hash database...
__init__.py (248): done
osd.py: Bitmap file "/ARMARIO/almacen/mera_unmount" doesn't exist!
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/freevo/main.py", line 285, in eventhandler
app.eventhandler(event)
File "/usr/lib/python2.4/site-packages/freevo/menu.py", line 673, in eventhandler
action( arg=arg, menuw=self )
File "/usr/lib/python2.4/site-packages/freevo/directory.py", line 472, in cwd
self.check_password_and_build(arg=None, menuw=menuw)
File "/usr/lib/python2.4/site-packages/freevo/directory.py", line 527, in check_password_and_build
self.build(arg=arg, menuw=menuw)
File "/usr/lib/python2.4/site-packages/freevo/directory.py", line 780, in build
menuw.pushmenu(item_menu)
File "/usr/lib/python2.4/site-packages/freevo/menu.py", line 378, in pushmenu
self.refresh()
File "/usr/lib/python2.4/site-packages/freevo/menu.py", line 406, in refresh
skin.draw('menu', self, self.menustack[-1])
File "/usr/lib/python2.4/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.4/site-packages/freevo/skins/main/area.py", line 194, in draw
self.update_content()
File "/usr/lib/python2.4/site-packages/freevo/skins/main/default_areas.py", line 179, in update_content
p.draw((self.widget_type, self.menuw), self)
File "/usr/lib/python2.4/site-packages/freevo/plugins/buttonbar.py", line 202, in draw
actions = self.get_actions(menu)
File "/usr/lib/python2.4/site-packages/freevo/plugins/buttonbar.py", line 344, in get_actions
for a in p.actions(menu.selected):
File "/usr/lib/python2.4/site-packages/freevo/plugins/df.py", line 57, in actions
freespace = util.freespace(item.dir)
File "/usr/lib/python2.4/site-packages/freevo/util/fileops.py", line 118, in freespace
s = os.statvfs(path)
OSError: [Errno 2] No existe el fichero ó directorio: '/media/cdrom0/The Gathering - Black light district vids'


Thanks in advance!




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo accepted by Google Summer of Code 2007

2007-03-20 Thread Dirk Meyer
Dirk Meyer wrote:
 good news, Freevo was accepted for the Google Summer of Code 2007
 (http://code.google.com/soc/). Students can register the next two
 weeks.

Students can register up to next Friday. Right now I only have one
submission and that one is about making our website (which has nothing
to do with Summer of Code IMHO). So if you are a student and what to
earn some extra money, last chance.

 If you have an idea what you want to do as student or if you want to
 be a mentor please subscribe to the freevo devel mailing list so we
 can disscuss this. Our ideas page is located in the 2.0 wiki at
 http://freevo.sourceforge.net/cgi-bin/freevo-2.0/SoC2007
 Feel free to add ideas to this page and tell us if you want to help.

 Freevo is split into three parts for SoC. Kaa, Freevo and GeeXboX. For
 kaa and Freevo I can act as a mentor, for GeeXboX Ben can do this. I
 guess Tack could also help us. Besides us, we also accept people who
 want to be a mentor.

 Long story short: please contact us at freevo-devel if you want to be
 part of it.

Go the google.com, log in with your email account and register as
student to SoC in the freevo project.


Dischi

-- 
How can something be 'new and improved'? If it's new what was it improving on?

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo accepted by Google Summer of Code 2007

2007-03-20 Thread Jason Tackaberry
Dirk Meyer wrote:
 Go the google.com, log in with your email account and register as
 student to SoC in the freevo project.

Maybe put up a similar note on the website?

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] CDs or DVDs with folders and files with movies.....

2007-03-20 Thread Duncan Webb
Gino wrote:
 Hello
 
 Just a question.. when I introduce in my freevo box 1,7 final, an CD or
 DVD created with Nero, by example, with few folders and/or few movies,
 Freevo crashes... doesn´t matter if CD or DVD I tried twice.
 
 No matter if I introduce a DVD movie, which is currently played perfect!
 
 - Introduce cd or dvd
 
 - Freevo starts to scan the folders and files, and then crashes.. I must
 exit, because it´s a bucle of errors.
 
 Freevo can manage this type of data CDs or DVDs?
 
 The log is here:
 
 [EMAIL PROTECTED]:/home/freevo/.freevo# cat main-1003.log
 ---
 Freevo (1.7.0) start at Mon Mar 19 21:47:26 2007
 ---
 WARNING: duplicate plugin activation, ignoring:
 mixer None None

Looks like you can remove the plugin.activate for mixer. If you want to
use the ossmixer then you need to plugin.remove('mixer') first.

 WARNING: duplicate plugin activation, ignoring:
 headlines None None

and headlines

 WARNING: duplicate plugin activation, ignoring:
 video.imdb None None

and imdb from you local_conf.py

 config.py (519): Logging to /var/log/freevo/main-1003.log
 
 Error: VIDEO_SHOW_DATA_DIR not found
 
 config.py (903): Using 'UTF-8' encoding
 osd.py (571): Setting fullscreen mode to 1
 main.py (210): load basic skin settings: crystal
 __init__.py (216): Building the xml hash database...
 __init__.py (248): done
 osd.py: Bitmap file /ARMARIO/almacen/mera_unmount doesn't exist!

This looks a bit odd mera_unmount, where is this coming from?

 Traceback (most recent call last):
   File /usr/lib/python2.4/site-packages/freevo/main.py, line 285, in
 eventhandler
 app.eventhandler(event)
   File /usr/lib/python2.4/site-packages/freevo/menu.py, line 673, in
 eventhandler
 action( arg=arg, menuw=self )
   File /usr/lib/python2.4/site-packages/freevo/directory.py, line 472,
 in cwd
 self.check_password_and_build(arg=None, menuw=menuw)
   File /usr/lib/python2.4/site-packages/freevo/directory.py, line 527,
 in check_password_and_build
 self.build(arg=arg, menuw=menuw)
   File /usr/lib/python2.4/site-packages/freevo/directory.py, line 780,
 in build
 menuw.pushmenu(item_menu)
   File /usr/lib/python2.4/site-packages/freevo/menu.py, line 378, in
 pushmenu
 self.refresh()
   File /usr/lib/python2.4/site-packages/freevo/menu.py, line 406, in
 refresh
 skin.draw('menu', self, self.menustack[-1])
   File /usr/lib/python2.4/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.4/site-packages/freevo/skins/main/area.py,
 line 194, in draw
 self.update_content()
   File
 /usr/lib/python2.4/site-packages/freevo/skins/main/default_areas.py,
 line 179, in update_content
 p.draw((self.widget_type, self.menuw), self)
   File /usr/lib/python2.4/site-packages/freevo/plugins/buttonbar.py,
 line 202, in draw
 actions = self.get_actions(menu)
   File /usr/lib/python2.4/site-packages/freevo/plugins/buttonbar.py,
 line 344, in get_actions
 for a in p.actions(menu.selected):
   File /usr/lib/python2.4/site-packages/freevo/plugins/df.py, line 57,
 in actions
 freespace = util.freespace(item.dir)
   File /usr/lib/python2.4/site-packages/freevo/util/fileops.py, line
 118, in freespace
 s = os.statvfs(path)

 OSError: [Errno 2] No existe el fichero ó directorio:
 '/media/cdrom0/The Gathering - Black light district vids'

So Freevo can't find /media/cdrom0/The Gathering - Black light district
vids; what happens when you do a:
ls /media/cdrom0/ do you see the disk?

What have you set in local_conf.py for ROM_DRIVES?
It should be something like:
ROM_DRIVES = [ ('/mnt/dvd', '/dev/dvd', 'DVD') ]

You don't need to use automount as freevo does this for you.

Duncan

PS HTML mail is a bit crap in a mailing list.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Cannot manage volume through freevo global events, but I can mute...

2007-03-20 Thread Duncan Webb
Gino wrote:
 Hello.
 
  
 
 There is a similar mail, talking I think about the same, but finished
 talking about a patch por tv plugin for mplayer this is not my
 case.. as I dont use TV plugins at all.. only watch to videos. I have
 searched for previous emails, and at wiki, also googling, but cannot
 fix myself
 
  
 
 I am not too much expert managing sound in linux, and I don´t know what
 else to do any help or idea would be highly appreciated...
 
  
 
 First of all, my config (other settings are default ones):
 
  
 
 #AUDIO_DEVICE = '/dev/audio'
 
 #DEV_MIXER = '/dev/mixer'
 
 #plugin.remove('mixer')
 
 plugin.activate('mixer')

This is the default you only need:
plugin.remove('mixer')
plugin.activate('ossmixer')
or
nothing

 #plugin.activate('ossmixer')
 
 MAJOR_AUDIO_CTRL = 'PCM'

This means that freevo controls the PCM channel of the mixer. If you can
see freevo and the mixer at the same time you can see what freevo is
doing with the audio

 CONTROL_ALL_AUDIO = 1

This means that freevo controls other devices
 DEFAULT_VOLUME = 90
 
 and...
 
 MPLAYER_AO_DEV = 'alsa'
 XINE_AO_DEV = 'alsa'

These are fine

 Ubuntu Edgy running in fs mode without gnome or others freevo
 1.7 final.
 
  
 
 [EMAIL PROTECTED]:~# /sbin/modinfo soundcore
 filename:   /lib/modules/2.6.17-10-generic/kernel/sound/soundcore.ko
 description:Core sound module
 author: Alan Cox
 license:GPL
 alias:  char-major-14-*
 vermagic:   2.6.17-10-generic SMP mod_unload 586 REGPARM gcc-4.1
 depends:
 srcversion: C2D094BCAA551D6738DF488
 
 [EMAIL PROTECTED]:~# cat /proc/asound/cards
 
  0 [SI7012 ]: ICH - SiS SI7012
   SiS SI7012 with CMI9761 at 0xdc00, irq 201
  1 [SAA7134]: SAA7134 - SAA7134
   saa7133[0] at 0xcfffb800 irq 193
 

You may need a VIDEO_GROUP setting for the SAA7134 chip on your tv card.
VIDEO_GROUPS = [
VideoGroup(vdev='/dev/video0',
  vvbi = '/dev/vbi0',
  adev =
'alsa:adevice=hw.1,0:amode=1:audiorate=32000:forceaudio:immediatemode=0',
  input_type = 'tuner',
  input_num = 0,
  tuner_norm = CONF.tv,
  tuner_chanlist = CONF.chanlist,
  desc = 'Pinnacle 110i Group',
  group_type = 'tvalsa',
),
]

 The facts:
 
 - With the config above, I can see osd turning up or down volume, but
 nothing happens at all but I can mute sound, and if I volume==0 then
 sound is muted also.

How have you connected the speakers to your freevo box?

 - If I try other mixer (i have other one I suppose for the DVBT card),
 mixer1, then I cannot manage the sound and I cannot mute.
 
 - If I try turning MAJOR_AUDIO_CTRL = 'VOL', then I cannot manage the
 sound and I cannot mute.
 
 - If I try using default oss for players and activating ossmixer, is
 just the same case, I can see osd turning up or down volume, but nothing
 happens at all but I can mute sound, and if I volume==0 then sound
 is muted also.
 
 - If I use alsamixer, I CAN manage the sound perfectly, and turn up and
 down PCM column (does manage the sound really, just listening to the
 changes) as Master column (simply do nothing)... alsamixer does pretty
 good with PCM control.. With master nothing happens.
 
 - If I use aumix, curiously I can move Vol raw, but nothing happens.
 also I cannot move Pcm raw (its hardly linked to the 100% and cannot
 move it).. but.. I can press mute and all is muted. So Aumix can
 only mute the sound if I press (M)ute. The bars does not do nothing.

You should see a 'M' below the bar when a channel is muted.

 I don´n know what else I could say. What can I do? any idea?

What does /etc/asound.conf or ~/.asound.conf contain?

It seems strange that PCM works and VOL does not work, it looks like
alsa has not been configured correctly.

Duncan


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Freevo 2.0 features

2007-03-20 Thread Dirk Meyer
Nicolas Souchu wrote:
 Ok, have you guys ever written what would be the best multimedia box for
 you... taking into account your experience, mythtv/vdr/freevo and other
 state of the arts. That wouldn't be bad as a starting point for
 next freevo generation specification, no ?

The next generation specification is in the code :)
By rewriting the core for Freevo 2.0 and by creating the kaa modules
we have some discussion at freevo-devel and on irc, write some code,
talk about it again and so on. There is no design doc.


Dischi

-- 
Reality is a just temporary illusion caused by a
lack of alcohol in the bloodstream.


pgprbaJWiTnhJ.pgp
Description: PGP signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Suggestions and hardware requirements for quad tuner setup (Freevo in a college: recording TV for lectuers)

2007-03-20 Thread Dirk Meyer
John Molohan wrote:
 I'm in the position to introduce Freevo as a great solution to an old 
 problem here. In the past our lecturers have recorded TV on to VHS tapes 
 and then play these back to their students. This has a number of 
 drawbacks and we feel it's time to move on. 

Welcome to the 20th century ;)

 In order to do this I'm looking at a quad analogue tuners with mpeg2 
 hardware encoding (2 x PVR500s maybe).  What I'm looking for is 
 experience from anyone who may have done something similar. Were there 
 any particular problems you came across? Does anyone know of any nice 
 rack mountable kit that would suit? What rating PSU would you recommend? 
 Etc.

I box with two dvb cards (so a similar setup) is easy to build. No
need for a special PSU.

 One of my staff is also a student here and might be partaking in the SOC 
 for Freevo so we might end up extending Freevo a bit during this. 

Cool. But remeber, we only have until Friday to accept students.

 Any feedback or suggestions would be greatly appreciated.

The 2.0 freevo-tvserver + freevo-tvdev with kaa.record2 (WIP) is
exactly what you need.


Dischi

-- 
The only problem with mornings is that they happen too early in the
day.


pgpjHnejwfoot.pgp
Description: PGP signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Simpler Mixer

2007-03-20 Thread Buckley Hopper
Greetings,

I have freevo set up and running on a computer connected to a 
television.  After going through the configuration slowly and carefully, 
I think I have it set up pretty well for recording and watching shows.

One thing I wasn't able to set up to my liking was the mixer.  I tried 
having freevo control all audio at first, and that worked well.  I could 
watch live tv and the sound would turn on when I started watching and 
turn off when I was done.  I set up a VCR_PRE_REC script according to 
some web pages to set the appropriate levels and capture device for 
recording tv, and that worked well.  In addition, freevo did the right 
thing and wouldn't allow me to watch live tv while recording, since I 
only have one tuner card - good so far.

The problem with the setup I describe happens when I try to watch a 
recording while a show is being recorded.  The plugin that launches 
mplayer sets the mixer to values that mute the recording in progress, 
which is bad.

At this point, I went and looked through the source code to see what the 
various plugins do when they're called.  My observation is that the 
mixer settings are fiddled with far more than necessary.  Neither the 
video player nor the live tv player should ever mute the recording 
input, but both of them do.  On my machine, an ideal setup would leave 
all the mixer settings alone, unmute the line out on the sound card when 
watching live tv, and allow the user to raise and lower a single volume 
setting of his choosing to control the global volume level (PCM or VOL I 
suppose).  Instead, freevo resets the volume on the recording portion of 
the sound card, screwing up the audio in recordings.  What is the reason 
for the plugins to be written this way?

Perhaps others' sound card mixer settings work differently from mine, 
but at least for me, the 'line' setting determines what sound I hear 
from the tuner during live tv, the 'capture' setting determines how loud 
recorded audio will be, and the two settings are independent.  As long 
as I toggle the capture setting to on for both 'line' and 'capture' (in 
alsamixer) and set the 'capture' volume appropriately, I get audio from 
my recordings.  The recording doesn't pay attention to the volume 
setting of 'line' or if it is muted.  Playing live tv directly from the 
capture card, I need to unmute 'line' and set its level to something 
appropriate (for me 100%), then remute it when I am done viewing live tv.

Currently I have CONTROL_ALL_AUDIO set to 0 in my local_config.py, which 
guarantees my recordings will have uninterrupted audio, still lets 
recorded shows and other videos play back with the correct volume, but 
makes it so watching live tv is silent.  That isn't a problem, really, 
since live tv is currently silly when I can just change the channel on 
the tv and get to the channel I want to see.  However, it would be neat 
if it worked correctly without me telling freevo to lay off the mixer.

Is there an alternate mixer plugin that just unmutes 'line' when playing 
live tv and remutes it when not playing, and that otherwise leaves the 
mixer alone?

Buckley

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Single Tuner Live TV and Recording

2007-03-20 Thread Buckley Hopper
Hey,

I have a single capture card, and I know that if freevo is recording a 
show and I try to watch live TV, it won't let me.  That's good.

What happens when I'm watching live TV and freevo needs to start 
recording?  Looking at the source, it seems that currently the code for 
avoiding this conflict hasn't been written.

I'm using 1.7.0 release of freevo, by the way.

Buckley

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Simpler Mixer

2007-03-20 Thread Buckley Hopper
Using freevo 1.7.0 release, by the way.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Graphics card query.

2007-03-20 Thread Ashley Dawkins
Hi, just a quick question. Came across a Guillemot Cougar Video Edition AGP
card left over from  a PC I've just upgraded.

Anyone using one of these for Freevo use? It has composite and s-vhs out,
and captures via s-vhs input. Its apparently an Nvidia tnt2 based card.

 If anyone is using one, are there any hints and tips that would make
configuration neasier?

 

Cheers,

 

Ashley.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Graphics card query.

2007-03-20 Thread Bastian Farkas
hi,
i'm using a tnt2 based erazor iii from elsa for tvout. you have to use
nvidia's legacy driver but the output is very nice. with the nvtv tool
you can tweak the output settings to remove black borders and get a
little overscan, so it looks just like a regular tv-picture. :)

On Tue, 2007-03-20 at 21:26 +, Ashley Dawkins wrote:
 Hi, just a quick question. Came across a Guillemot Cougar Video
 Edition AGP card left over from  a PC I’ve just upgraded.
 
 Anyone using one of these for Freevo use? It has composite and s-vhs
 out, and captures via s-vhs input. Its apparently an Nvidia tnt2 based
 card.
 
  If anyone is using one, are there any hints and tips that would make
 configuration neasier?
 
  
 
 Cheers,
 
  
 
 Ashley.
 
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___ Freevo-users mailing list 
 Freevo-users@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/freevo-users


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Cannot manage volume through freevo global events, but I can mute...

2007-03-20 Thread Stephane Vaxelaire
Hi,

I recently found freevo while looking for a kind of media center app under linux
(allowing me to keep all my server stuff running on the same machine).

I really like it a lot, but I had a problem with sound too. mixer and ossmixer
plugins don't work with my alsa setup. I can see the mixer idlebar plugin
changing and the OSD volume messages with volume percentage increasing or
decreasing but the sound voume won't really change at all.
I tried changing MAJOR_AUDIO_CONTROL, CONTROL_ALL_AUDIO but nothing worked.

So, in case someone would be interested, I ducplicated ossmixer.py and modified
it into an alsamixer.py plugin that works with the python-alsaaudio module
(http://code.google.com/p/python-alsaaudio/).

I mainly tested it for the main volume for now but it *should* behave like the
ossmixer plugin.
I'm using a few config variable (that needs to be defined in local_conf.py) :
- ALSA_MIXER_NAME : the main volume mixer ('Master' for me)
- ALSA_MICMIXER_NAME : the mic volume mixer ('Mic' for me)
- ALSA_PCMMIXER_NAME : pcm volume mixer ('PCM' for me, but can be set to
'Master' too if there are no 'PCM' mixer controler, I tested it)
- ALSA_CARDID : the name of the card to be used ('hw:0' for me)
- ALSA_LINEMIXER_NAME : line in volume mixer

I also added a ALSA_LINE_CARDID ('hw:2' for me) on which ALSA_LINEMIXER_NAME
will be looked for (and not on my 'hw:0' main card).

I did it so that I can use it to control the output volume of my bt878 card
instead of controling a line-in (I don't have my TV card's output plugged into
my main soundcard, I'm using the snd_bt87x kernel module to have direct access
to the TV card sound outputs via either /dev/dsp2 for OSS and hw:2 for Alsa).

If you prefer to use the main card's line-in with ALSA_LINEMIXER_NAME, just set
it to whatever your line-in mixer control name is (taken from alsamixer for
example) and set ALSA_LINE_CARDID to the same value as ALSA_CARDID.

I hope all this was clear enough and that it can be useful to somebody.

Regards,
# -*- coding: iso-8859-1 -*-
# ---
# alsamixer.py - The ALSA mixer interface for freevo.
# ---
# $Id: alsamixer.py 9222 2007-02-17 10:13:50Z svax $
#
# Notes:
#
# I propose this could replace 'mixer.py' when it's been tested adequately.
#
# And to activate:
#
# plugin.remove('mixer')
# plugin.activate('alsamixer')
#
#
# Todo:
#
# ---
# 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
#
# ---


For manipulating the mixer.


import struct
import os

import config
import plugin
import rc
from event import *

import alsaaudio


class PluginInterface(plugin.DaemonPlugin):

def __init__(self):
self.main_mixer = None
self.pcm_mixer = None
self.line_mixer = None
self.mic_mixer = None
self.muted = 0

# If you're using ALSA or something and you don't set the mixer,
# why are we trying to open it?
try:
self.main_mixer = alsaaudio.Mixer( config.ALSA_MIXER_NAME, 0, 
config.ALSA_CARDID)
except alsaaudio.ALSAAudioError:
print 'Couldn\'t open mixer %s' % config.ALSA_MIXER_NAME
return
try:
self.pcm_mixer = alsaaudio.Mixer( config.ALSA_PCMMIXER_NAME, 0, 
config.ALSA_CARDID)
except alsaaudio.ALSAAudioError:
print 'Couldn\'t open mixer %s' % config.ALSA_PCMMIXER_NAME
return
try:
self.line_mixer = alsaaudio.Mixer( config.ALSA_LINEMIXER_NAME, 0, 
config.ALSA_LINE_CARDID)
except alsaaudio.ALSAAudioError:
print 'Couldn\'t open mixer %s' % config.ALSA_LINEMIXER_NAME
return
try:
self.mic_mixer = alsaaudio.Mixer( config.ALSA_MICMIXER_NAME, 0, 
config.ALSA_CARDID)
except alsaaudio.ALSAAudioError:
print 'Couldn\'t open mixer %s' % config.ALSA_MICMIXER_NAME
return

# init here

[Freevo-users] Xine and OSD / character encoding problem

2007-03-20 Thread Stephane Vaxelaire
Hi again,

First, I forgot to say in my previous mail that I'm using freevo 1.7.1 from svn.

I quickly browsed and searched the mailing lists for those problems but couldn't
find any relevant information.
When using xine as preferred video player, changing volume works but there is no
OSD info displayed that shows me the volume bar. That information shows up over
mplayer playing movies though.

I also have problems with character encoding.

My system locale is set like this :
LANG=fr_FR.UTF-8 (and every other variable named LC_* is set to this too).
I'm using LOCALE='utf-8' in my local_conf.py.
The main menu displays accented characters correctly as I have Regarder la
télé displayed for the Watch TV menu title.

In the video menu for instance, I have some directories defined in local_conf.py
like this :
VIDEO_ITEMS = [ ('Enregistrements', '/path/to/tv/recordings'),
('Téléchargements', '/path/to/downloads') ]
when I'm in the video menu, the second item with accents is not displayed
correctly in the item list (the 'é' is replaced with '@' and another character,
I'm not in front of my freevo box right now) whereas in the detail view in the
upper part of the screen (where cover and duration are showed) the name is
displayed correctly with the 'é' characters.

Maybe someone has a 'fix' for those problems.

Regards,

Stephane

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Simpler Mixer

2007-03-20 Thread Duncan Webb
 Greetings,

 I have freevo set up and running on a computer connected to a
 television.  After going through the configuration slowly and carefully,
 I think I have it set up pretty well for recording and watching shows.

 One thing I wasn't able to set up to my liking was the mixer.  I tried
 having freevo control all audio at first, and that worked well.  I could
 watch live tv and the sound would turn on when I started watching and
 turn off when I was done.  I set up a VCR_PRE_REC script according to
 some web pages to set the appropriate levels and capture device for
 recording tv, and that worked well.  In addition, freevo did the right
 thing and wouldn't allow me to watch live tv while recording, since I
 only have one tuner card - good so far.

 The problem with the setup I describe happens when I try to watch a
 recording while a show is being recorded.  The plugin that launches
 mplayer sets the mixer to values that mute the recording in progress,
 which is bad.

 At this point, I went and looked through the source code to see what the
 various plugins do when they're called.  My observation is that the
 mixer settings are fiddled with far more than necessary.  Neither the
 video player nor the live tv player should ever mute the recording
 input, but both of them do.  On my machine, an ideal setup would leave
 all the mixer settings alone, unmute the line out on the sound card when
 watching live tv, and allow the user to raise and lower a single volume
 setting of his choosing to control the global volume level (PCM or VOL I
 suppose).  Instead, freevo resets the volume on the recording portion of
 the sound card, screwing up the audio in recordings.  What is the reason
 for the plugins to be written this way?

 Perhaps others' sound card mixer settings work differently from mine,
 but at least for me, the 'line' setting determines what sound I hear
 from the tuner during live tv, the 'capture' setting determines how loud
 recorded audio will be, and the two settings are independent.  As long
 as I toggle the capture setting to on for both 'line' and 'capture' (in
 alsamixer) and set the 'capture' volume appropriately, I get audio from
 my recordings.  The recording doesn't pay attention to the volume
 setting of 'line' or if it is muted.  Playing live tv directly from the
 capture card, I need to unmute 'line' and set its level to something
 appropriate (for me 100%), then remute it when I am done viewing live tv.

 Currently I have CONTROL_ALL_AUDIO set to 0 in my local_config.py, which
 guarantees my recordings will have uninterrupted audio, still lets
 recorded shows and other videos play back with the correct volume, but
 makes it so watching live tv is silent.  That isn't a problem, really,
 since live tv is currently silly when I can just change the channel on
 the tv and get to the channel I want to see.  However, it would be neat
 if it worked correctly without me telling freevo to lay off the mixer.

 Is there an alternate mixer plugin that just unmutes 'line' when playing
 live tv and remutes it when not playing, and that otherwise leaves the
 mixer alone?

VCR_IN_VOLUME may be what you want to use, it sets the line-in volume
level. I don't think you need, or want, to use the VCR_PRE_REC script to
set the volume. IIRC, the recordserver controls the line-in audio when a
recording is about to start.

CONTROL_ALL_AUDIO should not affect the line-in when recording.

The freevo mixer is very simple, it only affects three controls as it was
based on oss and not alsa. The controls are VOL, PCM and line-in. I don't
know why PCM was chosen to control the volume but there must have been a
reason.

Duncan


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Cannot manage volume through freevo global events, but I can mute...

2007-03-20 Thread Duncan Webb
 Hi,

 I recently found freevo while looking for a kind of media center app under
 linux
 (allowing me to keep all my server stuff running on the same machine).

 I really like it a lot, but I had a problem with sound too. mixer and
 ossmixer
 plugins don't work with my alsa setup. I can see the mixer idlebar plugin
 changing and the OSD volume messages with volume percentage increasing or
 decreasing but the sound voume won't really change at all.
 I tried changing MAJOR_AUDIO_CONTROL, CONTROL_ALL_AUDIO but nothing
 worked.

 So, in case someone would be interested, I ducplicated ossmixer.py and
 modified
 it into an alsamixer.py plugin that works with the python-alsaaudio module
 (http://code.google.com/p/python-alsaaudio/).

 I mainly tested it for the main volume for now but it *should* behave like
 the
 ossmixer plugin.
 I'm using a few config variable (that needs to be defined in
 local_conf.py) :
 - ALSA_MIXER_NAME : the main volume mixer ('Master' for me)
 - ALSA_MICMIXER_NAME : the mic volume mixer ('Mic' for me)
 - ALSA_PCMMIXER_NAME : pcm volume mixer ('PCM' for me, but can be set to
 'Master' too if there are no 'PCM' mixer controler, I tested it)
 - ALSA_CARDID : the name of the card to be used ('hw:0' for me)
 - ALSA_LINEMIXER_NAME : line in volume mixer

 I also added a ALSA_LINE_CARDID ('hw:2' for me) on which
 ALSA_LINEMIXER_NAME
 will be looked for (and not on my 'hw:0' main card).

 I did it so that I can use it to control the output volume of my bt878
 card
 instead of controling a line-in (I don't have my TV card's output plugged
 into
 my main soundcard, I'm using the snd_bt87x kernel module to have direct
 access
 to the TV card sound outputs via either /dev/dsp2 for OSS and hw:2 for
 Alsa).

 If you prefer to use the main card's line-in with ALSA_LINEMIXER_NAME,
 just set
 it to whatever your line-in mixer control name is (taken from alsamixer
 for
 example) and set ALSA_LINE_CARDID to the same value as ALSA_CARDID.

 I hope all this was clear enough and that it can be useful to somebody.

I think this will be a nice addition, will you add it to the tracker as a
feature request?

http://sourceforge.net/tracker/?func=addgroup_id=46652atid=446898

Duncan


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users