Re: [Freevo-users] freevo won't start -- newbie

2004-01-04 Thread dan shepard
this happens to me when i don't have a current xmltv TV.xml file for
freevo to read. i don't know if that is truly the cause, but getting
current listings has always allowed me to start freevo.

dan

On Sat, 2004-01-03 at 16:31, Mary Strimel wrote:
 hi,
 I am trying to run ver. 1.4 on my redhat 8.0 system. I installed it
 using the lynx method shown on the website. I ran freevo setup, then try
 to start freevo and get this:
 
 Traceback (most recent call last):
   File ./src/main.py, line 82, in ?
 import mmpython
   File
 /usr/local/freevo/runtime/lib/python2.3/site-packages/mmpython/__init__.py, line 
 101, in ?
 import disc.dvdinfo
   File
 /usr/local/freevo/runtime/lib/python2.3/site-packages/mmpython/disc/dvdinfo.py, 
 line 35, in ?
 import config
   File /usr/local/freevo/src/config.py, line 767, in ?
 TV_CHANNELS = detect_channels()
   File /usr/local/freevo/src/config.py, line 722, in detect_channels
 xmltv_channels = xmltv.read_channels(tmp)
   File /usr/local/freevo/src/tv/xmltv.py, line 402, in read_channels
 doc = parser.parse(fp.read())
   File
 /usr/local/freevo/runtime/lib/python2.3/site-packages/_xmlplus/utils/qp_xml.py, 
 line 129, in parse
 p.Parse(input, 1)
 xml.parsers.expat.ExpatError: no element found: line 1, column 0
 
 I'm an ordinary end-user type; should I give up on freevo or is there
 something I can do to get this running?
 thanks
 Mary
 
 
 
 
 ---
 This SF.net email is sponsored by: IBM Linux Tutorials.
 Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
 Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
 Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
 ___
 Freevo-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/freevo-users



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] SDL patches

2004-01-04 Thread Justin T Wetherell
Anyone trying to compile SDL with the new gcc and dxr3, give these 
patches a try. I believe they work.
diff -ur SDL-1.2.5/src/video/fbcon/SDL_fbevents.c 
SDL-1.2.5-freevo/src/video/fbcon/SDL_fbevents.c
--- SDL-1.2.5/src/video/fbcon/SDL_fbevents.cWed Mar  6 05:23:03 2002
+++ SDL-1.2.5-freevo/src/video/fbcon/SDL_fbevents.c Fri Jan 10 00:28:55 2003
@@ -153,13 +153,69 @@
 
 int FB_InGraphicsMode(_THIS)
 {
+   if (getenv(SDL_NOKEYBOARD) != NULL) {
+   return (1); /* Special handling for no keyboard */
+   }
+  
return((keyboard_fd = 0)  (saved_kbd_mode = 0));
 }
 
