Streaming RAR files (2 Viewers)

Semla

New Member
June 29, 2007
3
0
Home Country
Sweden Sweden
Isn't MP the work of the makers of XBMC?

That makes it somewhat strange that it was implemented in XBMC but for some reason, it is both impossible to implement and not needed in this case.
 

and-81

Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    Rar Playing plugin

    Alright, so I've put together a simple plugin to play rar files.

    It's not perfect, not even close. It's not very clever either.

    Read the included ReadMe.txt file for all the details.

    I put it together in the last couple of hours, while watching the grand prix, so it's gunna have bugs.

    I will support it, a bit. I'll improve it, a bit. But I don't use RAR files, so I'm not gunna waste too much time on it. I'd suggest someone else pick up the source and make their own changes. The source code is in MediaPortal Plugin SVN.

    And I don't wanna hear any "See, it was easy, why didn't someone do it sooner!?!", because it's not. This is a crap solution, and to do it properly would take way more effort than I am willing to give.

    Good luck,
     

    FreQi

    Portal Member
    June 10, 2007
    37
    1
    Home Country
    United States of America United States of America
    and-81

    Thank you for putting the time into this! Forgive me for being a bit of a newb, but could you link me to the SVN so I can peak at the source? I tried browsing the trunk on SourceForge, but came up empty handed.
     

    misterd

    Retired Team Member
  • Premium Supporter
  • April 4, 2006
    1,597
    314
    Home Country
    Germany Germany
    Isn't MP the work of the makers of XBMC?

    That makes it somewhat strange that it was implemented in XBMC but for some reason, it is both impossible to implement and not needed in this case.
    I had a look at the implementation of this in XBMC. IMHO th rar support can't be ported to MP without porting a lot of other things, because XBMC has completly different handling of videos. XBMC has a virtual file system for example, but MP and windows doesn't have such a file system. There are also other reason why this can't be easily ported to MP.

    It think that there are several options to implement such a feature:
    - Extract the content to a temporary folder and play it from there. This is what Aaron's plugin is doing.
    - Create a directshow source filter, which extract the archive on the fly. But this is very complicated job.
    - A mix of the other solution. Extract the file on the fly and create a rtsp stream of this or something similar. MP can then play this rtsp stream.
    All solutions include that the main MP plugins have to be updated to read the content of the archive, but I think that this is a big problem.

    These are just my ideas and I don't plan to implement one of these solutions, because personally I don't need this feature.

    Regards,
    MisterD
     

    geekus

    New Member
    May 29, 2007
    1
    0
    I've kinda got a solution.

    I use ZoomPlayer Pro as external player for videos, with the parameters "%filename% /F /Q" without the "". /F is for starting the movie in fullscreen and /Q make sure zoomplayer quits at the end of the video. You will also need to add .rar to known movie extensions in mediaportal. zoomplayer can play rared files, by extracting them first.. (you will also need 7-zip for this to work) read more about this at the zoomplayer webpage. I use Girder to get my remote control (windows media center remote control) to work with zoomplayer.. If you need more detailed description, let me know :)
     

    mrkrad

    Portal Member
    August 24, 2007
    32
    0
    i thought fuse-32-win was already a work in progress. since most of these RAR's lol are uncompressed for XBMC already i believe if you google around you'll see someone has long time ago made a device based on FUSE to allow you to trear rar files as folders (like zip is in xp before you install winzip). Maybe it was called RARFS for windows? i forget.

    Alternatively why not hook into something like this or have hooks to winmount (great program commercial though) to mount a virtual drive from a (whatever) compressed file.

    given that all of these "zeraw" rar files people speak of have no compression the RARFS/FUSE mounting should be done at the o/s level imo but it would be nice if mediaportal could turn it on/off or build it in.

    xbmc linux folks were talking about using rarfs to mount these rar files initially until the full implementation is done. Alternatively you could get the source for XBMC and figure out how it does this.

    I'm guessing fuse-32-win with rar support or hooks to winmount both would be a nifty idea. i like the free approach of course. Perhaps on launch of mediaportal, you could enable the RARFS, then when it closes or crashes :) you could unload it to not interfere with other rar operations.

    google around you might find the dude that wrote this along time ago.iirc 2005 era. I mean windows lets you use zip files as folder by default, you'd think someone would be able to implement shell integration for rar/zip/iso/whatever.

    Winmount is kinda too hardcore since it allows writing too. and its commercial :(. We just need multi-part rar streaming uncompressed. nobody compresses video :) waste of cpu for the ole xbox1

    google rarfs 0.0.8

    or

    http://www.linuxactionshow.com/forum/comments.php?DiscussionID=644

    can't be that hard to figure out how the dude did it in 2005 maybe looking at xbmc code.

    it would be nice to wrap rarfs on all media types so the o/s level seems logical?
     

    Users who are viewing this thread

    Top Bottom