Page 1 of 1
Unpack feature, no AVI
Posted: Mon May 26, 2008 12:47 pm
by bushsolo
Thank you Alex for the unpack feature, this will save me a lot of time writing batch files.
My first use of this feature did not go so well. When I looked in the folder all rars and pars were gone as expected but no avi file either.
All options were left at default and the Par2 download limit was set to was set to 3Mb.
The following link takes you to the file I was downloading...
http://v3.newzbin.com/browse/post/3067474/
Posted: Mon May 26, 2008 1:12 pm
by alex
did you look well?
check unrar tp subdir settings in properties->save/unpack
by default it creates a new directory derived from the rar name (unlike in the help topics, i'll change them, used older settings when "unrar" directory is being created with "derive" unchecked).
in that directory you'll find the avi.
on new install i got the name of the directory:
folder where you saved the attachments\peep.show.s05e04.ws.pdtv.xvid-river
and inside
peep.show.s05e04.ws.pdtv.xvid-river.avi
you can unrar to the same directory, to absolute path (e.g. on another drive) with optional subdir name out of rar name etc., just set what you like in properties->save/unpack->unrar to subdir
if you don't see the avi there should be something in the unpack pane and it won't delete rar files unless unrar was successful.
the story is first unrar was to the same subdir. then someone pointed me out that in some cases in the rar file there may be rar file with the same name, so i added relative subdir with permanent name, then someone asked for name derived from rar and eventually again someone requested to unrar to some other drive (absolute path) which led to the current option layout.
did you find the avi now?
Posted: Mon May 26, 2008 8:31 pm
by sdr-computer
Works great for me.
Posted: Tue May 27, 2008 7:43 am
by bushsolo
I set the options to what is shown in the screen linked below...
http://www.picoodle.com/view.php?img=/4 ... &srv=img26
...and the avi turned up in the same directory as the rars and pars.
I set everything to auto for the next download and there was no rars, pars or avi files. So if I leave it as shown in the above screen all I need to do is delete the files manually.
Posted: Tue May 27, 2008 7:49 am
by bushsolo
Nevermind, user error!
Thought the path for extraction was the path to unrar.
I've found my downloads extracted in the winrar directory.
Sorry for the trouble.
Posted: Tue May 27, 2008 8:20 am
by sdr-computer
Posted: Tue May 27, 2008 12:49 pm
by alex
unpack doesn't use unrar, winrar, quick par or par2 command line separate executables, everything is contained in UE.exe.
the third party code is only unrar code, as to par2 repair i rewrote it, i found and fixed few bugs in unrar code (like the unrar dll code will crash very hard if you feed it non-first part), but hopefully fixed the unrar code won't affect overall stability.
they are using different code for unrar.exe (also open source), i took code from there to fix problems in the dll version code which is integrated into UE.
Posted: Tue May 27, 2008 4:27 pm
by bushsolo
This may now be off topic but I'm interested to know whether your rewritten par2 repair is multi threaded?
My gripe with Quickpar is that it would only ever run as a single thread, so on the upcoming hyper threaded quad core Intel processors Quickpar is only going to run on an eighth of the processors potential power.
Posted: Tue May 27, 2008 7:50 pm
by alex
i think it can be easily implemented as multithreaded adjusting to the number of processors in the system (but there may be more disk thrashing as those threads will be reading from the disk in the same time since processing stage would be roughly the same so reading data from the disk will be done in the same time as well), right now it is implemented as a single thread, the main purpose frankly was to minimize the amount of third party code, so stability won't be compromised.
verification is done on fly, the question is how frequently actual time consuming repair is performed, if not so much it is just a simple exercise in parallel matrix computation.
also if to use multithreaded code i think maybe it will be more difficult to repair in place.
off-topic with intel processors my impression is the power is not proportional to the number of processors, i think they share memory bus controller or something like that, results i got was like assymetric, with amd dual core processors i saw both processors the same busy double of the one core performance.