Re: [Freevo-users] Re: Xine default player

2003-12-06 Thread Robert Winder


Tuesday, December 2, 2003, 1:36:57 PM, Dirk wrote:

 Robert Winder wrote:
 Monday, December 1, 2003, 3:18:47 PM, Dirk wrote:

 xine should be started with --no-lirc and --stdctrl. With that, Freevo
 uses lirc and sends commands to xine. 

 Ok at fist i enabled this with the XINE_COMMAND = variable but found
 out it is hardcoded. ;-) So i was already running with --no-lirc and
 --stdctrl enabled. But there is something going on what i can't understand.

 See http://members.home.nl/r.winder/xine  for logs.

 Basicly lirc xine with DVD works ok but lirc events and avi files doesn't
 seem to cooperate. Commands passed on to xine are fine and control is
 given to freevo but there seem to be no eventhandler active for the lirc
 events. I see some rc.set_context('video') stuff in mplayer.py and i wonder if
 that has something do with it. Thinking out loud here, so bare with me.

 It should work as it is, but I will look into it tomorrow. Do mpg
 files work. AFAIK there are some divx out there that forces xine into
 a deadlock.

Updated via cvs again and tried mpeg, mpg any format and there is
still no lirc event control over xine, DVD is working fine though. I did set
the debuglevel a bit higher and saw all kinds of groovy traces hoping that helps a bit.

Starting a dvd.
xine.py (241): Xine.play(): Starting thread, cmd=['--prio=-20', '/usr/local/bin/xine', 
'-pq', '-g', '-B', '--geometry', '720x576+0+0', '--no-splash', '--stdctl', 
'--no-lirc', '-V', 'xv', '-A', 'oss', '--post=pp:quality=10,expand', 
'dvd:///dev/cdrom/']
  File /usr/lib/python2.3/threading.py, line 436, in __bootstrap
self.run()
  File /usr/local/freevo_cvs/src/childapp.py, line 504, in run
self.app = self.app.app_name(self.app.parameter)
  File /usr/local/freevo_cvs/src/childapp.py, line 136, in __init__
traceback.print_stack()
main.py (391): popen2 ['/usr/local/bin/xine', '-pq', '-g', '-B', '--geometry', 
'720x576+0+0', '--no-splash', '--stdctl', '--no-lirc', '-V', 'xv', '-A', 'oss', 
'--post=pp:quality=10,expand', 'dvd:///dev/cdrom/']
self.t1.isAlive()=True, self.t2.isAlive()=True
ChildApp.__init__(), pid=5013, app=/usr/local/bin/xine -pq -g -B --geometry 
720x576+0+0 --no-splash --stdctl --no-lirc -V xv -A oss --post=pp:quality=10,expand 
dvd:///dev/cdrom/, poll=-1
main.py (394): handling event VIDEO_START
main.py (425): no eventhandler for event VIDEO_START

Xine started succesfully ? Exiting -

main.py (394): handling event STOP
childapp.py (456): got stop command
  File ./src/main.py, line 526, in ?
main_func()
  File ./src/main.py, line 420, in main_func
if not rc_object.app(event):
  File /usr/local/freevo_cvs/src/video/plugins/xine.py, line 274, in eventhandler
self.stop()
  File /usr/local/freevo_cvs/src/video/plugins/xine.py, line 252, in stop
self.thread.stop('quit\n')
  File /usr/local/freevo_cvs/src/childapp.py, line 457, in stop
traceback.print_stack()
childapp.py (461): sending exit command to app
childapp.py (372): stdout: No data, stopping (pid 5014)!
childapp.py (372): stderr: No data, stopping (pid 5015)!
childapp.py (525): waiting for main to be ready for the killing
popen3.py (134): main checking childs
childapp.py (246): killing my child
  File /usr/lib/python2.3/threading.py, line 436, in __bootstrap
self.run()
  File /usr/local/freevo_cvs/src/childapp.py, line 529, in run
self.app.kill()
  File /usr/local/freevo_cvs/src/childapp.py, line 247, in kill
traceback.print_stack()
popen3.py (159): poll
childapp.py (261): done the easy way
bookmarker.py (161): auto-bookmark not supported for this item
area.py (178): show, force update
main.py (394): handling event VIDEO_END
menu.py (604): no eventhandler for event VIDEO_END

