LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-11-2009, 11:03 PM   #1
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Xine Misbehavior in KDE4/13.0


Xine does not seem to play nice in KDE4. When I try to fast-forward, either with the keyboard (Up arrow) or mouse (in the controller), Xine often does not restore to normal playing speed when pressing Enter or using the mouse in the controller.

Or Xine finally returns to normal speed but only after a delay of 30 seconds or more.

I am using a recompiled version to support LIRC, but I temporarily reverted to the stock version and saw the same behavior.

As another check, I temporarily renamed my .kde directory and restarted KDE. Same behavior.

Anybody else confirm this behavior?

Thanks.

Last edited by Woodsman; 09-12-2009 at 12:14 PM.
 
Old 09-12-2009, 07:05 AM   #2
Einars
LQ Newbie
 
Registered: May 2009
Distribution: Slackware 14.1
Posts: 24

Rep: Reputation: 2
I can confirm this. To me it happens, for example, in pekwm or openbox too, so this
shouldn't be kde's fault.
 
Old 09-12-2009, 12:13 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
I can confirm this. To me it happens, for example, in pekwm or openbox too, so this
shouldn't be kde's fault.
Thanks much. Then the problem must be associated with the underlying 13.0. I never had this problem in 12.2.

Anybody have an idea which related files/libraries might be the culprit?
 
Old 09-12-2009, 01:07 PM   #4
Einars
LQ Newbie
 
Registered: May 2009
Distribution: Slackware 14.1
Posts: 24

Rep: Reputation: 2
In fact, I observed this behavior some time ago (on slack 12.2). Just now tried to play with
Xine and I couldn't replay the problem. Of course, that may be a coincidence, because it
seems to happen quite rare. To me, it seems the problem lies in Xine itself (or maybe xine-ui - try gxine?).
 
Old 09-12-2009, 01:15 PM   #5
wadsworth
Member
 
Registered: Aug 2007
Distribution: Slackware64 13.37
Posts: 215

Rep: Reputation: 64
There's a bugfix release of gxine (0.5.904).
Maybe your bug is fixed there as well.

I just use mplayer, always had trouble with xine.
 
Old 09-12-2009, 02:19 PM   #6
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
I just use mplayer, always had trouble with xine.
I'm the opposite. I often had trouble with MPlayer and almost never with Xine. Although I use mencoder to record TV shows through my tuner card.

I just tested with 12.2 from my office machine. This time I snatched the videos through the network, where the files are located on my HTPC. Theoretically that could add some latency with playing the files. I played a DVD ISO and a TV recording (AVI). No problems with either file pressing the Up arrow to fast-forward and then pressing Enter to resume normal speed. Or pressing the Down arrow for slow motion.

No problems with the mouse either.

With my HTPC I'm multi-booting with 13.0 and several other distros, including 12.2. (All of that except 13.0 one day will disappear, but right now those additional systems provide me a way to help troubleshoot HTPC issues.) I rebooted the HTPC into 12.2 and again played the same files with Xine. Again, no such problems with either the mouse or keyboard.

The problem does not happen in 13.0 with the pause or slow motion functions. Only fast-forward.

Using the verbose command line option did not reveal anything to me and I compared verbose results to running in 12.2.

I used upgradepkg to replace the 13.0 xine-lib package compiled for i686 with the 12.2 package compiled for i486. Same runaway results. However, I have noticed that when I fast-forward by only one increment rather than two then Xine is more likely to return to normal speed. But not always. In 13.0, running at double fast-forward speed always results in the runaway problem.

Last edited by Woodsman; 09-12-2009 at 02:50 PM.
 
Old 09-12-2009, 04:32 PM   #7
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 223Reputation: 223Reputation: 223
I have a ton of problems with Xine-ui and Gxine. Neither program has ever worked as expected for me. Xine-ui has issues with the right-click context menu running in full screen, has crashed Plasma, does not properly support subtitles (and on and on and on) Gxine happens to crash often for me, always has.

Other lib-xine applications (Dragon/Kaffeine) do not have these issues - besides the common lib-xine bugs - shoddy subtitle support, lack of proper XvMC support. These are all DE/WM independent, across multiple Slackware versions, as well as other distros.

I agree with wadsworth, mplayer is the way to go.
 
Old 09-12-2009, 05:01 PM   #8
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
I agree with wadsworth, mplayer is the way to go.
I wrote that Xine has almost always worked for me. As I wrote, no such problems with 12.2 --- or previous Slackware releases.
 
Old 09-12-2009, 07:12 PM   #9
vik
Member
 
Registered: Apr 2008
Distribution: Gentoo
Posts: 225
Blog Entries: 8

Rep: Reputation: 50
I think you're using the increment/decrement frame playback speed buttons in Xine. To return the frame playback speed to normal, use the opposite: so if you press up once to fast forward, press down once to get normal playback. This probably doesn't do what you want, as it's the equivalent of a fast motion/slow motion button, not ffwd/rewind like you'd expect.

My suggestion is to map your lircrc so ffwd goes forward 5 seconds and rwd goes backward 5 seconds and set the repeat value to 1 (so you can hold down the button and continue ffwd/rwd). This definitely isn't the most ideal solution; however I haven't found a better way yet.

Problem with mplayer: spotty menu navigation support. The cursor always shows up transparent, and mplayer gets confused by multiple nested menus. Hopefully they've gotten it up to speed as of the latest release. I've had mplayer crash on me with certain DVDs (especially TV episode DVDs).

