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. |
20th January 2006, 21:02 | #1401 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
CVS Update:
0.2.3.2035 Fixed some x264 CC warnings 0.2.3.2034 Encoders paths have now their own tab in Settings (changes by dimzon) @dimzon: please update the assemblyinfo version and the changelog the next time you commit some changesl, thanks
__________________
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!!! |
20th January 2006, 21:40 | #1402 | Link | |
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
Quote:
And by the way, about the dgdecode path.. it stands to reason that those opening d2v's in MeGUI have created their d2v's in MeGUI.. and unpacked the entire zip to a directory and configured the dgindex path there.. plus then copied the dll. So having it two places would be nothing special but rather the standard scenario.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
|
20th January 2006, 22:03 | #1403 | Link | |
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
@dimzon: when I compile I get two warnings in AudioEncoder telling me the Thread.Resume/Suspend is back? Didn't I eliminate that with my latest CVS update? I cannot open any but the baseAudioConfigurationDialog in the GUI designer.. once again, choice or error? I thought visual inheritance wouldn't deny the ability to use the GUI designer. Here's the full error message I'm getting:
The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: lameConfigurationDialog --- The base class 'MeGUI.baseAudioConfigurationDialog' could not be loaded. Ensure the assembly has been referenced and that all projects have been built. Where is the distinction made if avisynth or besweet is to be used for audio encoding and where can this be configured? And perhaps most importantly.. where do I get neroraw.exe? Another thing: the FAAC config dialog seems to default to CBR but doesn't have a bitrate set.. it should have 128 kbit/s preset. And should it say kbit/s at least for CBR and something for VBR as well? Okay, that's my fault actually.. seems the original didn't have those indications either. last but not least.. I can't seem to encode anything.. here's the log Quote:
Oh, the new jobs are also not being loaded upon startup.. and the commandline (not shown...), seems to be the besweet commandline @update: debugging the code I found that the settings object is not being properly propagated.. the DimzonEncoder seems to think my faac.exe has no path associated with it even though I've properly configured it.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
|
20th January 2006, 22:08 | #1404 | Link | |
developer wannabe
Join Date: Nov 2001
Location: Brooklyn, NY
Posts: 1,211
|
Quote:
|
|
20th January 2006, 22:23 | #1406 | Link |
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
I also believe you got lame's cbr and abr mixed up:
Code:
case BitrateManagementMode.ABR: m_commandLine = "-b " + m.Bitrate + " --cbr -h --silent - \"{0}\""; break; case BitrateManagementMode.CBR: m_commandLine = "--abr " + m.Bitrate + " -h --silent - \"{0}\""; break; And what's up with Code:
if (priority == ProcessPriority.IDLE) m_encoderThread.Priority = ThreadPriority.Lowest;
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
20th January 2006, 22:31 | #1407 | Link |
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
and I have no clue how to debug this thing.. I set a breakpoint in your encoder start, it starts a thread with threadstart parameter encode so I put a breakpoint in the encode method, only to find it never gets there..
Are you cleaning up after the encoder? Because if you create a file in the temp folder.. you better.. the automated cleanup after encoding isn't capable of finding that file. I actually meant to suggest that the file have the same name as the audio, just with avs appended.. so you clearly know whom it belongs to. Also, as far as audio input goes.. enabling everything isn't such a good idea.. most filetypes aren't audio so it should only support those that we can handle. Also, there's already a class wrapping AVIFile.. it would make sense that you use this one and make changes where needed (without breaking current functionality of course.. make sure you test encoding and avisynth script preview) And some more things: I think your encoder should derive from audioencoder, or at least be called from it so there's a common path it goes through.. just like the 3 video encoders and 3 muxers use a common class. That also allows easy switching of encoders. How about using the commandlinegenerator to generate encoder commandlines? Last but not least I have to ask the dreaded question "how well did you test this?" I mean.. encoding doesn't even get to the point where it would fail because the encoder paths are not being propagated..
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
21st January 2006, 10:46 | #1408 | Link | |
BeHappy/MeGUI developer
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
|
Quote:
Isn't possible to get changelog automatically via CVS?
__________________
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 |
|
21st January 2006, 11:49 | #1409 | Link | |||||||||||||||||||
BeHappy/MeGUI developer
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
|
Quote:
By the way Are you shure Your current encoder.pause implementation really pauses external process? I do not think so, maybe I'm wrong? You only pauses StdOut/StdErr reading from it, isn't it. It means encoding still work... Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Code:
System.IO.Path.GetTempPath() + "encode-" + Guid.NewGuid().ToString("N") + ".avs"; Quote:
Code:
All Supported Files (*.mp3,....)| *.mp3... | All files (*.*) | *.* Quote:
Quote:
Code:
public interface IAudioEncoder { void Init(string outputFileName, int samplerate, int channels, int bitsPerSample); void Done(); void Abort(); } Quote:
Quote:
I'm waiting for your response!
__________________
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 Last edited by dimzon; 21st January 2006 at 11:53. |
|||||||||||||||||||
21st January 2006, 12:08 | #1411 | Link | |
Registered User
Join Date: Nov 2001
Location: Germany
Posts: 189
|
Dimzon wrote in his posting above yours:
Quote:
__________________
When birds burp, it must taste like bugs! (Calvin&Hobbes) |
|
21st January 2006, 13:08 | #1412 | Link | ||||||||
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Another few thoughts: every one of my encoders and muxers performs a check if the required files are there (executable).. before putting a line into the script that requires a plugin, in sticking with the current scheme of encoders, it should check if that plugin does exist (you do have to configure your avisynth plugin path in the settings.. so you know where to look - and in addition I think we could read that path from the registry so it would be pre-configured if the MeGUISettings object holds an empty string for that property) Code:
void Init(string outputFileName, int samplerate, int channels, int bitsPerSample); void Done(); void Abort(); Quote:
Quote:
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
||||||||
21st January 2006, 13:36 | #1413 | Link | ||||||||
BeHappy/MeGUI developer
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
|
Quote:
Quote:
Quote:
Quote:
Quote:
Code:
public interface IAudioEncoder { void Init(string outputFileName, int samplerate, int channels, int bitsPerSample); void EncodeBlock(byte[] rawPcmData); void Done(); void Abort(); // stop/pause/etc - TODO } Quote:
Quote:
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 |
||||||||
21st January 2006, 14:11 | #1414 | 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 |
|||
21st January 2006, 15:33 | #1415 | Link | |||
BeHappy/MeGUI developer
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
|
Quote:
Code:
sources behappy.exe behappy.exe.config behappy.extensibility.dll behappy.extension.encoder.nero7aac.exe behappy.oggvorbis.encoder.extension behappy.oggvorbis.encoder.extension.dll downmix.extension enc_aacplus.extension ffmpeg-ac3.extension flac.extension lame.extension nero7.txt nero7aac.extension nicaudio.extension upmix.extension wavpack.extension Quote:
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 Last edited by dimzon; 21st January 2006 at 15:36. |
|||
21st January 2006, 16:51 | #1416 | Link | |
developer wannabe
Join Date: Nov 2001
Location: Brooklyn, NY
Posts: 1,211
|
@dimzon
Quote:
- much shorter/cleaner-looking that GUIDs - filenames will always be in date order, makes finding the right one easy |
|
21st January 2006, 16:55 | #1417 | Link |
clueless n00b
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
well.. in order to be consistent with the naming, the one click encoder uses the input file for avs scripts.. I think the most coherent thing would be that the name of a temporary avs file is the source name plus .avs appended. And there's one problem with moving things to the temp directory.. if something goes wrong, or the user doesn't have the cleanup option enabled.. you'll never find your temporary files as only those who've seen the code know where things go. I'm not happy at all to have applications that fill up my temp directory and force me to clean it on my own.. even if files are not being deleted, at least if I have them all together I'll realize quickly enough what I can get rid of. But perhaps I know too much so that I'm able to identify which files I no longer need?
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
21st January 2006, 17:22 | #1418 | Link |
developer wannabe
Join Date: Nov 2001
Location: Brooklyn, NY
Posts: 1,211
|
Just make it TempDir\MeGUI\<videofilename> + DateTime.Now.Ticks + ".avs"
That gives you everything you want: which input file it affects, proper sorting, and easy for a human to group by job or to blow away the whole directory. |
21st January 2006, 20:24 | #1419 | Link |
BeHappy/MeGUI developer
Join Date: Oct 2003
Location: Moscow, Russia
Posts: 1,727
|
2 all developers
AviSynthWrapper is done. take look http://www.mytempdir.com/399806
__________________
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 |
21st January 2006, 22:59 | #1420 | Link |
Registered User
Join Date: Apr 2005
Posts: 1,740
|
Small CVS update:
(In compile.bat) If there are no commandline arguments, do the same as compile all. I haven't updated the version number, etc, because it doesn't affect anything else. I made this change so that compile.bat can be run without the commandline. |
Tags |
development, megui, not a help thread |
|
|