playing avi file

xine.py (241): Xine.play(): Starting thread, cmd=['--prio=-20',
'/usr/local/bin/xine', '-pq', '-g', '-B', '--geometry', '720x576+0+0',
'--no-splash', '--stdctl', '--no-lirc', '-V', 'xv', '-A', 'oss', 
'--post=pp:quality=10,expand', 'file:///media/movies/Films/jazz.avi']
  File /usr/lib/python2.3/threading.py, line 436, in __bootstrap
self.run()
  File /usr/local/freevo_cvs/src/childapp.py, line 504, in run
self.app = self.app.app_name(self.app.parameter)
  File /usr/local/freevo_cvs/src/childapp.py, line 136, in __init__
traceback.print_stack()
main.py (391): popen2 ['/usr/local/bin/xine', '-pq', '-g', '-B', '--geometry', 
'720x576+0+0', '--no-splash', '--stdctl', '--no-lirc', '-V', 'xv', '-A', 'oss', 
'--post=pp:quality=10,expand', 'file:///media/movies/Films/Boogie Nights/Boogie 
Nights.avi']
self.t1.isAlive()=True, self.t2.isAlive()=True
ChildApp.__init__(), pid=5040, app=/usr/local/bin/xine -pq -g -B --geometry 
720x576+0+0 --no-splash --stdctl --no-lirc -V xv -A oss --post=pp:quality=10,expand 
file:///media/movies/Films/Boogie Nights/Boogie Nights.avi, poll=-1
main.py (394): handling event VIDEO_START
main.py (425): no eventhandler for event VIDEO_START

trying to exit and some other random choices.

no event mapping for key 

[Freevo-users] Re: Xine default player

2003-12-02 Thread Dirk Meyer
[EMAIL PROTECTED] wrote:
 On Monday 01 December 2003 14:55, Dirk Meyer wrote:
 For Freevo 1.4: you can't use xine for anything except dvd and
 vcd. For current cvs, you could remove ogm from the list of files
 mplayer can play so freevo will select xine. Or make xine the default
 player.

 Ok, then, I chose to give CVS a go. 
 A problem does arise: where can I find a 5.01 version of local_conf.py?
 Because the 4.0 one that's included appears to be wrong. At startup, freevo 
 complains about versions mismatch (obviously) and enumerates the differences 
 between 4.0 and 5.01. The problem is that it shows some variables that are 
 changed, but that are not present in my file. How should I proceed?

Just change the version number in your local_conf.py to 5.01. It's
only a warning that stuff changed. Maybe start the helper to rename
the config variables.


Dischi

-- 
If the Earth is the size of a pea in New York, then the Sun
is a beachball 50m away, Pluto is 4km away, and the next
nearest star is in Tokyo.  Now shrink Pluto's orbit into a
coffee cup; then our Milky Way Galaxy fills North America.


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Re: Xine default player

2003-12-02 Thread Dirk Meyer
Robert Winder wrote:
 Monday, December 1, 2003, 3:18:47 PM, Dirk wrote:

 xine should be started with --no-lirc and --stdctrl. With that, Freevo
 uses lirc and sends commands to xine. 

 Ok at fist i enabled this with the XINE_COMMAND = variable but found
 out it is hardcoded. ;-) So i was already running with --no-lirc and
 --stdctrl enabled. But there is something going on what i can't understand.

 See http://members.home.nl/r.winder/xine  for logs.

 Basicly lirc xine with DVD works ok but lirc events and avi files doesn't
 seem to cooperate. Commands passed on to xine are fine and control is
 given to freevo but there seem to be no eventhandler active for the lirc
 events. I see some rc.set_context('video') stuff in mplayer.py and i wonder if
 that has something do with it. Thinking out loud here, so bare with me.

It should work as it is, but I will look into it tomorrow. Do mpg
files work. AFAIK there are some divx out there that forces xine into
a deadlock.

 It should work in current cvs -- maybe too good. If I read the code
 correctly, it will always add all media. So it may happen that the
 audio playlist conatins an image. I will fix that.

 well not for me when i select play all/random/recursive there is no
 'slideshow'. And this is with current cvs from a few ours ago.

