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. |
19th September 2007, 18:37 | #401 | Link | |
Registered User
Join Date: Apr 2007
Posts: 142
|
Quote:
|
|
19th September 2007, 21:23 | #402 | Link |
Registered User
Join Date: May 2007
Posts: 2
|
Hi!
My idea is to make my home server (100% uptime) coding my content all the time, and distributing it with other computers, when they are online. But I'm not sure if it is possible to shutdown Client PCs safely while main encoding still going... What will happen when x264Farm Server will suddenly lose the connection with one of the Clients? Thanks! |
20th September 2007, 08:12 | #403 | Link | |
Junglist
Join Date: May 2003
Location: Belarus, Minsk
Posts: 298
|
Quote:
well.. you can also start agent on controllerPC.. if there will be any agents available it will use them.. otherwise.. it will encode on it's own...
__________________
Rule Number 6: Concentrate!!! (c)Hercules, Disney "I like to build planes.... in the air" (c) some ADV. tutorials How to Setup agent-based encoding with x264farm (the easy way) |
|
21st September 2007, 04:58 | #404 | Link | |
Registered User
Join Date: Nov 2003
Location: San Diego, CA
Posts: 325
|
Quote:
The whole setup is designed to be able to withstand all sorts of network-related issues, but you will lose all the progress you had on whatever you disconnected. Disconnecting the controller will throw out all the frames that the agents are currently set to encode, which on the first pass will be a fairly sizable chunk of the frames. There is one issue that still may exist... if the controller does not get the signal that the agent has disconnected, it may wait forever to receive the job even if you re-connect the network. The only way around that is to guess when the connection has died, which I have done in the areas where this bug is most likely. I am fairly certain, however, that this issue is still around somewhere.
__________________
"We demand rigidly defined areas of doubt and uncertainty!" - Vroomfondel, H2G2 |
|
24th September 2007, 13:54 | #405 | Link |
Turkey Machine
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
|
Hey hey! Spent the last couple of hours catching up on a lost relic I forgot about after moving back from uni for the summer.
Questions. 1) What network speed is ideally required? I've read that 1 Gbit kicks ass (to quote both Spawn_guy and omion ), but I'm limited in my home setup to 100 Mbit (laptop is 100 Mbit, desktop has 100 Mbit card). Will that suffice? 2) I see there are 2 modes of encoding: controller based and agent based. Which is best for just 2 computers with XP on them? One's a laptop that's dual-core and the fastest computer I have. The other's a Celeron 800 that's quite slow, but reasonably steady. Another note: I will inquire as to whether I can use a networked room at my university to test this out. It would be very interesting to get this working at uni.
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld |
24th September 2007, 15:50 | #406 | Link | ||
Junglist
Join Date: May 2003
Location: Belarus, Minsk
Posts: 298
|
Quote:
well. it keeps spinnin' ... and everything goes wery nice.. i miss the spees i had that time, but i think i can handle it with more new dualCore agents Quote:
but if there will be more agents then it's up to you what to choose ... i prefer agent-based and no agent on the controllerPC ..
__________________
Rule Number 6: Concentrate!!! (c)Hercules, Disney "I like to build planes.... in the air" (c) some ADV. tutorials How to Setup agent-based encoding with x264farm (the easy way) |
||
24th September 2007, 15:54 | #407 | Link | |
Junglist
Join Date: May 2003
Location: Belarus, Minsk
Posts: 298
|
Quote:
__________________
Rule Number 6: Concentrate!!! (c)Hercules, Disney "I like to build planes.... in the air" (c) some ADV. tutorials How to Setup agent-based encoding with x264farm (the easy way) |
|
25th September 2007, 02:06 | #408 | Link | |
Registered User
Join Date: Apr 2007
Posts: 142
|
Quote:
Example. converting 1080i content to 720p with rediculous settings. controller is AMD x2 @ 2.8ghz client 1 is Intel C2D @ 2.0ghz client 2 is AMD x2 @ 2.4ghz client 3 is AMD 3000+ @ 1.8ghz client 4 is Intel CD @ 1.8ghz client 5 is dual p3 500mhz Even though I had 4 reasonably fast clients and 1 slow one, I was only using 10-12% of my gigabit connection during the second pass since it was encoding so slowly (12fps total or so) On the other hand, I converted a dvd to 1400kbps (with medium quality) using the same clients, and it was using >30% of the gigabit connection during the second pass. |
|
26th September 2007, 10:15 | #409 | Link | |
Junglist
Join Date: May 2003
Location: Belarus, Minsk
Posts: 298
|
updated x264 build ;)
'kay.. i'm not doing nothing...
i just decided to build some wierd and heavily patched x264 build.. this one is r680 of Cef's sources + some new pathces from Dark Shikari Quote:
__________________
Rule Number 6: Concentrate!!! (c)Hercules, Disney "I like to build planes.... in the air" (c) some ADV. tutorials How to Setup agent-based encoding with x264farm (the easy way) Last edited by SpAwN_gUy; 26th September 2007 at 10:17. |
|
30th September 2007, 23:39 | #410 | Link |
The Crazy Idahoan
Join Date: Jun 2007
Location: Idaho
Posts: 249
|
Some questions.
haven't read the entire thread, so sorry if any of these questions have been answered.
What is this written in? I see the ml tag but I don't know what language it is. (reading some of the code has not made it any clearer). The AVS script is processed on the controller, correct? What would constitute a speed increase? If you are using a slow network but encoding for a handheld device (IE a PDA) would it be best to resize then distribute? On the other hand, if you are just applying filters but keeping the default resolutions (IE re-encoding a dvd) would it be possible to send the raw video and just filter on the other end? How about when converting an AVI? would it be better to break it apart (is that possible?) and send over the pieces to be processed to save bandwidth? If any of this is already done, sorry for asking . One last question. Would it be possible to use a fast compression algorithm (LZMA possibly) on outgoing video to save a bit more on bandwidth? Provided it is not going to provide huge benifits, but would it bog things down? Thanks, I'm pretty interested in this project and like the Idea. |
1st October 2007, 00:51 | #411 | Link | |
x264 developer
Join Date: Sep 2004
Posts: 2,392
|
Quote:
But LZMA is really slow when you're dealing with the amount of data involved in raw video: 2MB/s on my core2 e6600, which would be 4fps @ 480p. x264farm uses huffyuv. (Ok, I don't know if it's bitstream compatible with huffyuv, but the same algorithms.) |
|
1st October 2007, 08:21 | #412 | Link | ||||
Junglist
Join Date: May 2003
Location: Belarus, Minsk
Posts: 298
|
Quote:
but okay.. once again.. Quote:
Quote:
Quote:
but for "splitting" and "reEncoding" the "some king of avi" you need (you are talking about agent-based encoding) the video-decompression decoder to be installed on evry PC.. or you "don't" when using RAW input Video (i'm currently doing that,..) or using "controller-based" yes, as aku said there is a switch in controller's config.xml to enable huffyuv compression (you can even spcify on which pass (first or second or both) to use it)..
__________________
Rule Number 6: Concentrate!!! (c)Hercules, Disney "I like to build planes.... in the air" (c) some ADV. tutorials How to Setup agent-based encoding with x264farm (the easy way) |
||||
2nd October 2007, 08:14 | #413 | Link |
Junglist
Join Date: May 2003
Location: Belarus, Minsk
Posts: 298
|
BTW guys... if anyone interested.. the new beta of DGIndex is out...
and Yes.. it has "Relative paths" feature ... DGIndex 1.5.0 beta 3
__________________
Rule Number 6: Concentrate!!! (c)Hercules, Disney "I like to build planes.... in the air" (c) some ADV. tutorials How to Setup agent-based encoding with x264farm (the easy way) |
2nd October 2007, 11:36 | #414 | Link | |
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
Quote:
|
|
3rd October 2007, 02:55 | #415 | Link |
Registered User
Join Date: Sep 2006
Posts: 14
|
avs2yuv question
Controller: Vista 64bit
Running the controller and 2 agents. Agents: X264: 32bit AviSynth: 32bit The config for the agent has agentpipe set to 0, but I'm still seeing avs2yuv.exe running, and it typically chews up 300+ MB of memory. Looking at it, it's never consuming any CPU, just a ton of memory. I searched the dump files for "avs2yuv" but I didn't see it. What's using it and how can I stop it? (That is, if I can.) Thanks! |
3rd October 2007, 05:50 | #416 | Link | |
Registered User
Join Date: Nov 2003
Location: San Diego, CA
Posts: 325
|
Quote:
@rhodges: avs2yuv is used by the controller. If you have <agentpipe> set to 0, the controller uses avs2yuv to get the raw data which is then sent to the agent. Also, the controller uses it in the first pass to find good split points. This is probably the one that you're seeing. It only does things when the controller needs more splits, which isn't too often. If avs2yuv is taking up too much memory, add "SetMemoryMax(64)" to the top of you AVS file to limit the frame cache to 64MB (I've noticed that avs2yuv generally uses twice this number in total memory). If that line makes the whole encode go slower then you can make a copy of the AVS file, add "SetMemoryMax(64)" to the top of the copy, then use "--fastavs copyname.avs" in the controller settings. This will make the splitter use a memory-friendly version of the AVS script, while still using the regular one for the actual encoding. @all: As always, I've had way too much stuff to do lately, but I should have the next version of x264farm out very soon (like tomorrow). Also, I was going to release r680 of the controller-friendly x264, but it looks like Cef's builds that SpAwN_gUy posted work fine, so I'm just going to save time and use his builds (And he's got a 64-bit one. Yay!)
__________________
"We demand rigidly defined areas of doubt and uncertainty!" - Vroomfondel, H2G2 |
|
3rd October 2007, 10:10 | #417 | Link | |
Junglist
Join Date: May 2003
Location: Belarus, Minsk
Posts: 298
|
Quote:
i've wrote a simple GUI for agent, that starts agent, restarts it when agent exits, and minimizes to tray. and stores all the info and configs on my share.. and encode goes jst fine when bases are set to Network shares... so.. Relativity - is a bery nice thing to have
__________________
Rule Number 6: Concentrate!!! (c)Hercules, Disney "I like to build planes.... in the air" (c) some ADV. tutorials How to Setup agent-based encoding with x264farm (the easy way) |
|
3rd October 2007, 10:31 | #418 | Link | |
Junglist
Join Date: May 2003
Location: Belarus, Minsk
Posts: 298
|
Quote:
btw.. my build is not the exact r680 .. and not the exact "dark" build.. it's a mix.. and i do have both 64 and 32... so newermind.. looking forward to a new version of x264farm
__________________
Rule Number 6: Concentrate!!! (c)Hercules, Disney "I like to build planes.... in the air" (c) some ADV. tutorials How to Setup agent-based encoding with x264farm (the easy way) |
|
3rd October 2007, 17:40 | #419 | Link |
Turkey Machine
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
|
@omion: a quick compression algorithm I could suggest is QuickLZ. Not sure how this compares to HuffYUV, but I can't see any harm in comparing, if you have the time to of course.
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld |
3rd October 2007, 22:19 | #420 | Link |
Registered User
Join Date: Nov 2003
Location: San Diego, CA
Posts: 325
|
OK, after 3 months, 1.14 is finally out. It has most of the patches which have been discussed recently.
SpAwN_gUy's "Dead?" issue should be fixed. Also, the spacing issue legoman666 had with x264 should be fixed too. More details in the changelog. I was going to have this out last night, but I accidentally did something weird with my version-control system which merged the past two revisions instead of my current working version. I think I fixed it, but there may still be some odd issues that sneaked in. The agent was changed, but only to fix the issue with x264 having spaces. If that issue does not affect you, you don't need to replace the agent. Have fun!
__________________
"We demand rigidly defined areas of doubt and uncertainty!" - Vroomfondel, H2G2 |
|
|