Play movie files in multi-file .rar archives

Feature requests for VLC.
Ymir

Postby Ymir » 16 May 2006 17:26

great job man! works really good. thanks for this:D

themolester

Postby themolester » 18 May 2006 07:45

thank god. even though this is a bit awkward (atleast it is right now) its a great feature that i have been waiting for, for a long....long time

thought i would help out with a link or two

the source may not be able to be distributed with vlc (cause its not gpl itself) i think their license is not too bad, but it has some clause about being for compatibility, not for making competing applications (extraction apps)

but you could probobly use it for a external bin like its being used now (only having one, not 2 though)
(check the license for yourself) or maybe use it as a basis for a custom dll if the second link doesn't work like you want

i think it would be a good idea (none of the devs seemed to agree when i brought it up) to impliment the code into vlc, but call the external dll/exe which the user could download him/herself

there is also a dll linked, along with the page which they are all listed

source (non gpl, but open): http://www.rarlab.com/rar/unrarsrc-3.6.3.tar.gz

dll for windows: http://www.rarlab.com/rar/UnRARDLL.exe

ocx for vb: http://www.rarlab.com/rar/UnRarOCX.rar

component for delphi: http://www.rarlab.com/rar/TDFUnRar.zip

GUI library for c++ builder: http://www.rarlab.com/rar/UnrarGUI.zip

link where you can find these and more: http://rarlabs.com/rar_add.htm


there is a link for a linux .so file... but the link is dead so i did not paste it here (but its listed on the last link toward the end)


hopefully one of you guys who made the existing app could cook up something that is only one exe with something from the above (or maybe build support for the modules/dlls/etc into vlc tree... would be easier to make seeking work that way)

sparks
Blank Cone
Blank Cone
Posts: 14
Joined: 19 Apr 2006 13:33

Postby sparks » 18 May 2006 14:34

Just to let you all know I got my sourceforge account:

http://rarplayer.sourceforge.net

or

http://sourceforge.net/project/showfile ... _id=167742

Good to see you all using it!

Thanks

Sparks

Guest

Postby Guest » 19 May 2006 08:10

I just have to ask, what's so hard about running MacPar Deluxe and having a straight file to play? I mean let's be serious now, multi rar movies means you got them from usenet, and unless you're going to be providing fills what good is it to keep the rar files?

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 19 May 2006 16:38

@sparks:

VLC tries to repair the file, because when it cannot seek, it cannot use the index of the avi file. Which usually means that the index is broken.
I'm not sure how VLCRAAR works, but if it is piping into VLC, then it's logical that you cannot search. Only representing it as a regular file will make searching work.
Don't use PMs for support questions.

jacko

Postby jacko » 20 May 2006 10:15

@DJ

It works in the mplayer code used in XBMC so it can be done, too bad those lazy bums dont backport it :P
I would guess they always locate the index first and if you want to skip it jumps to the correct rar-file and streams it.

@sparks

I tried getting that "--file-caching" switch to work with vlc but I cant.
VLC just starts and nothing happens.

Thanks all for working on this, been waiting for something to make this work like it does in XBMC for a long time.

Thanks

jacko

Postby jacko » 20 May 2006 10:44

got --file-caching to work in vlc, had to remove "" :)

why is there no mention about the --file-caching option: http://wiki.videolan.org/index.php/VLC_ ... -line_help

sparks
Blank Cone
Blank Cone
Posts: 14
Joined: 19 Apr 2006 13:33

Postby sparks » 20 May 2006 14:36

@DJ

It works in the mplayer code used in XBMC so it can be done, too bad those lazy bums dont backport it :P
I would guess they always locate the index first and if you want to skip it jumps to the correct rar-file and streams it.

@sparks

I tried getting that "--file-caching" switch to work with vlc but I cant.
VLC just starts and nothing happens.

Thanks all for working on this, been waiting for something to make this work like it does in XBMC for a long time.

Thanks
Ive thought about making a program that writes the index from the movie into a temp avi file, and then use that avi in vlc.....this would require a great deal of knowledge in programming (which i dont have im a complete noob)

The only other way is to do what XBMC and incorporate the entire unrar library into their program.

I really dont see the latter happening though as the devolopers here dont currently have it as a high priority (not meaning disrespect - love your work)
got --file-caching to work in vlc, had to remove ""

why is there no mention about the --file-caching option: http://wiki.videolan.org/index.php/VLC_ ... -line_help
Its in the advanced help.

R_E_G_N

Postby R_E_G_N » 24 May 2006 12:40

I have tried VLCRAAR in Windows to play avi-files inside multiple rar-files and it seems to work!
That's great, but it seems that I can't get subtitles like .sub and .srt to work when I play from rar-files.
Has anybody managed to get subtitles to work or is this something that's being worked on to implement in a new version of VLCRAAR?

2001XJ

newbie question

Postby 2001XJ » 24 May 2006 15:42

Sparks and anyone else for that matter,

I am a newbie to all this code and programming but have been trying to learn. I wanted to view movies in multi-part .rar files and tried your instructions on how to get them to play by downloading and extracting to the VLC directory. This may be a dumb question but where do I find the directory to extract to?

Thanks for your help guys

sparks
Blank Cone
Blank Cone
Posts: 14
Joined: 19 Apr 2006 13:33

Postby sparks » 25 May 2006 01:13

I have tried VLCRAAR in Windows to play avi-files inside multiple rar-files and it seems to work!
That's great, but it seems that I can't get subtitles like .sub and .srt to work when I play from rar-files.
Has anybody managed to get subtitles to work or is this something that's being worked on to implement in a new version of VLCRAAR?
Yeah at the moment it wont support subtitle files, the solution is to extract the subtitles from the rar files seperately.
Sparks and anyone else for that matter,

