XBMC Community Forum  

Go Back   XBMC Community Forum > Development > XBMC Development

XBMC Development Developers forums for XBMC related development. Programmers/Coders only!
No end-user support, no bug reports, and no feature/function requests here!
Please, add platform prefix for suggestions that are not platform-independent!:
Thread prefixes; "[LINUX]", "[LIVE]", "[MAC]", "[WINDOWS]", and "[XBOX]"

Reply
 
Thread Tools Search this Thread Display Modes
Old 2004-02-12, 14:57   #1
ezd
Member
 
Join Date: Oct 2003
Posts: 39
ezd is on a distinguished road
Default

if we extract a list of keyframe positions from the movie, it should be fairly straightforward to implement rewind with something resembling the following pseudocode:

Quote:
while (rewindactive)
{
seek(prev_keyframe)
show_frame_paused
delay(interval_to_prev_keyframe/rewindspeed)
}
this list wouldn't be a memory hog; divx usually has 1 keyframe every 10 seconds or so, mpg 1 every 5, so feature length mpegs will still only have ~1000 entries.

doable?

ezd
ezd is offline   Reply With Quote
Old 2004-02-12, 16:09   #2
Frodo
Team MediaPortal
 
Join Date: Sep 2003
Posts: 509
Frodo is on a distinguished road
Default

sounds 2 me like thats need 2 b implemented in mplayer
so maybe you or someone else wanna look @ it
or ask the mplayer guys?
www.mplayerhq.hu
frodo
__________________
XBMC Project Founder (Retired), now head programmer of MediaPortal
Frodo is offline   Reply With Quote
Old 2004-02-12, 18:51   #3
ezd
Member
 
Join Date: Oct 2003
Posts: 39
ezd is on a distinguished road
Default

i'll give it a shot, though i'm more familiar with xbmc than mplayer sources so it may take some time...
ezd is offline   Reply With Quote
Old 2004-02-21, 09:01   #4
Morien
Senior Member
 
Join Date: Dec 2003
Posts: 179
Morien is on a distinguished road
Default

hi,

regarding the problem with rewinding, where 2x is more like 8x, could someone help me understand why this happens?
i understand if it's not supported in the mplayer code than problems like this can occur, however wasn't xbmp also based on mplayer? the rewind in that was fine wasn't it?

morien
Morien is offline   Reply With Quote
Old 2004-02-21, 10:12   #5
Frodo
Team MediaPortal
 
Join Date: Sep 2003
Posts: 509
Frodo is on a distinguished road
Default

ff/rw isnt supported by mplayer
therefore its impossible to make it working perfectly for all files and all codecs. we do our best however

xbmp got ff/rw issues 2 btw, maybe not on your file. but is sure did
frodo
__________________
XBMC Project Founder (Retired), now head programmer of MediaPortal
Frodo is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to know optimal solution EvanWasHere XBMC for Xbox Specific Support 1 2004-09-26 23:53
please help!!! someone please give me a solution! reloaded XBMC for Xbox Specific Support 1 2004-07-21 13:08
SUBTITLE SOLUTION Dragonface XBMC for Xbox Specific Support 1 2004-01-05 05:14
speed of new development redriddler XBMC General Discussion 5 1970-01-01 02:00


All times are GMT +2. The time now is 12:12.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project