[Freevo-users] Problem with webserver on 1.5-pre1

2004-04-05 Thread Paul Hampton
Hi all

At the weekend I upgraded my freevo setup to 1.5-pre1. It is a Gentoo 
system and I just modified the old ebuild to get 1.5-pre1 instead of 
1.4.1. Everything works fine (well except for a few funnies because I 
haven't got around to installing mmpython 0.4 yet) apart from the 
webserver. If I go to the web address I get the following error:

web.Server Traceback (most recent call last):

exceptions.AttributeError: 'module' object has no attribute 'encoding'

/usr/lib/python2.2/site-packages/twisted/web/server.py, line 159 in process
157try:
158  resrc = self.site.getResourceFor(self)
159  self.render(resrc)
160except:
Self
site 	
twisted.web.server.Site instance @ 0x843ede4 twisted.web.server.Site 
instance at 0x843ede4

Locals
resrc 	
__builtin__.IndexResource instance @ 0x8580b7c 
__builtin__.IndexResource instance at 0x8580b7c
self 	
twisted.web.server.Request instance @ 0x843f5e4 GET / HTTP/1.1

/usr/lib/python2.2/site-packages/twisted/web/server.py, line 166 in render
164  def render(self, resrc):
165try:
166  body = resrc.render(self)
167except UnsupportedMethod, e:
Locals
resrc 	
__builtin__.IndexResource instance @ 0x8580b7c 
__builtin__.IndexResource instance at 0x8580b7c
self 	
twisted.web.server.Request instance @ 0x843f5e4 GET / HTTP/1.1

Globals
UnsupportedMethod 	class twisted.web.server.UnsupportedMethod at 
0x83ff574

/usr/lib/python2.2/site-packages/freevo/www/web_types.py, line 137 in render
135  return 'h1401 Authentication required/h1'
136else:
137  return self._render(request)
138
Locals
self 	
__builtin__.IndexResource instance @ 0x8580b7c 
__builtin__.IndexResource instance at 0x8580b7c
request 	
twisted.web.server.Request instance @ 0x843f5e4 GET / HTTP/1.1

/usr/share/freevo/htdocs/index.rpy, line 107 in _render
105fv = HTMLResource()
106
107fv.printHeader(_('Welcome'), 'styles/main.css',selected=_('Home'))
108fv.res += 'div id=contentmain\n'
Locals
fv 	
www.web_types.HTMLResource instance @ 0x867ce5c 
www.web_types.HTMLResource instance at 0x867ce5c

Globals
HTMLResourceclass www.web_types.HTMLResource at 0x84fb2c4
/usr/lib/python2.2/site-packages/freevo/www/web_types.py, line 162 in 
printHeader
160strprefix = '../' * prefix
161
162self.res += '?xml version=1.0 encoding='+ config.encoding 
+'?\n'
163self.res += '!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 
Strict//EN\n'
Self
res 	''

Locals
prefix 	0
strprefix 	''
self 	
www.web_types.HTMLResource instance @ 0x867ce5c 
www.web_types.HTMLResource instance at 0x867ce5c

Globals
config 	module 'config' from 
'/usr/lib/python2.2/site-packages/freevo/config.pyc'

exceptions.AttributeError: 'module' object has no attribute 'encoding'

If the copy and paste is not very clear I can give the actual web address.

Thanks
Paul


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Different audio-settings

2004-04-05 Thread Markus Bonet
Hi,

I would like to configure freevo to use different settings for audio
playback.
I'd like to playback a 2 channel audio-file on a 5.1 speaker set and I have
configured a appropiated channels-rule for mplayer (-af
channels=6:6:0:0:1:1:0:2:1:3:0:4:1:5). This works great.
But, if I playback a 6 channels audio-file (i.e. within a DVD), then only 2
channels are distributed on the 6 channels, obviously. So 4 channels (i.e.
speech) are missing. I know that this a result of my rule I defined for
mplayer.
My point is now: how do I configure freevo to have different settings for
different audio-files?


Kind regards
Markus

-- 
+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Different audio-settings

2004-04-05 Thread Zeratul
Markus Bonet wrote:

Hi,

I would like to configure freevo to use different settings for audio
playback.
I'd like to playback a 2 channel audio-file on a 5.1 speaker set and I have
configured a appropiated channels-rule for mplayer (-af
channels=6:6:0:0:1:1:0:2:1:3:0:4:1:5). This works great.
But, if I playback a 6 channels audio-file (i.e. within a DVD), then only 2
channels are distributed on the 6 channels, obviously. So 4 channels (i.e.
speech) are missing. I know that this a result of my rule I defined for
mplayer.
My point is now: how do I configure freevo to have different settings for
different audio-files?
 

I don't know if it is possible for different audio files, but you can 
use different settings for audio files, DVD's , avi's, ... I'd suggest 
you use your -af channels line for default, cd, rm,vcd and rmvb, and use 
-channels 6 for all other types that may contain 6 channel audio (esp. 
dvd, avi)

MPLAYER_ARGS = { 'dvd': '-cache 8192 -zoom -channels 6 -autosync 30 
-panscan 0.5 -slang nl',
 'vcd': '-cache 4096 -panscan 0.5 -zoom -af 
channels=6:6:0:0:1:1:0:2:1:3:0:4:1:5',
 'cd' : '-cache 1024 -cdda speed=2 -af 
channels=6:6:0:0:1:1:0:2:1:3:0:4:1:5',
 'tv' : '-nocache -af 
channels=6:6:0:0:1:1:0:2:1:3:0:4:1:5',
 'ivtv'   : '-cache 8192 -af 
channels=6:6:0:0:1:1:0:2:1:3:0:4:1:5',
 'avi': '-cache 5000 -idx -channels 6',
 'rm' : '-cache 5000 -forceidx -af 
channels=6:6:0:0:1:1:0:2:1:3:0:4:1:5',
 'rmvb'   : '-cache 5000 -forceidx -af 
channels=6:6:0:0:1:1:0:2:1:3:0:4:1:5',
 'webcam' : 'tv:// -tv 
driver=v4l:width=352:height=288:outfmt=yuy2:device=/dev/video2',
 'default': '-cache 5000 -af 
channels=6:6:0:0:1:1:0:2:1:3:0:4:1:5'
 }

Zeratul

---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Recording through alsa

2004-04-05 Thread Zeratul
I updated the wiki with some info on recording through Alsa without OSS 
emulation in the btaudio page .

You have two options: use snd-bt87x (which is the alsa equivalent of 
btaudio) or use the line-in.
mencoder doesn't support btaudio (yet?) and the same problems arise with 
snd-bt87x, but it should work with mp1e with the patch from the wiki.
Access the snd-bt87x mixer through alsamixer -c 1 or alsamixer -D bt87x

For analog loopback cable recording add option 'alsa' to -tv options 
list, and take as adevice your soundcard (emu10k1 in my case)
adevice=/dev/adsp did NOT work for me (records only silence).

I have the following /etc/asound.conf:

pcm.emu10k1 { 
  type hw 
  card 0 
   } 

   ctl.emu10k1 { 
  type hw 
  card 0 
   } 

pcm.bt87x { 
  type hw 
  card 1 
   } 

   ctl.bt87x { 
  type hw 
  card 1 
   } 

Recording from line-in with the sound MUTED works, so I can use 
mplayer/mencoder for timeshift recording (of course, seeking doesn't 
work then).
Hope this is of any help for someone.

Zeratul



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Recording through alsa

2004-04-05 Thread Zeratul
Guido Bakker wrote:

Hi,

I'm playing with this at the moment, but i only use SPDIF for audio out.
I could i route this?
I have no experience with SPDIF.
But the ALSA Wiki pages are a very good source of info IMO:
http://opensrc.org/alsa/index.php?page=emu10k1
Zeratul

---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] no sound in recordings

2004-04-05 Thread Zeratul
Joe Stump wrote:

The problem I found was that -i (the line in or something) was set to 0.
I had to set both -l and -i for everything to work, but now I can't
watch and record.
Why could I watch *and* record with the *exact* same setup in 1.4 but
not in 1.5?
 

Try muting the Line-In channel instead of setting the volume to 0.
For me that works (but I'm using alsa, not oss)
Zeratul

---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Playing a DVD

2004-04-05 Thread Patrick Brochu
I'm new to freevo and from seeing the questions going on this list, mine 
is probably a dumb question but here it goes anyway.

Am I supposed to be able to play DVDs using Freevo?  In the movie menu, 
if I select my DVD-Rom, I get the Video_ts and audio_ts directories, but 
any file I select blanks the screen for a second and comes back to the menu.

Should I be able to get the DVD Menu like I get when I insert it into a 
standalone dvd-player?  If not, should I be able to play the movie 
without trying the 20 different video files to find the right one?

It seems like all my daughter's movies (Cinderella, Snow White, etc) 
have 10-15 previews before the movie!



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users