Log in

View Full Version : LanDub Alpha v 0.1 (23/05/06) - Distributed encoding


Dark-Cracker
23rd May 2006, 20:57
Hi,

long time no see :)
i have been keep busy with my work and my social life :) but i still work on some tools during my free time.

It's the first public release of this alpha version.
It's a software to made distributed encoding using realproducer.
it work on the Local Arena Network.
It's ENTIRELY based on the tool 9dublan developped by Akab0b i have however made a lot of changes for the encoder core.

But remember it's an ALPHA version so avoid to made real backup using this tool but you can always try it on some samples :)

RESTRICTION :
- This tool work on some win2k / winxp OS
- You need to install avisynth and a yv12 codec on each slave machine.
- You need to use an .avs for input file.
- You need to finish the first pass on each slave in order the process could start the second pass.
- You need to delete manually then tempory file one the encoding is finish.

HOW TO USE :
- uncompress the archive in a folder.
- launch the Landub client .exe and enter manualy the ip of each computer connected on your network.
- copy the Landub server folder on each slave machine, launch the .exe and select the producer path and select "Start" [server] in the application menu.
- in the client application, once you have finish to enter the ip list, click in the menu "connect all" and it will connect to each server started on the slave machine.
- Rip the dvd in a folder, create the .d2v file in the SAME folder of the .vob file, select the option real path in the dgindex tool. créate a .avs file with the crop, resize... (if you use external filter think to copy them in the SAME folder.
include the audio in the .avs file (using wavsource or nicaudio plugin) then SHARE THE FOLDER WITH READ AND WRITE ACCESS

Exemple of script :


# PLUGINS
LoadPlugin("DGDECODE.DLL")
LoadPlugin("COLORMATRIX.DLL")
LoadPlugin("TDEINT.DLL")
LoadPlugin("REMOVEGRAIN.DLL")
Loadplugin("NICAUDIO.dll")

#
# LIMIT MEMORY USE
SetMemoryMax(192)
#
# VIDEO SOURCE
Video=Mpeg2Source("returner.d2v")
audio = NicAC3Source("VTS_11_1 T01 2_0ch 192Kbps DELAY 0ms.ac3").delayaudio(0)
#
# DEINTERLACE Using TDEINT
Video=TDeint(Video,order=1,type=3,sharp=false)
#
# CROPPING
Video=Crop(Video,2,86, -2, -80, align=true)
#
# RESIZING
Video=BicubicResize(Video,712,384,0,0.5)
#
# REMOVEGRAIN FILTER
Video=RemoveGrain(Video, mode=2)
#
# KEEP MPEG2 Color Conversion
Video=ColorMatrix(Video)
#
# FINISH
Return(AudioDub(Video,audio))


- Check your avs file is correctly displayed in a video player when you open it using the UNC path (ex : "\\XXX.XXX.XXX.XXX\shared_folder\test.avs" where XXX.XXX.XXX.XXX is you IP address)

- once your folder is shared, return in the client and select "create project"; enter the UNC input path, a project name, the bitrate wanted and the audio codec + flavor. then press the create button. (it will create a new folder with the project name entered, and create N .avs file separated for each slave based on the CPU frequency of each slave).

- open the project, select thread reset in the menu and push the start encode button..... and cross your fingers.

- once all it's finish, select in the menu "Build Project" then you will have a .bat file generated, execute it and it will join all the part of the movie.

Any comment, suggestions are welcome, but plz keep in mind it's only an alpha version still bugged and still some rooms to improve it.


DOWNLOAD LINK (http://dark.pluridis.org/downloads/LanDub_alpha_v0.1.zip)
SCREENSHOT (http://dark.pluridis.org/pictures/images/Landub.jpg)


Enjoy.

Bye

Dark-Cracker
31st May 2006, 18:24
Silent update (download again the archive).

And a SCREENSHOT (http://dark.pluridis.org/pictures/images/Landub.jpg)

- fix a bug when you cancel a job.
- you can't execute the .exe file throw an unc path
- fix a bug for the CPU use during encoding

karl_lillevold
2nd June 2006, 21:27
This is great! I have to try it out for some HD encoding, since I have access to quite a few speedy systems...

Dark-Cracker
2nd June 2006, 21:30
yes this could be interested to see it working on some speedy systems, and if you have some feedback to improve it, feel free to post your remarks, suggestions.

i will try to improve the project creation, with perhaps a tool to share the folder and made the necessary changes in .avs

Bye.

karl_lillevold
3rd June 2006, 00:07
On one system I get missing component 'MSWINSCK.OCX' trying to run the server. This is probably some Visual Basic file. I will search.

Hmm, even after installing runtimes version 5 and 6 from here:
http://www.karenware.com/powertools/runtimes.asp
I get the error.

EDIT: Found it here:
http://www.ascentive.com/support/new/support_dll.phtml?dllname=MSWINSCK.OCX

karl_lillevold
3rd June 2006, 00:55
Some problems:

I created a generic .avs file with a simple AVI as source. When creating the project file I got something like "Error in the Trim function (Nbr -1)". Still the project and N .avs files were created.

It is not possible to delete a project from the project list.

However, after this encoding worked fine. Very enjoyable to watch! :D

One question: where is the temp file that needs to be deleted? In the normal TEMP folder?

Dark-Cracker
3rd June 2006, 01:39
hi,

oups i have forgot to add the .ocx in the archive after i have made the silent update, i will add in the next release and a .bat file to register it. Later i will made a correct installer :)

the N-1 message it's an old debug message i will check the source to remove it, generaly it's because the number of frame for the trim is not odd.

i will check the bug when you want to delete a project file.

yes the visual effect with the processing is funny :) i have found how to replace it with a progress bar, next release will be a bit more beautifull.

the temp file is stored in the server part (the "..\out\" folder)

Bye.

karl_lillevold
8th June 2006, 19:35
Thanks, I will unregister the .ocx I found, and try the new version.

By enjoyable I meant that it's great to see how multiple computers "collaborate" to encode one clip. Good use of distributed computing! :)