Now it should work :-)


Dischi

-- 
AOL for Dummies is kind of redundant, don't you think?


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Re: Xine default player

2003-12-01 Thread Dirk Meyer
[EMAIL PROTECTED] wrote:
 Hi list,
 I wished to know how can I modify freevo to use xine player to open certain 
 filetypes, for example .ogm files. It can be useful because of xine better 
 interface to the user, like the ability to switch languages for audio and 
 subtitle on the fly.
 I've seen that this is already possible for VCD, so it shouldn't be that much 
 of a problem adding a possibility for other filetypes.

For Freevo 1.4: you can't use xine for anything except dvd and
vcd. For current cvs, you could remove ogm from the list of files
mplayer can play so freevo will select xine. Or make xine the default
player. 

 By the way, why is it that xine is not the default player?

Because mplayer is more powerfull to control on the command line. And
for historic reasons.


Dischi

-- 
Time is a drug.  Too much of it kills you.
  -- in Small Gods (Terry Pratchett)


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Re: Xine default player

2003-12-01 Thread Dirk Meyer
Robert Winder wrote:
 Well i believe dischi made some progress on this and xine can be used
 for audio and video with cvs version.

 But it doesn't work for me that well. If i remove video.mplayer and
 activate video.xine xine is used but there is no LIRC event control. Is
 this the correct way to enable xine?  

xine should be started with --no-lirc and --stdctrl. With that, Freevo
uses lirc and sends commands to xine. 

 Also A/V sync is way off with xine when used for video. I know there
 is a option for mplayer to work around the audio delay from
 MMpython. Maybe we need this for xine as well.

That's why I prefer mplayer. You can set many options on the command
line, like -delay. Since xine doesn't support this, Freevo can't work
around it. 

 xine for DVD is working great after installing all the freevo
 dependencies because of the segfaulting with dvdinfo in the runtime.
 That's something what imho needs to be fixed it's taking all the fun
 away :-)

Yes.

 Also checked out CVS and the blending of the images is very cool, nice
 work. ;-)  But still got some questions left about the new features in
 cvs.

 * Got xine-lib xine-ui cvs installed but the new enhance interlacing
 stuff doesn't seem to work. Does i have to enable this somewhere ?

If you use X, it should work. If you use fbxine, I made a patch
yesterday and send it to the xine people. It's not in cvs, I expect it
there in about 3 days. I attached the patch in this mail in case you
want to try it.

 * When xine is configured as dvd player and i select DVD title list
 mplayer is used and as i prefer xine i didn't expected this.

Beacuse the rating for dvd tracks in xine is low. I had some problems
playing only track x without displaying the menu afterwards. Maybe I'm
missing something. I also failed to only play CVS track x with the new
xine cvs plugin.

 * and something i don't understand for quite a while is the configure
 directory option. When used is this saved somewhere or is this for
 future use ?

It should be saved to folder.fxd and should remember the settings.

 * Why doesn't recursive/random play work for images or must this be
 done manually with playlists ?

It should work in current cvs -- maybe too good. If I read the code
correctly, it will always add all media. So it may happen that the
audio playlist conatins an image. I will fix that.


Dischi


*** ../fb.orig/actions.c	Sun Nov 16 15:08:01 2003
--- actions.c	Sun Nov 30 20:07:41 2003
***
*** 33,39 
  #include main.h
  #include actions.h
  #include osd.h
! 
  
  #define GUI_NEXT 1
  #define GUI_PREV 2
--- 33,39 
  #include main.h
  #include actions.h
  #include osd.h
! #include post.h
  
  #define GUI_NEXT 1
  #define GUI_PREV 2
***
*** 441,445 
--- 441,451 
  		case ACTID_QUIT:
  			fbxine_exit();
  			break;
+ 	case ACTID_TOGGLE_INTERLEAVE:
+ 		fbxine.deinterlace_enable = !fbxine.deinterlace_enable;
+ 			osd_display_info(Deinterlace: %s, (fbxine.deinterlace_enable) ? 
+ 	 enabled : disabled);
+ 			post_deinterlace();
+ 		break;
  	}
  }
