Log in

View Full Version : The new RARFileSource DirectShow filter.


Pages : 1 [2]

Backflip
5th April 2010, 05:53
there are some rars that rarfilesource and kmplayer wont run the videos within but xbmc will run them fine. ie *-immerse

Yes, I know this immerse you speak of ;)

WinRAR 2.9 version is used, so rarfilesource doesn't play the video within :/ Any updates on this?

lolz0r
22nd August 2010, 01:30
Yes, I know this immerse you speak of ;)

WinRAR 2.9 version is used, so rarfilesource doesn't play the video within :/ Any updates on this?
It's not the RAR version used that's at fault, but the dictionary size.
RARFileSource only seems to work when the dictionary size of the RAR archive is 4096kb.
Groups like IMMERSE or BiA use respectively dictionary sizes of 512kb and 64kb, which makes the video unplayable using RARFileSource - although BiA uses WinRAR 2.0.

More info on dictionary size: http://acritum.com/winrar/manual/index.html?html_helpswmd.htm

If anyone can come up with a fix for this, I'd be very very grateful.

hrncn675
7th September 2010, 20:31
I fixed that a year ago, but thanks to the fact that this forum discourages you from helping others by making you wait 5 days it took a long time for me to post it.

Just add
multi_volume = false;
break;
to line 612 in RFS.cpp
The IMMERSE releases and a few others lack the HEADER_TYPE_END block, rarfilesource relied on this to check if it is the archives last part file, but the checking if the LHD_SPLIT_AFTER flag is not set which indicates that no further part files will follow this one is sufficient to find the last part file.
The dictionary size was just a coincidence, it had nothing to do with this problem.
Just make sure to start your player with the first rar file.
I've attached my compiled x86 version based on the current rarfilesource git that includes the fix and works for me with all files.

hidensity
11th September 2010, 12:45
hey hrncn675, big thanks for the effort.

However, I can't get it to work. If I switch to your new .ax-file the popup-error from rarfilesource about I/O operations is gone. But instead I get "Cannot render file" from MPC, now on all releases. Previously I had no problems running rar's from other groups. Any thoughts?

hrncn675
13th September 2010, 01:43
No idea, the only thing missing might be the msvc2010 runtime (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84&displaylang=en)

hidensity
13th September 2010, 17:50
Don't think anything is missing. I can switch between the files back and forth.
With the old one it works on most releases except IMMERSE and AMIABLE etc. where I get the I/O processes error from rarfilesource.
With the new one I get "can't render file" from MPC on all releases including the ones that worked a second ago.

I have Win7 x64, should that matter? I have the x86 version of rarfilesource.

hrncn675
13th September 2010, 21:25
I'm using MPC HC v1.3.1249.0 on win7 x64. Did you just rename the original rarfilesource.ax file and copy the new one into the folder ? I only get a cannot render the file error when the ax file is missing/has the wrong name.

hidensity
15th September 2010, 21:47
yes, I renamed the old one and put the new one in there. But I am however not using the HC version of MPC.

Skindred
17th September 2010, 23:39
Anyone care to convert this to Media Foundation?

That'd make it work on the XBOX360, just like Divx did with .MKV support :)

Would seriously rock, I tried getting it running by adjusting some classes around, but nothing really worked, I did however manage to add .rar to my library.

p0w3rh0u5e
22nd September 2010, 23:07
I have some problems with rar-sets, with additional files (like a sfv or md5) included. I think rarfilesource should look for playable files and just skip all others or maybe let the user decide via black/white-list which files should('nt) get delivered to the player...

Anway, very nice addtion to my setup. Nice idea, well done, very welcome. Thank you very much.

hidensity
28th September 2010, 22:38
could someone contact the rarfilesource author and ask him to update?

Marvman
11th January 2011, 16:05
This is so depressing. :( So is there any way to play large HD files with MPC-HC 64 bit without unraring the files?

There are a new version from Team MediaPortal (made by me :p) based on the version from OctaneSnail.
I fixed the bug on 64 bit systems.

http://www.team-mediaportal.com

http://www.team-mediaportal.com/extensions/video-audio/rarfilesource-team-mediaportal-version

Hope it helps somebody!

Greetz

hidensity
15th January 2011, 17:41
There are a new version from Team MediaPortal (made by me :p) based on the version from OctaneSnail.
I fixed the bug on 64 bit systems.

http://www.team-mediaportal.com

http://www.team-mediaportal.com/extensions/video-audio/rarfilesource-team-mediaportal-version

Hope it helps somebody!

Greetz
I Love You! :thanks:

OctaneSnail
22nd February 2011, 00:18
Hi folks!

I see you've been keeping busy without me. Well, believe it or not I've actually put together a new version.

It's now officially 100% bug free! :rolleyes:

I also threw in a 64-bit build for good measure. See the second post for details.

Enjoy!

/OctaneSnail

garoto
27th February 2011, 20:41
Most awesome update! I was just gonna ask if someone could do a x64 build.

Thanks OctaneSnail for the new build and for still being interested in the project!

Also thanks to Marvman for the fix build that I was using :)

mariush
28th February 2011, 02:14
You're both wrong.

File sharing of copyrighted material without authorization from the copyright owner or without a license to distribute is illegal.

Ex 1. I can record an interview or do a podcast and license it under Creative Commons Share Alike or another even more permissive license. Even though I have the copyright on the recording, through the license I gave everyone permission to distribute it as long as the terms of the license are followed (For CC-SA mention in a comment or description the original author of the recording)

Ex 2. Ubuntu is also copyrighted material, but the license allows you to distribute through whatever means you want, as long as you don't charge a fee higher than reasonable shipping and handling costs (you can ask 2$ to ship a CD with Ubuntu to someone and it's completely legal).

