Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 21st November 2006, 13:31   #141  |  Link
708145
Professional Lemming
 
708145's Avatar
 
Join Date: Dec 2003
Location: Stuttgart, Germany
Posts: 359
Quote:
Originally Posted by Revgen View Post
Great! I'll test it eventually. Perhaps this weekend.
There is even more to test: The latest beta5 series of ELDER contains x264 modes. I'll integrate a keyframe accurate 2pass mode soon.
Oh, and there is a fancy GUI as well

bis besser,
T0B1A5
__________________
projects page: ELDER, SmoothD, etc.
708145 is offline   Reply With Quote
Old 6th December 2006, 08:33   #142  |  Link
woah!
Registered User
 
Join Date: Oct 2003
Posts: 435
i have an issue with the import() function within the made up avs scripts

import("default.avs")

is all it loads in and not the path to the avs? so it doesnt find the script and exits.

so my stageA-0.avs has:

import("default.avs")
trim(0,15370)


my cmd log is below:



C:\ELDER>perl ELDER4X264_start.pl -a default.avs -o ELDER.mp4 -p "-b 2 -r 1 -m 4
" -q "-b 2 -r 5 -m 4"
The system cannot find the file specified.
### encode job 363586 set up successfully
### starting encode now

C:\ELDER>perl -w ELDER4X264_acrf.pl -t 363586 -a default.avs -o ELDER.mp4 -p -b
2 -r 1 -m 4 -q -b 2 -r 5 -m 4
detected fps = 59.94
detected frames = 122958
using 4 threads to encode 8 chunks with about 15370 frames each.
Total size will be 525146 bytes.
### starting process 0
### starting process 1
### starting process 2
### starting process 3
### stage A issued

C:\ELDER>perl -w ELDER4X264_c2.pl 363586
####### Stage A Progress: 1/8 chunks done (12%) #######
####### Stage A Progress: 2/8 chunks done (25%) #######
####### Stage A Progress: 3/8 chunks done (37%) #######
####### Stage A Progress: 4/8 chunks done (50%) #######
####### Stage A Progress: 5/8 chunks done (62%) #######
####### Stage A Progress: 6/8 chunks done (75%) #######
####### Stage A Progress: 7/8 chunks done (87%) #######
####### Stage A Progress: 8/8 chunks done (100%) #######
### Stage A completed
### Stage C generating jobs
Illegal division by zero at ELDER4X264_c2.pl line 52.

C:\ELDER>perl -w ELDER4X264_d.pl 363586




i looked at that line and it has this:

$chunktarget = ($totalbytes * $chunksizes[$i]) / $total_chunksize;

then my head exploded...

Last edited by woah!; 6th December 2006 at 08:42.
woah! is offline   Reply With Quote
Old 6th December 2006, 09:42   #143  |  Link
woah!
Registered User
 
Join Date: Oct 2003
Posts: 435
hmmm its now working but i dont really know what i did to solve it heh...

flat lined quadcore:

woah! is offline   Reply With Quote
Old 6th December 2006, 15:40   #144  |  Link
708145
Professional Lemming
 
708145's Avatar
 
Join Date: Dec 2003
Location: Stuttgart, Germany
Posts: 359
Wow! Nice.

I decided to include x264 2pass into beta5 in one of the next releases.

bis besser,
T0B1A5
__________________
projects page: ELDER, SmoothD, etc.
708145 is offline   Reply With Quote
Old 7th December 2006, 02:46   #145  |  Link
woah!
Registered User
 
Join Date: Oct 2003
Posts: 435
its doing 2pass ok right now for me?

i added some default x264 settings to your ELDER4X264_acrf.pl and it is works great with all the settings i need at 210fps total on the 1pass for this setup at 448x336 reizing.

seems i have found my tool of choice thank you





heres the 2pass result of 80fps total:



rate control seems good aswell.

Last edited by woah!; 7th December 2006 at 03:03.
woah! is offline   Reply With Quote
Old 7th December 2006, 11:32   #146  |  Link
708145
Professional Lemming
 
708145's Avatar
 
Join Date: Dec 2003
Location: Stuttgart, Germany
Posts: 359
Quote:
Originally Posted by woah! View Post
its doing 2pass ok right now for me?
seems i have found my tool of choice thank you
rate control seems good aswell.
Yes it was working in beta4 for a long time. But the fact is I abandoned that branch. beta4 is/was only usable to hard core users like you.
OTOH there were vague plans to include it into the beta5 and 6 branch again (and even better ) with a GUI, better rate control, pause/resume feature.
I decided a week ago to actually _do_ that. So you could already try to get beta5 working on your setup since I'll add x264 2pass real soon

bis besser,
T0B1A5
__________________
projects page: ELDER, SmoothD, etc.
708145 is offline   Reply With Quote
Old 10th December 2006, 00:02   #147  |  Link
Al79
Registered User
 
Join Date: Feb 2005
Posts: 22
Quote:
Originally Posted by 708145 View Post
Yes it was working in beta4 for a long time. But the fact is I abandoned that branch. beta4 is/was only usable to hard core users like you.
OTOH there were vague plans to include it into the beta5 and 6 branch again (and even better ) with a GUI, better rate control, pause/resume feature.
I decided a week ago to actually _do_ that. So you could already try to get beta5 working on your setup since I'll add x264 2pass real soon