*** ../fb.orig/keys.c	Mon Jul 28 20:55:10 2003
--- keys.c	Sun Nov 30 19:34:01 2003
***
*** 75,80 
--- 75,81 
  		case 'L': return ACTID_EVENT_RIGHT;
  		case 'M': return ACTID_EVENT_MENU1;
  		case 'S': return ACTID_EVENT_SELECT;
+ 		case 'i': return ACTID_TOGGLE_INTERLEAVE;
  	}
  	
  	return 0;
*** ../fb.orig/main.c	Sun Nov  9 11:58:48 2003
--- main.c	Sun Nov 30 20:10:49 2003
***
*** 44,49 
--- 44,58 
  	tty_fd:-1,
  	video_port_id: fb,
  
+ post_elements: NULL,
+ post_elements_num: 0,
+ post_enable: 1,
+   
+ deinterlace_plugin: NULL,
+ deinterlace_elements: NULL,
+ deinterlace_elements_num: 0,
+ deinterlace_enable: 0,
+ 
  	exit_cond: PTHREAD_COND_INITIALIZER
  };
  
***
*** 275,280 
--- 284,294 
  	  pplugin_rewire_posts();
  	}
  
+ 	post_deinterlace_init(NULL);
+ 
+ 	if (fbxine.deinterlace_enable)
+ 	  post_deinterlace();
+ 
  	osd_init();
  	fbxine.osd.enabled = 1;
  	return 1;
*** ../fb.orig/main.h	Sun Nov 16 15:08:01 2003
--- main.h	Sun Nov 30 20:06:32 2003
***
*** 81,88 
  	int  debug;
  
  	int  ignore_next;
! post_element_t   **post_elements;
! int  post_elements_num;

  #ifdef HAVE_LIRC
  	struct
--- 81,96 
  	int  debug;
  
  	int  ignore_next;
! 
! post_element_t  **post_elements;
! int   post_elements_num;
! int   post_enable;
! 
! char *deinterlace_plugin;
! post_element_t  **deinterlace_elements;
! int   deinterlace_elements_num;
! int   deinterlace_enable;
!   

  #ifdef HAVE_LIRC
 

Re: [Freevo-users] Re: Xine default player

2003-12-01 Thread Robert Winder

Monday, December 1, 2003, 3:18:47 PM, Dirk wrote:

 xine should be started with --no-lirc and --stdctrl. With that, Freevo
 uses lirc and sends commands to xine. 

Ok at fist i enabled this with the XINE_COMMAND = variable but found
out it is hardcoded. ;-) So i was already running with --no-lirc and
--stdctrl enabled. But there is something going on what i can't understand.

See http://members.home.nl/r.winder/xine  for logs.

Basicly lirc xine with DVD works ok but lirc events and avi files doesn't
seem to cooperate. Commands passed on to xine are fine and control is
given to freevo but there seem to be no eventhandler active for the lirc
events. I see some rc.set_context('video') stuff in mplayer.py and i wonder if
that has something do with it. Thinking out loud here, so bare with me.

 If you use X, it should work. If you use fbxine, I made a patch
 yesterday and send it to the xine people. It's not in cvs, I expect it
 there in about 3 days. I attached the patch in this mail in case you
 want to try it.

Is working now, thanks.

 * Why doesn't recursive/random play work for images or must this be
 done manually with playlists ?

 It should work in current cvs -- maybe too good. If I read the code
 correctly, it will always add all media. So it may happen that the
 audio playlist conatins an image. I will fix that.

well not for me when i select play all/random/recursive there is no
'slideshow'. And this is with current cvs from a few ours ago.

 Dischi






  
 



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] Re: xine default player?

2003-09-14 Thread Dirk Meyer
Kark Clent wrote:
 Hi all,

 I have freevo 1.3.4.  When I play a DVD, xine starts
 up in a separate window.  Freevo displays a black
 screen.  I have to alt-tab to show the DVD.  Is there
 a way to fix this?  Or to use mplayer instead?

It sounds like a problem with your windowmanager. To get rid of it,
start Freevo without one. Or wait for the next release, there will be
a '-fs' option to start a new X session with Freevo as windowmanager.

Dischi

-- 
Never let a computer know you're in a hurry.


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users