Please make the distinction - copyrighted != not allowed to file share

PS. Sorry, didn't realize this thread had 4 pages, I was reading the last post on the first page.

anti
5th April 2011, 08:21
Just wanted to say thanks. Was looking for something like this.

ale5000
6th April 2011, 18:13
Info: If you have the "Nero Splitter" installed you can play directly iso images of DVD (it doesn't work if you have a normal video file inside the iso), I have tried with the one that came with Nero 8.

FDisk80
29th April 2011, 20:33
Yes! finally. Why did I found out about new version just now. v0.9.2 works perfectly with MPC-HC x64 and large files now. Always had trouble playing 1080p files.
Thank you! Amazing!

allouh
24th June 2011, 15:55
Only if this filter could skip missing rar parts?
This would be great as a feature, we could save large video files on multiple DVD5 discs without splitting the video itself, and play each disk separately without the need to extract the archives.
Of course first part would be important to get the header and last rar part to enable seeking without re-indexing the file(for MKV container).

hidensity
1st October 2011, 14:18
New problems with rar-files from TLA. Can anyone confirm?

p0w3rh0u5e
6th October 2011, 15:06
Another feature request: something like a blacklist/whitelist for filetypes. I prefer to put some additional files (like checksums) into the archives. Those files aren't playable via MediaPlayers like MPC-HC but rarfilesource trys to open them with no way to skip it or jump to the video-file.

Dark Eiri
25th October 2011, 13:23
Yeah, uhm... split .rar files from group ASAP fail to play. Any solution?

dlnalover94
29th October 2011, 00:35
Compressing already compressed files is absolutely ridiculous ...

There is some value in splitting big video files in smaller pieces, although I agree that compressing already compressed video is sort of pointless.

OctaneSnail
4th February 2012, 16:50
Hi all!

Not quite dead yet! See second post for new 0.9.3 release.

Thanks to John Peterson for getting the ball rolling again.


/OctaneSnail

FDisk80
4th February 2012, 17:31
Hi all!

Not quite dead yet! See second post for new 0.9.3 release.

Thanks to John Peterson for getting the ball rolling again.


/OctaneSnail

Awesome! :D Was waiting for an update. Thank you OctaneSnail.

BTW, isn't it better to move this to "Doom9's Forum > Hardware & Software > Software players".
I mean all the filters and decoders are there anyway.
People are most likely will not click on Announcements and Chat to find this.

OctaneSnail
4th February 2012, 19:01
Awesome! :D Was waiting for an update. Thank you OctaneSnail.
You're welcome.

BTW, isn't it better to move this to "Doom9's Forum > Hardware & Software > Software players".
I mean all the filters and decoders are there anyway.
That would be up to the moderators.

People are most likely will not click on Announcements and Chat
to find this.
I'd say this is an announcement thread! :)

/OctaneSnail

P.S.
And a chatty one!

allengero
15th February 2012, 16:18
is there a possibility for this to start playing a media file inside a multipart rarfile with only the first rarfile available?

Gfy
13th October 2012, 19:29
RARFileSource with support for .mp4 files:
http://rescene.wikidot.com/rarfilesource

Armada
19th March 2013, 18:29
RARFileSource has been included as an internal filter in the latest release of MPC-HC (1.6.6). It also includes the .mp4 patch mentioned above.

Thank you OctaneSnail for this great filter.

v0lt
25th May 2013, 07:32
Do you plan to support RAR5 format?

talcum
9th June 2013, 12:42
Is there a way to use symbolic links to reference rar files in another directory? If I link to the first rar it is unable to find any of the other archives.

.sk
15th January 2022, 09:59
Using this is as an external filter in MPC-BE, what merit should be set for it?

To quote the user from another thread (https://forum.doom9.org/showthread.php?p=1796882#post1796882),If you set RARFileSource to "prefer" then it works fine on rar files. But, if you play a non-rar file then the video will not play at all, it's blocked by RARFileSource because it's not a rar file. Is there any workaround to this problem besides going into the settings and enabling/disabling RARFileSource before every time you want to play a file?
...Edit: Never mind on the 1st question. I got it to work on both rar and non-rar by changing the merit around a bit.

I am asking here, for the future reference, as the said user didn't state the correct value and I don't know if he is still around.

Also to quote from the other (https://www.reddit.com/r/software/comments/79pcmj/how_do_i_properly_add_support_for_rar_files_to/) places,So I added an external filter with RAR File Source, which allows me to enable playback of .RAR files, but only if I set to prefer on it, which makes me get 2 error messages if I open non-rar files that I have to dismiss for it to start playback.

The errors are; "Incorrect RAR marker" and "No media files found in the archive" so obviously as I've specified it tries to open with RAR File Source first, and fallsback to LAV/madVR after trying that.

How do I make MPC-BE/Rar file source only open .rar files with RARFS and the rest with default LAV/madVR?