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. |
18th January 2006, 14:32 | #181 | Link | |
BeHappy/MeGUI developer
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
|
Quote:
__________________
BeHappy - AviSynth-based audio transcoding tool Audio encoding via AviSynth On2 VP7 is great in quality but it is unusable for long-term video backup puposes! Sincerely Yours, MCPD/MCTS |
|
18th January 2006, 14:55 | #182 | Link |
Registered User
Join Date: Jun 2005
Posts: 22
|
@berrinam
Thankyou for the updates noticed them also on the dev thread. One question left. Where can I find 0.2.3.2033, or are I'm just too hasty and they show up at sourceforge at some point? Just eager to try out new version |
18th January 2006, 16:33 | #183 | Link | |
Registered User
Join Date: Mar 2005
Posts: 173
|
I have queued this job:
Quote:
Last edited by max-holz; 18th January 2006 at 16:42. |
|
18th January 2006, 17:33 | #184 | Link | ||
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
Quote:
Quote:
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
||
18th January 2006, 17:50 | #185 | Link | |
Registered User
Join Date: Mar 2005
Posts: 173
|
Quote:
Just a test 1) start the encoding 2) press the pause button at 0.3% of percentage of the encoding 3) after 10 minutes x264 process still eating 50% of CPU's time (P4 3.4 with dual channel memory 1 GB) 3) resume the encoding 4) the percentage of the encoding jumps to 3,4% Sorry Doom9, for me the pause button doesn't function! |
|
18th January 2006, 18:25 | #186 | Link | |
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
well.. I just can't reproduce that on either of my machines (an X2 and a regular P4 without any HT).. it stops shortly after being told to stop.
Quote:
Even if I set 2 threads on my P4, it still pauses.. it takes a while, perhaps 30 seconds (and it encoded a good 300 frames in the meantime), but then it does what it's been told to.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
|
18th January 2006, 18:36 | #187 | Link | |
Registered User
Join Date: Mar 2005
Posts: 173
|
Quote:
I'am not sure but perhaps the ManualResetEvent isn't the best choice; I have thinked about the Semaphore class. Ciao |
|
18th January 2006, 18:53 | #188 | Link |
Registered User
Join Date: Mar 2005
Posts: 173
|
I have found this sample:
Code:
using System; using System.Threading; using System.Timers; using System.Runtime.InteropServices; // Sample application to demonstrate CPU imbalance on Hyper-Threading enabled processors namespace cpuimbalance { public class ParameterBlock { public uint id; public uint threadOption; public uint loops; public ManualResetEvent ev; } sealed public class SampleApp { static ParameterBlock[] blocks; static uint numberOfThreads; static uint threadOption; // VTune API which supports VTPause and VTResume data collection feature. // VTune is started in pause data collection mode until we are ready to begin // event sampling. [DllImport("vtuneapi.dll")] static extern void VTResume(); public static void ThreadProcess(object parameterBlock) { ParameterBlock x = parameterBlock as ParameterBlock; uint sum = 0; uint i = 0; // Wait to be signal before entering infinite loop. x.ev.WaitOne(); // Simple loop to keep thread busy. while (true) { // Add OS kernel call which provides the OS with an opportunity to // context-switch this thread sooner than it may otherwise. if (threadOption == 1) x.ev.WaitOne(); sum = sum + i*i; i += 1; x.loops += 1; } } static void Main(string[] args) { if (args.Length != 2) Console.WriteLine ("Invalid argument: [number of threads] [thread option]"); numberOfThreads = uint.Parse(args[0]); threadOption = uint.Parse(args[1]); blocks = new ParameterBlock[numberOfThreads]; blocks[0] = new ParameterBlock(); blocks[0].id = 0; blocks[0].threadOption = threadOption; blocks[0].ev = new ManualResetEvent(false); for (uint i = 1; i < numberOfThreads ; i++) { blocks[i] = new ParameterBlock(); blocks[i].id = i; blocks[i].threadOption = threadOption; blocks[i].ev = new ManualResetEvent(false); // Queue up worker threads. ThreadPool.QueueUserWorkItem (new WaitCallback(ThreadProcess), blocks[i]); } // Signal threads to begin. for (uint i = 0; i < numberOfThreads; i++) blocks[i].ev.Set(); // Signal VTune Performance Analyzer to begin collecting data VTResume(); // Using main thread as a worker thread. Begin processing ThreadProcess (blocks[numberOfThreads - 1]); // Should never get here since the threads running in infinite loop by design! // Exit controlled by VTune when it terminates this process after data collect. // Alternatively, user can kill the process through Cntrl-C. } } } Also found this article: http://www.yoda.arachsys.com/csharp/multithreading.html Ciao Last edited by max-holz; 18th January 2006 at 19:11. |
18th January 2006, 19:09 | #189 | Link | |
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
Quote:
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
|
18th January 2006, 19:29 | #190 | Link | |
Registered User
Join Date: Mar 2005
Posts: 173
|
Quote:
At later |
|
18th January 2006, 22:33 | #191 | Link |
Registered User
Join Date: Mar 2005
Posts: 173
|
I have done the debug Doom9.
This is the 2 pass 1° pass same settings as described in my above post. In Form1.cs App performs Code:
private void pauseButton_Click(object sender, System.EventArgs e) { if (!this.paused) // we're encoding { paused = true; string error; if (vEnc != null) // currently encoding video vEnc.pause(out error); Code:
public virtual bool pause(out string error) { error = null; return encoder.pause(out error); } Code:
public override bool pause(out string error) { error = null; if (mre.Reset()) return true; else { error = "Could not reset mutex. pause failed"; return false; } } Ciao |
18th January 2006, 23:05 | #192 | Link |
Registered User
Join Date: Sep 2004
Location: Auckland, New Zealand
Posts: 466
|
I'm not sure if this is a feature request or a bug, but here goes
when using the Avisynth script creator, i load in a .d2v file that has a aspect ratio of 4:3. the output resolution vaules in the "resolution crop" section stays at 640x272. shouldn't this value be the correct ratio when the .d2v file is loaded? 4:3 = 640x480 16:9 = 640x352 or maybe a good idea to set the "suggest resolution" to be on for 4:3,16:9 and 1:1 and off for custom? please move this post if it is in the wrong place Last edited by AMED; 18th January 2006 at 23:08. |
18th January 2006, 23:12 | #193 | Link | ||
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
Quote:
Quote:
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
||
18th January 2006, 23:18 | #195 | Link | |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
Quote:
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
|
18th January 2006, 23:28 | #196 | Link | |
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
Quote:
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
|
18th January 2006, 23:34 | #197 | Link | |
Registered User
Join Date: Mar 2005
Posts: 173
|
Quote:
Last edited by max-holz; 18th January 2006 at 23:37. |
|
18th January 2006, 23:58 | #198 | Link |
Registered User
Join Date: Sep 2004
Location: Auckland, New Zealand
Posts: 466
|
here is a audio extension bug i just stumbled across,
how to reproduce on the input tab, set the audio portion to MP3 and set the Video output type to MKV open up the dgindex, load in a vob, and choose "select audio streams to demux" and select any language, but leave track 2 empty, check both check boxes at the bottom of the dgindex window and click queue goto the queue tab and click start and wait for the avisynth script creator to open, don't change anything in this window and click save on the megui window, go back to the input tab and look at the extension of the audio output file, it will be called *.mp4 |
19th January 2006, 09:02 | #199 | Link | |||
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
Quote:
Quote:
Quote:
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
|||
19th January 2006, 09:28 | #200 | Link | |
Registered User
Join Date: Sep 2004
Location: Auckland, New Zealand
Posts: 466
|
Quote:
after fixing the extension of the audio file and i use the autoencode button, i get this error it doesn't seem to do anything because all the files show in the queue tab as they should and encoding of the video, audio, muxing and playback works fine. Last edited by AMED; 19th January 2006 at 09:31. |
|
|
|