bis besser,
T0B1A5
Im waiting for that beta, really, thank you very muchhhhhhhhh tobias, ur great
Al79 is offline   Reply With Quote
Old 12th December 2006, 23:57   #148  |  Link
PatchWorKs
Registered User
 
PatchWorKs's Avatar
 
Join Date: Aug 2002
Location: Italy
Posts: 303
Any chance to have a theora/dirac(and, why not, snow)-enabled version ?

Those codecs needs this power !
__________________
HYbrid Multimedia Production Suite project @ GitHub
PatchWorKs is offline   Reply With Quote
Old 13th December 2006, 15:59   #149  |  Link
708145
Professional Lemming
 
708145's Avatar
 
Join Date: Dec 2003
Location: Stuttgart, Germany
Posts: 359
Quote:
Originally Posted by PatchWorKs View Post
Any chance to have a theora/dirac(and, why not, snow)-enabled version ?

Those codecs needs this power !
I experimented with theora already. The missing part is the muxing.
__________________
projects page: ELDER, SmoothD, etc.
708145 is offline   Reply With Quote
Old 15th December 2006, 14:49   #150  |  Link
708145
Professional Lemming
 
708145's Avatar
 
Join Date: Dec 2003
Location: Stuttgart, Germany
Posts: 359
beta5f reunites x264 2pass with the main branch. See first post for a download link.
Enjoy the GUI

PS: x264 3pass and theora encoding will come soon (in beta6).

bis besser,
T0B1A5
__________________
projects page: ELDER, SmoothD, etc.
708145 is offline   Reply With Quote
Old 24th January 2007, 11:37   #151  |  Link
PatchWorKs
Registered User
 
PatchWorKs's Avatar
 
Join Date: Aug 2002
Location: Italy
Posts: 303
Just a question is it open source ?

If so, i hope to see some kind of collaboration with MediaCoder that is planning a distributed encoding support.
__________________
HYbrid Multimedia Production Suite project @ GitHub
PatchWorKs is offline   Reply With Quote
Old 24th January 2007, 12:47   #152  |  Link
708145
Professional Lemming
 
708145's Avatar
 
Join Date: Dec 2003
Location: Stuttgart, Germany
Posts: 359
Quote:
Originally Posted by PatchWorKs View Post
Just a question is it open source ?

If so, i hope to see some kind of collaboration with MediaCoder that is planning 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. 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.

bis besser,
T0B1A5
__________________
projects page: ELDER, SmoothD, etc.
708145 is offline   Reply With Quote
Old 19th February 2007, 10:21   #153  |  Link
rig99
Registered User
 
Join Date: Feb 2007
Posts: 18
I'm having trouble getting this to work. All I get is this:

Code:
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.
rig99 is offline   Reply With Quote
Old 25th April 2007, 19:21   #154  |  Link
andrewone
Registered User
 
Join Date: Apr 2007
Posts: 1
Illegal division by zero

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
andrewone is offline   Reply With Quote
Old 26th April 2007, 13:27   #155  |  Link
708145
Professional Lemming
 
708145's Avatar
 
Join Date: Dec 2003
Location: Stuttgart, Germany
Posts: 359
Quote:
Originally Posted by andrewone View Post
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

bis besser,
T0B1A5
__________________
projects page: ELDER, SmoothD, etc.
708145 is offline   Reply With Quote
Old 26th April 2007, 13:29   #156  |  Link
708145
Professional Lemming
 
708145's Avatar
 
Join Date: Dec 2003
Location: Stuttgart, Germany
Posts: 359
Quote:
Originally Posted by rig99 View Post
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.
__________________
projects page: ELDER, SmoothD, etc.
708145 is offline   Reply With Quote
Old 16th June 2007, 17:03   #157  |  Link
paranoid87
Registered User
 
Join Date: Jun 2007
Posts: 13
hey i get the same problem as andrews!!..why??
paranoid87 is offline   Reply With Quote
Old 18th June 2007, 11:30   #158  |  Link
708145
Professional Lemming
 
708145's Avatar
 
Join Date: Dec 2003
Location: Stuttgart, Germany
Posts: 359
Quote:
Originally Posted by paranoid87 View Post
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
__________________
projects page: ELDER, SmoothD, etc.
708145 is offline   Reply With Quote
Old 29th June 2007, 15:02   #159  |  Link
708145
Professional Lemming
 
708145's Avatar
 
Join Date: Dec 2003
Location: Stuttgart, Germany
Posts: 359
Quote:
Originally Posted by 708145 View Post
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.
Have phun.

bis besser,
T0B1A5
__________________
projects page: ELDER, SmoothD, etc.
708145 is offline   Reply With Quote
Old 1st August 2007, 11:54   #160  |  Link
Jdot
Registered User
 
Join Date: Mar 2002
Posts: 4
I luv elder, but

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...

Thanks again for the great tool

J
Jdot is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 17:37.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.