The best one so far seems to be the mythvideo internal player, but sometimes movies crash and some movies don't work at all. I believe it's related to libdvdcss not handling the decryption, which all of the open-source players depend on. It's also the only one that does chapter previous correctly in movies. Every other one I've tried: xine, mplayer, vlc, have not been able to go back to previous chapters except for chapter 1. I get a libdvdnav error: chapter skip previous failed and it just goes back to the beginning of the chapter, not the previous chapter.

Sadly, I've had troubles with every media player I've tried. I've tried VLC, and just clicking on the button for the root menu didn't work right, so I gave up on that one right away. Xine has the most features, but it crashes occasionally. Also, sometimes when I play a movie the first time I get pixelation. The second time it works correctly. Not sure why.

Kaffeine seems like it is a lot more stable than Xine (even though it uses it as the backend); I was not able to get it working last time I tried in Slackware 12.2.

I think the biggest roadblock for linux players is decryption. I'm not sure, but I believe libdvdcss has not been worked on since 2007, yet they keep coming up with screwy ways to encrypt movies. I was seriously considering powerdvd for linux until I found out it doesn't do Blu-rays and doesn't have remote support. I'm not sure what the ideal solution is here.

Last edited by vik; 09-12-2009 at 07:35 PM.
 
Old 09-12-2009, 09:04 PM   #10
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
To return the frame playback speed to normal, use the opposite: so if you press up once to fast forward, press down once to get normal playback.
I have tried that too. Sometimes works in 13.0, sometimes not. No such problems in 12.2 --- works all the time. As does pressing Enter.

Quote:
Every other one I've tried: xine, mplayer, vlc, have not been able to go back to previous chapters except for chapter 1.
Odd. Works here. Pressing the Page Up or Page Down keys move forward and backwards with each chapter.

Quote:
Kaffeine seems like it is a lot more stable than Xine (even though it uses it as the backend)
In 12.2 I was using both Kaffeine and Xine. Xine always got tangled watching TV live and would automatically move to the next station in the playlist rather than just buffer the delays. Kaffeine never did that therefore I always watched TV with Kaffeine. OTOH, I much prefer the Xine DVD-like controller to watch DVDs and DVD ISOs.

Unfortunately for me now, Kaffeine is very much in beta for KDE 4. I have tried the beta version and the app is not ready for prime time. As Xine doesn't buffer live TV very well, I have been using SMPlayer to watch TV on the computer. SMPlayer also is beta but for TV watching seems stable for me.

Quote:
Problem with mplayer: spotty menu navigation support.
I agree. For all the accolades I have read about MPlayer, I always then read in the same article how MPlayer does not do menus well. This seems to remain the case. Recently I recompiled SMPlayer --- a front-end for MPlayer, to support menus and the result was awful. Xine and Kaffeine handle menus very well. Dragon Player seems to handle menus too. Yet Dragon Player --- intentionally I think, is a very simple media player with no bells and whistles.

My primary viewing front-end has become XBMC. Very well designed. Has yet to crash or act weird. Yet I want flexibility with my HTPC, hence the dissapointment with Xine not fast-forwarding correctly in 13.0.
 
Old 09-12-2009, 11:08 PM   #11
vik
Member
 
Registered: Apr 2008
Distribution: Gentoo
Posts: 225
Blog Entries: 8

Rep: Reputation: 50
The previous chapter problem was on my Debian HTPC: now I wonder if they just didn't build it right...I never had problems before with that in Slackware either.

Haven't tried Dragon Player: may have to try it one of these days.

XBMC sounds interesting and the skins look nice...how do you rate it compared to myth? Can you watch TV with it too?
 
Old 09-13-2009, 12:59 AM   #12
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
Haven't tried Dragon Player: may have to try it one of these days.
Comes with the stock KDE 4.

Quote:
XBMC sounds interesting and the skins look nice...how do you rate it compared to myth? Can you watch TV with it too?
I have yet to use MythTV. On my to-do list. XBMC supports any MythTV backend. In effect acting like a MythTV front-end. That is my plan. I like XBMC a lot and when a get to that phase of my HTPC project, I hopefully will have a MythTV backend for recording and XBMC for viewing.

I haven't tried to watch TV through XBMC. Looks like the idea is on the road map however.

Hmm. Initially I had not thought about watching TV with my HTPC as I would have the TV. OTOH, as I have a second tuner card, installed in my office machine, I suppose I could use XBMC for watching TV there. But that might be overkill for me. I can already watch TV with Kaffeine. I don't need a fancy interface with my office machine. Mostly if I watch TV on the office machine I do so in the background. When I want to watch full-blown TV or a movie then the couch is the place for me, and there I want a nice interface.
 
Old 09-13-2009, 11:07 AM   #13
vik
Member
 
Registered: Apr 2008
Distribution: Gentoo
Posts: 225
Blog Entries: 8

Rep: Reputation: 50
That's why I need mythtv then, as I need something that will capture TV inputs, change channels, get guide data, etc. I looked on the main web site and didn't see anything about that. Thanks for the info.

When I get the time, I might have to revisit my HTPC and try the latest Slackware on it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get remove kolf-kde4 will remove kde4? michielv Linux - Software 1 02-10-2009 06:02 AM
no xine executable after installing xine-lib and xine-ui schneidz Linux - Software 2 01-08-2009 11:52 AM
Looking for kscope & cscope misbehavior pjz Linux - Software 2 01-17-2007 12:46 PM
Removed Totem and installed (Xine, Kaffeine,Xinetd,Xine-ui & libdvdcss) Balarabay1 Suse/Novell 2 03-19-2006 08:31 PM
2 similar systems/ networking misbehavior MagusWizardo Linux - Networking 0 02-01-2005 04:57 PM


All times are GMT -5. The time now is 05:26 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration