Streaming RAR files (1 Viewer)

jonnep22

Portal Member
January 3, 2008
8
0
Home Country
Sweden Sweden
It does not seem to be working with RC3 =(.

ANyone else who has the same problem?

Edit: nevermind, it's working now :)
 

jackjson

Portal Pro
December 8, 2007
70
24
Home Country
Sweden Sweden
It does not seem to be working with RC3 =(.

ANyone else who has the same problem?

Edit: nevermind, it's working now :)

What problem did you have and how did you solve it?

About the development:
I would like the software to support multiple stored (and maybe even compressed) files. This requires a better virtual file system than the very limited NTFS implementation used today. I was thinking of building a read only Samba/CIFS server that presents RAR archives as folders to the clients. This way the application (or maybe Windows service) can be used for more purposes than Mediaportal. What do you think?
In the meantime I will try to develop a plugin to integrate Mediaportal with WinMount 3. WinMount supports large RAR/ZIP archives and I think it works pretty well. Unfortunately, it's not free, and that's why we need the CIFS server in as well.
 

senilix

Portal Member
October 18, 2008
42
2
norway
Home Country
Norway Norway
Error!
i can't get it to play well on RC3

Mounting the rars over smb. it mounts some of them, strangly enough.....
when i try it on the cmd line it says: Error while loading rar files(s).

rarmount_debug.txt:
18.10.2008 12:23:08 - Application started
18.10.2008 12:23:08 - Error while loading RAR file(s)
18.10.2008 12:23:09 - Settings saved
18.10.2008 12:23:09 - Application closed

files tested, working and not where r01, r02 etc....

any ideas?

---
update:
ok i tryed to copy them to the local computer, same result.
rar volume is not compressed, avi file has the same name as the rar archive.
it's like 50/50 on the archives i have tryed.

OS WinXP sp3.

Any chanse of putting in some extra debug info?
---
Update:
checking filemon, i can't se any errors rarmount2.exe opens all the rar files, successfully.
it reads from offset 12,24,45,52 in all the rar files.
then writes the error message in rarmount_debug.txt

any news on the winmount solution?
 

senilix

Portal Member
October 18, 2008
42
2
norway
Home Country
Norway Norway
today same test on new computer.

New info.
tested the same files on a differet computer.
same unfortunate result.

next move have to bee to install C# ....... :/

any input would be nice :)
 

jackjson

Portal Pro
December 8, 2007
70
24
Home Country
Sweden Sweden
New info.
tested the same files on a differet computer.
same unfortunate result.

next move have to bee to install C# ....... :/

any input would be nice :)

Sorry for not answering until now, but I'm all busy with the new SMB/RAR-server. It will eventually show up on www.smbrar.com.

I haven't got MP installed at the moment, so I can't do any real testing. I can however add some better debugging info to the current version. Keep an eye on this thread and you'll will have it in the next couple of days.


EDIT:
Done.
If you're having problem with RarMount2 (080524) you can download this modified version, updated for verbose logging.
http://www.jackjson.se/rarmount/RarMount2_080524_DEBUG.zip

A note to all of you getting to "Error while loading rar files(s)." error:
Make sure the RAR archive is "stored", not compressed. RarMount2 can only handle uncompressed (a.k.a. "stored") archives.
 

senilix

Portal Member
October 18, 2008
42
2
norway
Home Country
Norway Norway
ah that solved it!

Ah thanks! the added debug info solved the problem! :)

The problem was i recently had an raid5 error. and due to this i created a script that scans the entire server.
and tests the rar archives. upon completing the check the script created a new file called the same as the rar file but with an added extension. "blabalbalaalabl......rar.CrcRarDir.ok" or an .failed if i had a corrupt archive. sadly many!!! :(

Anyway RarMount2.exe tryes to load the examle.rar.CrcRarDir.ok file. and gets an ".rar.CrcRarDir.ok' has wrong RAR file header!"

Removing the file solved the mount problem.
i guess this is not an normal case, but it would be an idea to check the end of the file name string for the extension, so that similar problems dosen't occure.

Anyway thanks for the added debug info! realy nice to have some output to work with :)

What is new in the smbrar, Image mounter with 4gb+ ?

I got to say the rar mounting was a show stopper until now! :)

have you been looking into the subs problem?
i was thinking maby a work around could be made, (dunno what you have been doing with the new server). but if rarmount2.exe while mouting the rar archive also copied the files to your new smbrar\subs drive, or if not possible to a temp location, so one could configure vobsub to look there for subtitles.
 

jackjson

Portal Pro
December 8, 2007
70
24
Home Country
Sweden Sweden
[..]
What is new in the smbrar, Image mounter with 4gb+ ?

I got to say the rar mounting was a show stopper until now! :)

have you been looking into the subs problem?
i was thinking maby a work around could be made, (dunno what you have been doing with the new server). but if rarmount2.exe while mouting the rar archive also copied the files to your new smbrar\subs drive, or if not possible to a temp location, so one could configure vobsub to look there for subtitles.

As I wrote earlier, SmbRAR is my latest project, aiming to be a Smaba/SMB/CIFS/Windows share (lots of names for the same thing) server. When the server finds an uncompressed RAR archive it will present it as a folder to the SMB client. This way you can share your folders with RAR files, and mount them on tour local computer, over the network (or even over the Internet), and enable RAR streaming to all sorts of clients. I, for example, want to be able to play movies in RAR archives on my Xbox360 without uncompressing them first.
There will not be any file size or file count limits in SmbRAR, but the server will (still) NOT be able to handle compressed archives.

The suggested solution for the subtitle problem is very good. I've been thinking of modifying the MP plugin (RarPlayer.dll) to copy any detected subtitle file to a specified directory, and rename it to UNPACKED.srt (to match the mounted file in M:). Unfortunately I haven't really got to it yet.
Maybe I can add the subtitle support during this weekend, it shouldn't take much time.
 

jackjson

Portal Pro
December 8, 2007
70
24
Home Country
Sweden Sweden
Finally a version with subtitle support :)

Download here:
http://www.jackjson.se/rarmount/RarMount2_081025.zip

Only the exe file is updated.


Info from Readme.txt:

- First, download an install DirectVobSub.

- If RarMount2 finds a subtitle file ('.srt', '.ssa', '.sub', '.smi')
named as the RAR archive or as the stored file within the archive
it will be copied to 'c:\subtitles\UNPACKED.[ext]'
(where [ext] is the extension, i.e. .srt, .sub, etc).
Make sure the folder 'c:\subtitles' exists or change the path in
the config file ('rarmount_settings.xml').
RarMount2 will look for the subtitle file in same folder as the RAR archive,
and in the subfolders "Sub" and "subtitles".



Example:

You have a RAR archive named "foo.rar" containing a file "bar.avi".
The file "foo.rar" is placed in the folder "c:\movies".
In this case, RarMount2 will look for:
foo.srt
foo.sub
foo.smi
foo.ssa
bar.srt
bar.sub
bar.smi
bar.ssa
... in the following folders:
c:\movies
c:\movies\Sub
c:\movies\subtitles


To the mod's:
Sorry for the double post, but I wanted to bump the thread since I know the subtitle support is a often requested feature.
 

Users who are viewing this thread

Top Bottom