+
+static void
+tty_enable (void)
+{
+   int tty;
+  
+   tty = open (/dev/tty0, O_RDWR);
+   if(tty  0) {
+   perror(Error can't open /dev/tty0);
+   exit (1);
+   }
+
+   if (ioctl (tty, KDSETMODE, KD_TEXT) == -1) {
+   perror (Error setting text mode for tty);
+   close (tty);
+   exit (1);
+   }
+  
+   close(tty);
+}
+
+
+static void
+tty_disable (void)
+{
+   int tty;
+
+
+   tty = open (/dev/tty0, O_RDWR);
+   if (tty  0) {
+   perror (Error can't open /dev/tty0);
+   exit (1);
+   }
+
+   if (ioctl (tty, KDSETMODE, KD_GRAPHICS) == -1) {
+   perror (Error setting graphics mode for tty);
+   close (tty);
+   exit (1);
+   }
+  
+   close (tty);
+
+}
+
+
 int FB_EnterGraphicsMode(_THIS)
 {
struct termios keyboard_termios;
+   int fd;
 
+
+   if (getenv(SDL_NOKEYBOARD) != NULL) {
+   tty_disable ();
+   return (1);  /* Do not touch the keyboard */
+}
+
/* Set medium-raw keyboard mode */
if ( (keyboard_fd = 0)  !FB_InGraphicsMode(this) ) {
 
@@ -219,6 +275,12 @@
 
 void FB_LeaveGraphicsMode(_THIS)
 {
+  
+   if (getenv(SDL_NOKEYBOARD) != NULL) {
+   tty_enable ();
+   return; /* Special handling for no keyboard */
+}
+
if ( FB_InGraphicsMode(this) ) {
ioctl(keyboard_fd, KDSETMODE, KD_TEXT);
ioctl(keyboard_fd, KDSKBMODE, saved_kbd_mode);
@@ -841,6 +903,11 @@
Uint32 screen_arealen;
Uint8 *screen_contents;
 
+   
+   if (getenv(SDL_NOKEYBOARD) != NULL) {
+   return;/* Do not touch the keyboard */
+   }
+
/* Figure out whether or not we're switching to a new console */
if ( (ioctl(keyboard_fd, VT_GETSTATE, vtstate)  0) ||
 (which == vtstate.v_active) ) {
@@ -891,6 +958,11 @@
int scancode;
SDL_keysym keysym;
 
+
+   if (getenv(SDL_NOKEYBOARD) != NULL) {
+   return;/* Do not touch the keyboard */
+   }
+
nread = read(keyboard_fd, keybuf, BUFSIZ);
for ( i=0; inread; ++i ) {
scancode = keybuf[i]  0x7F;
@@ -934,6 +1006,10 @@
int max_fd;
static struct timeval zero;
 
+if (getenv(SDL_NOKEYBOARD) != NULL) {
+  return;/* XXX Do not touch the keyboard */
+}
+
do {
posted = 0;
 
diff -ur SDL-1.2.5/src/video/fbcon/SDL_fbvideo.c 
SDL-1.2.5-freevo/src/video/fbcon/SDL_fbvideo.c
--- SDL-1.2.5/src/video/fbcon/SDL_fbvideo.c Mon Sep  2 16:42:15 2002
+++ SDL-1.2.5-freevo/src/video/fbcon/SDL_fbvideo.c  Fri Jan 10 00:27:10 2003
@@ -529,10 +529,18 @@
}
 
/* Enable mouse and keyboard support */
-   if ( FB_OpenKeyboard(this)  0 ) {
-   FB_VideoQuit(this);
-   return(-1);
+   {
+   const char *sdl_nokbd;
+
+   sdl_nokbd = getenv(SDL_NOKEYBOARD);
+   if (!sdl_nokbd) {
+   if ( FB_OpenKeyboard(this)  0 ) {
+   FB_VideoQuit(this);
+   return(-1);
+   }
+   }
}
+
if ( FB_OpenMouse(this)  0 ) {
const char *sdl_nomouse;
 
--- /usr/local/SDL-1.2.5/configure.in   2002-10-06 13:34:53.0 -0700
+++ SDL-1.2.5/configure.in  2002-12-29 06:58:58.0 -0800
@@ -1000,6 +1002,25 @@
 fi
 }
 
+dnl Set up the Dxr3 video driver.
+CheckDxr3Video()
+{
+AC_ARG_ENABLE(video-dxr3,
+[  --enable-video-dxr3use dxr3 video driver [default=yes]],
+  , enable_video_dxr3=yes)
+if test x$enable_video_dxr3 = xyes; then
+  CFLAGS=$CFLAGS -DENABLE_DXR3VIDEO
+  VIDEO_SUBDIRS=$VIDEO_SUBDIRS dxr3
+  VIDEO_DRIVERS=$VIDEO_DRIVERS dxr3/libvideo_dxr3.la
+
+  DXR3_CFLAGS=-I/usr/include/ffmpeg
+  DXR3_LIBS=-lavcodec
+
+  AC_SUBST(DXR3_CFLAGS)
+  AC_SUBST(DXR3_LIBS)
+fi
+}
+
 dnl Check to see if OpenGL support is desired
 AC_ARG_ENABLE(video-opengl,
 [  --enable-video-opengl   include OpenGL context creation [default=yes]],
@@ -1680,6 +1701,7 @@
 case $target in
 *-*-linux*)
 

Re: [Freevo-users] gxine-mediamarks

2004-01-04 Thread Wan Tat Chee
On Wed, 31 Dec 2003, Matthew Bettencourt wrote:

 Ugh,
 I just updated to freevo-1.4.1 for no real reason (1.4 was working fine
 ) and I found out that my highly modified gxine-mediamarks file was no

Only files in /etc/freevo are considered configuration files by the RedHat
RPM package. I'm not using the mediamarks stuff so I must've missed it. In
any case, this file seems to be going away (as mentioned in another
followup post).

 longer the same.  The good news is that since I don't have emacs on my
 freevo box, I had a backup on my main linux box at home.  However,
 others might not be so lucky...   I am suggesting 1 of three things.  1:
 that the RPM not overwrite this file either through an example file such
 as local_conf.py file.  2: the rpm checks first before installing it and

Hmm. By right the local_conf.py file isn't overwritten. The Redhat RPM
package copies it to a backup (*.rpmsave) file though. However,
freevo.conf is regenerated when you upgrade (defaulting to NTSC, us-cable,
etc.). In 1.4.1, I've modified the install script to backup freevo.conf as
well.

 puts it in something like rpmnew.

Due to the way the freevo python installer runs, it's not easy to save a
new freevo.conf configuration file as *.rpmnew. There may be options that
are needed by the new freevo. The next best thing was to have a backup of
your old settings. If there's a better way to handle this I'd like to know
too.


 before using the main

 Thanks
 Matt





---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Continued: No Sound while Recording

2004-01-04 Thread Matthew Carpenter
As stated previously, it appears that Freevo is setting the IGAIN mixer pot to 0, 
which forces no sound to be recorded, even though you can hear the LINE IN sound over 
the speakers.  IIRC, my Soundblaster went away from standard and allowed the IGAIN to 
be set to 0 and still record off the LINE-IN but this is highly abnormal from 
everything I've been reading.

Aside from the previously mentioned times Freevo resets these values, I have also 
determined that Freevo eroneously sets Inputs and IGAIN to 0 when viewing Recorded TV 
Shows.   

I say Erroneously because there is no reason I can think of that I should not be able 
to watch a show while recording another (or even the same one).  Mencoder and Mplayer 
seem to be able to record and play the same stream at the same time.  That is where 
Tivo allows people to watch a TV show and skip the commercials, the users just start 
watching a little later and FF through unwanted video (like Commercials).

Do we have to include what Channels do what in the setup?  PCM and Master are simple 
enough to determine.  Which input to choose from is another story, however.  Does 
Freevo view the IGAIN as an INPUT or an OUTPUT or some other unknown, that it turns it 
off completely at every Freevo controlled Mixer-change?

Thanks again for the hard work!  I know this is a hurdle, but one which I look forward 
to seeing how it is resolved.

As a workaround, perhaps we can add in a mixer command prior to the mencoder line?  
That will not, however, alter the behavior of watching recorded stuff.

Another tack, what was that setting to NOT allow Freevo to change the Mixer?  This 
will work for everything but directly watching TV.  If we could configure Freevo to 
only turn on and off what on KMIX is the Green Light (which allows the LINE-IN to 
output directly to the speakers) but not adjust the settings?

Thanks!

Matt

On Fri, 02 Jan 2004 18:52:01 -0800
[EMAIL PROTECTED] wrote:

 Message: 10
 Date: Fri, 2 Jan 2004 21:05:06 -0500
 From: Matthew Carpenter [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Organization: Enterprise Information Systems
 Subject: [Freevo-users] Re: Freevo-users digest, Vol 1 #954 - 9 msgs
 Reply-To: [EMAIL PROTECTED]
 
 Intel 8x0 AC 97 chipset
 ALSA on SuSE 8.2
 Part of the question is how the mixer is handled.  I know that when Freevo is not 
 running there is no sound coming in from the TV in, but when I watch TV through 
 Freevo there is sound.  When I hit escape the sound goes away.  Freevo appears to be 
 setting the mixer level for watching.  Does it not also set it for recording as 
 well?  If so, how is this done and how might it be malfunctioning?
 
 
 On Fri, 02 Jan 2004 05:22:11 -0800
 [EMAIL PROTECTED] wrote:
 
  there is not enough information to answer this.
  
  what soundcard chipset is used?  can you record audio fine? have you set
  your mixer settings and capture device correctly? are you using OSS or ALSA?
  what version of the linux kernel are you running? is the sound driver loaded
  as a module or compiled in the kernel?
  
  also be sure to do a google search without the word freevo as this is not a
  freevo problem but a linux sound configuration problem.
 
 -- 
 Matthew Carpenter 
 [EMAIL PROTECTED]  http://www.eisgr.com/
 
 Enterprise Information Systems
 * Network Server Appliances
 * Network Consulting, Integration  Support
 * Web Integration and E-Business
 


-- 
Matthew Carpenter 
[EMAIL PROTECTED]  http://www.eisgr.com/

Enterprise Information Systems
* Network Server Appliances
* Network Consulting, Integration  Support
* Web Integration and E-Business



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] freevo won't start -- newbie

2004-01-04 Thread Wan Tat Chee
Since you're using the lynx install method, you should check that it's
installing the 0.3.1 version of the runtime (or else, upgrade the runtime
using the manual install instructions on the freevo install page). Older
runtime versions have problems with DVD info parsing.

In addition, freevo is now at 1.4.1. If the install script isn't
installing 1.4.1, then it needs to be updated (Dischi?).

T.C.


Wan Tat Chee (Lecturer)
School of Computer Science, Univ. of Science Malaysia,
11800 USM, Penang, Malaysia.  Rm.625 Ofc Ph: +604 653-3888 x 3617
NRG Lab Admin: +604 659-4757   Rm.601-E Ofc Ph: +604 653-4396
Internet: [EMAIL PROTECTED]Web: http://nrg.cs.usm.my/~tcwan
GPG Key : http://nrg.cs.usm.my/~tcwan/tcw_gpg-20030322.asc
F'print : DCF2 B9B2 FA4D 1208 AD59  14CA 9A8F F54D B2C4 63C7

On Sun, 4 Jan 2004, dan shepard wrote:

 this happens to me when i don't have a current xmltv TV.xml file for
 freevo to read. i don't know if that is truly the cause, but getting
 current listings has always allowed me to start freevo.

 dan

 On Sat, 2004-01-03 at 16:31, Mary Strimel wrote:
  hi,
  I am trying to run ver. 1.4 on my redhat 8.0 system. I installed it
  using the lynx method shown on the website. I ran freevo setup, then try
  to start freevo and get this:
 
  Traceback (most recent call last):
File ./src/main.py, line 82, in ?
  import mmpython
File
  /usr/local/freevo/runtime/lib/python2.3/site-packages/mmpython/__init__.py, line 
  101, in ?
  import disc.dvdinfo
File
  /usr/local/freevo/runtime/lib/python2.3/site-packages/mmpython/disc/dvdinfo.py, 
  line 35, in ?
  import config
File /usr/local/freevo/src/config.py, line 767, in ?
  TV_CHANNELS = detect_channels()
File /usr/local/freevo/src/config.py, line 722, in detect_channels
  xmltv_channels = xmltv.read_channels(tmp)
File /usr/local/freevo/src/tv/xmltv.py, line 402, in read_channels
  doc = parser.parse(fp.read())
File
  /usr/local/freevo/runtime/lib/python2.3/site-packages/_xmlplus/utils/qp_xml.py, 
  line 129, in parse
  p.Parse(input, 1)
  xml.parsers.expat.ExpatError: no element found: line 1, column 0
 
  I'm an ordinary end-user type; should I give up on freevo or is there
  something I can do to get this running?
  thanks
  Mary
 
 
 
 
  ---
  This SF.net email is sponsored by: IBM Linux Tutorials.
  Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
  Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
  Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
  ___
  Freevo-users mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/freevo-users





---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Picture to big for tv

2004-01-04 Thread Barnowl
Hey all-
   Well now that I got my config file problem solved(Xine and dxr3 still buggy) I am 
trying to figure out how to get more of the image to fit inside the TV screen. 
currently the image is slightly of center and the subtitles in fan subs appear at the 
half of the bottom to all the way of the bottom of the screen in most cases. On a 
monitor there is plenty space between the subs and the bottom of the screen. Has 
anyone else seen this problem and/or solved it? My TV is NTCS and I have set to it.

Evam


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Picture to big for tv

2004-01-04 Thread Matt McLeod
Barnowl wrote:
Well now that I got my config file problem solved(Xine and dxr3 still buggy) I am 
 trying to figure out how to get more of the image to fit inside the TV screen. 
 currently the image is slightly of center and the subtitles in fan subs appear at 
 the half of the bottom to all the way of the bottom of the screen in most cases. On 
 a monitor there is plenty space between the subs and the bottom of the screen. Has 
 anyone else seen this problem and/or solved it? My TV is NTCS and I have set to it.

What resolution have you set it to use for the DXR3? Not sure what's
correct for NTSC, but for PAL at least it should be 720x576, and if you
set it to 800x600 you lose part of the bottom and right of the display.

(Oh, and you might want to look into word-wrap.)

Matt

-- 
   The one good thing about repeating your
 mistakes is that you know when to cringe.


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users