LinHES Forums
http://forum.linhes.org/

HOWTO: Install Ogle (use this if you want DVD Menus)
http://forum.linhes.org/viewtopic.php?f=11&t=337
Page 1 of 3

Author:  graysky [ Sat Dec 20, 2003 9:39 pm ]
Post subject:  HOWTO: Install Ogle (use this if you want DVD Menus)

I noticed that mplayer doesn't allow DVD menus see this url. However, ogle does allow this. Here is my howto install ogle to enable this support:

(Assumes you have R4 installed and working)

$ apt-get install ogle
It installs it for you

cp /usr/share/ogle/oglerc /usr/share/ogle/oglerc_virgin
(never hurts to make a backup of the file you are about to edit)

nano /usr/share/ogle/oglerc

then locate and change this line:
<fullscreen>no</fullscreen>

to

<fullscreen>yes</fullscreen>
(this way it'll run in fullscreen)

save changes

Go to myth setup for dvds and make the default DVD player ogle

You're done!

...now if someone out there can figure out how to make lirc work w/ ogle!

Author:  ZippyWonderclutch [ Sat Jan 17, 2004 12:54 am ]
Post subject: 

Here are the lirc scripts for ogle, although I'm not sure if they'll play nicely with the rest of knopmyth as I haven't tested them yet

http://rosko.net/ogle/

Author:  micsaund [ Fri Jan 23, 2004 10:24 pm ]
Post subject: 

I get occasionally suggish playback with Ogle (although I'm glad to know how to access menus if I need to) which I don't get with Mplayer.

Are there any other DVD players which perhaps strive to be "faster" so I won't have the sluggishness? Just looking for advice.

Thanks,
Mike

Author:  ZippyWonderclutch [ Fri Jan 23, 2004 10:31 pm ]
Post subject: 

There seems to be many lircrc files scattered about in Myth, and I'm not sure which one is being used. What you would want to do is either cut and paste the licrc file found in the decompressed scripts file from the link I posted, or key them in yourself in your editor of choice.

As for sluggish-ness in Ogle, you got me there. I would try compling from source. I did it and I'm pretty clueless on this whole Linux thing so it shouldn't be too much of a hassle.

Author:  davem [ Sat Jan 24, 2004 12:14 am ]
Post subject: 

I switched from mplayer to xine for dvds because some of my kid's movies need the menu stuff. No complaints on the performance. :)

Author:  graysky [ Sat Jan 24, 2004 6:47 am ]
Post subject: 

Dave, did you try ogle? Are you using a remote with your mythtv system? If so which one? Finally, does the remote work with xine? My only problem with ogle is that it never goes completly full screen! I'd be interested to try out xine.

Please let me know :)

Author:  davem [ Sat Jan 24, 2004 10:44 am ]
Post subject: 

No didn't try ogle, but xine does go full screen. Also works perfectly with my remote. I'm using a pvr-250 remote (actually a sony learnable programmed by the grey remote). I'll post the relevant part of my lirc file if you'd like.

Author:  graysky [ Sat Jan 24, 2004 10:45 am ]
Post subject: 

That would be great dave! Did you compile xine from source? If so, others might like it if you author a HOWTO on the process. Please share the conf with us too :)

Author:  davem [ Sat Jan 24, 2004 12:16 pm ]
Post subject: 

No I didn't compile from source, just apt-get installed xine-ui if I recall. The dvd command to enter in setup is:
Code:
xine -pfhq --auto-scan dvd

Here is my .lircrc file (the xine part anyway) in ~/mythtv. Note that I've got it setup a little strange, because for everyday use I use a sony learning remote. I didn't mess with the grey conf files, so the "button = " lines match the grey buttons. You'll see some # comments on some buttons, they are where I've "learned" them into the sony. Hope this helps. :)
Code:
##XINE

begin
prog = xine
button = PLAY
repeat = 3
config = Play
end

