Toon posts:

meer pc's om 1 file van avi naar mpg te zetten?

Pagina: 1
Acties:

Verwijderd

Topicstarter
Ik weet niet zeker of ik hier goed zit (maar anders kicken ze me wel naar een andere rubriek) maar ik heb een vraagje.
Ik hoor wel eens dat voor het renderen van een animatiefilm
meerdere pc's tegelijkertijd ingezet worden, nu moet ik regelmatig een avi van 1 uur omzetten naar mpeg en als ik dat doe met TMPGenc op m'n p3 450 duurt dat (in goede kwaliteit natuurlijk) ongeveer 1 uur per 3 min film (tel uit de wachttijd) nu heb ik wel de beschikking over meerdere pc's in een netwerk, maar is het ook mogelijk om de procs van die andere ps's mee te laten helpen en zo ja, hoe en heeft het zin? Het lieft blijf ik TMPGenc gebruiken.
Netwerk is utp 100mbit met nt4 server en 4 pc's met win '98 en win 2k.
Over dit onderwerp heb ik eigenlijk niets kunnen vinden. Misschien hier iemand?

Verwijderd

Film in 5 stukjes hakken, op elke server zetten (of van 1 server streamen) en dan kunnen ze alle 5 bezig gaan met een deel van de film, daarna de stukken weer joinen en klaar is kees....

Verwijderd

Als je linux hebt, dat kan. In windows kan dit niet omdat programma alles doet. In linux kan je het werk over meerdere proggies verdelen.

Hierbij het stukje uit de howto over 'distributed encoding':

De text is (c) mjpeg square group, written by Bernhard Praschinger.
SMP AND DISTRIBUTED ENCODING
=====================================

The degree to which mpeg2enc tries to split work between concurrently
executing threads is controlled by the -M oder --multi-thread [0..32] option.
This optimises mpeg2enc for the specified number of CPUs. By default (-M 1),
mpeg2enc runs with just a little multi-threading: reading of frames happens
concurrently with compression. This is done to allow encoding pipelines that
are split across several machines (see below) to work efficiently without the
need for special buffering programs.
If you are encoding on a single-CPU machine where RAM is tight you may find
turning off multithreading altogether by setting -M 0 works slightly more
efficiently.

For SMP machines with two ore more processors you can speed up mpeg2enc by
setting the number of concurrently executing encoding threads's you wish to
utilise (e.g. -M 2). Setting -M 2 or -M 3 on a 2-way machine should allow
you to speed up encoding by around 80%.

Obviously, if your encoding pipeline contains several filtering stages it is
likely that you can keep two or more CPU's busy simultaneously even without
using -M. Denoising using yuvdenoise is particular demanding and uses almost
as much processing power as MPEG encoding.

It you more than one computer you can also split the encoding pipeline between
computers using the standard "rsh" or "rcmd" remote shell execution commands.
For example, if you have two computers:

> rsh machine1 lav2yuv "mycapture.eli | yuvscaler -O SVCD | yuvdenoise" | \
> mpeg2enc -f 4 -o mycapture.m2v

Here the computer where you execute the command is doing the MPEG encoding
whilst "machine1" is the machine that is decoding scaling and denoising the
captured video.

Obviously, for this to work "machine1" has to be able to access the video and
the computer where the command is executed has to have space for the encoded
video. In practice, it is usually well worth setting up network file-storage
using "NFS" or other packages if you are going to do stuff like this.
If you have three computers you can take this a stage further, one computer
could do the decoding and scaling, the next could do denoising and the third
could do MPEG encoding:

> rsh machine1 "lav2yuv mycapture.eli | yuvscaler -O SVCD" | yuvdenoise | \
> rsh machine3 mpeg2enc -f 4 -o mycapture.m2v

Note how the remote command executions are set up so that the data is sent
direct from the machine that produces it to the machine that consumes it.

In practice for this to be worthwhile the network you are using must be fast
enough to avoid becoming a bottleneck. For Pentium-III class machines or above
you will need a 100Mbps Ethernet.
For really fast machines a switched 100MBps Ethernet (or better!) may be needed.
Setting up the rshd ("Remote SHell Daemon") needed for rsh to do its work and
configuring "rsh" is beyond the scope of this document, but its a standard
package and should be easily installed and activated on any Linux or BSD
distribution.

Be aware that this is potentially a security issue so use with care on
machines that are visible to outside networks!
Korte uitleg over de gebruikte programma's: mpeg2enc is een high-quality MPEG1/2 encoder voor linux, yuvdenoise is een denoiser, yuvscaler is een scaler en lav2yuv is een MJPEG decoder. Voor andere soorten decoding (divx en soortgelijk) kun je divxdec gebruiken. De 'eli' file die je hier ziet is een editlist file, die krijg je als je video aan het eidten bent. Het is gewoon een ASCII text bestandje met pointers naar de echte video file. Voor meer informatie over dit alles, zie de volledige MJPEG HOWTO. Al deze software is onderdeel van de mjpegtools, een set tools voor video-recording, decoding, encoding, filtering en editing onder linux en andere unices (irix, bsd). Momenteel zitten we in beta2 voor de 1.6.0 release, en woensdag komt (hopelijk) beta3/rc1 (release candidate 1) uit (oftewel: wacht s.v.p. tot woensdag voordat je het download ;) ).

Verwijderd

Topicstarter
ziet er allemaal heel leuk uit :9~ , maar van linux heb ik helemaal geen kaas gegeten en als ik dat ook nog uit moet zoeken heb ik helemaal geen vrije tijd meer. |:(
Ik hoop dat windows 's een keer met zoiets op de proppen komt.

Verwijderd

Op zaterdag 13 april 2002 11:37 schreef suikerklontje het volgende:
ziet er allemaal heel leuk uit :9~ , maar van linux heb ik helemaal geen kaas gegeten en als ik dat ook nog uit moet zoeken heb ik helemaal geen vrije tijd meer. |:(
Ik hoop dat windows 's een keer met zoiets op de proppen komt.
De huidige manier om het te doen is vrij moeilijk. Vele van de functies in de mjpegtools hebben al een plaatsje gekregen in de grafische schil ('Linux Video Studio'), en we zijn momenteel bezig om de distributed encoding ook een plaatsje in de GUI te geven. Dit zal nog wel enkele weken/maanden duren, maar als dat af is kun je dus gewoon distributed encoding vanuit een GUI doen...

Maargoed, zover zijn we nog niet ;)