How does XBMC RAR support work?
#1
I'm interested to know how XBMC RAR support is implemented. As you know XBMC has the unique ability to play, fastward, rewind video stored in a Rar file without first extracting the content to disc. How is this possible? Xbox has so little memory so the entire video can't be stored in that.
Reply
#2
it depends on stored rars (i.e. no compression)

i hooked the rar lib into our vfs (virtual file system). the unrar lib runs in a separate thread, controlled through events. the vfs is the important part here - without it you cannot do it like i did.
Reply
#3
http://wiki.xbmc.org/?title=Basic_overvi...ile-System
http://en.wikipedia.org/wiki/Virtual_file_system
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#4
Yeah, it's an amazing feature! I haven't understood it either so I'll try and read up. This feature, afaik, isn't implemented in any other media players I know of. I was quite surprised vlc couldn't do it if an xbox program could. Anyway, you should have MAJOR kudos for it, Spiff!
Reply
#5
How exactly doe it work without compression? Doesn't winrar compress?
Reply
#6
not if you tell it not to
Reply
#7
OK I got that Smile, but isnt the purpose of adding something to a rar to save space?
Reply
#8
in the case of videos; no
Reply
#9
I guess I'm just not seeing the purpose of having videos in .rar format then ... I'm lost on that I guess.
Reply
#10
1) storing large files on weak filesystems - such as fatx which can't handle > 4gb files. you simply use rar as a container to split it in suitable pieces
2) authenticity - you know nobody has tampered with the file (scene releases)
3) ftp racing
Reply

Logout Mark Read Team Forum Stats Members Help
How does XBMC RAR support work?0