begin
prog = xine
button = STOP
repeat = 3
config = Stop
end

begin
prog = xine
button = BACK/EXIT
config = Quit
end

begin
prog = xine
button = PAUSE
repeat = 3
config = Pause
end

begin
prog = xine
button = CH+
repeat = 4
config = EventUp
end

begin
prog = xine
button = CH-
repeat = 4
config = EventDown
end

begin
prog = xine
button = VOL-
repeat = 4
config = EventLeft
end

begin
prog = xine
button = VOL+
repeat = 4
config = EventRight
end

begin
prog = xine
button = OK
repeat = 0
config = EventSelect
end

begin
prog = xine
button = MENU
repeat = 0
config = Menu
end

#vol down
begin
  prog = xine
  button = YELLOW
  repeat = 1
  config = Volume-
end

#vol up
begin
  prog = xine
  button = Red
  repeat = 1
  config = Volume+
end

begin
prog = xine
button = FFW
repeat = 2
config = SeekRelative+30
end

begin
prog = xine
button = REW
repeat = 2
config = SeekRelative-30
end

#ch up
begin
prog = xine
button = Green
repeat = 1
config = SeekRelative+60
end

#ch down
begin
prog = xine
button = Blue
repeat = 1
config = SeekRelative-60
end

#sleep
begin
prog = xine
button = GO
repeat = 1
config = ZoomIn
end

#display
begin
prog = xine
button = SKIP
repeat = 1
config = ZoomOut
end

Author:  graysky [ Sat Jan 24, 2004 1:03 pm ]
Post subject: 

Thanks for the info man. The apt-get worked fine - got xine up and running. Only problem I'm having is with lirc. I pasted your config in the bottom of my /home/mythtv/.mythtv/lircrc but none of the buttons seems to work. I have a PVR-250 w/ gray remote also. I had this same problem with ogle not using any of the keys i put in there also.

Author:  davem [ Sat Jan 24, 2004 1:13 pm ]
Post subject: 

put it in /home/mythtv/.lircrc , not /home/mythtv/.mythtv/lircrc. :)

Author:  graysky [ Sat Jan 24, 2004 1:44 pm ]
Post subject: 

Works like a charm, thanks!

Author:  davem [ Sat Jan 24, 2004 1:49 pm ]
Post subject: 

Cool! Your Welcome! :)

Author:  micsaund [ Sat Feb 14, 2004 10:26 pm ]
Post subject: 

OK - I installed xine and the lirc code from above and all works OK.

However, the playback is not entirely smooth. For example, when the camera is panning, the playback will stutter a bit. It's only for a split second each time but it's enough to notice. Most times, it's just barely enough to notice, but other times, it bogs enough to be irritating.

The kicker is that mplayer playback is flawless. TV also works fine.

During the xine playback, the cpu is only around 20% utilization (Athlon XP1600 - 1.4GHz). During playback of a TV show via mplayer, the cpu is around 1-2%, so it's quite a bit lower, but I still would not expect 20% to be enough to bog the playback.

Here are my system details:
nForce2 board
Onboard sound
Onboard GF4MX graphics/TV-out
512MB RAM
All drives are DMA enabled
KnopMyth R4V2 fresh install
xine from apt-get install xine-gui
Using xine commandline from above (xine -pfhq --auto-scan dvd)
Using nvidia-install.sh drivers

Does anyone have any ideas for what I might try to improve the playback? I've messed around in the xine GUI and tried forcing it to use xv and several other options, but some actually produced more stuttering.
This is not a killer problem, but it's hard to endure the stutter during a DVD playback when you're used to DVD quality ;)

Thanks much!
Mike

Author:  hummercash [ Mon Mar 01, 2004 10:45 am ]
Post subject: 

hrm, got video working fine using xine, but audio doesn't work when i play dvds... audio does work when i play files in my video folder...


.//chris

Page 1 of 3 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/