Log in

View Full Version : x264 parallel encoder


Pages : 1 2 3 [4]

PatchWorKs
24th January 2007, 11:37
Just a question is it open source ?

If so, i hope to see some kind of collaboration with MediaCoder (http://mediacoder.sourceforge.net/) that is planning (http://mediacoder.sourceforge.net/forum/viewtopic.php?t=1132) a distributed encoding support.

708145
24th January 2007, 12:47
Just a question is it open source ?

If so, i hope to see some kind of collaboration with MediaCoder (http://mediacoder.sourceforge.net/) that is planning (http://mediacoder.sourceforge.net/forum/viewtopic.php?t=1132) a distributed encoding support.

ELDER is GPL and all of ELDER has been integrated to a single package that is distributed in the announce thread (http://forum.doom9.org/showthread.php?p=718465#post718465). Current version is beta6a and does support cluster encoding to up to 128 nodes :)

I've been busy inventing my very own codec lately so I didn't spend much time on ELDER. Of course it would be good to see ELDER integrated into GUIs/frameworks since the GUI I provide is rudimentary at best. :p

bis besser,
T0B1A5

rig99
19th February 2007, 10:21
I'm having trouble getting this to work. All I get is this:

using 2 threads to encode 1 chunks of about 0 frames
warning: less chunks than available threads!
Illegal division by zero at functions.pl line 334.
collecting stage A results ( chunks in total)
stage A import done
stage B jobs issued
collecting stage B results (-1 chunks in total)
stage B completed
stage B imported
1st pass fps = 0
Modification of non-creatable array value attempted, subscript -1 at functions.p
l line 565.
collecting Stage C1 results ( chunks in total)
Stage C generating jobs
stage C jobs issued
collecting stage C results ( chunks in total)
stage C completed
2nd pass fps = 0
total time for encoding: 1171876680 seconds
overall fps = 0
now merging the chunks...
invalid suffix. using .mp4 instead.
"2>" ist syntaktisch an dieser Stelle nicht verarbeitbar.
chunks merged
Illegal division by zero at functions.pl line 937.


I don't understand why it thinks my video has 0 frames.

andrewone
25th April 2007, 19:21
Dear ELDER gurus,
sorry but I do have the same problem.

This is the default.avs script:

AviSource("e:\elder\e.avi")
ConvertToYV12()

And this is the command prompt used to star encoding:

perl functions.pl xvid -a e:\elder\default.avs -m 4 -b 800 -c 64 -o e:\elder\blafu.mp4

Then start with control.bat

The result is:

using 4 threads to encode 1 chunks of about 0 frames
warning: less chunks than available threads!
Illegal division by zero at functions.pl line 334.
collecting stage A results ( chunks in total)
stage A import done
stage B jobs issued
collecting stage B results (-1 chunks in total)
stage B completed
stage B imported
1st pass fps = 0
Modification of non-creatable array value attempted, subscript -1 at functions.p
l line 458.
collecting stage C results ( chunks in total)
stage C completed
2nd pass fps = 0
total time for encoding: 1177524182 seconds
overall fps = 0
now merging the chunks...
invalid suffix. using .mp4 instead.
"2>" ist syntaktisch an dieser Stelle nicht verarbeitbar.
chunks merged
Illegal division by zero at functions.pl line 937.

What am I missing?

Thanks a lot and best regards
Andrea

708145
26th April 2007, 13:27
Dear ELDER gurus,
sorry but I do have the same problem.

using 4 threads to encode 1 chunks of about 0 frames
warning: less chunks than available threads!
Illegal division by zero at functions.pl line 334.
...


Yes I noticed that there are a few cases where ELDER does not detect the number of frames correctly (and the detection returns 0) => It fails to do anything useful.
I did not do anything on ELDER the past half a year but I do have an unfinished version of a new detection algorithm. I'll see what I can do but the weather is just too good :D

bis besser,
T0B1A5

708145
26th April 2007, 13:29
I don't understand why it thinks my video has 0 frames.

I somehow missed that post. But the reply is the same as to the other poster.

paranoid87
16th June 2007, 17:03
hey i get the same problem as andrews!!..why??

708145
18th June 2007, 11:30
hey i get the same problem as andrews!!..why??

Still the same reason as most of you guys have: The video length is detected as 0 frames! To help you guys I will package my incomplete rewrite of the detection. ETA is about a week so hang on :)

bis besser,
T0B1A5

708145
29th June 2007, 15:02
Still the same reason as most of you guys have: The video length is detected as 0 frames! To help you guys I will package my incomplete rewrite of the detection. ETA is about a week so hang on :)


Well, it's been a long "week" but I finally run the last tests of beta6b and notice that there is a lot that broke :(
Here is a intermediate version where -f should be handled well but -s and -b are broken! It's not a trade-off, just a bug that happens when you look at code just once in several months for a couple of minutes :(
I'll announce the link in the first post of this thread when I put it online. :D
Have phun. :D

bis besser,
T0B1A5

Jdot
1st August 2007, 11:54
708145, your tool is great. ver.5 worked for me for xivd 2 pass and x264 crf pass (no gui selectable 2pass). I couldn't get 6 to work at all via gui or cmd line. So i hacked ver 6's additional passes into 5 . I've only tested xvid2pass, x264crf & x264 2pass they all work well for me. Are you still active on development? How many cores can elder support before gains become irrelevant.

I not a coder so I don't understand why you changed the frame detection portion of you code if it already works... :confused:

Thanks again for the great tool :cool:

J