I am a newbie to all this code and programming but have been trying to learn. I wanted to view movies in multi-part .rar files and tried your instructions on how to get them to play by downloading and extracting to the VLC directory. This may be a dumb question but where do I find the directory to extract to?

Thanks for your help guys
Download UNRAR.exe and copy it into the VLC Folder should be "C:\Program Files\VideoLAN\VLC" and extract VLCRAAR into the same folder.

You can then open the multi-part rar files by dragging them onto VLCRAAR or by using the "open with" command and opening them with VLCRAAR.exe

theturtle

non-local

Postby theturtle » 29 May 2006 12:08

not to sound l ike a broken record but
"Xbmc can" play .rar's over the network smb or ftp protocols.
Any possiblity vlc could ever do this with some sort of add-on?
that would just be super gr8

theturtle

Guest

Postby Guest » 29 May 2006 20:28

VLC devs have said no to runtime multipart ZIP/RAR decoding. So it ain't coming anytime soon.
viewtopic.php?t=11942&highlight=rar

sparks
Blank Cone
Blank Cone
Posts: 14
Joined: 19 Apr 2006 13:33

Re: non-local

Postby sparks » 30 May 2006 05:24

not to sound l ike a broken record but
"Xbmc can" play .rar's over the network smb or ftp protocols.
Any possiblity vlc could ever do this with some sort of add-on?
that would just be super gr8

theturtle
With my program you can already play RAR files via SMB, that is my main use for it.

Unfortunetly it does not play FTP located files unless the file is mounted with WebDrive or a similar program (havent tested this but it should work).

groove

Postby groove » 02 Jun 2006 16:21

VLC tries/asks to repair the .rar file i drag and drop on it, can i turn that off somehow, or somehow enable it to defalut NO?

JNS

Postby JNS » 05 Jun 2006 01:59

Yes I would also like to know how to turn that off :S

sparks
Blank Cone
Blank Cone
Posts: 14
Joined: 19 Apr 2006 13:33

Postby sparks » 05 Jun 2006 06:51

yeah this is a bug that is not fixable at the current point in time, click no.

The reason this happens is VLC expects a file which it can access the index of (its at the end of the file) and my program streams video data sequentially into VLC.

Guest

Re: Play movie files in multi-file .rar archives

Postby Guest » 17 Jun 2006 16:25

This topic is a continuation of a previous topic which was locked.
I must say that videolan is a robust video player. Thanks to everyone for working so hard to make the best video player!

It has all the features you could ever want. Except one:

* Play movie files in multi-file .rar archives. So it will play a movie that is split up in .rar,.r01,r02,etc.

Also if, possible with seeking in movie.

Thanks & Bye!
I have discovered some new information that makes it possible to add this feature thus making a thread like this not a waste of the developers time, namely i have found the location of a GPL Library to decode RAR files.

This is part of the XBMC sourcecode and XBMC can currently play muti part rar files instantly (if rar is not compressed) or will cache/unrar (if rar has compression).

This is extremely handy for watching multi-part rar videos that are commonly sourced on the internet.

Anyway onto the code ;)

http://cvs.sourceforge.net/viewcvs.py/x ... 4&view=log

http://cvs.sourceforge.net/viewcvs.py/x ... 4&view=log

http://cvs.sourceforge.net/viewcvs.py/x ... 9&view=log

http://cvs.sourceforge.net/viewcvs.py/x ... 2&view=log

http://cvs.sourceforge.net/viewcvs.py/x ... 6&view=log

http://cvs.sourceforge.net/viewcvs.py/x ... 5&view=log

There is also ZIP support added in the same directory as the RAR Libs.

Thanks for a great program devolopers I hope you can add the feature I desire most!

Sparks

CC

Postby CC » 20 Jun 2006 01:51

Can we get a detailed explanation on how to get rars decoded in VLC?

nihir

VLC-RAR-Loader for Mac

Postby nihir » 23 Jun 2006 00:08

I found something that plays RAR files (with subtitle support) for MAC. I don't have a mac, but from what I've read it works really well. Here's the description from the site:
This application will let you play rar-compressed movies using VLC without havning to extract them first. (Of cause it will also play segmented rar archives.)

VLC RAR-Loader is donationware which mean it is avalible free of charge.
No registering, no timelimits, no hussel. We would however appreciate donations if you like this software and want to continue using it.
adnd the link:
http://vlcrarloader.jjabba.com/

LuffarJoh
New Cone
New Cone
Posts: 1
Joined: 12 Jul 2006 09:31

Postby LuffarJoh » 12 Jul 2006 21:42

@spraks

Is it possible to make it autoplay when using "Open with..." ?
So I don't have to klick the play button.

Great tool btw :)

//LuffarJoh

kevinfragglefraser

need quick advice thanks

Postby kevinfragglefraser » 10 Aug 2006 02:07

this is great because i used to do the dsme with xbmc nut was just wondering how it works when its an image file inside it and it has a movie menu i cant seem to click to start the movie or nothing what i could do thanx :)

DaManJ

Postby DaManJ » 14 Aug 2006 02:37

Thanks for the add-on, its great!

And to VLC developers - please support the scene and port the XBMC rar code to VLC.

For the Scene: rar > avi

Thanks!

protiek
New Cone
New Cone
Posts: 4
Joined: 14 Aug 2006 17:00

Postby protiek » 14 Aug 2006 17:01

I am not very experienced in coding so I may be wrong in suggesting that as XBMC is open source why can we not examine how exactly they are doing it and try to implement a similar solution?

Guest

Postby Guest » 14 Aug 2006 23:16

Feel free to implement it, next 7-zip support?
Scene releases aren't ment for public and they use multiple rars for transfering reasons.
And I doubt XBMC devs have reverse engineered new RAR format.


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 16 guests