2013-07-04, 07:58
The lack of fast forward and rewind feature has been bugging me in Raspberry Pi XBMC. When asked about it in the support forums, the usual reply is that you don't really need it as you can use skip buttons. Well, I can use the skip buttons but I also need fast forward.
I thought that fast forward should not be rocket science so I took a look at the sources and found that basically it has been totally disabled in OMXPlayer. I made some small code changes and now I have a semi-working fast forward. The big problem is that if I fast forward too fast (for example 32x for some files, 16x for some files), the fast forward stops. There is some code in OMXPlayer for catching up if the stream vs. display timing error is too large (or something like that) and that seems to be broken.
So basically I got the basics of fast forward working in the perfect scenario. Rewind is still totally broken, I guess that for rewind you need to constantly seek backwards in the stream?
Ok, so maybe fast forward is rocket science for me, as I have really no idea how media players should work. So now I am wondering if anybody out there could help. I pushed my changes to github. They are against a Frodo branch a few weeks back, as I have been working on this very slowly.
https://github.com/turtiain/xbmc/tree/Frodo
Could anybody fix the fast forward and rewind or help me with the sync problem after too fast forward and help me with the rewind basic functionality?
I thought that fast forward should not be rocket science so I took a look at the sources and found that basically it has been totally disabled in OMXPlayer. I made some small code changes and now I have a semi-working fast forward. The big problem is that if I fast forward too fast (for example 32x for some files, 16x for some files), the fast forward stops. There is some code in OMXPlayer for catching up if the stream vs. display timing error is too large (or something like that) and that seems to be broken.
So basically I got the basics of fast forward working in the perfect scenario. Rewind is still totally broken, I guess that for rewind you need to constantly seek backwards in the stream?
Ok, so maybe fast forward is rocket science for me, as I have really no idea how media players should work. So now I am wondering if anybody out there could help. I pushed my changes to github. They are against a Frodo branch a few weeks back, as I have been working on this very slowly.
https://github.com/turtiain/xbmc/tree/Frodo
Could anybody fix the fast forward and rewind or help me with the sync problem after too fast forward and help me with the rewind basic functionality?