View Full Version : MeGUI: General Questions and Troubleshooting Thread


Pages : [1] 2 3 4 5 6 7 8 9 10

Dayvon
18th January 2006, 23:29
As more and more people (such as myself) are venturing into the wonderful world of MeGUI and AVC codecs, I find myself running into little problems here and there. Being that it is best not to hijack the MeGUI Bug-Report Thread (http://forum.doom9.org/showthread.php?t=105160), it might be time to start up a general questions/troubleshooting/help thread where those with MeGUI experience can lend a hand and noobs can help each other struggle through the learning process. This way us noobs can keep out of the developers hair, and let them develop, not field each persons 20 questions and simple-settings-screw-ups.

______________________________________________________________________________________

So, to kick it all off, I just ran an encode of "The Island" through MeGUI. I used the audio, video, and muxing tool to get a MP4 file. Sounds great except the audio was out of sync :( So I'm not sure what happened. I think it might be a problem with my d2v rip or something, because I ran the movie a few days ago (video only) and tried to mux using YAMB with a AC3->AAC BeLight converted file, and have the same problems. I've never heard of DGIndex screw ups though. So is that the problem, or is it in the AC3->AAC conversion, or the MP4 muxing? Either way has anyone heard of audio sync problems with MeGUI using the auto-encode mode?

And more to the point, does anyone know how best to figure out how much I need to delay the audio? At this point, it might be best to demux the tracks and try to remux them with delay. I don't know, anyone got any ideas?

Doom9
18th January 2006, 23:31
But either way has anyone heard of audio sync problems with MeGUI?
Many times.. one would be AVC in AVC and the delay you get from b-frames, other would be an incorrect fps set during muxing (that's why we have a logfile so that you can see it and reproduce the results even after exiting the software.. if there's no fps set.. mp4box assumes 25 fps). These are the two most common reasons.

Dayvon
18th January 2006, 23:36
So how is it in MeGUI that you set the frame rate for the video before the muxing (using auto-encode mode)? or compensate for the b-frame delays? Or is that stuff yet to be done?

EDIT: I think you meant AVC in AVI.... And I totally understand that.

lexor
18th January 2006, 23:53
when you say you ran an encode, what was the source? if you have DGIndex in your chain and you created a .d2v project file for use with mpeg2source, you'd have audio demuxed for you, and the file name should contain the delay.

having said all that I never re-encode audio, and I use mkvmerge to mux AC3 into mkv and I set delay in mkvmere's main window, but if when you re-encode delay changes, than this is of no help I suppose.

Dayvon
19th January 2006, 00:03
Well I'm trying to use the MP4 container (which is giving no end of troubles...), but to answer your question, yes, I did have audio demux with 0ms in the file name using DGIndex. I tried converting this via BeLight and then muxing to video, and have tried it now using MeGUI's audio tool, and both have the audio and video out of sync upon muxing.

Using YAMB I can see that the video is 02:16:02.662 and the audio is 02:16:01.045__ Does this look like a fps issue or b-frame issue, or something else?

lexor
19th January 2006, 00:20
well remuxing is fast, so just try what doom said about setting fps manually, that should give you a quick answer if it's an fps issue :)

bond
19th January 2006, 00:28
maybe megui's muxer should force the user to set a fps when converting raw .264 to .mp4 so thats finally solved...

Dayvon
19th January 2006, 00:38
Ok. So here's what I did.

I extracted the raw streams from my file (using YAMB) and set them to mux with the video frame rate forced to 23.976. This is the log that I got from Mp4box....

_________________________________________________
AVC-H264 import - frame size 872 x 360 at 23.976 FPS
Adjusting AVC SizeLength to 16 bits

Stream uses B-slice references - max frame delay 2
AAC import - sample rate 48000 - MPEG-4 audio - 6 channels

Saving E:\Temp Video\The Island - RAW Mux.mp4: 0.500 secs Interleaving
______________________________________________________________

But the file still is off sync. I'm gonna try and manually fix the delay, to see if its a progressive delay or an initial delay.

BTW: does everyone have this much trouble with MeGUI, MP4 stuff or am I just cursed, or just stupid?

Richard Berg
19th January 2006, 00:44
What are you using to test? I've sometimes had sync issues using VLC that didn't repro with Haali + ffdshow.

Dayvon
19th January 2006, 00:46
Media Player Classic -> Haali Splitter -> Core AVC -> FFdShow
Media Player Classic -> Haali Splitter -> FFdShow Audio

Dayvon
19th January 2006, 01:22
Ok this is cool... or not.

So I use YAMB to remux the raw h264 and aac streams, and I set the delay for the difference in the file length. Well, needless to say, it seems the delay setting in YAMB is not working. I ran the remux with 1617ms in the delay spot as well as 0ms, and both files are identical. So I don't know what the heck to do anymore.

I'll post again if I come up with something.

JarrettH
19th January 2006, 01:37
There's too many MeGUI threads!!:D

Dayvon
19th January 2006, 03:48
The point of this thread is to cut down on those threads by keeping the general troubleshooting under one thread instead of a new one for every person who doesn't know what to do.

Doom9
19th January 2006, 06:42
maybe megui's muxer should force the user to set a fps when converting raw .264 to .mp4 so thats finally solved...It does just that.. always has.

Morte66
19th January 2006, 17:41
When I set the program location for BeSweet, MeGUI says "Make sure bse_FAAC.dll and faac.exe are in your BeSweet directory (etc)".

I found faac.exe, but does anyone know what the correct version of bse_FAAC.dll is and where to download it?

Dayvon
19th January 2006, 18:27
When I set the program location for BeSweet, MeGUI says "Make sure bse_FAAC.dll and faac.exe are in your BeSweet directory (etc)".

I found faac.exe, but does anyone know what the correct version of bse_FAAC.dll is and where to download it?

If you have the Nero AAC codec (NAAC), then you shouldn't need to worry about it because you can use that. Sorry I don't know where to find the .dll youre looking for.

BTW - I finally figured out how to solve the a/v sync problems. YAMB wouldn't delay the audio when muxing even though it has the option listed, so I checked in BeLight to see if I could set the delay there where the aac file is made. Thankfully, BeLight did make an aac file with the delay and then when I muxed using YAMB it worked great. So temp solution to my problem is fixed.

I'm running another encode right now. Same process, DGIndex -> AVS file -> MeGUI (auto-encode mode) to see if the same problem crops up again, or see if it was just a weird one-time issue.

Morte66
19th January 2006, 21:10
If you have the Nero AAC codec (NAAC), then you shouldn't need to worry about it because you can use that.

I wanted to compare sound quality -- I may not be much of a video encoder, but I'm a hi-fi nut like you wouldn't believe. ;)

Sorry I don't know where to find the .dll youre looking for.

Got the bugger, it's included in the BeLight (http://forum.doom9.org/showthread.php?t=85566) install. Now I can compare Nero to FAAC to iTunes to AutoUV's Ogg encoder.

lexor
19th January 2006, 21:14
Anothe question:

When I load AC3 int meGUI full, is there a way to just make it mux into mkv, it always seem to require bitrate setting and I'm thinking that's for re-encoding. But I never need to mess with audio, so how would I just go about setting it to mux without re-encode?

becouse right now I use mkvmergeGUI to mux ac3 after meGUI completes the video job.

Morte66
19th January 2006, 21:21
Anothe question:

When I load AC3 int meGUI full, is there a way to just make it mux into mkv, it always seem to require bitrate setting and I'm thinking that's for re-encoding. But I never need to mess with audio, so how would I just go about setting it to mux without re-encode?

becouse right now I use mkvmergeGUI to mux ac3 after meGUI completes the video job.

On the "Tools" menu in MeGUI there is a submenu called "Muxer", which does MeGUI's mux control without the encoding part. That will let you set up a job to mux the AC3 audio and MPEG4 video, and put it in MeGUI's job queue. You need to finish the video encode first -- it won't mux files that don't exist yet.

Which brings to mind a feature request...

Doom9
19th January 2006, 21:21
But I never need to mess with audio, so how would I just go about setting it to mux without re-encode?

becouse right now I use mkvmergeGUI to mux ac3 after meGUI completes the video job.Go to the tools menu - muxer - mkv muxer. This is your access ot the mkv muxer. And the next time you're encoding, make use of the autoencoding mode.. then when you're in the window where you define the name of your final file, you can check a checkbox at the bottom.. then when you press queue, the muxer window comes up again, with certain things already filled in.. then you can select your AC3 file.. that way it will only be muxed.

lexor
19th January 2006, 21:24
Go to the tools menu - muxer - mkv muxer. This is your access ot the mkv muxer. And the next time you're encoding, make use of the autoencoding mode.. then when you're in the window where you define the name of your final file, you can check a checkbox at the bottom.. then when you press queue, the muxer window comes up again, with certain things already filled in.. then you can select your AC3 file.. that way it will only be muxed.
soooo... what you think you just explained to me, is that I can't just select ac3 file in main window and check a magical checkbox right next to it that would just make it not re-encode? or better yet ask me for delay and be done with it. (i.e. I hit Queue now)

buggers :(

Morte66
19th January 2006, 21:40
soooo... what you think you just explained to me, is that I can't just select ac3 file in main window and check a magical checkbox right next to it that would just make it not re-encode? or better yet ask me for delay and be done with it. (i.e. I hit Queue now)

On the bright side, this also lets you select subtitles and chapter lists to be muxed in when you kick off the job.

Dayvon
19th January 2006, 22:13
I just finished another auto-encode job and this one is terribly of sync. Something like 5 sec.

I'm not sure what the deal is cause it shouldn't be having this much issue I don't think. Would I be better off trying to do mkv files? I'd really like to do mp4, but if my h264 files keep being made soooo out of sync with the audio, I just don't know. Can anyone think what I'm doing wrong?

Doom9
20th January 2006, 10:15
soooo... what you think you just explained to me, is that I can't just select ac3 file in main window and check a magical checkbox right next to it that would just make it not re-encode?that's right.. it would add a great deal of redundancy since this feature (plus subs / chapters / splitting) since this is what auoto mode is all about. manual mode is just encoding one file.

Can anyone think what I'm doing wrong?not compensating for delay? playback problems? mux the encoded content to another container.. if it's still asynch it's your sources.. if not, it's the way you mux or your playback mechanism

Morte66
20th January 2006, 14:16
Now I can compare Nero to FAAC to iTunes to AutoUV's Ogg encoder.

Some completely unscientific, subjective and personal feelings on the results of re-encoding AC3 192...

- HE-AAC 96 sucks, but it's half the size. You pays your bitrate and you takes your choice. I think this encoder has no place in backup to DVD-R if you care enough about sound to read this post. But it might be a godsend at 64-96kbps if you want to encode a movie to CD size.

- FAAC VBR 100% dropped the size by about a third and sounded pretty close to the original. Workflow was painless. If you want to drop six channels of AC3/DTS to two, or to encode LPCM, this is straightforward with good results. It's better value in "quality per kbps" terms than stereo AC3, but I think I'd just remux the source -- it's a luxury, but no biggie on DVD-R.

- iTunes AAC is better than FAAC, but only a little. If you care about a difference this small, you probably ought to keep the original audio. Workflow is inevitably clunkier with MeGUI since you have to go outside.

- Current Ogg builds (not the obsolete official Vorbis encoder) are about level with AAC for quality@bitrate, but give you the organic tone of Ogg instead of the "gleaming" AAC sound. Each to his own. Again, a bit clunky with MeGUI.

SBaT
20th January 2006, 15:44
Is it normal to have 222 596k memory usage for megui and 110 904k for x264.
x264 memory usage can I understand but megui memory usage sounds quite large :confused: Second pass is going at 9,5%.

Dayvon
20th January 2006, 15:58
not compensating for delay? playback problems? mux the encoded content to another container.. if it's still asynch it's your sources.. if not, it's the way you mux or your playback mechanism

1. The delay compensation needed is detected and set by DGIndex. So I would think that the delay would be listed. The file I rendered had -16ms delay according to the ac3 file name, which was compensated for.

2. I'm sure its not a playback async. I've got other files that are similarly encoded that aren't having this problem and I have been able to use MPC to set the delay factor and find how "off" the audio is.

3. It could be the source DVD... Proof Of Life had a interesting intro piece that I think could have fouled up the encode. Some of the intro (namely the rated R screen) I think was in VOB1_8 and then inserted at the beginning which might have thrown DGIndex, But I know that that was not the case with 'The Island' rip which also had this same problem.

4. The way I muxed was auto-encode on MeGUI :) .

Well, I'm gonna do another rip, not auto-encode mode but manual, and see if that comes out any better.

@Morte -
I'm pretty anal about audio too (i.e. I HATE 128kbps MP3's). I can hear the artifacing really well. So far, I've been very happy using NAAC 5.1 LC AAC at the streaming setting. It doesn't ruin the vocal quality, yet is a bit smaller than the AC3 file itself. If your are using mkv, you might as well just keep the AC3, but if you are going MP4 and want surround, this is the setting I recommend.

Morte66
20th January 2006, 16:10
Is it normal to have 222 596k memory usage for megui and 110 904k for x264.
x264 memory usage can I understand but megui memory usage sounds quite large :confused: Second pass is going at 9,5%.

I've got megui using 23072k doing nothing. Your x264 sounds about right.

SBaT
20th January 2006, 16:37
Second pass status shows now 21% and megui.exe shows now 3156k ??
Taskmanagers PF Usage shows steady 1,03GB usage. Well I guess its just XP loosing memory to something that dosent show up in processes.

Doom9
20th January 2006, 17:01
Well, .NET manages memory an its own, but eating up 200MB.. that's 60MB more than my whole Visual Studio 2005 needs when I'm debugging the application I'm currently working on.

digidragon
20th January 2006, 18:13
When downloading a new build of MeGUI, should we be getting the latest version of x264.exe too? Or is backwards-compatibilty maintained..?

Richard Berg
20th January 2006, 19:03
There's no guarantee that all checkboxes in the MeGUI x264 config page will be supported by old versions of x264. If you're using the same profile as before the upgrade, you should be fine.

digidragon
20th January 2006, 19:59
So to be sure, should we get the latest bulid of x264? Or how do we know which version the MeGUI developers are developing with?

Doom9
20th January 2006, 20:04
Or how do we know which version the MeGUI developers are developing with?Well.. x264 is a small part of MeGUI.. Sharktooth mentions when he bundles a new MeGUI build and what new features it supports. If the x264 changelog of version X mentions a new commandline switch, it simply won't be accessible until a new megui build that includes that switch in the changelog is being made. You can be sure that the megui version that comes bundled with the popular x264 distributions will work together just fine. Personally, I often use older x264 builds (I don't encode except for development purposes and codec comparison).

Unless you're using a build supporting Sharktooth's patches with a CVS build (b0bor), you'll never run into problems. Not sure if that answers your question though. We can't say verision X of megui is compatible with version Y of x264.. megui is compatible with every x264 build.. it's the number of supported options that varies.

DigitalDivide
21st January 2006, 06:48
I see that the latest versions of MeGUI require .net2. Unfortunately I am running Meedio and .net 2 has some issues with Meedio so I have to stick with .net 1.1. Just wondering what is the last version of MeGUI that works under 1.1 and where can I get it? I am currently using version 2.3.1024.

Doom9
21st January 2006, 12:36
I am running Meedio and .net 2 has some issues with Meedio so I have to stick with .net 1.1.And meedio would be what? a .net 1.1 app? Just install the 2.0 framework and leave the 1.1 on your machine. Applications will pick the proper framework all by themselves.. you will have zero problems (trust me.. I do it at work and I have written and have to maintain 1.1 apps along with 2.0 apps).

The Link
21st January 2006, 14:40
Is it intentional that when selecting MP3 as audio codec you can only configure one audio stream? (With Nero AAC you can configure 2)

Doom9
21st January 2006, 14:57
Is it intentional that when selecting MP3 as audio codec you can only configure one audio stream?Yup.. comes from AVI not supporting more than one audio stream (well.. it does, but my muxer can't handle it).

The Link
21st January 2006, 15:13
OK, I understand this problem for the main GUI. But in the AutoEncode dialog this limitation doesn't exist imho because you select the container in which all the encoding results will be muxed into. It's just sad that it doesn't accept virtual inputs, i.e. if there are mp3 encoding jobs already in the queue you can select the outputs to be expected. But I also see users b0rk things because of changing the order of the jobs etc... Seems I have to live with that limitation.

There also seems to be a bug: When MP3 is selected there is only one stream configurable (which is intended), then change to FAAC and there is still only one stream configurable. If you first choose nero aac and then faac you can configure 2 streams for faac.

Poutnik
21st January 2006, 15:25
Is MeGUI_X264 intended for Win98SE user too?
I can use vfw interface and encode by VirtualDub.
When I was curious I downloaded .NET 2.0 ( had previous 1.1 )
and launched MeGUI x264 ( latest Sharktooth rev 406, MeGUI 0.2.3.2033 ),
It worked well ( choosing avs files, config setting, video preview..).
But always crashed when pressing queue button in input tab.
On Sourceforge page for full MeGUI is not win98 mentioned as supported OS.
So I am unsure, if I had something on my PC, or just bad OS...

Crash screen snaphot is uploaded to http://rapidshare.de/files/11495986/MeGUI_crash.jpg.html

Doom9
21st January 2006, 16:18
argh.. the new board upgrade has one major drawback.. move away from a page, come back and you lose what you've typed in quickreply.

Anyway, go to a commandprompt, type set, and look if you have an environment variable called
NUMBER_OF_PROCESSORS=2

(well, the part after the = can vary of course.. this is my X2)

Let me know if you have it, what it says if you have it, or if you don't have it. If you don't have it (I suspect that), go to the settings, and try unchecking "Automatically set number of threads".

And as far as W98 support goes.. if it works, good for you, if it doesn't, tough luck. But other than this thingie here, I suspect it'll work.. how well of course depends on how well the .NET framework works on W98 and what options it supports. It could be that things using multiple threads might not work so well on a system that still halfway bases on a 16 bit core never meant for real multitasking.

DigitalDivide
21st January 2006, 17:13
And meedio would be what? a .net 1.1 app? Just install the 2.0 framework and leave the 1.1 on your machine. Applications will pick the proper framework all by themselves.. you will have zero problems (trust me.. I do it at work and I have written and have to maintain 1.1 apps along with 2.0 apps).

Meedio is a frontend htpc app much like MCE. Unfortunately a number of users there have reported a number of problems with plugins to the main app, they have both on their system or simply net 2. We are waiting for Meedio Dev to give up an update on the issue. Hence why I have to stick with net 1.1 for now until it's addressed. Being my htpc where I play my movies and music etc I don't want to kill anything. I wish I had two pc's.

Is there a place I can find the latest version of MeGUI that works with 1.1?

Doom9
21st January 2006, 17:20
Is there a place I can find the latest version of MeGUI that works with 1.1?No, we don't keep them. I have a hard time believing that having both frameworks installed would cause any problems... an extremely hard time even.

Richard Berg
21st January 2006, 17:26
As I've mentioned before, I have over 15 versions of the framework installed on one of my work machines...it's nothing to worry about.

DigitalDivide
21st January 2006, 17:28
No, we don't keep them. I have a hard time believing that having both frameworks installed would cause any problems... an extremely hard time even.

Well since a number of users have complained about problems right after installing net2 I think I'll stay away from it until everything is worked out. I learnt early on it's better to be safe than sorry when it comes to my htpc. I'll stick with my old version of MeGUI. Thanks anyhow.

Doom9
21st January 2006, 17:31
I'm quite sure those people did what you normally do when installing new software... uninstall the old first.

Poutnik
21st January 2006, 19:06
Anyway, go to a commandprompt, type set, and look if you have an environment variable called
NUMBER_OF_PROCESSORS=2

(well, the part after the = can vary of course.. this is my X2)

Let me know if you have it, what it says if you have it, or if you don't have it. If you don't have it (I suspect that), go to the settings, and try unchecking "Automatically set number of threads".


Well,there was not such enviroment variable.
After unchecking "Automatically set number of threads" I have SUCCESSFULLY added job to queue and than
started to encode.
AVI by VfW plays fine, now to find what plays MP4 ( Neither my favourite MV2Player nor WMP 9 can do it )
Now I wil try MKV ( have Matroska pack been installed )

Thank, oh big lord Doom9 :-)

Doom9
21st January 2006, 19:30
now to find what plays MP4 You need to install the proper filters. For starters.. ffdshow or coreavc for x264 decoding, and the haali splitter.

Morte66
22nd January 2006, 14:11
Can anybody outline the impact of the "Automatic Deinterlace" checkbox in the One Click Encoder dialogues?

If I check it, will I get the sort of deinterlacing I would expect in a Robot4Rip job using DGIndex?

If I don't check it, what happens? Interlaced video gets fed to x264, or...?

Doom9
22nd January 2006, 14:30
Ever used autogk? Automatic Deinterlace does just that.. analyze the source, if it's found to be interlaced, the proper deinterlace filter will be applied. This is not the same as force film (as in robot4rip).. that functionality is provided by the d2v project creator (and the configuration in the settings). The two are mutually exclusive.. if automatic force film finds that force film can be applied, the output is progressive.. so automatic deinterlace won't do anything.. if force film cannot be applied, then automatic deinterlace could deinterlace or ivtc depending on the source properties.

If you use neither functionality and your source is interlaced.. then yes, the encoder will be fed with an interlaced signal.

Morte66
22nd January 2006, 14:51
Ever used autogk? Automatic Deinterlace does just that.. [...]

Thanks. I figure I should turn that on by default for PAL DVD backup, right?

twist3d
22nd January 2006, 15:42
sorry if this is already posted (looked for it and didn't find anything :P) but
there seems to be error in deblock filter selection (if I understanded akupenguin's reply right ;)),
look at my question at http://forum.doom9.org/showthread.php?p=772941#post772941

Doom9
22nd January 2006, 15:51
I figure I should turn that on by default for PAL DVD backup, right?No, only when unsure about the source. E.G. if you know force film has been done, you know the thing is progressive.. if you have a PAL movie and the d2v preview looks progressive.. there's no need to worry either.

Morte66
22nd January 2006, 16:08
No, only when unsure about the source. E.G. if you know force film has been done, you know the thing is progressive.. if you have a PAL movie and the d2v preview looks progressive.. there's no need to worry either.

I'm getting a bit confused, here -- when I set/clear this checkbox I haven't looked at any video at all, and no apps (DGIndex, Avisynth filters, or whatever the heck One Click Encoder uses) have been run.

Maybe it'll become clear if I do a little test... * goes off to play *

Poutnik
22nd January 2006, 22:27
You need to install the proper filters. For starters.. ffdshow or coreavc for x264 decoding, and the haali splitter.
i have FFDshow already installed ( in other case I supposed would not be able do see avi/x264. Haali is next turn .... Thanks for help.

cc979
3rd February 2006, 00:50
i've re-install windows, avisynth and megui and that
i setup megui plugins using "C:\Program Files\GordianKnot\AviSynthPlugins"

but it wants decomb.dll in the "C:\Program Files\AviSynth 2.5\plugins" is that normal or a little bug ?

Dayvon
3rd February 2006, 01:06
Do you have Gordian Knot installed? It looks like it. If you have AVISynth, then you really don't need Gordian Knot anymore, and the fact that you have 2 installed AVISynth programs might be messing up the path assigning. I suggest either unistalling Gordian Knot, or installing AVISynth to the path it's looking for.

Do you need to decomb your source (i.e. is your source interlaced?) ? If not then open the AVS file with Notepad and erase the line that will say something like:

Decomb()

If you do need to decomb, then you have the decomb.dll in the "C:\Program Files\GordianKnot\AviSynthPlugins" folder, so you could make the path that MeGUI is searching for and put the decomb.dll there.

berrinam
3rd February 2006, 06:47
i've re-install windows, avisynth and megui and that
i setup megui plugins using "C:\Program Files\GordianKnot\AviSynthPlugins"Per the MeGUI Guide, 'avisynth plugins' is no longer used.
I think that pretty much answers your question.

MeGUI forces (to some extent, but not completely) you to use the AviSynth plugins directory, because that is generally a good idea -- it avoids bloating your scripts, and makes writing scripts easier, because there are fewer directory paths that you have to worry about.

Do you have Gordian Knot installed? It looks like it. If you have AVISynth, then you really don't need Gordian Knot anymore, and the fact that you have 2 installed AVISynth programs might be messing up the path assigning. I suggest either unistalling Gordian Knot, or installing AVISynth to the path it's looking for.That's not necessary, as I explained above

Do you need to decomb your source (i.e. is your source interlaced?) ?Actually, Decomb is used for the source detection, so it is required anyway. The source detection script is generated differently from all the other scripts, and (at the moment) doesn't allow any flexibility in where decomb.dll is. It must be in the AviSynth plugins directory. End of story.

Dayvon
3rd February 2006, 07:25
Actually, Decomb is used for the source detection, so it is required anyway. The source detection script is generated differently from all the other scripts, and (at the moment) doesn't allow any flexibility in where decomb.dll is. It must be in the AviSynth plugins directory. End of story.

Right, that is assuming you use MeGUI to generate your scripts, and further, you use the detection script. I don't generally, which is why I asked. No need to use source detection if you already did that in DGIndex :D

berrinam
3rd February 2006, 07:41
No need to use source detection if you already did that in DGIndex :DI think I cleared this up for someone else a little while ago: what DGIndex reports is based on the flags in the bitstream headers, whereas MeGUI's source detection actually analyses the video. While the end results will be the same for most DVD sources, those in which the bitstream flags don't match the video content will be detected correctly by MeGUI's source detection, but not by DGIndex. This is often the case with DVB sources, and it can also happen with badly mastered DVDs.

Of course, I'm not saying that you HAVE to use it, I just want to point out that MeGUI's source detection is actually more advanced, and consequently more accurate than DGIndex's.

I merely mentioned source detection, because that is the only place in MeGUI where you HAVE to put Decomb.dll in the AviSynth plugins directory, and it is also the only place where a specific Decomb.dll message will show if you haven't so I thought that it was likely that cc979 was getting his problems from that direction.

Shinjite
3rd February 2006, 08:55
I am wondering if there is a problem with Xvid encoded files with MeGUI 0.2.3.1058? I can't seem to play it with any DS application players like MPC and etc. But I am able to view it with Mplayer without problems, what is the problem with it?

Dayvon
3rd February 2006, 08:56
I think I cleared this up for someone else a little while ago: what DGIndex reports is based on the flags in the bitstream headers, whereas MeGUI's source detection actually analyses the video. While the end results will be the same for most DVD sources, those in which the bitstream flags don't match the video content will be detected correctly by MeGUI's source detection, but not by DGIndex. This is often the case with DVB sources, and it can also happen with badly mastered DVDs.

Of course, I'm not saying that you HAVE to use it, I just want to point out that MeGUI's source detection is actually more advanced, and consequently more accurate than DGIndex's.

I merely mentioned source detection, because that is the only place in MeGUI where you HAVE to put Decomb.dll in the AviSynth plugins directory, and it is also the only place where a specific Decomb.dll message will show if you haven't so I thought that it was likely that cc979 was getting his problems from that direction.

Point taken. Knowledge gained. Doom9 forum rules :thanks:

Dayvon
3rd February 2006, 08:59
I am wondering if there is a problem with Xvid encoded files with MeGUI 0.2.3.1058? I can't seem to play it with any DS application players like MPC and etc. But I am able to view it with Mplayer without problems, what is the problem with it?

Which version of Xvid are you using? I assume xvid_encraw which is under heavy development still. But that info is essential to helping you out! As is what splitter and decoder you have installed (FFdShow? Haali Media Splitter?), and what file container (mp4,avi,mkv) your video is in. More info plz :D

Shinjite
3rd February 2006, 09:10
Which version of Xvid are you using? I assume xvid_encraw which is under heavy development still. But that info is essential to helping you out! As is what splitter and decoder you have installed (FFdShow? Haali Media Splitter?), and what file container (mp4,avi,mkv) your video is in. More info plz :D.


I am using mencoder 20060101 to encode the Xvid file. Output will be in 1:1. FFDShow Nov 29 installed with Haali Media Splitter Nov 25 build and the file is encoded into an .avi file. Encoding is fine but the final output can't be viewed with MPC, WMP and the likes of it. Mplayer can play it though.....

The funny thing is, if I encode it halfway through and aborts the file ( I select don't delete aborted outputs in Megui ) and view the file, the file can be viewed through MPC...:weird:, but a 100% encode can't be viewed

Dayvon
3rd February 2006, 09:23
In mencoder you are encode via VfW or CLI? I don't use mencoder, so I don't know. But I do know that you can't just place Mpeg4 CLI encoded video into AVI files. There are errors when it Directshow tries to render the frames. Try to place your Xvid encode inside a MP4 container using YAMB. This should help you see if its your video, or if its your video in wrong container.

If it does play in MPC after you mux to MP4, then that means that you will have to convert the Xvid file to an AVI compatible file (which I don't know what program does that, maybe AVC2AVI?). If it doesn't play, then your file is borked in some weird way...

That's my best guess, and probably not a good one. But at least a start :o

Shinjite
3rd February 2006, 09:30
Using CLI here but my previous builds all can be viewed properly. This 1 I can't get it to view only (its a DVD rip 1 hour 48 minutes), looks like I need to PM the experts on this and see what is wrong.

Tested with a 1 minute clip, no problem at all....hmmm....hmmmm

Inc
3rd February 2006, 09:30
In regular there are no problems when using mencoders integrated avi muxer.
Show us the generated mencoder commandline in the logfile/window and if its all right ... then try a different mencoderbuild and see if it helps.

Shinjite
3rd February 2006, 09:32
Currently I don't the log with me, in my cousin's place. I will show it later when I get back
I will test it with the Nov 23rd build of mencoder also and see what is wrong with it

Doom9
3rd February 2006, 09:38
Well.. I'm afraid the mencoder muxer isn't all that it's cracked up to be. At least muxing raw asp/avc streams into avi gives you something that only mplayer can play. If encraw finally comes to a stable state, I'm going to replace mencoder with it. BTW, what's your output? AVI or MP4? MP4 shouldn't be a problem, Matroska neither.. but I've heard previous reports of mencoder, XviD and AVI being a problem.. that's why I'm considering other muxers (but those thoughts haven't progressed very far).

BTW, @Dayvon: just because nobody said anything, we didn't miss your icon so let me say thanks at this juncture.

Shinjite
3rd February 2006, 09:50
Well.. I'm afraid the mencoder muxer isn't all that it's cracked up to be. At least muxing raw asp/avc streams into avi gives you something that only mplayer can play. If encraw finally comes to a stable state, I'm going to replace mencoder with it. BTW, what's your output? AVI or MP4? MP4 shouldn't be a problem, Matroska neither.. but I've heard previous reports of mencoder, XviD and AVI being a problem.. that's why I'm considering other muxers (but those thoughts haven't progressed very far).

BTW, @Dayvon: just because nobody said anything, we didn't miss your icon so let me say thanks at this juncture.


The output is in .avi container. The last time I used to encode Xvid via Megui is through MeGUI 0.2.1024 .Net 1.1 and it works fine with Mencoder 20060101. After I changed to 0.2.3.2033, I only tested with AVC encodes. Now after changing to 0.2.3.2058, Xvid encode gives me this problem, revert it back to 0.2.3.2033 gives me the same problem also

Dayvon
3rd February 2006, 09:55
BTW, @Dayvon: just because nobody said anything, we didn't miss your icon so let me say thanks at this juncture.

LOL. I was beginning to wonder. :confused: If you want a higher-rez (640x640) PNG version to down convert from for whatever, let me know. Good to be of any help :)

berrinam
3rd February 2006, 11:14
Could it also be a problem with files bigger than 2GB.... again, the mencoder muxer seems to generate unplayable avi files if they are too big (an ODML issue, but more than that i don't know).

cc979
3rd February 2006, 14:14
Do you have Gordian Knot installed? It looks like it. If you have AVISynth, then you really don't need Gordian Knot anymore, and the fact that you have 2 installed AVISynth programs might be messing up the path assigning. I suggest either unistalling Gordian Knot, or installing AVISynth to the path it's looking for.

Do you need to decomb your source (i.e. is your source interlaced?) ? If not then open the AVS file with Notepad and erase the line that will say something like:

Decomb()

If you do need to decomb, then you have the decomb.dll in the "C:\Program Files\GordianKnot\AviSynthPlugins" folder, so you could make the path that MeGUI is searching for and put the decomb.dll there.

thanks, decomb.dll in here works "C:\Program Files\AviSynth 2.5\plugins" even tho its in "C:\Program Files\GordianKnot\AviSynthPlugins" which is in the settings on megui

Avish
3rd February 2006, 14:21
Hi Guys,

I wanted to know that When should I use the options "Mpeg2 Deblocking" & "Colour Correction" in meGUI? & what dlls should be there in my avisynth plugin folder for using these options?

Gusar
3rd February 2006, 18:14
@ berrinam: It's not an ODML issue, but a MinGW issue. In linux I have no problems creating even 12GB large files with mencoder and they play perfectly in Linux and in Windows, in both VirtualDub (VFW) and DirectShow players. But mplayer compiled with MinGW has problems, it only plays the first GB. According to this (http://mplayerhq.hu/pipermail/mplayer-cygwin/2005-February/001957.html) thread on the mplayer mailing list, one solution is a mplayer compiled with cygwin.

Inc
3rd February 2006, 18:47
I remember when I just added --enable-largefiles to my ./configure line when compiling mencoder (even under MinGW) mencoder resulted encodings with filesizes bigger than 2GB played back properly. Ok, these where mpeg2 encodes, but it really seems that largefiles enabling could be the cure (imho).
EDIT: I also remember of an direct avi (xvid/mp3)mencoder encode I did which resulted in 3GB - no problems.

ChronoCross
3rd February 2006, 22:16
how does one go about using the preview button in the avs creator? It keeps crashing meGUI and I was thinging that perhaps I'm just missing a program.

Shinjite
6th February 2006, 04:21
Could it also be a problem with files bigger than 2GB.... again, the mencoder muxer seems to generate unplayable avi files if they are too big (an ODML issue, but more than that i don't know).


Mine was encoded from DVD. Output was 1.4GB and it was rendered unplayable so I had to use VFW in VDM. Tested with Nov 23rd version of mencoder also has the same problem. So I will conclude for myself that in my case, only large output files in .avi is a no-no. I haven't try out the --enable largefiles command yet though...

berrinam
6th February 2006, 06:41
Hi Guys,

I wanted to know that When should I use the options "Mpeg2 Deblocking" & "Colour Correction" in meGUI? & what dlls should be there in my avisynth plugin folder for using these options?
No extra dlls are required. Mpeg2 deblocking uses dgdecode.dll, which should already be in your plugins directory, and I believe that Colour Correction is part of AviSynth, but I've never actually tried it.

I remember when I just added --enable-largefiles to my ./configure line when compiling mencoder (even under MinGW) mencoder resulted encodings with filesizes bigger than 2GB played back properly. Ok, these where mpeg2 encodes, but it really seems that largefiles enabling could be the cure (imho).
EDIT: I also remember of an direct avi (xvid/mp3)mencoder encode I did which resulted in 3GB - no problems.
I used celtic_druid's builds of mencoder, and I came across some problems with large files (in particular, ffvhuff ones, for the prerender jobs). I got around these problems by adding --no-odml --forceidx to the commandline, but perhaps your approach is the proper way. Could you either try the prerender job to see whether it works and then try it without those tags, or else could you post your build so that I could have a go with it? Thanks

berrinam
6th February 2006, 07:02
how does one go about using the preview button in the avs creator? It keeps crashing meGUI and I was thinging that perhaps I'm just missing a program.
Previewing opens the avs in MeGUI, so it shouldn't require any external programs. Can you post the error message and your AviSynth script that causes this?

Avish
6th February 2006, 07:05
No extra dlls are required. Mpeg2 deblocking uses dgdecode.dll, which should already be in your plugins directory, and I believe that Colour Correction is part of AviSynth, but I've never actually tried it.
Thanks for the reply berrinam, but still the basic question is unanswered... For what purpose they are there...especially Colour Correction? When should I enable them? on what kind of source? are there any set rules for when to enable them?

ChronoCross
6th February 2006, 07:46
Avish to answer your question about color correction go here
http://forum.doom9.org/showthread.php?t=82217&highlight=ColorMatrix

Mpeg2Deblocking enables the psot-processing functions of DGDecode. They are relatively fast and in my opinion should always be enabled as DgDecode has access to special information straight fromt he source that allows for accurate deblocking.

Gusar
6th February 2006, 23:18
I remember when I just added --enable-largefiles to my ./configure line when compiling mencoder (even under MinGW) mencoder resulted encodings with filesizes bigger than 2GB played back properly. Ok, these where mpeg2 encodes, but it really seems that largefiles enabling could be the cure (imho).
EDIT: I also remember of an direct avi (xvid/mp3)mencoder encode I did which resulted in 3GB - no problems.

This got me interested, so I did a MinGW compile of mplayer with --enable-largefiles and did some tests. First I created two files with a little over 2GB with mencoder, one with odml and one without. MPlayer can play both files but can't seek in them (not even with -forceidx) and I'm not sure if it would play the file to the end. Media Player Classic can play the no-odml file normally and crashes on the odml file.

Then I again created two files (one odml and one no-odml) but this time with over 4GB size. MPlayer behaves the same as before. MPC again crashes on the odml file, but on the no-odml file, it only plays a few seconds.

So the limit where MinGW starts to fail is 4GB and --enable-largefiles doesn't have any effect. There's also other interesting stuff, like, when filesize goes over 2GB mencoder starts showing negative projected filesize and negative bitrate.
This is the mencoder output wint MinGW:ODML: Starting new RIFF chunk at 1023MB. 19min 6460mb A-V:0.064 [22609:127]
ODML: Starting new RIFF chunk at 2047MB. 15min 6388mb A-V:0.064 [23155:128]
ODML: Starting new RIFF chunk at -1024MB. 11min -2098mb A-V:0.064 [-7609:128]
ODML: Starting new RIFF chunk at 0MB.em: 8min 0mb A-V:0.064 [-131:128]

Then I did the same tests with a cygwin compile. No problems with the odml files, they play perfectly. The no-odml 4GB file, MPC just plays the first seconds, mplayer creates an index with -forceidx then plays the file ok.
Mencoder output with cygwin:ODML: Starting new RIFF chunk at 1023MB. 19min 6460mb A-V:0.064 [22609:127]
ODML: Starting new RIFF chunk at 2047MB. 15min 6388mb A-V:0.064 [23155:128]
ODML: Starting new RIFF chunk at 3071MB. 11min 6295mb A-V:0.064 [22302:128]
ODML: Starting new RIFF chunk at 4095MB. 8min 6281mb A-V:0.064 [22167:128]

Bottom line: cygwin mplayer/mencoder with odml and everything is perfect.

For anyone interested, get the compiles here: mingw (http://www.stud.uni-graz.at/~vampl/mplayer-mingw-20060206.zip), cygwin (http://www.stud.uni-graz.at/~vampl/mplayer-cygwin-20060206.zip)

Two notes about the cygwin version: a) it looks for the mplayer config files in c:\Documents and Settings\<username>\.mplayer (it will create the folder if it doesn't exist) b) I had problems with xvid and x264 so this version doesn't support them. If there's interest in a fully working cygwin compile I might dig into the problem.

ChronoCross
7th February 2006, 06:02
@Everyone
I'm also working on a mencoder version from MingW. I'll let you know how things turn out.

Inc
7th February 2006, 19:38
I used celtic_druid's builds of mencoder, and I came across some problems with large files (in particular, ffvhuff ones, for the prerender jobs). I got around these problems by adding --no-odml --forceidx to the commandline, but perhaps your approach is the proper way. Could you either try the prerender job to see whether it works and then try it without those tags, or else could you post your build so that I could have a go with it? Thanks

Here I compiled you an CPU-generic-all-included binary of mencoder (http://www.mytempdir.com/436826) out of the latest mencoder and libavcodec CVS snapshots (Feb/02/2006) via MinGW32.
Its a 3.6MB 7z file where the extracted size is 10.7MB, so many stuff is included in that build.
I DO hope that avisynth demuxing is included while compiling, so do a test as Im here at work and have no opportunities to test it right now..

The included common additional libs also used for compiling where taken from here:
http://oss.netfarm.it/mplayer-win32.php
(like the x264, faac, xvidcore etc)

... compiled using:
./configure --enable-runtime-cpudetection --enable-largefiles --enable-static --confdir=mplayer --enable-win32 > configure_output.txt
make

The 7z link above also includes a detailed list "configure_output.txt" where you can see what has been detected&included.

As said the last time I used mencoder where files over 2Gigs resulted is almost 1 year ago when I ued mencoder for mpeg2 encoding tests.
There I used the same configure line for compiling, means including --enable-largefiles and the resulted 2.5-3GB m2v encoded and played back properly.



EDIT: Uops. Gusar seems now finally I saw your post :)
And yes now I remember at that time beside MinGW ones I also tested on CygWin builds!
Could you please also post your encoding commandline.

I had problems with xvid and x264 so this version doesn't support them
Did you also build these LIBs under CygWin from the latest x264/xvid source snapshots or did you take ready builded ones?

Schnoodledorfer
8th February 2006, 03:00
Per the MeGUI Guide,
"'avisynth plugins' is no longer used."
I think that pretty much answers your question.


The version at http://megui.sourceforge.net/megui-guide.html
doesn't have that. That's what I was going by and ran into the same problem (with dcomb.dll). :(

If I understand what you're saying (I'm not sure I do), MeGUI will use the plugins directory that's referenced by plugindir2_5 in the HKLM\SOFTWARE\AviSynth registry key (which is probably = "C:\Program Files\GordianKnot\AviSynthPlugins" for most people), with one exception. The exception is that dcomb.dll must be in the plugins subdirectory of the AviSynth install location (normally C:\Program Files\AviSynth 2.5\plugins) for the (optional) purpose of checking for interlacing. Whatever is specified in the avisyth plugins entry of Program Path tab (under Tools/Settings) is completely ignored. (MeGUI just assumes AviSynth has been installed properly and can find its own plugins.) Is that what you mean? And when you say "avisynth plugins" you always mean the the AviSynth 2.5\plugins\ folder, not the GordianKnot\AviSynthPlugins\ folder, right? :confused:

If that's true, then unfortunately, it didn't work for me because the noise filters were in the GordianKnot\AviSynthPlugins\ folder, but plugindir2_5 was pointing at the AviSynth 2.5\plugins\ folder. (This in addition to my original problem with the decomb filter.) I suppose this is more of a Gordian Knot / AviSynth setup issue, though.

It probabably would be a good idea to keep the guide at http://megui.sourceforge.net/megui-guide.html
up to date. I don't know if you have access to it or not. I'm not sure the one inside the forum is of much value, especially since the forum search engine is so bad. (I only found the one inside the forum by using Google.) It might help if it was made sticky. Perhaps you could ask Doom9 or a moderator to do that for you.

berrinam
8th February 2006, 07:05
The version at http://megui.sourceforge.net/megui-guide.html
doesn't have that. That's what I was going by and ran into the same problem (with dcomb.dll). :( Weird.... I knew it was out of date, but I didn't realise I had deleted that.

If I understand what you're saying (I'm not sure I do), MeGUI will use the plugins directory that's referenced by plugindir2_5 in the HKLM\SOFTWARE\AviSynth registry keyYes, that is the registry key. However, it is not used by MeGUI, but it is actually used by AviSynth. That key defines the folder that AviSynth will look in to autoload plugins, which means that the plugins in that fo.der do not need to be loaded with loadplugin(). THAT is why MeGUI encourages users to use it, because it simplifies the AviSynth scripts.
(which is probably = "C:\Program Files\GordianKnot\AviSynthPlugins" for most people)From where did you draw that conclusion? AviSynth sets it up as "C:\Program Files\AviSynth\plugins" and I Gordian Knot doesn't change it. I have Gordian Knot installed, yet it still shows as "C:\Program Files\AviSynth\plugins"
Also, why would MeGUI rely on the Gordian Knot plugins folder when Gordian Knot isn't used by MeGUI? The purpose of MeGUI is to replace Gordian Knot.
, with one exception. The exception is that dcomb.dll must be in the plugins subdirectory of the AviSynth install location (normally C:\Program Files\AviSynth 2.5\plugins) for the (optional) purpose of checking for interlacing. I hope you see now, that this is not an exception.

Whatever is specified in the avisyth plugins entry of Program Path tab (under Tools/Settings) is completely ignored. (MeGUI just assumes AviSynth has been installed properly and can find its own plugins.) Is that what you mean?Yep, but not that 'it can find its own plugins', but that the user has put the plugins in the right place.

And when you say "avisynth plugins" you always mean the the AviSynth 2.5\plugins\ folder, not the GordianKnot\AviSynthPlugins\ folder, right? :confused:Yes. Once again, why would MeGUI use GK's plugins folder? It really has caused a fair bit of confusion with GK having its own plugins folder. It would have been much easier if GK just dumped all of its plugins in the AviSynth plugins folder, and then no LoadPlugin() calls would have to be made. However, the devs probably did it that way so that they could avoid any problems with version clashes between plugins.

I suppose this is more of a Gordian Knot / AviSynth setup issue, though.It's not an issue. Leave GK out of the equation, put the plugins in the right place, as directed by my guide, and you have no problems at all.

It probabably would be a good idea to keep the guide at http://megui.sourceforge.net/megui-guide.html
up to date. I don't know if you have access to it or not.Well, I'm actually planning to take it back down. It is much easier to edit forum code than html, and there's no point in trying to keep both up-to-date. I only set up the web one because the forum guide didn't hold enough, but that issue is now fixed.
I'm not sure the one inside the forum is of much value, especially since the forum search engine is so bad. (I only found the one inside the forum by using Google.) It might help if it was made sticky. Perhaps you could ask Doom9 or a moderator to do that for you.The guide has been a sticky from the day after I wrote it. If someone not on Doom9's forum wants to access it, then they would use Google anyway, and anyone on Doom9's forum should know to look at the stickies.

ChronoCross
8th February 2006, 07:09
God damnit. Compiling mencoder in cygwin is like trying to push a 2 ton rock. Of course I can compile it with all the custom options that I want. cept the one I really need doesn't fricken work. for some reason it doesn't understand pathnames. When compiling for mencoder you need xvid(done) x264(done) libavcodec(done) and support for win32 dll's(fails). It just cannot fidn those dll's even though the pathname I'm suing is the default one. it seems as though the only way to get lossless to work in mencoder is to use cygwin but you can't pass avisynth scripts through it unless you have win32 dll's enabled. A never ending problem. after 4 hours of google searches to no avail I am giving up for the time being. if anyone has any ideas say so in this thread or pm me.

Negi
8th February 2006, 07:53
In MeGui settings in the latest dev build, there is a box that says AVISynth Plugins, but the guide says the box is non-functional. Does it actually do anything? Also, in the Dev Build, you get a lot of (command not found) errors whenever you use the audio encoding dialog box and the oneClick encoding box, and the (mux audio and subtitle box).

Doom9
8th February 2006, 09:20
but the guide says the box is non-functional.The guide is right.. it does nothing. /me makes a mental note to remove it...

stax76
8th February 2006, 10:11
Well, I'm actually planning to take it back down. It is much easier to edit forum code than html, and there's no point in trying to keep both up-to-date. I only set up the web one because the forum guide didn't hold enough, but that issue is now fixed.

I'm using this code in my productivity scripts and utils:

Public Class Scripting
Public Function GetVBBCode(ByVal htmlcode As String) As String
htmlcode = htmlcode.Replace("<p>", "")
htmlcode = htmlcode.Replace("</p>", "")
htmlcode = htmlcode.Replace("<ul>", "")
htmlcode = htmlcode.Replace("</ul>", "")
htmlcode = htmlcode.Replace("<li>", " ")
htmlcode = htmlcode.Replace("</li>", "")
htmlcode = htmlcode.Replace("<b>", "")
htmlcode = htmlcode.Replace("</b>", "")
htmlcode = htmlcode.Replace("<strong>", "")
htmlcode = htmlcode.Replace("</strong>", "")
htmlcode = htmlcode.Replace("&quot;", """")
htmlcode = htmlcode.Replace("&nbsp;", " ")
htmlcode = htmlcode.Replace("<h1>", vbCrLf + "")
htmlcode = htmlcode.Replace("</h1>", "" + vbCrLf)
htmlcode = htmlcode.Replace("<h2>", vbCrLf + "")
htmlcode = htmlcode.Replace("</h2>", "" + vbCrLf)

Return htmlcode
End Function
End Class

dimzon
8th February 2006, 11:59
The guide is right.. it does nothing. /me makes a mental note to remove it...
let's keep this textbox as readonly (we can show actual AviSynth plugin folder here from registry) for information puposes

Avish
8th February 2006, 12:45
Avish to answer your question about color correction go here
http://forum.doom9.org/showthread.php?t=82217&highlight=ColorMatrix

Mpeg2Deblocking enables the psot-processing functions of DGDecode. They are relatively fast and in my opinion should always be enabled as DgDecode has access to special information straight fromt he source that allows for accurate deblocking.
Thanks ChronoCross for the reply :)

BTW I just installed the x264 revision 423 & found out that it contains MeGUI version 0.2.3.2068. I wanted to ask Devs that is this version usable for us normal users or is it another one of "only for Devs" version?

Schnoodledorfer
8th February 2006, 18:44
From where did you draw that conclusion? AviSynth sets it up as "C:\Program Files\AviSynth\plugins" and I Gordian Knot doesn't change it.
I assumed that because I thought GordianKnot\AviSynthPlugins\ was where the plugins were autoloaded from. I assumed GK included that folder so that the plugins in it would automatically be available. I checked the registry later and yes, it points to AviSynth\plugins\ instead. I really wish GK called AviSynthPlugins something like AviSynth_plugin_repository or _vault or something like that. It would make the intent more clear.

It would have been much easier if GK just dumped all of its plugins in the AviSynth plugins folder, and then no LoadPlugin() calls would have to be made. However, the devs probably did it that way so that they could avoid any problems with version clashes between plugins.

This is from http://www.avisynth.org/AviSynthPlugins:
It is possible to put all plugins and script files with user-defined functions or (global) variables in a directory from where all files with the extension .AVS and .DLL are loaded at startup, unloaded and then loaded dynamically as the script needs them.
I guess you wouldn't want dlls you didn't normally use to be loaded and unloaded each time AviSynth starts. (But maybe programs normally do this and it's no big deal - I'm not a professional programmer, so I don't know.) In any case, it makes AviSynth crash. (I tried it.) That's a pretty good reason. ;)

And when you say "avisynth plugins" you always mean the the AviSynth 2.5\plugins\ folder, not the GordianKnot\AviSynthPlugins\ folder, right? Yes.Wrong! ;) I finally figured out what you meant by: "'avisynth plugins' is no longer used" in the guide. In that case you were referring to the entry on the "Program Paths" tab of MeGUI's settings, not any particular folder. See below for a suggestion on how to clarify that.

Thanks for fixing up the guide at sourceforge. It's best that there is only one version.

I don't know how I missed the MeGUI guide being a sticky. I was probably looking in the wrong forum. :o

Because of the confusion over the meaning of "avisynth plugin", which seems to have affected more than just me, I would recommend making these changes to the guide:

Remove "avisynth plugins' is no longer used." Then add (near the bottom of your first post, just above "Pre-rendering of AviSynth scripts..." the following paragraph:

[I]These dlls will automatically be loaded by avisynth if they are placed in the folder that contains the plugins that AviSynth autoloads (normally C:\Program Files\AviSynth 2.5\plugins). If you wish to use a plugin stored elsewhere (such as in the "AviSynthPlugins" folder created by GordianKnot), it is necessary to include a call to the LoadPlugin() function inside the script. This can be added to the script by using the "Load dll" feature on the Edit tab of the AviSynth Script Creator tool. The script can be manually edited before saving as well. See the "AviSynth templates" section in the next post for a way to automate the creation of customized scripts. (Edited to fix minor typo)

Also, I suggest changing: "You also need NicAudio.dll and mpasource.dll in your AviSynth plugins folder. " to "You also need to place NicAudio.dll and mpasource.dll into the folder that contains the plugins that AviSynth autoloads (normally C:\Program Files\AviSynth 2.5\plugins)." From then on changing "avisynth plugins folder" to "the folder that contains the plugins that avisynth autoloads". That's more verbose, but it's closer to the way it is said on avisynth.org.

One final thing I would perfer would be to change every use of "the AviSynth script creator" to "the AviSynth Script Creator tool". That to me sounds much more like a tool that would be inside MeGUI, rather than some external thing. I know I was confused at one point yesterday on this issue, but that may have been triggered by another post elsewhere. (I was confused about plenty of things yesterday!) :rolleyes:

The guide is right.. it does nothing. /me makes a mental note to remove it... Actually, it does do something, just not much. It provides the default location to find the dlls if the user uses the Load DLL function on the AviSynth Script Generator. (I just figured that out!) If you disable this, it would be nice if MeGUI would at least remember where a user loaded an external plugin from and use that the next time as the default.

let's keep this textbox as readonly (we can show actual AviSynth plugin folder here from registry) for information puposes
I think that would still create confusion, unless you label it "Autoloaded AviSynth plugins" or something like that. As it is now, it points elsewhere -- to the default location for external non-autoloaded plugins.

How about also moving up the "Load DLL" row on the Edit tab of the AviSynth Script Generator, or better yet, display something more descriptive. If you don't know what's going on, "Load DLL" won't mean anything to you. Perhaps something like "Manually load dlls for external AviSynth plugins". Perhaps you could draw an option group (that's what it's called in VBA, anyway) around it and use that as the label.

This is nitpicky perhaps, but the actual window has the title "AviSynth Script Generator", but the menu item says "AviSynth Script Creator". That could cause confusion in a discussion over whether someone meant an external tool vs. MeGUIs tool, I suppose.

I don't know if this qualifies as a "feature request" or not. I can say something in the right place, if it would help.

Morte66
15th February 2006, 12:18
I encoded/muxed some mp4 files using my special "user is sleepwalking" profile, and somehow ended up with the wrong aspect ratio so they play at about 2:1 instead of 16:9.

So, um, what do you guys use when you want to change the SAR of an existing mp4 file with minimal fuss?

Richard Berg
15th February 2006, 18:26
mp4box can change the SAR in-place.

nufan292
18th February 2006, 16:27
I'm hoping someone can help this newb that is me, with MeGUI. I have everything installed and I believe in the right places as well. And all the files are pointing to the right locations in the setup. The problem is that after ripping a dvd, and doing the d2v creation and avs creation steps, the encode part seems to fail. Here's a log from MeGUI:
Starting job job1 at 12:31:05 AM
Job is a dgindex job. dgindex commandline:
"C:\Program Files\AviSynth 2.5\plugins\DGIndex.exe" -AIF=[E:\SERENITY\AUDIO_TS\VTS_01_1.VOB] -OF=[E:\SERENITY\AUDIO_TS\VTS_01_1] -exit -OM=1 -TN=1
successfully set up dgindex
Processing ended at 12:33:53 AM
----------------------------------------------------------------------------------------------------------

Log for job job1


----------------------------------------------------------------------------------------------------------
Generating jobs. Desired size: 1153433600 bytes
Setting desired size of video to 1153433600 bytes
Starting job job2-1 at 12:36:52 AM
Job is an audio job. Commandline:
-core( -input "E:\SERENITY\AUDIO_TS\VTS_01_1 T01 3_2ch 448Kbps DELAY 0ms.ac3" -output "E:\SERENITY\AUDIO_TS\VTS_01_1 T01 3_2ch 448Kbps DELAY 0ms.mp4" -logfile "E:\SERENITY\AUDIO_TS\VTS_01_1 T01 3_2ch 448Kbps DELAY 0ms.besweet.log" ) -azid( -q 100 ) -ota( -g max )
successfully started encoding
Processing ended at 1:07:40 AM
----------------------------------------------------------------------------------------------------------

Log for job job2-1

Channels=6, BitsPerSample=16, SampleRate=48000Hz
C:\Program Files\MeGUI-0.2.3.2089-Dev\faac\faac.exe -q 100 -o "E:\SERENITY\AUDIO_TS\VTS_01_1 T01 3_2ch 448Kbps DELAY 0ms.mp4" -P -X -R 48000 -B 16 -C 6 --mpeg-vers 4 -Freeware Advanced Audio Coder
FAAC 1.24.1 (May 17 2005) UNSTABLE

Remapping input channels: Center=3, LFE=4
Quantization quality: 100
Bandwidth: 16000 Hz
Object type: Low Complexity(MPEG-4) + M/S
Container format: MPEG-4 File Format (MP4)
Encoding - to E:\SERENITY\AUDIO_TS\VTS_01_1 T01 3_2ch 448Kbps DELAY 0ms.mp4
frame | elapsed | play/CPU
334810 | 1845.8 | 3.87x



----------------------------------------------------------------------------------------------------------
job job2-1 has been processed. This job is linked to the next job: job2-2
this series of jobs starts with an audio job and is followed by regular twopass video jobs
The audio job is named job2-1 the first pass job2-2 and the second pass job2-3
The second pass job has a desired final output size of 1153433600 bytes and video bitrate of 700 kbit/s
The size of the first audio track is 273216042 bytes
Desired video size after substracting audio size is 859587Setting the desired bitrate of the subsequent video jobs to -2147483648 kbit/s
Starting job job2-2 at 1:07:41 AM
Job is a video job. encoder commandline:
--pass 1 --bitrate -2147483648 --stats "E:\SERENITY\AUDIO_TS\Serenity.stats" --analyse p8x8,b8x8,i4x4 --progress --no-psnr --output NUL "E:\SERENITY\AUDIO_TS\Serenity.avs"
successfully started encoding
Processing ended at 1:07:43 AM
----------------------------------------------------------------------------------------------------------

Log for job job2-2


----------------------------------------------------------------------------------------------------------
job job2-2 has been processed. This job is linked to the next job: job2-3
Starting job job2-3 at 1:07:43 AM
Job is a video job. encoder commandline:
--pass 2 --bitrate -2147483648 --stats "E:\SERENITY\AUDIO_TS\Serenity.stats" --analyse p8x8,b8x8,i4x4 --progress --no-psnr --output "E:\SERENITY\AUDIO_TS\Serenity.mp4" "E:\SERENITY\AUDIO_TS\Serenity.avs"
successfully started encoding
Processing ended at 1:07:43 AM
----------------------------------------------------------------------------------------------------------

Log for job job2-3

desired video bitrate of this job: -2147483648 kbit/s - obtained video bitrate: NaN kbit/s
----------------------------------------------------------------------------------------------------------
job job2-3 has been processed. This job is linked to the next job: job2-4
Starting job job2-4 at 1:07:43 AM
Job is a mux job. Commandline:
-add "E:\SERENITY\AUDIO_TS\Serenity.mp4" -add "E:\SERENITY\AUDIO_TS\VTS_01_1 T01 3_2ch 448Kbps DELAY 0ms.mp4" -new "E:\SERENITY\AUDIO_TS\Serenity-muxed.mp4"
calling setup failed with error Could not find mp4box.exe in the path specified: mp4box.exe Please specify the proper path in the settings
Starting job job2-4 at 7:26:58 AM
Job is a mux job. Commandline:
-add "E:\SERENITY\AUDIO_TS\Serenity.mp4" -add "E:\SERENITY\AUDIO_TS\VTS_01_1 T01 3_2ch 448Kbps DELAY 0ms.mp4" -new "E:\SERENITY\AUDIO_TS\Serenity-muxed.mp4"
calling setup failed with error Could not find mp4box.exe in the path specified: mp4box.exe Please specify the proper path in the settings
Any help would be appreciated, thanks.

Sharktooth
18th February 2006, 17:06
ensure you have properly set the path to needed programs in the megui settings (expecially x264 and mp4box)...

nufan292
18th February 2006, 17:57
Yup mp4box.exe was pointing wrong. Shold I kick myself now, or later.

nufan292
18th February 2006, 18:01
Ok, I just tried encoding the video only and this is what the log says:
Log for job job1

desired video bitrate of this job: 700 kbit/s - obtained video bitrate: NaN kbit/s
And I triple checked that x264 was pointing correctly. In the queue it shows up as done. Being a newb sucks.

dimzon
19th February 2006, 12:47
Ok, I just tried encoding the video only and this is what the log says:

And I triple checked that x264 was pointing correctly. In the queue it shows up as done. Being a newb sucks.
:readrule: :readfaq: :logfile: :script:

Doom9
20th February 2006, 12:54
what's wrong with this picture:
Starting job job2-2 at 1:07:41 AM
...
Processing ended at 1:07:43 AMWithout any knowledge whatsoever, 2 seconds is pretty darned fast for encoding time, don't you think? So, even though you know nothing of megui and x264, you should reasonably conclude that something went wrong during video encoding.. it just never takes two seconds.. never ever ever ever ever. I mean your audio took 30 minutes, and generally video is a lot more complex than audio. So then you could for instance head over to the bug report thread (http://forum.doom9.org/showthread.php?t=105160) and look at point to be done. 1) not found, 2) you did that, 3) you forgot that, lucky for you the issue here is rather self-explanatory. 5) you forgot about that, 6) I don't see a build number anywhere (/me makes a mental note to consider putting the build number in the log.. it's such a little thing but people just love to forget it.. it's pathological really), 7) it's not megui but you couldn't know that, that is, unless you performed 8). It's really simple. If something doesn't work out, perform steps 1 to 8 and make your post thereafter. Nobody can guarantee that this will help, but experience shows that in a large portion of all cases, it allows to pinpoint the problem without further ado, and that saves everyone time and effort.

spunch
22nd February 2006, 00:28
Did anyone ever hear of files spontaneously disappear when using the oneclick encoder, right after doing the muxing job? I can't figure this thing out. I'm probably missing something, new to MeGUI and all.

I know everything goes well untill the muxing job, I can even pause the job and watch the video, but as soon as it gets to muxing the file with the *_Video.mkv prefix, it disappears and nothing else seems to be outputted.

I tried:
MeGUI-0.2.3.2063-Stable
MeGUI-0.2.3.2092-Dev
MeGUI.NETv2.0_Bins_0.2.3.2033

The rest of my toolbox:
lame3.98a3
MP4Box_20060217
mkvtoolnix-unicode-1.6.5
x264-Lite_r408
MeGUI-x264_generic_profiles_v20


----------------------------------------------------------------------------------------------------------
job job2-1 has been processed. This job is linked to the next job: job2-2
Starting job job2-2 at 00:48:02
Job is a mux job. Commandline:
-o "F:\videoshit\dad.mkv" -A -S "F:\videoshit\dad_Video.mkv" --no-clusters-in-meta-seek
successfully set up muxer
Processing ended at 00:48:02
----------------------------------------------------------------------------------------------------------

Log for job job2-2


----------------------------------------------------------------------------------------------------------

berrinam
22nd February 2006, 02:10
Did anyone ever hear of files spontaneously disappear when using the oneclick encoder, right after doing the muxing job?How about the option in Settings which says 'delete intermediate files after successful encoding', or something like that? My guess is that you have that checked, so after the mux job is completed, the intermediate files are deleted, of which *_Video.mkv is one.

It would normally leave the muxed file, but judging by this:
Starting job job2-2 at 00:48:02
...Processing ended at 00:48:02
the mux job didn't complete (nothing takes 0 seconds).

The problem is that this job isn't properly being detected as errored. You need to work out what is wrong with your mkv muxing. Check if it is set up properly, etc.

nufan292
23rd February 2006, 06:07
what's wrong with this picture:
Without any knowledge whatsoever, 2 seconds is pretty darned fast for encoding time, don't you think? So, even though you know nothing of megui and x264, you should reasonably conclude that something went wrong during video encoding.. it just never takes two seconds.. never ever ever ever ever. I mean your audio took 30 minutes, and generally video is a lot more complex than audio. So then you could for instance head over to the bug report thread (http://forum.doom9.org/showthread.php?t=105160) and look at point to be done. 1) not found, 2) you did that, 3) you forgot that, lucky for you the issue here is rather self-explanatory. 5) you forgot about that, 6) I don't see a build number anywhere (/me makes a mental note to consider putting the build number in the log.. it's such a little thing but people just love to forget it.. it's pathological really), 7) it's not megui but you couldn't know that, that is, unless you performed 8). It's really simple. If something doesn't work out, perform steps 1 to 8 and make your post thereafter. Nobody can guarantee that this will help, but experience shows that in a large portion of all cases, it allows to pinpoint the problem without further ado, and that saves everyone time and effort.
Will do this weekend, thanks for the response.

nufan292
27th February 2006, 04:18
Well, I was bored so I tried a newer build of MeGuii and guess what . . . got some love. Thanks.

spunch
28th February 2006, 22:10
Uhh the frustration... I'm trying to encode a few clips using the oneclick encoder and MeGUI is giving me a few problems... I have two jobs, both are entirely identical except for 3 lines, one works fine, the other crashes MeGUI without any indication of what may have happened.

A file comparison reveals these differences:


Compare: (<)F:\encoding\MeGUI-0.2.3.2095-Dev\job1.xml (5391 bytes)
with: (>)F:\encoding\MeGUI-0.2.3.2095-Dev\job2.xml (5396 bytes)

5,8c5,8
< <Name>job1</Name>
< <Priority>IDLE</Priority>
< <Status>WAITING</Status>
< <Position>0</Position>
---
> <Name>job2</Name>
> <Priority>IDLE</Priority>
> <Status>WAITING</Status>
> <Position>1</Position>

12,15c12,15
< <Commandline>"F:\encoding\dgmpgdec146\DGIndex.exe" -AIF=[F:\STASHTESTS\I2_STASH05_VTS_01_032.VOB] -OF=[F:\STASHTESTS\I2_STASH05_VTS_01_032] -exit -OM=0</Commandline>
< <AutoForceFilm>true</AutoForceFilm>
< <LoadSources>false</LoadSources>
< <AudioTrackID1>-1</AudioTrackID1>
---
> <Commandline>"F:\encoding\dgmpgdec146\DGIndex.exe" -AIF=[F:\STASHTESTS\I2_STASH05_VTS_01_032.VOB] -OF=[F:\STASHTESTS\I2_STASH05_VTS_01_032] -exit -OM=1 -TN=1</Commandline>
> <AutoForceFilm>true</AutoForceFilm>
> <LoadSources>false</LoadSources>
> <AudioTrackID1>0</AudioTrackID1>


I need the sound on these clips and I can't figure out what's causing this unprompted crash.

I also noticed MeGUI takes a lot of resources at the beginning of job1, right before it fires up x264.exe. In the first few 10-20 seconds MeGUI jumps from 30mb ram consumption to 200mb, and max out my CPU. It's definitely not dgindex, it's a short clip and it takes dgindex less than a second to do it's thing, and it's not lame.exe either, since there is no audio on job1. It is something internal, process explorer reveals some thread called mscrowks.dll!CreateApplicationContext+0xc461, could anybody tell me what it is?

job2.xml in its entirety:


<?xml version="1.0"?>
<Job xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="IndexJob">
<Input>F:\STASHTESTS\I2_STASH05_VTS_01_032.VOB</Input>
<Output>F:\STASHTESTS\I2_STASH05_VTS_01_032.d2v</Output>
<Name>job2</Name>
<Priority>IDLE</Priority>
<Status>WAITING</Status>
<Position>1</Position>
<Start>0001-01-01T00:00:00</Start>
<End>0001-01-01T00:00:00</End>
<FPS>0</FPS>
<Commandline>"F:\encoding\dgmpgdec146\DGIndex.exe" -AIF=[F:\STASHTESTS\I2_STASH05_VTS_01_032.VOB] -OF=[F:\STASHTESTS\I2_STASH05_VTS_01_032] -exit -OM=1 -TN=1</Commandline>
<AutoForceFilm>true</AutoForceFilm>
<LoadSources>false</LoadSources>
<AudioTrackID1>0</AudioTrackID1>
<AudioTrackID2>-1</AudioTrackID2>
<DemuxMode>1</DemuxMode>
<ForceFilmThreshold>95</ForceFilmThreshold>
<PostprocessingProperties>
<AutoDeinterlace>true</AutoDeinterlace>
<AutoDeriveAR>true</AutoDeriveAR>
<SignalAR>false</SignalAR>
<HorizontalOutputResolution>640</HorizontalOutputResolution>
<Container>1</Container>
<OutputSize>-1024</OutputSize>
<SplitSize>0</SplitSize>
<AR>A1x1</AR>
<AvsSettings>
<Template>&lt;input&gt;
&lt;deinterlace&gt;
&lt;crop&gt;
&lt;resize&gt;
&lt;denoise&gt;
</Template>
<ResizeMethod>Lanczos</ResizeMethod>
<DenoiseMethod>MinimalNoise</DenoiseMethod>
<Deinterlace>false</Deinterlace>
<Denoise>false</Denoise>
<IVTC>false</IVTC>
<MPEG2Deblock>false</MPEG2Deblock>
<ColourCorrect>false</ColourCorrect>
</AvsSettings>
<AudioSettings>
<AudioCodecSettings xsi:type="MP3Settings">
<ImproveAccuracy>true</ImproveAccuracy>
<SourceIsMultichannel>false</SourceIsMultichannel>
<EncodeViaBeSweet>false</EncodeViaBeSweet>
<ForceDecodingViaDirectShow>false</ForceDecodingViaDirectShow>
<DownmixMode>StereoDownmix</DownmixMode>
<BitrateMode>ABR</BitrateMode>
<Bitrate>128</Bitrate>
<Delay>33</Delay>
<DelayEnabled>true</DelayEnabled>
<AutoGain>true</AutoGain>
<Quality>50</Quality>
</AudioCodecSettings>
<AudioCodecSettings xsi:type="MP3Settings">
<ImproveAccuracy>true</ImproveAccuracy>
<SourceIsMultichannel>false</SourceIsMultichannel>
<EncodeViaBeSweet>false</EncodeViaBeSweet>
<ForceDecodingViaDirectShow>false</ForceDecodingViaDirectShow>
<DownmixMode>StereoDownmix</DownmixMode>
<BitrateMode>ABR</BitrateMode>
<Bitrate>128</Bitrate>
<Delay>33</Delay>
<DelayEnabled>true</DelayEnabled>
<AutoGain>true</AutoGain>
<Quality>50</Quality>
</AudioCodecSettings>
</AudioSettings>
<VideoSettings xsi:type="x264Settings">
<EncodingMode>0</EncodingMode>
<BitrateQuantizer>1000</BitrateQuantizer>
<KeyframeInterval>250</KeyframeInterval>
<NbBframes>0</NbBframes>
<MinQuantizer>10</MinQuantizer>
<MaxQuantizer>51</MaxQuantizer>
<PARX>0</PARX>
<PARY>0</PARY>
<Turbo>false</Turbo>
<V4MV>false</V4MV>
<QPel>false</QPel>
<Trellis>false</Trellis>
<CreditsQuantizer>40</CreditsQuantizer>
<Logfile>.stats</Logfile>
<CustomEncoderOptions />
<FourCC>1</FourCC>
<Zones />
<PSNRCalculation>false</PSNRCalculation>
<noFastPSkip>false</noFastPSkip>
<NoiseReduction>0</NoiseReduction>
<MixedRefs>false</MixedRefs>
<X264Trellis>0</X264Trellis>
<NbRefFrames>1</NbRefFrames>
<AlphaDeblock>0</AlphaDeblock>
<BetaDeblock>0</BetaDeblock>
<SubPelRefinement>0</SubPelRefinement>
<MaxQuantDelta>4</MaxQuantDelta>
<TempQuantBlur>0</TempQuantBlur>
<BframePredictionMode>0</BframePredictionMode>
<VBVBufferSize>-1</VBVBufferSize>
<VBVMaxBitrate>-1</VBVMaxBitrate>
<METype>0</METype>
<MERange>16</MERange>
<NbThreads>1</NbThreads>
<MinGOPSize>25</MinGOPSize>
<Profile>0</Profile>
<Level>15</Level>
<IPFactor>1.4</IPFactor>
<PBFactor>1.3</PBFactor>
<ChromaQPOffset>0</ChromaQPOffset>
<VBVInitialBuffer>0.9</VBVInitialBuffer>
<BitrateVariance>1.0</BitrateVariance>
<QuantCompression>0.6</QuantCompression>
<TempComplexityBlur>20</TempComplexityBlur>
<TempQuanBlurCC>0.5</TempQuanBlurCC>
<SCDSensitivity>40</SCDSensitivity>
<BframeBias>0</BframeBias>
<Deblock>false</Deblock>
<Cabac>false</Cabac>
<WeightedBPrediction>false</WeightedBPrediction>
<AdaptiveBFrames>false</AdaptiveBFrames>
<BFramePyramid>false</BFramePyramid>
<BRDO>false</BRDO>
<biME>false</biME>
<ChromaME>false</ChromaME>
<P8x8mv>true</P8x8mv>
<B8x8mv>true</B8x8mv>
<I4x4mv>true</I4x4mv>
<I8x8mv>false</I8x8mv>
<P4x4mv>true</P4x4mv>
<AdaptiveDCT>false</AdaptiveDCT>
<Lossless>false</Lossless>
<QuantizerMatrix />
<QuantizerMatrixType>0</QuantizerMatrixType>
</VideoSettings>
<CustomAR>1</CustomAR>
<ChapterFile />
<FinalOutput />
<AviSynthScript />
<AudioLanguages>
<string />
<string />
</AudioLanguages>
</PostprocessingProperties>
</Job>

Doom9
1st March 2006, 13:35
I need the sound on these clips and I can't figure out what's causing this unprompted crash.I take it job2 crashes, and job1 does not, is that correct? Which dgindex version are you using? And could you run both commandlines from the commandprompt to see if there's anything you might see that you don't get in megui?
It is something internal, process explorer reveals some thread called mscrowks.dll!CreateApplicationContext+0xc461, sounds like that's when it creates the x264.exe process. Since you know diff and process explorer, any chance you could step through private void UpdateGUIStatus(StatusUpdate su) in Form1.cs.. you should see the line where that behavior stems from.. but since x264.exe takes 200mb iirc it's not surprising that the memory usage goes up like that.. it may just be the way of starting a process from within the .NET framework. If you keep watching the RAM usage, doesn't that additional ram simply transfer over to x264.exe once it shows up in the process list?

spunch
1st March 2006, 15:06
I take it job2 crashes, and job1 does not, is that correct? Which dgindex version are you using? And could you run both commandlines from the commandprompt to see if there's anything you might see that you don't get in megui?
Yes, job2 is the one that's failing, possibly because of something to do with the audio. Although, even when it fails it outputs the dgindex .d2v and .ac3 files just fine. There are no differences between them and files created manually in dgindex. using the command line works just how you'd expect it to work. Same .d2v and a playable .ac3.

You should know that when I generated these jobs I changed some of the defaults in the OneClickEncoder window:
* Target filesize from 1 CD (700mb) to Don't Care (-1)
* Checked Automatic Deinterlacing
* Contrainer from MP4 to MKV
* Used a custom MP3 audio profile.

I'm using dgmpgdec v1.4.6, MeGUI-0.2.3.2095-Dev (also tried on MeGUI-0.2.3.2063-Stable with same results), mkvtoolnix v1.6.5, lame3.98a3, and a freshly installed and patched Windows XP SP2.

I also tried it on several different VOB clips (from the same source) that resulted in the same crash.

If you keep watching the RAM usage, doesn't that additional ram simply transfer over to x264.exe once it shows up in the process list?
It's exactly what happens.

dimzon
1st March 2006, 15:18
@spunch
Does you possible to encode resulting AC3 into MP3 via MeGUI using AviSynth audio ?

spunch
1st March 2006, 15:43
I tried NAAC, still crashing...

dimzon
1st March 2006, 15:49
I tried NAAC, still crashing...
No, you doesn't understand me

Although, even when it fails it outputs the dgindex .d2v and .ac3 files just fine. There are no differences between them and files created manually in dgindex. using the command line works just how you'd expect it to work. Same .d2v and a playable .ac3.
Run MeGUI and create simple Audio encoding job (using obtained AC3)
If MeGUI still crash trying to encode this AC3 try to switch to BeSweet encoding.
If MeGUI doesn't crash on AC3 encoding via BeSweet it means problem is in AviSynth audio compression
In this case try to create such AVS script:

NicAc3Source("myfile.ac3")

and try to play this AVS file via any DirectShow player...

spunch
1st March 2006, 16:21
MeGUI does not crash at a simple audio encoding job, no matter how I do it.

MeGUI continues to crash, even when I encode job2 audio via BeSweet.

dimzon
1st March 2006, 16:29
MeGUI does not crash at a simple audio encoding job, no matter how I do it.
Good

MeGUI continues to crash, even when I encode job2 audio via BeSweet.
Can you provide smallest as possible VOB file (below 20MB) to reproduce this error? Seems like we (developers) must debug MeGUI...

Doom9
1st March 2006, 17:05
Used a custom MP3 audio profile.But that implies that you should get an audio job, yet you mentioned you have none, and that's really weird. Is it too much to hope for that you can also manage a debugger besides processexplorer?

spunch
1st March 2006, 17:32
What do you mean an audio job? It's a OneClick job. As I understand it, a OneClick job is responsible for creating 3 different jobs, for video audio and muxing. MeGUI is too quick to crash so I can't really see if it created those jobs.

I'll see what I can do about debugging, never really done it before. I uploaded a VOB clip as well. www.hayarealestate.com/temp/I2_STASH05_VTS_01_032.VOB. Please let me know when you're done downloading.

spunch
1st March 2006, 21:53
So are you planning on downloading it anytime soon?

Doom9
2nd March 2006, 08:27
well.. whenever I have time to do something, I work on refactoring and what I have on my HD is in no way capable of even launching the one click mode at this point so even if I wanted, I just couldn't try it.

dimzon
2nd March 2006, 09:51
So are you planning on downloading it anytime soon?
I will download it next night (i'm @ office now and i can't download multimtdia content here)

spunch
3rd March 2006, 19:06
I've been putting it off for a long time already, could anyone with debugging knowledge just download the clip I provided and try to encode it using the job2.xml file I mentioned above?

Doom9
3rd March 2006, 21:20
@spunch: I'm still waiting for a reply to the questions I asked in my first reply right after you posted your problem report.

spunch
3rd March 2006, 21:38
I think I answered all your questions already. If I wasn't clear before:
I take it job2 crashes, and job1 does not, is that correct?
Yes. MeGUI handles job1 (video only) just fine, job2 (video+audio) is the one that crashes, 2 seconds after I press the Start button.

Which dgindex version are you using?
dgmpgdec v1.4.6

could you run both commandlines from the commandprompt to see if there's anything you might see that you don't get in megui?
Running both commandlines from the commandprompt does not reveal anything that might suggest that dgindex is the source of the problem, both commandlines work fine.

any chance you could step through private void UpdateGUIStatus(StatusUpdate su) in Form1.cs
Sorry, I would not know how to do that.

cc979
4th March 2006, 14:53
I think I answered all your questions already. If I wasn't clear before:

Yes. MeGUI handles job1 (video only) just fine, job2 (video+audio) is the one that crashes, 2 seconds after I press the Start button.


dgmpgdec v1.4.6


Running both commandlines from the commandprompt does not reveal anything that might suggest that dgindex is the source of the problem, both commandlines work fine.


Sorry, I would not know how to do that.

i've noticed dgindex crashes if it does not have dvd-decrypt info file using the 1click method

but it is fine if you manually use dgindex to create d2v file

berrinam
4th March 2006, 21:30
i've noticed dgindex crashes if it does not have dvd-decrypt info file using the 1click methodArgh! Why don't you report this kind of thing as a bug in the Bug Report thread, instead of just coping with it? It's best if we know about the bugs, so that we can fix them.

spunch
5th March 2006, 08:22
How am I suppose to give you a bug report when megui crashes with no error or output and I have no debugging expertise? I gave you the file in question, I gave you the job in question, why not take 5 minutes and try to recreate this crash yourselves? It really doesn't take much effort, you don't have to wait and encode the whole video, simply if you see megui doesn't crash in the first 5 seconds after starting the job then it is something wrong with my setting and I could stop bugging you.

ChronoCross
5th March 2006, 09:02
How am I suppose to give you a bug report when megui crashes with no error or output and I have no debugging expertise? I gave you the file in question, I gave you the job in question, why not take 5 minutes and try to recreate this crash yourselves? It really doesn't take much effort, you don't have to wait and encode the whole video, simply if you see megui doesn't crash in the first 5 seconds after starting the job then it is something wrong with my setting and I could stop bugging you.

because this is the wrong thread for bug-reports. plus not all of us have an apparently infinite amount of time to do testing. you should show some more respect else you should just keep your mouth shut.

berrinam
5th March 2006, 09:45
@spunch and ChronoCross: I think you guys misunderstood me. When I read spunch's post, I immediately tested it myself, found the bug, fixed it, posted a new version:

0.2.3.2105 5 March 2006
Commit by berrinam:
- Fixed bug with OneClick processing which caused a fatal KeyNotFoundException when the stream info file was missing

I was simply frustrated by the fact that cc979 seemed to be thinking "OK, it crashes for me, but if I do this workaround it doesn't bother me". If everyone thinks that way, then we never find out about the bugs in the first place and we never fix them as a result. It seems to me that the only reason that we found out about this problem was as a result of cc979 giving advice to spunch. Since cc979 knew about this problem, he could have told us about it earlier, and the whole problem would have been avoided.

I can see that cc979 might not have wanted to bother us, but trust me, we really want you to tell us about the bugs, as long as you read the bug-reporting guidelines first and show a little common sense.

How am I suppose to give you a bug report when megui crashes with no error or output and I have no debugging expertise?You don't need expertise, just read the guidelines, as I said above.

I'm sorry if I caused some confusion.

Summary:
If you think you have found a bug in MeGUI, please don't just ignore it and hope someone else will mention it. Read the Bug Reporting guidelines, and then make a good bug report on the bug report thread

spunch
5th March 2006, 10:37
Sorry and thank you for fixing this bug! You have to understand this is my first time using megui so I initially thought I perhaps misunderstood some commonsense guideline and was doing something wrong. Considering megui didn't even output an error message, I turned to the troubleshooting thread.

Thank you again!

cc979
5th March 2006, 15:54
Argh! Why don't you report this kind of thing as a bug in the Bug Report thread, instead of just coping with it? It's best if we know about the bugs, so that we can fix them.

opps, sorry - thought it was known

Shootist
5th March 2006, 16:15
I am not able to use megui x264 (x264.nl build 457) anymore. Everytime I want to config the gui by clicking the "config" button it crashs. I am using winxp sp2 without any other patches + .net framework 2.0 (file version says 2.0.50727.42).

The 424 build is the last build I used which worked.
I have no idea what I am doing wrong. Any ideas? Thank you.

desta
7th March 2006, 01:20
I've been using MeGUI 0.2.3.2090, with no problems, and I just started a new project. I'd already created my d2v file with DGIndex 1.4.5 (which had correctly reported my vobs as PAL, Progressive), so I went ahead and used the AVS Script Creator in MeGUI. I told it to analyze the frames.. it did, and also came back as progressive.

At this point, it occured to me to see if there was a newer version of MeGUI - I went off and quickly found Chronocross' latest 0.2.3.2107 build, so downloaded that, set it up and started again from the AVS Creator.

This time the analysis came back saying...

"Source type: Source is declared hybrid progressive/interlaced. This should be deinterlaced by a deinterlacer that tries to weave it before deinterlacing. Source is hybrid bff and tff at 12 bff and 15 tff."


... Why's it suddenly changed? I've gone through the source myself and I honestly can't see the slightest bit of interlacing.

I've more than likely not given enough information, so let me know if anything else is needed, and I'll give it. Suggestions greatly appreciated.

berrinam
7th March 2006, 06:02
I don't think anything should have changed in regards to that. I'm posting an update which will display some information for debugging, so can you run it with that and show me your results?

Also, it doesn't sound like you are using a very large source, since there are only 27 analyzed sections. How long is it?

berrinam
7th March 2006, 06:39
Version with extra debugging here:

http://rapidshare.de/files/14890306/megui-2108.zip.html

desta
7th March 2006, 13:50
Thanks for the reply.

Well, I just tried that (there was only the MeGUI.exe itself in that zip) and it came back with...

"Source type: For your reference:
Progressive Sections: 58
Interlaced Sections: 4
Partial Static Sections: 122
Film Sections: 0
Source is declared hybrid progressive/interlaced. This should be deinterlaced by a deinterlacer that tries to weave it before deinterlacing."

As with the previous attempt, it runs it's first analysis, runs againly slowly, giving those results.

To answer your question, the source is 61mins long. It's actually the Star Wars: Clone Wars - volume 2 (animated). I have tried both setting and not setting MeGUI to 'Source is Anime'. Both results come back the same. I actually encoded volume 1 with MeGUI 0.2.3.2090 - which was also progressive.

The only thing I can think of, just off the top of my head, that's different from the last time I did an encode is that I added the TDeint.dll to my avisynth plugins folder, but like I said, I ran this new project through 2090 before I downloaded the latest version, and it came back as progressive that time.


Update: I've just updated to DGIndex 1.4.6 and x264 459 (I was using 408), created a new d2v file, and the results are still the same - MeGUI 2090 says progressive, whilst 2107 & 8 say hybrid. DGIndex itself still says progressive. I've noticed though that I can't use the "--aq-strength 0.8 --aq-sensitivity 15" command with the new x264.. which is a shame, cuz it solved quite a few issues I had with previous encodes.

berrinam
7th March 2006, 20:41
I remember now that I made a slight change to the script which should have made it more accurate.

Firstly, I don't know what your source is, so perhaps MeGUI's detection is in fact correct. In particular, the opening or end credits might be interlaced while the rest is progressive. If you know how to recognise deinterlacing, it would be good if you could check it.

Secondly, your results are very close to being declared wholly progressive (if there had been 61 or more progressive sections then that would have been the result). Setting the thresholds correctly so they trigger in the right place and don't in others is perhaps the hardest part, and I have not been able to do this properly, because I didn't have many sources. If you are sure that MeGUI is wrong, perhaps you (or I) could alter the settings so that it is less sensitive to small variations.

Something else which would be good to try is AutoGK. I made Source Detection constantly comparing my results to AutoGK's results. MeGUI's Source Detection should be up to 100 times faster, and I hope most of the results should be the same. I'm interested in what AutoGK says in its analysis.

I'm also interested by the fact that Partial Static Sections is so much higher than the rest, and I suspect this is because of your source being an animatedd source. As I said, I have had many problems with Source Detection due to lack of sample sources, anime sources being one of them. I suspected that they may be a problem due to their low actual framerate, I wasn't sure. I don't think there's much you can do about that, though.

desta
7th March 2006, 22:56
Well, I'm definitely no expert on the subject, so any worthwhile input I can offer is somewhat limited unfortunately. However, I did quickly start it up to do an encode in AutoGK, just to see what script would be generated, and I noticed this...

[07/03/2006 20:52:52] AutoGK 2.26
[07/03/2006 20:52:52] OS: WinXP (5.1.2600).2
[07/03/2006 20:52:52] Job started.
[07/03/2006 20:52:52] Input file: F:\Video\Projects\Star Wars\Clone Wars\Vol 2\VIDEO_TS\VTS_01_1.VOB
[07/03/2006 20:52:52] Output file: F:\Video\Projects\Star Wars\Clone Wars\Vol 2\VIDEO_TS\VTS_01_1.avi
[07/03/2006 20:52:52] Output codec: XviD
[07/03/2006 20:52:52] Audio 1: Audio Stream 1 AC3
[07/03/2006 20:52:52] Subtitles: none
[07/03/2006 20:52:52] Format: .AVI
[07/03/2006 20:52:52] Target size: 1400Mb
[07/03/2006 20:52:52] Custom resolution settings: fixed width of 704 pixels
[07/03/2006 20:52:52] Custom audio settings: Original
[07/03/2006 20:52:52] Started encoding.
[07/03/2006 20:52:52] Demuxing and indexing.
[07/03/2006 20:54:20] Processing file: F:\Video\Projects\Star Wars\Clone Wars\Vol 2\VIDEO_TS\VTS_01_1.VOB
[07/03/2006 20:54:20] Processing file: F:\Video\Projects\Star Wars\Clone Wars\Vol 2\VIDEO_TS\VTS_01_2.VOB
[07/03/2006 20:54:20] Processing file: F:\Video\Projects\Star Wars\Clone Wars\Vol 2\VIDEO_TS\VTS_01_3.VOB
[07/03/2006 20:54:20] Source resolution: 720x576
[07/03/2006 20:54:20] Found PAL source.
[07/03/2006 20:54:20] Source aspect ratio: 16:9
[07/03/2006 20:54:20] Color correction enabled.
[07/03/2006 20:54:20] Analyzing source.
[07/03/2006 20:58:00] Source is considered to be interlaced.
[07/03/2006 20:58:00] Output will contain 91544 frames
[07/03/2006 20:58:00] Audio1 size: 87,870,720 bytes (83.80 Mb)
[07/03/2006 20:58:00] Overhead: 610,304 bytes (0.58 Mb)
[07/03/2006 20:58:00] Video size: 1,379,525,376 bytes (1315.62 Mb)
[07/03/2006 20:58:00] Running compressibility test.
[07/03/2006 21:03:47] Duration was: 5 minutes 47 seconds
[07/03/2006 21:03:47] Speed was: 13.18 fps.
[07/03/2006 21:03:48] Compressibility percentage is: 88.29
[07/03/2006 21:03:48] Chosen resolution is: 704x400 ( AR: 1.76 )
[07/03/2006 21:03:48] Predicted comptest value is: 88.29%
[07/03/2006 21:03:48] Running first pass.


... From that I loaded up a basic script with KernelDeint included (as it seemed that's what AutoGK used), ran it back through Vdub Mod, and it showed a hell of a lot of interlacing. I changed the script to use Decomb's Telecide(), and it showed less interlacing, even though it still detected it... though that was using a threshold of 25.

The interlacing mainly seems to occur on scenes with a lot of bold black lines, and obvious movement - which for anime is quite a bit. In this particular movie, the black outlines are fairly jagged anyway... I'm not sure what the correct term would be, hehe. The main bulk of each frame is progressive (ie, backgrounds, etc), but once you've got characters on the screen, it starts seeing it as interlaced.

berrinam
7th March 2006, 23:22
Well, the detection of MeGUI was right, anyway, which is pleasing. However, I'm surprised that it showed interlacing WITH KernelDeint included. Also, I'm surprised that the source is only detected as 4 interlaced sections out of 62. What's the feasibility of somehow giving me a small sample to experiment with? PM me about it if you want.

desta
7th March 2006, 23:33
PM sent :)

foxyshadis
12th March 2006, 08:01
Is MeGUI really supposed to be taking over ctrl-c so that you can't copy text without the mouse anymore? In the main interface it brings up the chapter editor, in the rest it just doesn't do anything at all. Or is it just a recent "oops"?

berrinam
12th March 2006, 10:00
It's been noted and is on the feature request list:
Resolve clashes between hotkeys
Description: See http://forum.doom9.org/showthread.ph...292#post770292
Status:

dimzon
12th March 2006, 10:00
Is MeGUI really supposed to be taking over ctrl-c so that you can't copy text without the mouse anymore? In the main interface it brings up the chapter editor, in the rest it just doesn't do anything at all. Or is it just a recent "oops"?

Yeah, I really don't like how does it look && feeel too. I think we must perform massive mainform GUI rearranging/redesign. Doom9, do You agree?
I think we can create non-working new GUI prototype (just create new WindowsApplication && try to draw new GUI) to discuss about it.

foxyshadis
12th March 2006, 10:52
Oh! I didn't put that title together with my problem, thank you.

Chainmax
22nd March 2006, 00:42
Is there any difference between ChronoCross's build and the one available in sourceforge?

ChronoCross
22nd March 2006, 01:16
yes my is updated once a day if there are updates. the one on sourceforge is not the current revision. other than that they are identical.

chipzoller
6th April 2006, 14:41
Sorry for so much forum-hopping. I'll stick with this one from now on.

This is a repost of my original question:

This looks like it has become the unofficial support thread, so if this question I post is inappropriate, please do move it.

I have several AVIs I ripped from my DVDs (complete James Bond special editions) all of whose fps is 23.976. I know FFMpeg and any apps based on this have problems with this because it doesn't understand frame rates past the hundredths place, but I seem to be getting sync issues in my muxed MP4 file. When I created the AVS script the frame rate was listed at 23.975....and fiddy thousand more places afterwards and had sync issues (the video is slower than the audio) and so manually changed the script to 23.976 with no difference.

Here is the original script:

DirectShowSource("F:\Bond Movies\Diamonds are Forever.avi",fps=23.9759856527702,audio=false)
#blank deinterlace line
#crop
LanczosResize(320,176) # Lanczos (Sharp)
#denoise


I would gladly re-rip straight into a d2v project file except the DVDs aren't currently with me. Also, I encoded these long ago with DivX 4.x and verified the frame rate with Gspot and through a media player.

Does this sound familiar to anyone?


Second part:

My x264 encoding always fails with meGUI but not with other x264 apps.

Log:

Log for job job1-1

Channels=2, BitsPerSample=16, SampleRate=48000Hz
C:\Documents and Settings\Chip Zoller\Desktop\megui\faac.exe -b 112 -o "C:\Documents and Settings\Chip Zoller\Desktop\Mega Man X5 Intro.mp4" -P -X -R 48000 -B 16 -C 2 --mpeg-vers 4 -Freeware Advanced Audio Coder
FAAC 1.24.1 (May 17 2005) UNSTABLE

Average bitrate: 112 kbps
Quantization quality: 100
Bandwidth: 12490 Hz
Object type: Low Complexity(MPEG-4) + M/S
Container format: MPEG-4 File Format (MP4)
Encoding - to C:\Documents and Settings\Chip Zoller\Desktop\Mega Man X5 Intro.mp4
frame | elapsed | play/CPU
3338 | 12.2 | 5.83x



----------------------------------------------------------------------------------------------------------
job job1-1 has been processed. This job is linked to the next job: job1-2
No desired size. Continuing without making any changes.
Starting job job1-2 at 9:48:15 AM
Job is a video job. encoder commandline:
"C:\Documents and Settings\Chip Zoller\Desktop\x5.avs" -ovc x264 -x264encopts bitrate=700:nocabac:4x4mv:i4x4:qp_step=4:direct_pred=1 -o "C:\Documents and Settings\Chip Zoller\Desktop\x5.264" -of rawvideo
successfully started encoding
Processing ended at 9:48:16 AM
----------------------------------------------------------------------------------------------------------

Log for job job1-2

MEncoder dev-CVS-050928-16:38-3.4.2 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.

Exiting... (error parsing cmdline)
Error: Unrecognized commandline parameter detected.

----------------------------------------------------------------------------------------------------------

Sharktooth
6th April 2006, 15:08
your mencoder build is too old. also why using mencoder to encode with x264? get a recent x264 build instead.

chipzoller
6th April 2006, 15:13
your mencoder build is too old.

Is the build from 01/01/2006 that is 8,205,824 bytes the most current build?

chipzoller
7th April 2006, 21:07
Also, I downloaded and encoded a file with Sharktooth's iPod profile for meGUI and each file I encode (the only thing I change is the bitrate, down to 200 and 2-pass automatic) does not play on my iPod. Can anyone confirm that this profile works for them?

ChronoCross
7th April 2006, 22:26
it works. plays fine on my friends ipod.

chipzoller
7th April 2006, 22:34
Ok I figured out why. I generated an AVS script from a 4:3 AR AVI file. The resize had 352x240, but when I put in the AR as 4:3 then ticked "suggest resolution" the x-axis filled in at 320 and y-axis at 240, but the resulting AVS script saved it as 352x240, so while the file encoded that resolution isn't supported with that AR. Is this perhaps a bug in the script generation?

Sorry folks...it works.

chipzoller
8th April 2006, 15:45
Another Q that's unrelated...I want to use MeGUI as my complete "backup" software package and would like to start backing up some of my more-played DVDs. I do not have a hardware player that can play any MP4 content back, so I'm wondering if I should still encode XVid in MKV for future compatibility? I tried doing a test encode to Xvid with AAC audio wrapped in an MKV container (using mencoder for xvid) and the prog. crashes (or skips the encode steps, then exits) right when it gets to the encode steps. Since the app closes (and I don't see an option to disable this) I can't see the log and none is generated in the log folder.

So I guess this has 2 parts: Is MKV with Xvid a good bet for future device compatibility? & how can I stop megui from exiting on completion of queues/Xvid encode issue?

many thanks

berrinam
8th April 2006, 23:15
So I guess this has 2 parts: Is MKV with Xvid a good bet for future device compatibility?Probably not, because there is no commercial backing behind mkv.

how can I stop megui from exiting on completion of queues/Xvid encode issue?Sounds like a bug. Can you come up with a fool-proof way of reproducing it, or test it the way I described here (http://forum.doom9.org/showthread.php?p=810642#post810642)?

Thanks

chipzoller
9th April 2006, 03:28
I'm in the process of setting everything up to test this. It's important for me to note that meGUI didn't always behave this way. It only started in the last few encodes, and every subsequent encode has completed with the crash issue, even if the queue finished successfully.

Bathrone
9th April 2006, 05:38
When doing a MeGUI version upgrade, its ok to just unzip and overwrite the existing MeGUI installation right? Thanks

berrinam
9th April 2006, 05:41
Yep. It is.

Bathrone
9th April 2006, 06:07
Thanks, please allow me to show my appreciation for your work, Doom9s and the other people involved in this great app.

berrinam
9th April 2006, 06:09
Thanks, please allow me to show my appreciationNUP!!!! Why would I allow you to do that??? ;)

Thanks, anyway.

PhAtfiSh
12th April 2006, 14:59
Hi, im using megui for the first time having used gknot and virtualdub to encode for a long time.

Im having a problem however, i have encoded my audio for this rip which went fine. But when i come to do the video, the two jobs i created (for first and second pass xvid) complete in under a second with no encoding taking place. Then jobs are then flagged as "done".

The avs its using to encode plays fine in MPC, so its not a bad avs file as far as i can see. Any idea what is causing it not to do any video encoding?

Logs bellow, thanks.


----------------------------------------------------------------------------------------------------------
Starting job job1 at 14:44:03
Job is a video job. encoder commandline:
"G:\part1.avs" -ovc xvid -o NUL: -passlogfile "G:\part1.stats" -xvidencopts pass=1:bitrate=700:max_key_interval=300:packed:vhq=1:chroma_me:lumi_mask:keyframe_boost=100:kfthreshold=1:kfreduction=20:overflow_control_strength=10:max_overflow_improvement=10:max_overflow_degradation=10
successfully started encoding
Processing ended at 14:44:03
----------------------------------------------------------------------------------------------------------
Log for job job1
----------------------------------------------------------------------------------------------------------
Starting job job2 at 14:44:03
Job is a video job. encoder commandline:
"G:\part1.avs" -ovc xvid -passlogfile "G:\part1.stats" -xvidencopts pass=2:bitrate=1305:max_key_interval=300:packed:vhq=1:chroma_me:lumi_mask:keyframe_boost=100:kfthreshold=1:kfreduction=20:overflow_control_strength=10:max_overflow_improvement=10:max_overflow_degradation=10 -o "G:\RIPPING.MPEG4\class.of.76\part1.avi" -of avi -ffourcc XVID
successfully started encoding
Processing ended at 14:44:04
----------------------------------------------------------------------------------------------------------
Log for job job2
----------------------------------------------------------------------------------------------------------

chipzoller
12th April 2006, 15:04
I had this problem when using mencoder for Xvid and found that everything was in place, but the build of mencoder I got either must have been wrong or gotten damaged somehow. I've had luck with the version of mencoder within the Mplayer package on the official site.

And I think Celtic_druid also has some builds of this?? In any case, the version at the mplayer site does work.

PhAtfiSh
12th April 2006, 15:14
thanks chipzoller, the version i used was linked in the sticky guide in this forum. Ill try another version.

edit: yep the build from the official site works.

Dayvon
27th April 2006, 15:52
Is there a way to have an AVI as the input in MeGUI?

Basically, I have a 2.5min uncompressed(RGB) 4.7GB video that I want to convert to -AVC in .mp4- or better yet -AVC in .mov- for net distribution. So I'm wondering since MeGUI MUST use AVISynth how do I get the script to work with MeGUI? I can't seem to find a way to get AVISynth to load the AVI.

Help?

chipzoller
27th April 2006, 15:53
Tools->Avisynth Script creator

Dayvon
27th April 2006, 15:58
Oh my word. Easiest. Fix. Ever.

I had tried that on previous versions and it didn't work. God bless you and curse my stupidity. Thx!!

foxyshadis
27th April 2006, 16:02
Opening the avi through megui (or dropping it in) will also bring up that screen nowadays. ;)

thuongshoo
8th May 2006, 08:43
HI ! MeGui has "Queu analyse pass" button. What is it used to ? I finished configure x264 config, and click that button, click "enqueu" button. Then, I choose queu tab, click start. I have no mp4 file. Why ? thank you ! :o

berrinam
8th May 2006, 09:58
Queue analysis pass queues an 'analysis' pass, which just plays through the video. This is useful for some avisynth scripts. If you don't know why, then it's not useful for you.

Why you don't get an mp4 file is a completely different issue. Check that you have created a video encoding job, and check that it has completed successfully (it should say 'done' if it has). Also check that you have MeGUI set up to point to x264.exe and mp4box.exe.

If you can't solve your problem after doing these, then try again, and if it still doesn't work, post your logfile from then.

thuongshoo
9th May 2006, 05:48
Thank berrinam! I have a mpeg file. Open it by Megui,.... choose tab filter, analyse. Megui suggest that I should deInterlace . Ok! I agree. ! My file is a music video. Singers sing 2 songs. At the first part of converted file, video and audio is sync absolutely. Oh! very surprising! When singers sing 2nd song, video and audio isn't sync. Why ?
I am said that MPEG video can be a hydrid video. So
analyse-step helps converting file with the best efficiency.
WMV is too. Megui a program base on AVIsynth. Why can't Megui open wmv files ? license ? I wite a avs file by myself and Megui still work :D I dont' know the way to analyse WMV files so I can't have a best file if I convert wmv files. Do you think that Megui will support wmv files ?
Thanks!

berrinam
9th May 2006, 06:19
What happens when you try to open a wmv file in MeGUI?
What is the script that you right yourself that works?

I suspect it may be that MeGUI is unable to detect the framerate of the wmv file. In that case, there is pretty much nothing you can do at the moment. I have a few planned extensions that might help later, but for now if you have a script that works and you want to analyse it, then do the following:
Write your script.
Use the program included in makeAVIs to create a fake avi file which wraps your script.
Open this avi file in MeGUI and analyse the video from there

cjaar
10th May 2006, 07:12
Want try megui for xvid encoding, but i coudnt find how do i encode xvid with CM, i see only h263/MPEG no custom matrix.
Is there a way to using CM in megui.

thx
cjaar

berrinam
10th May 2006, 08:28
Get 0.2.3.2135 or later.

ariga
10th May 2006, 09:45
0.2.3.2135 8 May 2006
Commit by berrinam:
- PAR is now in the video player, not the codec config (it's not a codec-specific thing, conceptually)
Neat, but the player shows up only if "Open Preview..." option is set. Is it possible to bring up the preview window without it or once it has been closed ?

berrinam
10th May 2006, 10:15
Hidden feature: Double-click on the input file textbox. That'll open the player.

thuongshoo
10th May 2006, 13:59
I open mpeg-2 file. DGIndex appear but it don't do anything. If I open mpeg-1 file, there is no problem. I try to run DGIndex at AVIsynth's plug-in directory, open mpeg-2 file, choose file/save. Oh! Job is finished within 30 seconds. Why ?

Thanks!

Doom9
10th May 2006, 14:35
@thuongshoo: please read this: http://forum.doom9.org/showthread.php?t=105160 and try again.

ariga
11th May 2006, 08:37
Hidden feature: Double-click on the input file textbox. That'll open the player.
Whoa ! Thanks. (And then ariga went clicking on every item in the GUI looking for hidden features :D )

thuongshoo
14th May 2006, 06:42
Doom9! you don't seem to know my problem.
Before, I load mpeg file into MEgui --> DGIndex will appear and work--> I have a .d2v file.
Now, ...., DGIndex doesn't do anything. I must choose file/open to load mpeg file into DGIndex and then I must choose file/save.
http://img240.imageshack.us/img240/5295/meguiopen8kl.th.png (http://img240.imageshack.us/my.php?image=meguiopen8kl.png)
http://img45.imageshack.us/img45/9175/meguiopen11nt.th.png (http://img45.imageshack.us/my.php?image=meguiopen11nt.png)

Doom9
14th May 2006, 12:23
which dgindex version are you using?
Can you take the dgindex commandline ("C:\Program files\AviSynth 2.5\plugins\DGIndex.exe" -AIF=[E:\SES\[HD]Eugene-Cha Cha [MBC 2003.09.05].MPG] -OF=[E:\SES\[HD]Eugene-Cha Cha [MBC 2003.09.05]] -exit -OM=0)

start a command prompt, paste the line and run it and see what you get?

Also, could you try to rename the file so it has no brackets in it anymore? dgindex uses the [] brackets like the command prompt uses quotes for long pathnames/pathnames that contain spaces, and since your filename contains the same brackets, it may or may not confuse dgindex. It may still work from within dgindex because from the gui this never becomes an issue.

wacco
14th May 2006, 16:14
Help. Whenever I use Create new avisynth script, the video file (output) will appear while encoding at the right location, but when encoding is finished, it disappears!

thuongshoo
16th May 2006, 10:21
which dgindex version are you using?
1.4 beta 7 , newest
Can you take the dgindex commandline ("C:\Program files\AviSynth 2.5\plugins\DGIndex.exe" -AIF=[E:\SES\[HD]Eugene-Cha Cha [MBC 2003.09.05].MPG] -OF=[E:\SES\[HD]Eugene-Cha Cha [MBC 2003.09.05]] -exit -OM=0)
the phenomena is the same. DGIndex doesn't run.

Doom9
16th May 2006, 12:34
@wacco: you may know what you're refering to, but ask yourself if given the info you have given, would anybody who is not in front of your computer and watches what you're doing understand what you're trying to say? I know megui but I have no idea what you're talking about.

@thuongshoo: my last reply to you had another paragraph.. could you try what I wrote in that paragraph, too?

Carpo
20th May 2006, 11:47
i have 2 little questions - prob stupid but here goes anyway :)

i notice in 2148 that the mp4box.exe is 1.6mb - the one i have which allows me to add subs to a mkv is only 600K, can the one in megui support subs or should i use the ver of mp4box i have dated mp4box-20060505 ?

also seeing as support for neros new aac encoder is now in megui would it make any diff if used the sse2 exe instead of the one thats with megui (renaming it of course)

berrinam
20th May 2006, 12:21
I haven't been keeping track of which builds are the best to use. Consequently, since the files included in AutoUpdate were all chosen by me, they may or may not be the best choice, in which case someone should tell me so I can fix it. Anyway,
Yes, it is ok to use the sse2 version.
You can probably use whatever version of mp4box you want, as long as it is relatively recent. However, since MeGUI doesn't support vobsub subs in mp4box yet, it's rather pointless

Carpo
21st May 2006, 13:28
ok another stupid question on the way

i know to tick the source is anime for animation and such - but would it also apply to GCI - as in Final Fantasy Advant Children?

as i am planing to backup that next

Latexxx
21st May 2006, 15:01
I can't get Megui to start. Or actually it will start but it crashes when checking for updates. Replicated on two computers with Megui 2148.

Edit: I found 2149 and it seems to work.

berrinam
21st May 2006, 22:25
ok another stupid question on the way

i know to tick the source is anime for animation and such - but would it also apply to GCI - as in Final Fantasy Advant Children?

as i am planing to backup that next
This is not such a stupid question.

Let me outline what ticking 'Source is Anime' does:
It is only relevant for the deinterlacing stage
For framerate decimations (if there are any) it forces a different mode which is better for anime, in which there are many duplicate frames

So, if your source has lots of duplicate frames (like a duplicate every third frame, is what I mean), then, yes, tick it, but otherwise no.

berrinam
21st May 2006, 22:31
I can't get Megui to start. Or actually it will start but it crashes when checking for updates. Replicated on two computers with Megui 2148.I've updated many times from
2148 to 2149 without any problems. If this causes a problem again, can you report it on the bug report thread so we can try to track it down please?

Carpo
21st May 2006, 22:31
im more confused now than ever ;) how will i know if i have dupe frames will megui tell me ?

sorry for all the questions but i have only just started doing backups with megui so im still trying to find my feet as it were with all the options, but if i never ask i'll never get 100% out of it :)

berrinam
21st May 2006, 22:55
Well, generally you can tell whether you dupe frames from the kind of source:

Anime/cartoon sources tend to have lots of dupe frames, because it is too much work to do every frame by hand, so they tend to create it at 8fps or 12fps and double/triple frames to get it to 24fps. This is why with anime/cartoon sources, you can just assume that there are lots of duplicate frames.

With live motion sources (real life) you will tend not to get many duplicate frames, because it's real life, and nothing ever stays still. So you don't use this option for live motion.

For CGI sources...... well, I don't know, because I haven't looked at any, but I would expect that there is motion in every frame, because it is solely the computer's responsibility (not the GFX designer's) to insert smooth motion. But I'm not sure: what you can do to check is just to step frame-by-frame through the video in a few places throughout, and it will be pretty clear if the frames are duplicates, because they won't change much when you step to the next frame.

markrb
21st May 2006, 23:32
I don't know what of 2 things I did fixed my being able to autoupdate, but I will tell you both of them and maybe that can help solve the problem.

1. Downloaded the 2148 version with 2 dll's (ICSharpCode.SharpZipLib.dll and MessageBoxExLib.dll) and replaced these files.

2. Deleted autoupdate.xml file.

After that autoupdate worked great.

Mark

Carpo
22nd May 2006, 18:15
is there any chance the bitrate calc could be sorted out in newer versions of megi - for example the ones from x264.nl or poss someone could point us in the direction of a standalone calc till its sorted ?

bkman
22nd May 2006, 19:09
Three things:

1.) Where did the DAR setting go?
2.) What does the "auto increase volume" option do? Normalise to 100%?
3.) Why not have the option of DRC in AC3 input with nicaudio?

berrinam
22nd May 2006, 22:09
Three things:

1.) Where did the DAR setting go?
2.) What does the "auto increase volume" option do? Normalise to 100%?
3.) Why not have the option of DRC in AC3 input with nicaudio?
1. ) To the video preview window -- if it doesn't automatically open when you load a script, try double-clicking on the input filename to open the preview. It makes more sense to have the DAR tied into the script as opposed to the codec settings.
2. ) and 3. ) you'll have to wait for dimzon's response.

shon3i
23rd May 2006, 23:16
Three things:

1.) Where did the DAR setting go?
2.) What does the "auto increase volume" option do? Normalise to 100%?
3.) Why not have the option of DRC in AC3 input with nicaudio?
2) Yes
3) It will be probably soon

rhys87
24th May 2006, 12:31
im currently having problems using megui, no matter what profile i use to encode the video rendering rate is always about 1fps, does anyone know what could be causing the problem?

Sharktooth
24th May 2006, 12:35
too much filters?

rhys87
24th May 2006, 12:38
DGDecode_mpeg2source("C:\Program Files\WebScheduler\capture\(2006-05-20 15-25) Video (02).d2v")
edeintted = last.AssumeTFF().SeparateFields().SelectEven().EEDI2(field=-1)
TDeint(order=1,edeint=edeintted)
#crop
LanczosResize(512,288) # Lanczos (Sharp)
#denoise

Sharktooth
24th May 2006, 12:42
what are your system specs? (CPU, RAM, etc...)

rhys87
24th May 2006, 12:46
athlon64 3200+, 1gb generic ram, 160gb hard drive

Sharktooth
24th May 2006, 13:05
uhm, you should get much higher speeds with that configuration.
are you sure speed doesnt change if you select "lighter" profiles?

rhys87
24th May 2006, 13:18
yep just tried 1passmaxspeed and got .78fps. I also tried not deinterlacing and got the same.

Sharktooth
24th May 2006, 13:21
check the CPU load before encoding and during encoding.
the first should be close to 0 the second should be 100%.

rhys87
24th May 2006, 13:40
yeah its at 98% when encoding, i have restarted comp as well, really starting to confusing me.

foxyshadis
24th May 2006, 18:54
Is this 1080i? That requires way more power than dvd-res.

rhys87
26th May 2006, 06:47
here is the log

--pass 1 --bitrate 1000 --stats "C:\Program Files\WebScheduler\capture\rhys2.stats" --bframes 3 --b-pyramid --direct auto --filter -2,-1 --subme 1 --analyse none --me dia --progress --no-psnr --output NUL "C:\Program Files\WebScheduler\capture\rhys2.avs"
successfully started encoding

the first pass only goes at about 8-9fps when with StaxRip goes at about 25-30fps, does deinterlacing decrease the speed that much?

foxyshadis
26th May 2006, 07:20
LanczosResize(512,288)

Wait, why not just toss a field away? EEDI2+Tdeint is a performance hog, you could just use SeparateFields().SelectEven().LanczosResize(512,288) and get practically the exact same result, since you're halving the vertical resolution anyway.

rhys87
26th May 2006, 08:17
thanks alot, foxyshadis :) problem fixed.

Xin-Hong
26th May 2006, 16:48
Hi,

I discover MeGUI with the x264 VideoProfiles, very usefull for noobs like me :p so I wonder if there is VideoProfiles for XviD

foxyshadis
26th May 2006, 18:19
Teegedeck is working on them, iirc.

markrb
27th May 2006, 03:42
Should I still be getting the warning popup about the bitrate calc not being updated with the latest version of Megui?
I have been using autoupdate since 2148 so maybe I need something that autoupdate doesn't update if this has been fixed?

I remember seeing something about the warning was going to be removed in an earlier thread.

I am running 2155, currently.

Mark

berrinam
27th May 2006, 04:05
I thought I had fixed it, but it still seems to be quite buggy, so the warning message does apply.

Carpo
27th May 2006, 07:56
no so much buggy - as completly broke :(

shon3i
27th May 2006, 11:38
No bitrate calculator working fine just need little tweaking

Carpo
27th May 2006, 13:22
2155 bitrate calc dont work here - 5587 for a single cd backup - bit much me thinks ;)

on a diff topic if i wanted to do .ts to hd-dvd (well that qual anyway prob be a 2 cd poss 1/2 dvd) is it a simple step of selecting size (original is 1920x1080i) my pc can do 1280x720 nicely, and selcting the hd-dvd profile from within megui or is there other things i need to concider, im still new to this area of backup so please excuse and old n00b ;)

Morte66
27th May 2006, 14:50
on a diff topic if i wanted to do .ts to hd-dvd (well that qual anyway prob be a 2 cd poss 1/2 dvd) is it a simple step of selecting size (original is 1920x1080i) my pc can do 1280x720 nicely, and selcting the hd-dvd profile from within megui or is there other things i need to concider, im still new to this area of backup so please excuse and old n00b ;)

Here are my experiences, such as they are:

1. If your TS is a movie, proceed much as normal. One catch: DGIndex often refuses to read TS files, it complains about missing "PIDs" whatever those are. So I process the .ts to .mpg with a program called "HDTV to MPEG" first, and run DGIndex on the results. Then AviSynth can chew the D2V file and serve it to MeGUI.

2. If it's a TV show with multiple sections including interlaced video, telecined film, archive footage rezzed up to 1080 etc, MeGUI seems to have a hard time choosing a deinterlacer that gives decent results. It's usually better to write your own Avisynth script using DirectShowSource() to get the video stream into the encoder and let DirectShow deinterlace it. [The docs say AviSynth tries to disable DirectShow deinterlacing, but fortunately I've never seen it succeed.]

3. On my usual settings, I get about 7fps for 720x576 PAL DVD backups done in single pass constant quality mode and I don't worry about how many files fit to a DVD. For 1080p/24 I want one movie per DVD so I have to do 2 pass, and I get about 1.2 to 1.4fps on each pass. It takes me 3 or 4 days to encode a movie (A64 X2 3800+). If I didn't like the ColorMatrix() filter in Avisynth so much (my backups look better than the originals), I'd just burn the TS files to two or three DVDs. Some time I'll check out how Xvid does with one HD movie on a DVD9.

4. Many a transport stream has a negative audio delay and a few hundred bytes of junk on the front of the sound. MeGUI may refuse to open these for encode using its standard NicAc3Source filters. MkvMerge doesn't particularly like muxing them straight back onto the encoded video without audio compression, either. DirectShowSource will get the sound into the encoder, and then the encode will synch/mux OK.

MajinNinja
27th May 2006, 15:21
Hi All,
I'm using MeGui v0.2.3.2116, DGMPGDec v1.4.6, TIVTC v1 RC4 and I'm having the following problem. Whenever I attempt to perform the deinterlace analysis an error window pops up stating that TIVTC.dll cannot be found and that 'tfm' is not a recognised command. I have TIVTC.dll in my avisynth dir and using it in scripts without issue. Any ideas what may be happening?

Cheers :)

Carpo
27th May 2006, 15:24
sounds like it might be a right pain in the arse, although latest dgindex (1.4.7b12) had no issues with it

guess its a case of trial and error :) to see what resssults will look like

thanks for the advice

edit: found NullPacketStripper_v013beta it seems to join the ts files together ok with no apparent sync issues :)

wacco
29th May 2006, 01:11
Excuse me, but how do i create profiles for the one click encoder? i need to encode dvd rip>avi. Megui says i need to select audio/video profiles, but there dont seem to be any of them?

http://www.imagetiger.com/thumb/img2290506110010.jpg (http://www.imagetiger.com/full/2290506110010/)

berrinam
29th May 2006, 06:52
Get a new version of MeGUI from http://x264.nl and it should be clear.

sillKotscha
29th May 2006, 16:13
just a question...

for minimal denoising of a video_clip shouldn't Undot() be replaced by RemoveGrain()?

advantage (IMHO):

- RemoveGrain(mode=1) is identical with trbarry's Undot (even the speed of the SSE version is nearly identical to that of Undot, but the SSE2 and especially the SSE3 versions are significantly faster)... = from the readme
- the denoising algo is considered to be more complex

what do you think...

sillKotscha
29th May 2006, 16:50
when using the avisynth script creator I have noticed a difference between d2v source and directshow source...

my guess is that it could be an avisynth failure because detection via d2v source is correct... see attached pictures.

http://img130.imageshack.us/img130/4967/d2vcopy7ll.png (http://imageshack.us)

http://img56.imageshack.us/img56/3914/directshowcopy9bo.png (http://imageshack.us)

Doom9
29th May 2006, 16:53
I have noticed a difference between d2v source and directshow source... And what would the difference be?

sillKotscha
29th May 2006, 16:59
have a closer look at the pictures - hint: input DAR and as a result the suggested resolution...

Edit: it is provided that the same source (vob) is used

1. loaded after d2v was created
2. loaded without d2v creation -> thus directshowsource is used...

Doom9
29th May 2006, 19:47
Your second image never loaded at work.. so there was no "this instead of this" effect for me.
Is the resolution of your VOB 720x576? That would explain the 1.5 DAR. The thing is.. in this scenario you'll never have a 16:9 DAR.. DirectShow doesn't know that.. could be that DAR flags are ignored, could be that they are taken into account. If you want reliable info, only DGIndex can provide that.

sillKotscha
29th May 2006, 20:07
Your second image never loaded at work.. so there was no "this instead of this" effect for me.

I've realized that too... sometimes the 2nd image won't load...

Is the resolution of your VOB 720x576? That would explain the 1.5 DAR.

no, it is 720x480 4:3 NTSC, but nevertheless after your explanation it is clear that directshowsource doesn't take DAR into account...

it was just a quick and dirty "hey, I have found out something" but didn't thought twice about it - sorry!

berrinam
30th May 2006, 03:04
When someone gets around to adding MediaInfoLib support to MeGUI, that might be solved, because MediaInfoLib can hopefully detect the AR of files

cc979
30th May 2006, 18:59
i've just figured out, why my .mp4 input in the avs script was not working - i've found that ffdshow 'use overlay mixer/allow output formay changes during playback' has to be on indeterminate state.

is that normal? or some kinda strange bug with megui/avisynth

wacco
30th May 2006, 20:00
Ive got the latest MeGui, and I can encode .avi files with sound like a dream using script creator. However, I dont understand how to get a DVD (I have the vob and ifo files from DVD decrypter) and convert the rip to avi/xvid? I cant seem to do it rightly even when using One Click converter. Please help.

BigDid
30th May 2006, 22:06
just a question...
- RemoveGrain(mode=1) is identical with trbarry's Undot (even the speed of the SSE version is nearly identical to that of Undot, but the SSE2 and especially the SSE3 versions are significantly faster)... = from the readme

what do you think...
Hi,

Regarding Removegrain(mode=1), Kassandro has corrected a bug present in undot(), infos here: http://forum.doom9.org/showthread.php?p=533526#post533526

Also be sure to use latest version from: http://www.removegrain.de.tf/ (was Pre 1.0 a few weeks ago)

If you want more than minimal denoising, give a try to mode=5 (or 6), I find it more conservative than mode=2. For stronger denoising I have switched from mode=7 or higher to Degrainmedian(mode=3,5) or less.

Did

Doom9
31st May 2006, 07:11
@wacco: There's a sticky megui guide. If that ain't enough, you gotta be way more specific as to what you don't get. Just thing on how you would explain things to your mother.. that's exactly how you should approach any such problem... asume people know nothing, just have the software and you have to guide them through everything.

Morte66
1st June 2006, 23:15
Can anyone tell me how to feed raw YUV files into MeGUI for encoding? I downloaded several GB of samples (not copyright) and I would like to do some experimental encoding. I guess the usual DGIndex thing is not on.

I thought perhaps I could find a DirectShow codec then use DirectShowSource() in AviSynth. But I can't get them to play in any ZoomPlayer/WMP/VLC, despite having a whole bunch of codecs with "YUV" in the name. I can play them very slowly using a program called YUV viewer, and the video data is fine. I just can't get it to MeGUI.

My Google-Fu has failed me this day. All help, hints, or idiot-proof walkthroughs appreciated.

berrinam
1st June 2006, 23:24
I don't know how to input raw yuv into MeGUI, but using x264.exe by itself, it will accept such files, as long as you give it the dimensions.

Morte66
1st June 2006, 23:36
I don't know how to input raw yuv into MeGUI, but using x264.exe by itself, it will accept such files, as long as you give it the dimensions.

There's a start. :) Thanks, I'll look up the command syntax.

I'm kind of hoping to do this with various encoders/formats and see what happens, including a couple of h264 profiles and MPEG2 at BluRay bitrates. But one step at a time...

Morte66
2nd June 2006, 00:38
Wow! x264 looks fantastic when you aren't starting from MPEG2.

berrinam
2nd June 2006, 01:11
Can you send me a link to where you got these YUV files?

Sharktooth
2nd June 2006, 03:14
I don't know how to input raw yuv into MeGUI, but using x264.exe by itself, it will accept such files, as long as you give it the dimensions.
rawsource avisynth filter.

Morte66
2nd June 2006, 09:06
Can you send me a link to where you got these YUV files?

ftp://ftp.ldv.e-technik.tu-muenchen.de/pub/test_sequences/1080p/
ftp://ftp.ldv.e-technik.tu-muenchen.de/pub/test_sequences/720p/

Slow downloads, but they finished. There's 8.24GB of 1080p, if you string it all together it's almost two minutes.

Here's the readme:

Sequence #Frames Short description
--------------------------------------------------
Blue sky 250 Top of two trees against blue sky. High contrast, small color differences in the sky, many details. Camera rotation.
Sunflower 500 Sunflower, very detailed shot. One bee at the sunflower, small color differences and very bright yellow. Fixed camera, small global motion.
Rush-hour 500 Rush-hour in Munich city. Many cars moving slowly, high depth of focus. Fixed camera.
Pedestrian Area 375 Shot of a pedestrian area. Low camera position, people pass by very close to the camera. High depth of field. Static camera.
Tractor 761 A tractor in a field. Whole sequence contains parts that are very zoomed in and a total view. Camera is following the tractor, chaotic object movement, structure of a harvested field. Very red wheels of the tractor
Riverbed 250 Riverbed seen through the water. Very hard to code.
Station 313 View from a bridge to munich station. Evening shot. Long zoom out. Many details, regular structures (tracks)

Camera: Sony HDW-F900
Recorded on (Tape): HDCam
Stored on: DVS
Frame rate: 25 fps (progressive)
Resolution: 1920x1080
Color subsampling: 4:2:0
Filter Tabs for Subsampling: -0.0063 / 0 / 0.0299 / 0 / -0.0831 / 0 / 0.3098 / 0.4994 / 0.3098 / 0 / -0.0831 / 0 / 0.0299 / 0 / -0.0063
Color conversion: ITU Rec BT 709 (SMPTE 274M)
Original files contact: oelbaum@ei.tum.de
Restrictions of use: No restrictions
Copyright: No Copyright
Date of Recording: Summer 2001
Source: Taurus Media Technik, Dr. Karl Mauthe
Producer: Martin Kreitl martin.kreitl@KirchGruppe.de
Camera Operator: Jürgen Würzinger
Camera Assistent: Yean Ives Diss

All material was recorded in summer 2001 by Taurus Media Technik.

Morte66
2nd June 2006, 09:22
rawsource avisynth filter.

Cool, now I can pad them to 1088 lines and string them together to get scene changes and so on. Thanks, Sharktooth.

{edit: Hah, I see somebody is already playing the same game: http://www.avsforum.com/avs-vb/printthread.php?t=671348&page=10&pp=30 }

wacco
4th June 2006, 22:31
Ok, I've been trying to do this for some weeks now, without success. Now I have the time to write detailed here on forums. Sorry bad english by the way :o .

Ok, I have a ripped DVD ripped in IFO mode using DVD Decrypter. I want to convert the rip into a avi file, using Xvid as the codec. I've heard the easiest way is using the one click encoder, but I cant get this to work (problem with profiles, I cant even set them up).

I select output directory, input vob file, but no result. It just says I need to select audio and video profiles? Look at screenshot 5 - I cant select audio profile, there are no audio profiles there :scared: .

I tried one click profile setup, but I cant seem to set up one. Help.

http://www.imagetiger.com/thumb/img2040606860493.jpg (http://www.imagetiger.com/full/2040606860493/)http://www.imagetiger.com/thumb/img2040606190494.jpg (http://www.imagetiger.com/full/2040606190494/)
http://www.imagetiger.com/thumb/img2040606250495.jpg (http://www.imagetiger.com/full/2040606250495/)http://www.imagetiger.com/thumb/img2040606200496.jpg (http://www.imagetiger.com/full/2040606200496/)http://www.imagetiger.com/thumb/img2040606590497.jpg (http://www.imagetiger.com/full/2040606590497/)

Dayvon
4th June 2006, 22:42
It looks to me like you need to make a preset or download a preset. Do you want to use MP3? If so, in the main MeGui screen, click codec in the audio "box" and select mp3. Then press the button next to it saying "CONFIG". Set your parameters here (defaults are ok, maybe you want to set ABR instead of CBR) and then click the "new" button near the bottom of the window. Type in a name for your new preset!!

This should allow you to pick the settings you just saved when you use the one click encoder. I just tried this and it worked great for me!!

wacco
4th June 2006, 23:38
Thanks, i manage to start now, but then i get these errors. The one to the right first.
http://www.imagetiger.com/thumb/img2050606420016.jpg (http://www.imagetiger.com/full/2050606420016/)http://www.imagetiger.com/thumb/img2050606770017.jpg (http://www.imagetiger.com/full/2050606770017/)

Doom9
5th June 2006, 00:08
And the log would be? It almost sounds like your dgindex is somehow preconfigured to apply force film... auto force film in megui only comes after dgindex has been run and there's no way to configure force film from the commandline (at least last time I checked). And megui's automatic source type recognition comes even after that

berrinam
5th June 2006, 06:07
@wacco: You're on a very old version of MeGUI. Grab a new one from http://x264.nl

Sharktooth
5th June 2006, 12:43
this may be generally interesting: http://forum.doom9.org/showthread.php?p=836694#post836694
aud-x decoder doesnt actually work with avisynth directshowsource().
since Aud-X can decode normal mp3, ac3 and pcm files, it can severely cripple the audio functionalities of MeGUI.
So, before encoding with MeGUI be sure to disable the Aud-X decoder.

wacco
5th June 2006, 17:30
@wacco: You're on a very old version of MeGUI. Grab a new one from http://x264.nl

The one click encoder only lets me utput in mp4 :confused: . Even though I created an Xvid video profile.

dimzon
5th June 2006, 17:35
The one click encoder only lets me utput in mp4 :confused: . Even though I created an Xvid video profile.
Wich audio codec do You select?

wacco
5th June 2006, 17:43
Wich audio codec do You select?

MP3 CBR. Its possible that Ive forgot to do something, I'm not sure. Sorry for being so bad at this :( .

wacco
6th June 2006, 13:34
I have recorded a video with my actions. I cant undertstand why I cant output in AVI. The result I get from my actions in the video is a mp4 file.

http://www.youtube.com/watch?v=CruYFCw-b44

Please take a look at it. In the one click encoder, only MP4 is there as an option.

berrinam
6th June 2006, 22:04
Got it. You probably should take a look at the advanced options, which you can get by checking the 'advanced options' checkbox. You can choose your format in one of them.

wacco
7th June 2006, 00:03
Thank you mister!
It looks like its working to output avi now :D . Thanks a lot! Im happy now ^^ .

M.H.A.Q.S.
12th June 2006, 12:20
I recently started testing MeGUI and StaxRip along with x264gui. There is one problem that i had with the three of them while I encode movies.

I want to encode a video file and I select the PSP profile and the output type to be .mp4 and I don't want to encode the audio and I select the codec to be x264.

The conversion is done fine by all three but the output does not run on any media player, no matter what I do. I have all the codecs correctly installed and until I select the codec to be any other than x264, it won't work.

Is there any problem on my end or is it the x264 codec?

the AVI, MKV and RAW output is fine when using DivX, XVid etc. But any encoding done with x264 won't work.

Sharktooth
12th June 2006, 13:08
resolution, fps, bitrate...?

M.H.A.Q.S.
13th June 2006, 10:19
The resolution varies as I have tried to encode many movies. The FPS is mostly set to 29.97 and the bitrate for audio and video varies between 50-128. I use AAC audio encoder for audio encoding when there is a need.

Here is the log from x264gui, just for reference.


---------- AviSynth Script ----------

DirectShowSource("C:\Documents and Settings\mhaqs\Desktop\alone_wmvlowwide.wmv")
Crop(0,0,-0,-0)
BicubicResize(592,336,0,0.5)

---------- Audio Encoding ----------

Command Line: "C:\Documents and Settings\mhaqs\Desktop\x264gui\bin\Applications\BeSweet\BeSweet.exe" -core( -input "C:\Documents and Settings\mhaqs\Desktop\alone_wmvlowwide.wav" -output "C:\Documents and Settings\mhaqs\Desktop\alone_wmvlowwide_AudioOutput.mp4" ) -azid( -c normal -L -3db ) -ota( -d 0 -g max ) -bse( -vbr 0.5 )

---------- Audio Encoding Statistics ----------

Start time: 2:14:32 PM
End time: 2:14:42 PM
Duration: 00:00:09
Speed: 366 fps
Size: 1.7 MB
Bitrate: 127.82 kbps
Video Bitrate: 50239 -> 50171

---------- x264 Single/First Pass Encoding ----------

Command Line: "C:\Documents and Settings\mhaqs\Desktop\x264gui\bin\Applications\x264\x264.exe" --crf 22 --ref 3 --bframes 3 --b-pyramid --weightb --b-rdo --bime --analyse all --8x8dct --subme 6 --trellis 1 --mixed-refs --progress --no-psnr --output "C:\Documents and Settings\mhaqs\Desktop\alone_wmvlowwide_EncoderOutput.mp4" "C:\Documents and Settings\mhaqs\Desktop\alone_wmvlowwide.avs"

---------- x264 Single/First Pass Encoding Statistics ----------

Start time: 2:14:42 PM
End time: 2:19:45 PM
Duration: 00:05:03
Speed: 11 fps

---------- Muxing ----------

Command Line: "C:\Documents and Settings\mhaqs\Desktop\x264gui\bin\Applications\MP4Box\MP4Box.exe" -add "C:\Documents and Settings\mhaqs\Desktop\alone_wmvlowwide_EncoderOutput.mp4:name=Video" -add "C:\Documents and Settings\mhaqs\Desktop\alone_wmvlowwide_AudioOutput.mp4:lang=eng:name=English:sbr" -new "C:\Documents and Settings\mhaqs\Desktop\alone_wmvlowwide.mp4"

---------- Muxing Statistics ----------

Start time: 2:19:45 PM
End time: 2:19:45 PM
Duration: 00:00:00
Speed: 8731 fps

---------- Overall Statistics ----------

Start time: 2:14:32 PM
End time: 2:19:45 PM
Duration: 00:05:12

sjchmura
14th June 2006, 21:05
Ok, I want to move from Recode to the High Profile, Dual core support of MeGUI/X264 :)

I have nero 7 installed. Should I use this or another audio method? So far the megui is bombing on the Ac3 so i assume this is due to nero 7 being "locked" from other software.

Is the "directshow" drop down using AVIsynth (read another post). If so how do I ensure the AVIsynth method is being used and updated properly..

ChronoCross
14th June 2006, 21:13
Megui no longer supports nero 7. It uses instead their free AAC encoder. try updating to the latest version of megui and use the updater to download the needed files.

sjchmura
14th June 2006, 22:27
Wow - never knew the updater works that way :) I thought only StaxRip. Sorry - RFM :)

M.H.A.Q.S.
15th June 2006, 08:47
c'mon guys. Does nobody know what is wrong with the encoding done with x264??

check
15th June 2006, 12:45
@ MHAQS,if the only problem is that you cannot output to anything but mp4, can't you simply remux the file after it is output?

My question: I've run into no troubles with adaptive muxer, has anyone found any problems with it?

thuongshoo
20th June 2006, 05:07
Hi !
I open AVS file.
You know! If I choose 2pass- 1st pass, I can't choose container and video output filename.
I click Enqueue. Megui says " video output filename does not have the correct extention. Based on current settings, it should be mp4"
and for clicking "Queeu analysis pass", Megui says "Error : Could not add job to queue. Make sure that all the details are enterd correctly "

Please help me !
Thank you !

jellysandwich
20th June 2006, 17:46
A few questions:

1) Does MeGUI automatically convert .srt subs to .ttxt (I'm worried about a MP4 spec compliant issue)?
2) Why doesn't MeGUI's muxer allow .ttxt subs in the first place?
3) After muxing a file, how can I access the subs in that file? Ie, if I load the file into mmg/mkvmerge, it will see the video and audio streams but not the subtitles.

js

Doom9
20th June 2006, 18:07
Does MeGUI automatically convert .srt subs to .ttxt Yes and No. No, MeGui doesn't do that, but mp4box does and since MeGUI uses mp4box...
Why doesn't MeGUI's muxer allow .ttxt subs in the first place?Because srt is pretty much the standard format for textual subs?
3) Do these tools even support all MP4 flavors? I mean the obvious way is to install the appropriate mp4 playback filters and play the file.. not try to remux it into something else. mp4box might be able to extract the subs again (it will certainly list them as a track) but I've never had the need to try this out.

jellysandwich
20th June 2006, 19:10
Yep, mp4box can indeed extract it. I was just wondering if it was possible just in case I needed to remux for some reason. Thanks a bunch.

js

ariga
21st June 2006, 09:34
The download link to chronocross's site on sourceforge is incorrect.

Is there an alternative to running the autoupdate to get the latest builds ? Often the PC I use to browse doesn't have .Net 2 :(

daverc
21st June 2006, 11:29
@ariga : i think MeGui is now hosted on x264.nl

I just noticed there's no obvious way to get MeGUI when you google for it. First answers are doom9 posts, or sourceforge page. And they all are more or less outdated.

It could give a boost to the project if someone puts a link to x264.nl (http://x264.nl) on top of each of these pages.

check
21st June 2006, 11:34
The autoupdate server is here: http://megui.org/auto/

check
22nd June 2006, 01:18
Can someone please explain what "Use Advanced ToolTips" in the options does? Thanks.

ChronoCross
22nd June 2006, 02:16
Can someone please explain what "Use Advanced ToolTips" in the options does? Thanks.

if you hover over a checkbox it will display an information bubble. if this option is unchecked those do not appear.

Revgen
22nd June 2006, 02:51
Doesn't Xvid encraw support multithreading?

MeGUI doesn't seem to have any multithreading options to choose from for Xvid. I'd appreciate it if they were added. Thanks. :thanks:

ChronoCross
22nd June 2006, 03:23
Doesn't Xvid encraw support multithreading?

MeGUI doesn't seem to have any multithreading options to choose from for Xvid. I'd appreciate it if they were added. Thanks. :thanks:

xvid encraw does support it however this is a feature part of the 1.2CVS. I'm not sure if megui supports using it yet. Sharktooth or berrinam or even doom9 might know better.

Revgen
22nd June 2006, 04:58
Okay I'll contact berrinem.

ariga
22nd June 2006, 07:29
Thanks, daverc & check.

Blue_MiSfit
22nd June 2006, 10:07
Strange.. I formatted this evening and figured I would give the new MeGUI auto-update thing a try. So I installed the latest build from x264.nl - 0.2.3.2175 - and when it auto updates neroaacenc is not available.

Any word on what's happening, or what a fix could be?


realized I have to get this file myself from nero's website due to licensing issues. All is well


This feature is unbelievably cool. No more digging through the forums and my archives!

Thanks!!!

~MiSfit

thuongshoo
23rd June 2006, 04:54
Hi !
I open AVS file.
You know! If I choose 2pass- 1st pass, I can't choose container and video output filename.
I click Enqueue. Megui says " video output filename does not have the correct extention. Based on current settings, it should be mp4"
and for clicking "Queeu analysis pass", Megui says "Error : Could not add job to queue. Make sure that all the details are enterd correctly "

Please help me !
Thank you !

I try to use version which is at sourgeforce.net. This version allow me to choose container when I choose 2pass-1st pass.



I have new problem ! I have no output file when I finished encoding 2pass-2ndpass.
Log for job job3

avis [info]: 320x240 @ 23.98 fps (7156 frames)
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
x264 [info]: slice I:50 Avg QP:25.02 size: 12924
x264 [info]: slice P:3825 Avg QP:27.21 size: 2648
x264 [info]: slice B:3281 Avg QP:29.26 size: 651
x264 [info]: mb I I16..4: 4.4% 22.6% 72.9%
x264 [info]: mb P I16..4: 1.7% 3.7% 3.0% P16..4: 51.9% 10.8% 5.7% 1.1% 0.5% skip:21.6%
x264 [info]: mb B I16..4: 0.1% 0.5% 0.4% B16..8: 13.4% 1.6% 2.2% direct: 9.9% skip:72.0%
x264 [info]: final ratefactor: 26.26
x264 [info]: 8x8 transform intra:42.3% inter:39.9%
x264 [info]: direct mvs spatial:98.6% temporal:1.4%
x264 [info]: kb/s:346.0

Actual bitrate after encoding without container overhead: 346.09

----------------------------------------------------------------------------------------------------------
Starting job job4 at 17:22:47 PM
Job is a video job. encoder commandline:
--pass 2 --bitrate 351 --stats "C:\Documents and Settings\Administrator\My Documents\stat.stat" --keyint 240 --min-keyint 24 --ref 6 --mixed-refs --no-fast-pskip --bframes 5 --b-pyramid --b-rdo --bime --weightb --subme 7 --trellis 1 --analyse all --8x8dct --direct auto --b-bias 3 --me umh --progress --no-psnr --output "E:\SES\shoo yarc01.mp4" "E:\SES\shoo yarc01.avs"
successfully started encoding
Processing ended at 17:23:01 PM
----------------------------------------------------------------------------------------------------------

Log for job job4

desired video bitrate of this job: 351 kbit/s - obtained video bitrate: 0 kbit/s
----------------------------------------------------------------------------------------------------------



Starting job job13 at 11:06:11 AM
Job is a video job. encoder commandline:
--pass 1 --bitrate 351 --stats "C:\Documents and Settings\Administrator\My Documents\021119_Shoo_HEYx3.stats" --no-fast-pskip --bframes 1 --bime --weightb --subme 1 --trellis 2 --analyse all --8x8dct --direct auto --b-bias 5 --me dia --progress --output NUL "C:\Documents and Settings\Administrator\My Documents\021119_Shoo_HEYx3.avs"
successfully started encoding
Processing ended at 11:09:36 AM
----------------------------------------------------------------------------------------------------------

Log for job job13

avis [info]: 320x240 @ 23.98 fps (6257 frames)
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
x264 [info]: slice I:61 Avg QP:22.15 size: 11219 PSNR Mean Y:42.65 U:44.54 V:45.92 Avg:43.32 Global:42.98
x264 [info]: slice P:3280 Avg QP:24.65 size: 2759 PSNR Mean Y:39.93 U:41.88 V:43.40 Avg:40.63 Global:40.14
x264 [info]: slice B:2916 Avg QP:26.75 size: 660 PSNR Mean Y:39.24 U:41.73 V:43.30 Avg:40.04 Global:39.55
x264 [info]: mb I I16..4: 3.4% 23.3% 73.3%
x264 [info]: mb P I16..4: 1.3% 3.2% 3.0% P16..4: 59.9% 11.7% 6.4% 1.3% 0.6% skip:12.7%
x264 [info]: mb B I16..4: 0.0% 0.2% 0.3% B16..8: 14.2% 1.3% 2.2% direct:14.3% skip:67.5%
x264 [info]: final ratefactor: 24.44
x264 [info]: 8x8 transform intra:38.7% inter:46.0%
x264 [info]: direct mvs spatial:99.8% temporal:0.2%
x264 [info]: PSNR Mean Y:39.634 U:41.836 V:43.377 Avg:40.380 Global:39.871 kb/s:357.35

Actual bitrate after encoding without container overhead: 357.43

----------------------------------------------------------------------------------------------------------
Starting job job14 at 11:09:36 AM
Job is a video job. encoder commandline:
--pass 2 --bitrate 351 --stats "C:\Documents and Settings\Administrator\My Documents\021119_Shoo_HEYx3.stats" --ref 5 --mixed-refs --no-fast-pskip --bframes 5 --b-pyramid --b-rdo --bime --weightb --subme 7 --trellis 2 --analyse all --8x8dct --direct auto --b-bias 5 --me umh --progress --output "C:\Documents and Settings\Administrator\My Documents\021119_Shoo_HEYx3.mp4" "C:\Documents and Settings\Administrator\My Documents\021119_Shoo_HEYx3.avs"
successfully started encoding
Processing ended at 11:09:38 AM
----------------------------------------------------------------------------------------------------------

Log for job job14

Carpo
23rd June 2006, 07:03
ok heres two little questions i think should go here

(note im not asking which is better on this one:) )

1st

which has more support mkv or mp4 - i would like to use the one which is more widely supported

2nd

seeing as i have a few pcs now (wifes childrens) i was thinkning of getting win2k3 standard server and do all the encodes from there (as well as other things)- has anyone used megui on that sort of OS ? if so any issues ?

Morte66
23rd June 2006, 08:45
which has more support mkv or mp4 - i would like to use the one which is more widely supported

Do you mean "which container supports more content", or "which "container is supported by more players/tools"?

I'd say mkv is better for content. But if a certain piece of software only handles one of them, then it's probably mp4.

Carpo
23rd June 2006, 08:58
"which "container is supported by more players/tools"?


was what i meant :)

Doom9
23rd June 2006, 12:36
I try to use version which is at sourgeforce.net.That's a very old revision ---- wait scratch that.. a rather up-to-date is now up but it was just placed there two days ago.. so you should always indicate the revision you're using.
I have no output file when I finished encoding 2pass-2ndpass. Whomever asked that we put a start and end time for a process in there (I initially was opposed to that but now I bow to the wisdom behind this request even though it probably wasn't meant in the same spirit as I find it useful now), inadvertedly added a feature that more people should be aware of:

The log shows you the total processing time for every single job. Armed with that, if video encoding only takes a few seconds.. that should sound an ear-piercing alarm.

Your job3: you can't encode more than 7000 frames in 16 seconds.. it's just impossible. Job4: you can't encode more than 6000 frames 2 seconds.. it's even more impossible.
Add another piece of crucial information: When x264 craps out for some reason, it not always tells megui why it crapped out.. those are the cases when you need to take the commandline from megui, and run the job manually from the commandline.. you're likely to find out what exactly went wrong when you do that. If you don't know what that means, I wrote instructions in the bugreport thread.

Sharktooth
23rd June 2006, 13:00
I've just updated the SF version to 2177.

Dkruskie
24th June 2006, 00:16
Strange.. I formatted this evening and figured I would give the new MeGUI auto-update thing a try. So I installed the latest build from x264.nl - 0.2.3.2175 - and when it auto updates neroaacenc is not available.

Any word on what's happening, or what a fix could be?


realized I have to get this file myself from nero's website due to licensing issues. All is well



~MiSfit


so where do I put the neroaacenc so megui recognizes it?

jellysandwich
24th June 2006, 00:30
so where do I put the neroaacenc so megui recognizes it?

It doesn't matter where you put it. You need to edit the autoupdate.xml file to make it think that it currently has the latest version installed. For example,

<iUpgradeable xsi:type="ProgramFile">
<DownloadChecked>false</DownloadChecked>
<SavePath>D:\encoding\megui\tools\neroaacenc\neroaacenc.exe</SavePath>
<CurrentVersion>
<FileVersion>2006-05-26</FileVersion>
<Url>naac_20060526.zip</Url>
</CurrentVersion>
<AvailableVersions>
<Version>
<FileVersion>2006-05-08</FileVersion>
<Url>naac_20060508.zip</Url>
</Version>
<Version>
<FileVersion>2006-05-26</FileVersion>
<Url>naac_20060526.zip</Url>
</Version>
</AvailableVersions>
<AllowUpdate>true</AllowUpdate>
<Name>neroaacenc</Name>
<TreeViewID>UpdateableFiles.ProgramFile</TreeViewID>
<NeedsRestartedCopying>false</NeedsRestartedCopying>
</iUpgradeable>

I imagine you could just take it out entirely, but I'm not sure. And of course, you could also simply wait for the developers to take care of it.

js

Hesse
24th June 2006, 02:19
I'm using MeGUI for the first time and did a quick search of the forum but didn't find a solution, so I thought I'd post. I'm trying to encode my episodes of American Dad. When generating the AVS script, the guide says to use the "Analyze" on the Filters tab to check the source to determine the type and which deinterlacing is required. However, it fails on the one episode that I've tried (S1E12). I'm using v0.2.3.2177 of MeGUI.

This is what it says:


Source type: For your reference:
Progressive sections: 0
Interlaced sections: 0
Partially Static Sections: 137
Film Sections: 14
Source does not have enough data. This either comes from an internal error or an unexpected source type.


Then the only option is "Do nothing (Source Detection is stuck)".

I tried checking the deinterlace box, but of course there was nothing in the AVS script. I went ahead and encode the episode, but the source output was interlaced as expected. If I deinterlace using ffdshow, it sort of works. But I've noticed that the various deinterlacers have trouble with these episodes (I've tried AutoGK and several different deinterlacing methods in GK).

Is there a way to select the deinterlacing in the GUI? I don't know anything about AVS scripts, so I wouldn't know how to add a deinterlacing method manually.

Any help is appreciated.

berrinam
24th June 2006, 02:22
Two suggestions:
Try bautodeint (http://forum.doom9.org/showthread.php?t=111870&highlight=bautodeint) to see if it recommends anything. Unfortunately, it has no GUI, so you'll have to run it in commandline form, inputting an avs file which contains the first line of the script MeGUI generates (just the input). It'll hopefully say what kind of source you have, in which case you can tell us and we can recommend some filters.
Upload a small sample of your source somewhere, so we can look at it.

Hesse
24th June 2006, 02:44
berrinam,

Thanks for the suggestion. I tried your tool with the following result:

E:\DVD\AMERICANDAD\DISC3\112\112_MEGUI>bautodeint --input 112.avs
BAutoDeint [info]: Number of sections of type `unknown': 137
BAutoDeint [info]: Number of sections of type `film': 14
BAutoDeint [info]: There are 0 sections with 0 frames moving.
BAutoDeint [info]: There are 7 sections with 1 frames moving.
BAutoDeint [info]: There are 6 sections with 2 frames moving.
BAutoDeint [info]: There are 13 sections with 3 frames moving.
BAutoDeint [info]: There are 7 sections with 4 frames moving.
BAutoDeint [info]: There are 14 sections with 5 frames moving.

Processing completed. Type is determined to be unknown.

This is the source AVS that I used previously generated by MeGUI.

# Set DAR in encoder to 4 : 3. The following line is for automatic signalling
global MeGUI_darx = 4
global MeGUI_dary = 3
DGDecode_mpeg2source("E:\DVD\AMERICANDAD\DISC3\112\112_MEGUI\112.d2v",info=3)
ColorMatrix(hints=true)
#Not doing anything because I have no idea what is going on
#crop
LanczosResize(720,480) # Lanczos (Sharp)
Undot() # Minimal Noise

As you can see, it is confused about the source type. I believe the source to be very bad, as I mentioned with the troubles of different deinterlacers.

If you or someone else could explain how to take a sample of the source to send to someone, I could try that also.

Edit:
Of course, after reading your message fully, I used the wrong avs script. I just reran it with only the DGdecode line pointing to the source, but the result from your program was the same.

berrinam
24th June 2006, 05:29
Aha! Cartoon sources always seem to cause troubles. Use ChopperXP to cut a bit of the VOB file so that you can upload it somewhere like http://rapidshare.de or http://savefile.com

Carpo
24th June 2006, 08:39
ok this has prob been asked b4 (and i have used search but trying to find the post search refers to in about 50 pages is a bit much :) )

what does no dct decimation do? and is it required - i see by default it is disabled and when i put the mouse over the box i dont get a little tooltip bubble telling me what its for.

i know im gonna get a response of "if you dont know what it is you dont need it" but it would be nice to know what it is and what it does :D

aslo can anyone suggest an all round quant matrix file to use ? at the moment i use eqm_avc_hr.cfg

thuongshoo
24th June 2006, 09:43
MeGui Avisynth Script Genarator
At MeGui Avisynth Script Genarator, I open "E:\SES\[DVD-MV]S.E.S-meng.mpg". DGIndex's icon appears at taskbar, Maximize it, DGIndex don't do anything .
At DGIndex window, if I open file "E:\SES\[DVD-MV]S.E.S-meng.mpg" , DGIndex will do automatically without choosing "Save Project". And then Megui says "AVIsynth Error MPEG2source :unable to load D2V file E:\SES\[DVD-MV]S.E.S-meng.d2v "

There is a d2v file exist at E:\SES but its name is [DVD-MV.d2v
Perhaps My computer has some problem .

Carpo
24th June 2006, 10:28
its becuase of the name remove [] and it should work fine

cc979
24th June 2006, 12:53
just been doing some test encodes, and found when i autocrop sometimes it leaves a couple of blacking lines at the top - is there any theshold for border detection ?

Hesse
24th June 2006, 16:47
Aha! Cartoon sources always seem to cause troubles. Use ChopperXP to cut a bit of the VOB file so that you can upload it somewhere like http://rapidshare.de or http://savefile.com

OK, I used ChopperXP and cut a small section that I've been looking at for checking the deinterlacing quality.

http://rapidshare.de/files/23989479/CUT.VOB.html

The places I've been looking are the sign on the side of the baggage claim and the people walking just after the baggage claim bit.

jellysandwich
24th June 2006, 18:31
OK, I used ChopperXP and cut a small section that I've been looking at for checking the deinterlacing quality.

http://rapidshare.de/files/23989479/CUT.VOB.html

The places I've been looking are the sign on the side of the baggage claim and the people walking just after the baggage claim bit.

IVTC seems to do a pretty good job on this clip.

#avs script
DGDecode_mpeg2source("CUT2.d2v",info=3)
it()

http://amnah.net/uploader/files/1/cut.avi

js

Hesse
24th June 2006, 21:32
Thanks for the help everyone. I poked around in the settings and found the option to increase the amount of the source to analyze to determine the type. I changed it from 1% to 2% and it was able to successfully complete the analysis of the complete source. It came up with the TIVTC (similar to what you just said jellysandwitch).

I just processed the complete episode, and it looks great!

I wanted to take a moment to thank all the developers of MeGUI and the x264 codec. I tried MeGUI about 6 months ago had some troubles with quality, etc so I stuck with using AutoGK. MeGUI now is just great! The additional automated steps makes it easy for someone who doesn't want to go into the gory detail of setting up the AVS scripts, but allows the flexibility to do so for the others out there. And the quality of x264 is amazing. Keep up the great work everyone!

Hesse
25th June 2006, 00:07
Got another question. After generating the AVS script, then I'm using the "AutoEncode" option to automatically calculate bitrate and mux in the AC3 soundtrack into the MKV container. I'm also adding chapters and a name to the audiofile. However, when I view the file, the additional information is not there. Is it a bug or am I doing something wrong? I also like to name the video track with the name of the codec used, but this option is grayed out.

Thanks.

Doom9
25th June 2006, 10:38
@thuongshoo: Could you please try the experiment I suggested in my previous post?

thuongshoo
25th June 2006, 11:10
@Doom9: Do you mean about post #177 ? I also try to run DGIndex at Cmd but it still remains.
I have just found a thing. There are only some MPG files which can't analysed by DGIndex automatically.

Doom9
25th June 2006, 11:52
@thuongshoo: no, this one: http://forum.doom9.org/showthread.php?p=844025#post844025

thuongshoo
25th June 2006, 12:01
@Doom9: Oh ! Your link lead me to my post. post844025 is a my post.

Doom9
25th June 2006, 13:17
oops.. I meant this of course: http://forum.doom9.org/showthread.php?p=844146#post844146

Carpo
27th June 2006, 18:08
seeing as i have a few pcs now (wifes childrens) i was thinkning of getting win2k3 standard server and do all the encodes from there (as well as other things)- has anyone used megui on that sort of OS ? if so any issues ?

no one can offer any advise on this Q ? :(

foxyshadis
27th June 2006, 21:54
2k3 is essentially the same as xp sp2 with minor updates, megui/avisynth/x264 etc run fine on it. You might look into 2k3 SBS, if it's still cheaper than standard.

ryanmac3
28th June 2006, 06:59
Hey this is my first post so sorry pretty much just been reading everthing...but I cant seem to find an option in Megui to load a custom matrix in the config button for xvid encraw?? am i just missing something? I've tried changing from h.263 to mpeg but still greyed out I cant load a custom matrix please help and again sorry if its a stupid question.

foxyshadis
28th June 2006, 08:35
Update your megui, it should be on the zones tab.

Carpo
28th June 2006, 17:58
2k3 is essentially the same as xp sp2 with minor updates, megui/avisynth/x264 etc run fine on it. You might look into 2k3 SBS, if it's still cheaper than standard.


nevermind i figured out what you meant :)

ryanmac3
28th June 2006, 18:41
Thanks foxyshadis it works perfect now!! didn't realize I was out of date lol :)

wacco
30th June 2006, 13:29
I've got an xvid avi file that I want to compress with Xvid again. I have no problems in doing this, but how do i get audio on the output file? There is audio on the input video file. Do I need to demux the audio first? How? Is it possible with Megui? Or do I have to use Virtualdubmod or something?

check
30th June 2006, 14:09
To add in audio you need to use the muxer under the tools menu - I forget which input types it supports but you may need to demux with another tool first - try Avimux_GUI

wacco
30th June 2006, 14:32
OK, if anyone knows if it's possible to do this without using another program to demux, please tell :) .

I know how to demux with another program, but it takes more time than to just use one program ;) .

Doom9
30th June 2006, 22:54
you could use Virtualdub and set audio to direct stream copy. MeGUI isn't meant to do such a thing.. you can process avi video input but as far as audio goes, it's not that simple (a video stream can have 0 - multiple audio streams which means you need a way to pick your track just for starters.. hardly any software can do this)

foxyshadis
1st July 2006, 06:25
MeGUI can do it if you manually add the audio to the avisynth script with an AudioDub(DirectShowSource(...,audio=true)) line. Better make sure the default audio stream is the one you want though.

ClownR
3rd July 2006, 20:36
hello
I recently got meGui and updated to everything lastest.
But i cannot update the following:

Error: neroaacenc could not be found on the server
Update completed.
0 files were completed successfully
1 files had problems.

Is there another way to get that file? Thanks
and sorry if someone already had asked this, please point me to the solution link :)

ChronoCross
3rd July 2006, 20:47
hello
I recently got meGui and updated to everything lastest.
But i cannot update the following:

Error: neroaacenc could not be found on the server
Update completed.
0 files were completed successfully
1 files had problems.

Is there another way to get that file? Thanks
and sorry if someone already had asked this, please point me to the solution link :)

go to the nerodigital site. it's a free file.

ClownR
3rd July 2006, 21:02
the website doesn't have that specific file.

Deep_Eyes
3rd July 2006, 22:08
Here is a rather stupid question. I have had to remove x264 and megui due to the avisynth script editor not working. I've since reinstalled everything. Filters codec's megui itself and installed x264 from its installer. I still get this error while trying to use the avisynth script generator

This comes up in a message box:
Avisynth script error:
Script error: there is no function named "DGDecode_Mpeg2Source"

I have all my plugins in the avs default plugins directory, yet i still get the same error.


Any thoughts of what I'm doing wrong?

Latexxx
3rd July 2006, 22:15
the website doesn't have that specific file.

http://www.nero.com/nerodigital/eng/down-ndaudio.php

ClownR
4th July 2006, 03:04
Deep_Eyes

you should be using the following:

LoadPlugin("X:\DVD-Encoding\Encode.Kit\filters\MPEG2Dec3.dll")

###SourceFile###
mpeg2Source("X:\encodes\Dears\3\drs3.d2v")

in your case use the DGI decode file instead. That should fix it.

And Latexxx thank you for the link, appericate it :) thank you very much.

foxyshadis
4th July 2006, 05:46
LoadPlugin("C:\Absolute\Path.dll") should never be necessary if avisynth was installed properly. Did you, say, install gordian knot first? (Which screws up the avisynth paths in the registry.) Also ensure that megui's avisynth folder is correct, as well. Otherwise you'll have to edit every single avs script as you make them.

Deep_Eyes
4th July 2006, 05:56
@foxyshadis

Yes I did install Gordian Knot a long time ago, but I uninstalled it, uninstalled Avisynth and anything else, then reinstalled Avisynth from its installer, then installed megui, downloaded all the updated files and such. The plugins dir points to the AviSynth 2.5\plugins directory like it should be. yet the problem still shows up. Can't do anything with the script generator, though if I make scripts manualy i can then work with megui.

Deep_Eyes
4th July 2006, 07:13
well this is odd. I was playing around and made a dir inside the plugins dir, and I'd be buggered if that didn't make it work. Odd if you ask me, everything in the registry looks fine. well its fixed

i find it intresting that it seems to be a filter problem. If more than the filters megui has on its list is in the same dir, it causes this error. I created a new dir put only the filters that megui's updater downloads and the problem seems to be solved.

dude051
5th July 2006, 23:41
Is there any reason MeGUI's Avisynth script creator makes ITU 16:9 a 37:20 SAR ( 1.823 AR) ? If I remember correctly, there is true 16:9 content out there, in a lot of anime shows actually, which have a 1.78 AR (16:9) which would make the DAR 16:9. MeGUI forcing all ITU 16:9 content to a 1.85 AR forces all 16:9 conent to a DAR of 37:20. But why? There is a difference in the two content. Is it possible for future detection of this?

I know that there only exist two DAR in the DVD spec, 4:3 and 16:9, so this is why ususally you have to crop vertically and horizontally and then specify a 1.85 AR (37:20 DAR) for that content.

Please correct me if I am wrong...

berrinam
6th July 2006, 00:26
Is there any reason MeGUI's Avisynth script creator makes ITU 16:9 a 37:20 SAR ( 1.823 AR) ? If I remember correctly, there is true 16:9 content out there, in a lot of anime shows actually, which have a 1.78 AR (16:9) which would make the DAR 16:9. MeGUI forcing all ITU 16:9 content to a 1.85 AR forces all 16:9 conent to a DAR of 37:20. But why? There is a difference in the two content. Is it possible for future detection of this?

I know that there only exist two DAR in the DVD spec, 4:3 and 16:9, so this is why ususally you have to crop vertically and horizontally and then specify a 1.85 AR (37:20 DAR) for that content.

Please correct me if I am wrong...
You seem to misunderstand what is going on (I don't blame you -- it's very confusing). The DAR shown at the top of the window is the input DAR (before cropping). On DVDs, this can only be ITU 4:3 (which isn't exactly 4:3) or ITU 16:9 (which isn't exactly 16:9). Then, you crop the borders, and you will probably end up with a differently-shaped movie. So, what MeGUI puts in the AviSynth script is the DAR of the output (cropped) movie, which seems to be 37:20 in your case.

If you have an anime source which is not ITU 4:3 or ITU 16:9 before cropping then you have to select the input DAR by hand.

I hope that clears it up. If not, you'll have to be more specific about what's going wrong.

dude051
6th July 2006, 00:53
Yes, it's very confusing, and the search turns up odd ends everywhere. Thanks for answering.

I get it now that that is the input DAR and beside it is the respective output DAR.

My question now, is why does it default to the 37:20 output DAR? I think most people would take this setting for granted, but not all content is in this DAR output wise after cropping. Maybe my math is wrong, or I dont understand but:
16:9 AR = 16:9 DAR
1.85:1 AR = 37:20 DAR

I say this because I know my source has a 1.78 AR, which would be a DAR of 16:9, no cropping of the height. And MeGUI still places an output DAR of 37:20. Which would actually stretch it out of its original AR? To fix it, I set to custom, and input the 1.78 AR i suppose, which then shows as 16:9 DAR in the script. So far I haven't gotten the script creator to make a source that has a 16:9 DAR output for me yet, it's always been 37:20.

No matter what, the input DAR has to be either ITU 4:3 or ITU 16:9, right? The output DAR is what varies after you crop it, right? I think I get it, but I do think MeGUI's area here can confuse. One side with a drop down menu to select the ITU DAR, either 4:3 or 16:9, and then another to select from the range of output DAR's, 4:3,16:9,37:20,2:0,47:20 and custom for the wierd ones. This, to me, would make it more clear.

towerblocks
6th July 2006, 14:00
Is there a way to manualy set the threads in megui, I only get 50ish% cpu usuage.

berrinam
6th July 2006, 14:08
It's in
The settings
Codec settings (depending on whether the codec supports it)

towerblocks
6th July 2006, 15:50
It's in
The settings
Codec settings (depending on whether the codec supports it)


It's got automatically set number of threads (tick box), Thats all, I use it for XviD encoding.

sjchmura
6th July 2006, 19:27
So I have MeGUI installed, latest Neroaac. I select quality 0.5 and try and do an encode of a Transport Stream to 4.7GB disk.

MeGUI and the neroaacenc seem to work find with small files. However, after Megui demuxes the ac3 and begins the encoding it simply "hangs" at "processing". I then get an error in the log file after 5 minutes sayign the encoding could not be performed.

Thoughts? Suggestions? Is this an AVIsynth thing? I downloaded the neroencaac.exe off the official nero site and still no luck

dude051
7th July 2006, 03:25
It's got automatically set number of threads (tick box), Thats all, I use it for XviD encoding.

You can manually set the number of threads by doing so:

1. Under the Input tab of the main program, hit the Config button under the Codec section.
2. Under the Main tab, in the Other Settings section at the bottom is the Threads option with an up and down menu selection. Default is 1 (when auto detected and you have one cpu/core) and you can manually set to more.

@sjchmura

I then get an error in the log file after 5 minutes sayign the encoding could not be performed.

Could you maybe post the exact error? Is the AAC file even created? and if so how large is it. Right now it's a bit general and hard to pin point your problem Sounds like a problem with the NeroAAC encoder though.

check
7th July 2006, 04:17
Would this be an instance where -ignorelength is required? Is it used by default anyway?

ChronoCross
8th July 2006, 06:16
The Wiki is starting to shape up. More people should add and edit the pages with their knowledge. I've already made some edits. I'm going to try and put together a some tuts in the next few weeks.

stebie
9th July 2006, 01:57
A fresh problem that I'm experiencing. I wanted to clarify if it is a (known) issue, that is if it is an issue, before posting in the Bug Reports thread.

I am using the latest version of MeGUI to date and downloaded all updates and necessary software.

Following the guide @ http://project357.com/MeGUIwiki/index.php?title=Guides:Basic_Guide I run into a problem when encoding audio. I have tested both LAME and Ogg Vorbis, and both experience the same problem.

MeGUI appears to take close to 100% of my CPU (AMD Athlon64 4000+), leaving nothing for other applications to use, including LAME and Ogg Vorbis. When encoding occurs, the projected time for completion more than 1 day away. I have not waited this duration, as the speed of the current progress is evidence enough it's not going to complete anytime soon.

I have used LAME in StaxRip with no problem.

berrinam
9th July 2006, 02:14
@stebie: How long did you wait on the audio encoding? It is expected that MeGUI will use most of the CPU when the first pass of the audio is being done, because no encoding is being done at that stage; only audio processing. Also, no progress is reported at that stage, so any time estimates are going to be useless. If you haven't already, try waiting a while for the first pass to complete before killing the processing.

stebie
9th July 2006, 02:31
@berrinam: Thanks for your prompt response! I'd say I waited between 5 and 10 minutes for this (possibly 15), but I'm not fussed in trying again. I know you said the time estimates given during the process are irrelevant, but how long do you think (max) it should take for its processing to complete? Should I cancel if it doesn't complete its processing in an hour?

berrinam
9th July 2006, 02:37
Should I cancel if it doesn't complete its processing in an hour?It obviously depends on the length of your audio file, and I don't encode audio much, but I would say that (with your CPU) it should *definitely* have either finished or finished the preprocessing stage (and given some CPU to the lame.exe file) in an hour's time. If there is no sign of progress in an hour's time, then there is certainly something unusual going on.

stebie
9th July 2006, 02:44
@berrinam: I will give it a go later tonight and will update this post advising whether I was successful or not. Thanks!

EDIT: An update. I haven't restarted my PC since initial tests, but opened MeGUI and performed the steps in the guide to the audio encode. I selected Ogg Vorbis, and now it's working without a problem - after 2-4 minutes of 'preprocessing', it was going super-fast.

Another weird thing occurred during the audio encode. Around 60% MeGUI appeared to have stopped. None of the counters were ticking over, including elapsed time. My mouse cursor was no longer visible, but I could use my keyboard. Windows seemed pretty much unusable. Went into Task Manager via CTRL-ALT-DEL, but didn't do anything. My mouse cursor was visible so I closed off Task Manager. MeGUI must have been encoding still, as the %age value had increased by a lot, as did most other values (excluding time remaining, obviously).

I do have other applications running in the background, so I'm not saying MeGUI was the cause. It's just something weird I've come across which others may or may not experience.

dungweaver
11th July 2006, 11:21
Before I post logs etc, maybe what I'm trying to do isn't supported: does MeGUI 0.2.3.2178 support muxing xvid and mp3 into an avi? If someone could pls advise, that would be great.

Ta.

check
11th July 2006, 11:30
Yes, use tools -> adaptive muxer

dungweaver
11th July 2006, 12:51
Yes, use tools -> adaptive muxer

Thanks, I did and the resulting avi is sound only (no video). Here's the log:

Job completed successfully and deletion of intermediate files is activated
Starting job job2 at 5:31:40 PM
encoder commandline:
-v "D:\D_videos\D _re-encoded\testing\test.sdtv.vid.avi" -a "D:\D_videos\D _re-encoded\testing\test.mp3" -o "D:\D_videos\D _re-encoded\testing\test.sdtv.vid_aud.avi"
successfully started encoding
Processing ended at 5:31:45 PM
----------------------------------------------------------------------------------------------------------

Log for job job2

DivXMux: Version 6.1 Build Num: 36
Output File Streams:

TrackId 0: Video Stream: From AVI
Frame Rate: 25.000000
Resolution: 608x336
TrackId 1: Audio Stream: From MP3
SamplesPerSec: 48000
BlockAlign: 1


Creating Index...

Observations:


Both input files 5:00 minutes; yet resulting Avi = 4:57
Gspot reports resulting video is DivX 5.0 (input video is Xvid)
I took the Adaptive Muxer option

check
11th July 2006, 12:55
is that the whole log? it seems as though some is missing, you didn't miss the scroll bar did you? (I do all the time -.-)

berrinam
11th July 2006, 13:15
There seem to be *issues* with DivXMux (the avi muxer). It should really be replaced with ffmpeg for muxing, as that does everything DivXMux does and more. Just, no-one got around to finish ffmpeg muxing.

Doom9
11th July 2006, 14:08
Uhh.. isn't ffmpeg unable to handle things like multiple audio tracks, subs and output splitting?

Sharktooth
11th July 2006, 14:12
Couldnt we create our own avi muxer starting from the avimuxgui sources?

check
11th July 2006, 14:25
Do you really want MeGUI to be able to output the monsters that are AVI with multiple audio tracks or soft subtitles? :P
IMO leave the weird stuff for better containers and keep avi as single video, single audio.

Selur
11th July 2006, 17:04
Speed issue with Xvid and MeGui

Just reinstalled my system and installed Avisynth and MeGui (I let megui download all the stuff) when encoding with Xvid I only get something like 65% CPU usage, but I did set it to use 2 threads in the config. Since this seemed strange I also downloaded current cvs head vfw build from celtivdruid and used it with Virtual Dub (same settings in Xvid) and got 95%+ Cpu usage and the encoding speed sort of doubled for 1st pass. (from around 33fps to around 60fps)

Is it just me overlooking something or is this related to the xvid encraw version megui downloaded?
Am I the only one with this problem on a dualcore system, or did I overlook a post in the forum about this. (used the search function, but didn't find something that seemed related)

Cu Selur

chelala
11th July 2006, 17:42
Hello I'm new to MeGUI. I know how to use AVS creator, but I do not know how to prepare the audio for my movie. When I click to open audio it allowa me to open AVS. As I';m converting from AVI to MP4. So audio is inside the AVI.

Please tell me how to prepare Audio for Avi - mp4. Steps??

Thanks

Harold

Sharktooth
11th July 2006, 17:45
load the .avs as audio input (ensure audio is not disabled in the directshowsource() filter)

Selur
11th July 2006, 17:46
you could try this:
write a little avs script with the following in it:

AviSource("Path to your avi")

--
see: http://www.avisynth.org/AviSource

Cu Selur

chelala
11th July 2006, 17:53
The there is no AVS audio script creator inside MeGUI, in this kind of recode case ?

then create in notepad AVS with the line AviSource("Path to your avi")

ok, Thank you for your answer

Harold

Sharktooth
11th July 2006, 17:59
i meant the same avs for video...

chelala
11th July 2006, 18:06
i meant the same avs for video...

My consern is that the AVS created by the script creator has somethin like

DirectShowSource("D:\temp\101.avi",fps=23.9759856527702,audio=false)


and I do not know if the false means that has NO audio, so I think I will have to create another AVS with a simple AviSource to be able to get the audio

Harold

Sharktooth
11th July 2006, 18:16
yes i meant that... just remove ",audio=false"
however if you want to create a new script use DirectShowSource("D:\temp\101.avi",fps=23.9759856527702) to be sure there are no sync issues.

chelala
11th July 2006, 19:09
WAO!

I worked great I tried your propossal, Also the AviSource way and even another using WavSource

Thanks a lot for your help

Harold

P.S. MeGUI is just great and powerfull

dungweaver
12th July 2006, 02:16
is that the whole log? it seems as though some is missing, you didn't miss the scroll bar did you? (I do all the time -.-)

Yes, I'm sure it is. Did another Mux this morning, same result (unusable avi).

My stand-alone player can only support the avi container format, so mkv etc not an option at this stage . Here's the log of recent attempt:

Starting job job3 at 11:11:06 AM
encoder commandline:
-v "D:\D_videos\D _re-encoded\testing\testVideo.avi" -a "D:\D_videos\D _re-encoded\testing\testAudio.mp3" -o "D:\D_videos\D _re-encoded\testing\testAVI.avi"
successfully started encoding
Processing ended at 11:11:11 AM
----------------------------------------------------------------------------------------------------------

Log for job job3

DivXMux: Version 6.1 Build Num: 36
Output File Streams:

TrackId 0: Video Stream: From AVI
Frame Rate: 25.000000
Resolution: 608x336
TrackId 1: Audio Stream: From MP3
SamplesPerSec: 48000
BlockAlign: 1


Creating Index...


----------------------------------------------------------------------------------------------------------
Job completed successfully and deletion of intermediate files is activated

Should I raise this as a bug or can someone suggest a way around, that doesn't involve manually muxing with external muxer etc? Thanks.

quake74
12th July 2006, 09:02
Yes, I'm sure it is. Did another Mux this morning, same result (unusable avi).

Should I raise this as a bug or can someone suggest a way around, that doesn't involve manually muxing with external muxer etc? Thanks.

I already posted about it in the megui bug thread. If you look at the previous page, you see that the devs know about it and are thinking about how to solve it. In the meantime, why don't you use avimuxgui?

Carpo
12th July 2006, 11:14
before i post what i think could be a bug in the calc part of megui could somone tell me what version the stable release is?

i see on sourceforge its 2177 - but version i have through update is 2179 - if i have a dev release (through my own stupidity of not sleeping enough aand too much drinking then i wont report the bug till i have tried the stable version) and turn off update of main exe :p

EDIT: was my fault not meguis - should have checked it was both mp4 for th audio i muxed and not 1 ac3 and 1 mp4 :p

Sharktooth
12th July 2006, 12:31
2179 is as "stable" as 2177... the only differencies are bugfixes for xvid.

chelala
12th July 2006, 19:08
Hi I dont understand well how to use the avc profiles.

I installed and updater downloaded all necessary files, including AVC profiles, whish is great help for me as I'm no guru on video encoding.

My problem is I know know whish order use it. Should I apply profile and then apply bitrate to fix space, or the other way ??

Thanks

harold chelala

Sharktooth
12th July 2006, 20:30
The profile for first, than the bitrate.

Dayvon
12th July 2006, 21:06
Quick stupid question.

You guys changed the Variable input on the AAC encoder. Which is better quality, Q=6.0 or Q=4.0? I get so confused with so many other "q" values with encoding....

chelala
12th July 2006, 21:48
ahh about AAC too

I had downloaded nero aac encoder my self from nero site, place it in tools of megui (I placed the sse2 version, because is a P-IV in my PC) and configure it's path in settings.

My question is: though all works well, Why it always produces aac-he, even when I select manually aac-LC ? I have tried to select aac-LC for mpeg4-asp in the mp4 container as nero recoder does.

thanks again

harold chelala

P.S. By the way, I like this place, all Q get answers really fast.. thanks. Hope can contribute some day...

Sharktooth
13th July 2006, 01:46
Quick stupid question.

You guys changed the Variable input on the AAC encoder. Which is better quality, Q=6.0 or Q=4.0? I get so confused with so many other "q" values with encoding....
Higher values corresonds to higher bitrates (Q stands for quality).

ahh about AAC too

I had downloaded nero aac encoder my self from nero site, place it in tools of megui (I placed the sse2 version, because is a P-IV in my PC) and configure it's path in settings.

My question is: though all works well, Why it always produces aac-he, even when I select manually aac-LC ? I have tried to select aac-LC for mpeg4-asp in the mp4 container as nero recoder does.

thanks again

harold chelala

P.S. By the way, I like this place, all Q get answers really fast.. thanks. Hope can contribute some day...
Can you please post your complete settings or a screenshot of the configuration you used?
EDIT: Did you save the profile?

Dayvon
13th July 2006, 07:05
Thx Sharktooth! You would think that higher Q means higher quality, but you never know. Take Lame for instance, V3 is better than V6... :rolleyes:

@ Chelala,
I definitely have gotten LC-AAC to work, quite beautifully as a matter of fact. If it still doesnt sound good enough to you, make sure you choose how many channels you want (multi 5.1, or 2 Channel stereo), and also make sure and use Variable Bitrate for the higher quality.

chelala
13th July 2006, 15:02
Hi What I do to try use AAC LC is:

- select avs for audio (like here teached me)
- and for the case LC I click "Config" button of the codec
- Being there I only touch a combo (AAC Profile) and change it from automatic to AAC-LC
- then OK and Enqueue or autoencode

thanks

harold

P.S. By the way I dont know how to place an image inside my post. I have no place to upload the snapshot

Dayvon
13th July 2006, 19:15
Is there a way to get a letterboxed image output in MeGUI?

I have a specific program that needs to playback the video, but it stretches video automatically to 4:3 if the resolution is anything but 4:3. So my 16:9, 2.35:1, and 1.85:1 MeGUI encodes play stretched in this player.

I figure there is some way in the AVScript to add the letterboxing, but I have no idea what that script would be, and secondly, I would like to know how to set that script into MeGUI's Script creator so the process is more automated then cutting and pasting in Notepad :D.

Thanks!

Doom9
13th July 2006, 19:30
I have a specific program that needs to playback the video, but it stretches video automatically to 4:3 if the resolution is anything but 4:3. So my 16:9, 2.35:1, and 1.85:1 MeGUI encodes play stretched in this player.You're going to sacrify compressibility for that, and a smart software should prevent people from doing bad things, not help them..
Throw a vocabulary of swearwords at the maker of this software..

chipzoller
13th July 2006, 19:33
I actually have the same problem but with one of my hardware players. Just doing tests converting my rips back to DVD with ConvertXtoDVD, if the source was originally any other AR but 4/3 and the black bars cropped off, it will only display it as 4/3. I guess this is just a dumb player, but it would be nice if there were a way around it.

Dayvon
13th July 2006, 19:43
You're going to sacrify compressibility for that, and a smart software should prevent people from doing bad things, not help them..
Throw a vocabulary of swearwords at the maker of this software..
Yeah, explitives are welling up, but there is little i can do. This is for a business application so the choice of presentation software is not necessarily mine. I just have to deal with it :angry:. Thank god the player can play Quicktime compatible files (mp4 H264 specifically), otherwise I'd be pissing and moaning like what!

So yeah, need 16:9's letterboxed to 4:3.... Help!

foxyshadis
13th July 2006, 19:46
Start like you normally would, make sure anamorphic encoding is off, and add this to the end of the script when done:

border=int((width*3./4-height)/2)
AddBorders(0,border,0,border)

That should force it to encode in 4:3. Expect bad edges unless you modify it to be mod-16 (there was a post a while back about that).

Sucks having to make up for such deficiencies.

Dayvon
13th July 2006, 20:11
@ foxy

Thank you soooooo much. This works beautifully. With the vid I'm encoding right now, at 640xXXX, it didn't have a mod16 problem so sweet!! This just fixed my woes in a heartbeat, now if I could figure out how to mux my files in MOV without going through Quicktime, I'm gonna be golden...

As always, Doom9 forums are a blessing from the video gods. Thank you!!!

cc979
14th July 2006, 15:28
i just want to check this before posting it as a bug, being using megui 0.2.3.2179 and when it start encoding x264 after a while of high cpu usage (normal) my mouse cursor starts moving to the top right corner when ever if move the mouse or click a mouse button, thought it was the mouse - a4tech wop-35

it started doing it on the last x264 update never before, and it only does it with megui, so not sure if its a bug or it is a driver problem - has anybody had this happen before, cheers

Dayvon
14th July 2006, 17:16
@ foxy and Doom9...

Ok I just thought you guys might get a kick out of this. So you know that *bleep* program that I have to use that needs 4:3 video to display properly? Well, that program stepped up it's P-O-S status today. I've been seeing some big troubles with resolution with the programs full screen display. The resolution looks like 256x192 instead of the 720x386 that it is.

So, I dropped a note to the software maker asking how to solve it. They said I have to MAKE THE VIDEO THE SAME RESOLUTION AS THE DISPLAY. I nearly couldn't believe it. What on earth? I've never heard of anything like that. Ever. So I made an anamorphic video source, at 4:3 with 800x600 and sure enough it looked good. I can overlook the whole stretching thing, but seriously, a program that can't even properly scale a video?

Just wow.

foxyshadis
14th July 2006, 19:11
It must be an "Enterprise Video Player". It's a good thing most companies are willing to pay a hundred times as much for a tenth of the functionality, or most of the consultants of the world would go out of business. The horror!

cc979, it sounds lke one of those goofy things where you might need to unplug and replug it (if it's usb), or restart the machine. Mouse drivers or the mouse itself occasionally start getting bad signals and acting all weird.

check
14th July 2006, 19:35
my mouse (bog standard MS optical) has a heavy enough cord that if left alone for a while, will slowly start moving towards the top of the desk as it's pulled backwards. Caused me no end in grief as I attempted to work out what the problem was with drivers, windows, etc etc when the solution was a simple mechanical one.

cc979
15th July 2006, 12:45
my mouse is a ps/2 connection and the cord is fastened to the desk so it does not move, its just odd that only happens when encoding with megui - i'm going check x264 from a command-prompt see what happens

cheers all

foxyshadis
15th July 2006, 17:33
Does it always happen? Or was it a one-time thing?

B. W.
18th July 2006, 01:14
I hope I'm not breaking the cross posting rule on the forums, but I've only had this problem with MeGUI (and Nero Recode, but that's a known issue already). I figured this would be a better place to post it.

I've tried encoding my movies with ACC and MP3 and every time I have to downmix the audio the volume is lowered. I have the increase volume option on and it doesn't seem to do anything.

I didn't have the problem with StaxRip of GKnot (using Xvid).

~bT~
18th July 2006, 01:40
I hope I'm not breaking the cross posting rule on the forums, but I've only had this problem with MeGUI (and Nero Recode, but that's a known issue already). I figured this would be a better place to post it.

I've tried encoding my movies with ACC and MP3 and every time I have to downmix the audio the volume is lowered. I have the increase volume option on and it doesn't seem to do anything.

I didn't have the problem with StaxRip of GKnot (using Xvid).
I thought it was me only, but I guess Im not alone now. It happens always with my encodes even though I have the increase volume auto option ticked. Another issue I have is, even though I select HE it still does LC? Any ideas???

foxyshadis
18th July 2006, 02:54
Audio normalization must not be getting called correctly, I'll see if I can look at it.

As for LC/HE, how do you choose and how do you measure? Note that most players will report HE as 22/24khz LC AAC; some will add an SBR tag, or AAC+, while still calling it LC. (Because technically HE is LC with benefits, as opposed to the other three AAC profiles that no one uses anyway.) Complain to the players' developers. If it actually is LC, you might simply have too high a bitrate for HE, I know nero simply will not use it above a certain bitrate. (The Nero devs all recommend strongly that you never force HE or PS, that you leave it on automatic unless your player can't handle HE.)

squid_80
18th July 2006, 06:06
i just want to check this before posting it as a bug, being using megui 0.2.3.2179 and when it start encoding x264 after a while of high cpu usage (normal) my mouse cursor starts moving to the top right corner when ever if move the mouse or click a mouse button, thought it was the mouse - a4tech wop-35
I had one of these 3 years ago, same thing happened (it's not software related). It will get worse, might as well start shopping for a new one.
It's a shame because it was a good mouse, those side buttons were very handy for playing Diablo II.

cc979
18th July 2006, 11:53
@foxyshadis and @squid_80
i un-installed the drivers it is ok, read some where that the a4tech drivers hand been re-designed for xp sp2 (some problems with previous drivers)
there are a nice mouse, but just incase it was a hardware thing, just bought a new-one - a ms comfort 3000 thing with a little tilt wheel its ok, just feels different probably get used to it tho

cheers

foxyshadis
18th July 2006, 12:44
Normalize is definitely getting called correctly, which makes sense; could it be that what you really want is dynamic compression instead of normalization? Usually movies are already normalized, but very uncompressed, which doesn't sound so great if you don't set up your playback filters to use compression. (Or can't, it's ffdshow audio's biggest ommission.)

I'm all for instituting a besweet wrapper avisynth plugin, which I think dizmon was working on earlier in the year, but I don't know if he left any of his work behind.

bkman
19th July 2006, 00:00
Question: Why does Megui set DAR to 1.85 on an uncropped source instead of 1.823?

sjchmura
24th July 2006, 14:10
THis should be easy: MeGUI, Autoencode, Profiles and bitrate (TS->MP4 DVD5_)

So when I press "autoencode" and choose say - 1 DVD5, it gives me a bitrate. If I que this then the bitrate is not automatticly set - correct? So I need to read the numbers off of the autoencode box, go into the HQ-slow (for example profile), and change the bitrate manually - correct?

Doom9
24th July 2006, 15:55
it gives me a bitrate. If I que this then the bitrate is not automatticly set - correct? That depends on your setup.. if you're encoding audio, the bitrate has to be adjusted to take the encoded audio into account (so that you get your desired final filesize).. the bitrate shown is set when you queue but it is updated once all audio streams have been encoded and just before the first pass of the video starts. There's no need for a bitrate in profiles.. in fact Richard wanted to make it a nullable field but never got around to doing it..

acidsex
24th July 2006, 16:46
Ok, I have searched and unfortunate;y havent found the answer or I have overlooked it. Why is it when I have a profile selected (1 pass Intermediate Quality) and when I select auto encode that it auto defaults to two pass? Is this a bug or is autoencode hardcoded to only do two passes? If it is the latter, is it possible to change it so that autoencode automatically uses the profiles selected? Because right now, I have to do everything manually (enque audio, then enque video, then wait for encoding to finish before I can mux.) It would be much easier if I could somehow either edit the autoencode to select the profile I want to use (ala one click encoder) or to have autoencode use the profiles selected by default and if no profile is selected, then default to the two pass that it currently does.

Thanks.

sjchmura
24th July 2006, 16:55
the bitrate shown is set when you queue but it is updated once all audio streams have been encoded and just before the first pass of the video starts. There's no need for a bitrate in profiles.. in fact Richard wanted to make it a nullable field but never got around to doing it..

Hmmm, well, it is NOT working that way. My steps

1. Take a TS (ATSC transport stream)
2. AVIsynth creator
3. It then places my avisynth file and ac3 file into the main window automaticlally.
4. Click "x264" and set for HQ-slow
5. Choose ND for audio 0.5 vbr (for the AC3 transcoding)
6. MP4 output
7. Click autoenceode DVD5

The file size comes out (for a 2.2 hour Star wars encode) to be 996megs no matter WHAT size I select in autoencode.

Also, even if you select the 1P (1 pass profiles) it will ALWAYS queue up 2 passes.

Is there something I can try to help troubleshoot this? I am sure others have seen this.

I have:

1. Uninstalled MEGUI
2. Uninstalled AVISYNTH
3. Reinstalled everything

Same result.

acidsex
24th July 2006, 16:58
Also, even if you select the 1P (1 pass profiles) it will ALWAYS queue up 2 passes.

Is there something I can try to help troubleshoot this? I am sure others have seen this.

I have:

1. Uninstalled MEGUI
2. Uninstalled AVISYNTH
3. Reinstalled everything

Same result.

Check my post right above yours. I have tried everything as well and uninstalled and reinstalled everything as well.

Doom9
24th July 2006, 17:59
and the logfile would be where? it really helps a lot if it's just on your harddisk....

acidsex
24th July 2006, 18:01
and the logfile would be where? it really helps a lot if it's just on your harddisk....

is this towards me or the other poster?

sjchmura
24th July 2006, 18:36
I can post the log - it CLEARY shows -bitrate 1000 (for example) that will NEVER be DVD5 size.

I will upload it later this eveing after I return home to help out. I will also do a 1-pass autoencode and show how, no matter what, 2 passes is always chosen

Doom9
24th July 2006, 18:57
megui dumps its whole internal working in the log, especially in autoencode and one click mode.. with the log you can see what megui does between the end of one job and the start of another (such as recalculating the bitrate, etc). So, along with the info on how to reproduce, any post should contain the logfile.. it's always better to provide too much than too little information ;)

Zeest
24th July 2006, 21:28
In MeGUI the muxing stage fails when I do an AutoEncode. The encoding goes well but muxing just fails. Heres the error log extract


Starting job job2-3 at 9:54:25 AM
encoder commandline:
-o "C:\Documents and Settings\admin\Desktop\illusion-muxed.mkv" -A -S "C:\Documents and Settings\admin\Desktop\illusion.mkv" --language 0:eng -a 0 -D -S "C:\Documents and Settings\admin\Desktop\VTS_01_0 T01 2_0ch 192Kbps DELAY 0ms.ac3" -split 700MB --no-clusters-in-meta-seek
successfully started encoding
Processing ended at 9:54:27 AM
----------------------------------------------------------------------------------------------------------

Log for job job2-3

mkvmerge v1.7.0 ('What Do You Take Me For') built on Apr 28 2006 17:19:57

Error: The source file '-split' could not be opened successfully, or retrieving its size by seeking to the end did not work.

----------------------------------------------------------------------------------------------------------
The current job contains errors. Skipping chained jobs


I also tried with Adaptive muxer, but that too gives me a huge error.

Doom9
24th July 2006, 23:25
I don't know if the mkvmerge syntax recently changed or suddenly doesn't support -split xx anymore but looking at the manpage it should say --split 700MB .. and I'm not sure MB is even supported, the manpage just says k,m,g

bkman
25th July 2006, 03:33
Question: Why does Megui set DAR to 1.85 on an uncropped source instead of 1.823?

Can't anyone answer this?

I'll be more specific: Why does the avisynth script creator in MeGui set the DAR to 1.85 on a 16:9 (PAL) source with no cropping applied when the anamorphic option is selected instead of the calculated ITU-R DAR of 1.823?

SCIF
25th July 2006, 05:50
Hi everybody!
I am translating contexthelp.xml to Russian now. I found one point of controversy.
<qpmin name="Minimum Quantizer">
<Advanced>
Enforces a minimum Quantizer. Prevents the codec from outputting frames with too much compression,
causing reduced quality. Note: This is disregarded in Constant Quality or Quality Based VBR modes.</Advanced>
<Basic>Set minimum Quantizer factor.</Basic>
<Recommended>10</Recommended>
<Default>10</Default>
</qpmin>
<qpmax name="Maximum Quantizer">
<Advanced>
Enforces a maximum Quantizer. Prevents the codec from outputting frames with too little
compression, wasting bits. Note: This is disregarded in Constant Quality or Quality Based VBR modes.</Advanced>
<Basic>Set maximum Quantizer factor.</Basic>
<Recommended>51</Recommended>
<Default>51</Default>
</qpmax>
I think i must same:<qpmin name="Minimum Quantizer">
<Advanced>
Enforces a minimum Quantizer. Prevents the codec from outputting frames with too little
compression, wasting bits. Note: This is disregarded in Constant Quality or Quality Based VBR modes.</Advanced>
<Basic>Set minimum Quantizer factor.</Basic>
<Recommended>10</Recommended>
<Default>10</Default>
</qpmin>
<qpmax name="Maximum Quantizer">
<Advanced>
Enforces a maximum Quantizer. Prevents the codec from outputting frames with too much compression,
causing reduced quality. Note: This is disregarded in Constant Quality or Quality Based VBR modes.</Advanced>
<Basic>Set maximum Quantizer factor.</Basic>
<Recommended>51</Recommended>
<Default>51</Default>
</qpmax>
How you think about possibility change or select contexthelp language, while installing megui?

raziel666
25th July 2006, 14:27
I used to be able to see some explanations on almost every x264 option in the config window, but since I updated my MeGUI to the latest version, I can't do that anymore. I've checked the Use AdvancedToolsTips from the Options menu. I've also uninstalled and reinstalled MeGUI but it didn't work out. Why is that?

SoleBastard
25th July 2006, 14:50
Why can't I select 2-pass ABR encoding in the MeGUI NeroDigital AAC Encoder Configuration tab?
I would like to compare the quality of 5.1 AC3 transcoding to AAC using 1-pass ABR, 2-pass ABR and a size corresponding VBR setting.

I tried using Foobar2000 (0.9.2 and 0.9.3b3) but it messes with the channel order and gives me a 96kbps file instead of 256! The console only mentioned something about the wav having a 'too big packet size which might result in parts not being encoded properly'.

Perpaps there is another frontend that is able to trancode AC3/DTS to 2-pass ABR AAC? Or is 2-pass ABR a technically a bad idea to use with multichannel content?

Doom9
25th July 2006, 14:56
Why can't I select 2-pass ABR encoding in the MeGUI NeroDigital AAC Encoder Configuration tab? because of the reason you will find if you use the search engine no this board..

And as far as reinstalling goes, be advised that megui uses an xcopy installation.. meaning you don't need an installer, you just copy files around. MeGUI leaves no traces anywhere on your system except for some files below the megui program path.. if you delete the folder where megui.exe is in, it is gone from your system with no trace left behind. There's an installer from x264.nl but all it does is copy files and create a few shortcuts.. you can't change anything by "reinstalling" and the only way to reset anything is delete the profiles folder and the settings file.

SoleBastard
25th July 2006, 15:36
Do I have to start all my posts with: 'Yes, I have used the search, but...' with a list of keywords I've used? :confused:

Ofcourse I've tried to use the search, I also tried searching at HA.org and with Google. Call me what you wil, maybe I'm having a blind spot, but I can't find a clear answer to the questions I stated in a concise way imho.

acidsex
25th July 2006, 16:58
So can anyone answer why the autoencode automatically defaults to a 2 pass mode even if 1 Pass Intermediate is selected?

hkl8324
25th July 2006, 17:17
It seems that I can not use Megui to act as the front end of mencoder to encode xvid/x.264 anymore, am I correct? (only encraw.exe and x264.exe can be used now...)

Doom9
25th July 2006, 19:17
It seems that I can not use Megui to act as the front end of mencoder to encode xvid/x.264 anymore, am I correct?Yes. supporting multiple encoders is cumbersome and leads to more errors.. plus x264.exe is more frequently updated.

So can anyone answer why the autoencode automatically defaults to a 2 pass mode even if 1 Pass Intermediate is selected?Well, that depends on how you set things up of course. There's a section called "Automated Encoding" in the settings.. it has an entry "number of passes".. I don't know what "1 pass Intermediate" is but if I create my own ABR profile, and then in the auto encoder window I select "No target size (use profile settings)", then I only get a single video job.

but I can't find a clear answer to the questions I stated in a concise way imho.Then why do I recall multiple threads that point out that with frameserved audio 2 pass audio encoding with that particular encoder is not possible?

Do I have to start all my posts with: 'Yes, I have used the search, but...' with a list of keywords I've used?That would be nice so other people could learn to form better searches.. it ain't easy to use a search engine after all.. the proper terms and the proper filters can lead to bliss or complete and utter frustration.

acidsex
25th July 2006, 20:08
I am using the default profiles that are downloaded when updating MeGUI. I am assuming its Sharktooths profiles. Ill try to create new profile using his seetings and saving it and then try that one and see if I get the one pass ABR mode instead of the two pass.

acidsex
25th July 2006, 21:18
Tried changing the default passes in the autoencode settings and the lowest it will let me go is 2 so that means I cant set it for one pass ABR. Any other suggestions?

Doom9
26th July 2006, 19:49
And are you 200% sure that once you press the autoencode button, you set the radio button to No Target Size (use profile settings) and that in the profile, the mode is set to ABR, Const. Quality or Const. Quantizer?
Especially the former is important.. you never confirmed that you're doing this. My 1P-Intermediate is set to ABR (so downloaded by the autoupdater).. but you MUST change that radio button or all will be for nothing. Unless you set the radio button to that particular setting, the number of passes configured in the settings will be taken.. and since the minimum there is 2 passes, you'll get two passes irrespective of the profile. I've tried this about 10 times now and the result is always the same..

thuongshoo
30th July 2006, 09:38
I try to encode with Xvid but isnot success . I copy these command and run them in cmd but the message is the same
Starting job job55 at 4:43:30 AM
encoder commandline:
-i "C:\Documents and Settings\shooshoo\My Documents\mnet.avs" -single -cq 8 -smoother 0 -vhqmode 4 -qpel -gmc -closed_gop -lumimasking -bvhq -threads 1 -mkv "C:\Documents and Settings\shooshoo\My Documents\mnet.mkv"
successfully started encoding
Processing ended at 4:43:32 AM
----------------------------------------------------------------------------------------------------------

Log for job job55

Usage : xvid_encraw [OPTIONS]

Input options:
-i string : input filename (default=stdin)
-type integer: input data type (yuv=0, pgm=1, avisynth=2)
-w integer: frame width ([1.2048])
-h integer: frame height ([1.2048])
-frames integer: number of frames to encode

Output options:
-dump : save decoder output
-save : save an Elementary Stream file per frame
-o string: save an Elementary Stream for the complete sequence

Bitstream options:
-par aspect_ratio : pixel aspect ratio ([VGA11; PAL43; NTSC43; PAL169;
NTSC169]) (default=VGA11)
-custom_par X Y : custom pixel aspect ratio
-divx_ud : write DivX-userdata

General encoding options:
-quality integer: quality ([0..6]) presets
+hqacp : high quality ac prediction
+inter4v : use 4 motion vectors per MB
-gmc : use global motion compensation
-interlaced : use interlaced encoding (this is NOT a deinterlacer!)
xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003Avisynth input is based on Avs2YUV by Loren Merritt

-i_tff : top field first (interlaced encoding)
-i_alt : alternate scan (interlaced encoding)
+greyscale : greyscale mode, all chroma is ignored
+cartoon : use 'cartoon' mode
+chroma_opt : enable chroma-optimizer pre-filter
-frame_drop integer: frame drop ratio (in percent)

BFrames options:
-max_bframes integer : max bframes (default=0)
-bquant_ratio integer : bframe quantizer ratio (default=150)
-bquant_offset integer : bframe quantizer offset (default=100)
-bf_thres integer : bframe threshold modifier (default=0)
-closed_gop : closed GOP mode

Rate control options:
-framerate float : target framerate (>0 | default=25.0)
-bitrate integer : target bitrate
-single : single pass mode
-pass1 filename : twopass mode (first pass)
-pass2 filename : twopass mode (2nd pass)
-zq starting_frame float : bitrate zone; quant
-zw starting_frame float : bitrate zone; weight
-max_key_interval integer : maximum keyframe interval

Single Pass options:
-reac_delay integer : reaction delay factor
-avg_period integer : averaging period
-smoother integer : smoother

Pass 1 of 2 options:

Pass 2 of 2 options:
-size integer : target size of video (use instead of bitrate)
-close_i_red intA intB : I frames closer than A frames are reduced by B %
-ccp_high integer : high bitrate degradation (in percent)
-ccp_low integer : low bitrate improvement (in percent)
-max_oi integer : max overflow improvement (in percent)
-max_od integer : max overflow degradation (in percent)
-overf_cs integer : overflow control strength (in percent)
-vbv_size integer : buffer size (bits)
-vbv_initial integer : initial buffer occupancy (bits)
-vbv_maxrate integer : max processing bitrate (bps)
-vbv_peakrate integer : max average bitrate over 3 seconds (bps)

Zone options:
-z "zone_type starting_frame quant/weight [extended options]"
zone_type : q (quant zone) or w (weight zone)
starting_frame : frame number of zone begin
quant/weight : average quantizer or weight (float)
extended options : all options that are listed as "+"-options
in this display may be used to enable/disable
certain features. Additionally the -bf_thres option
can be used. An option only available in zones is:
-if : force I-frame at the beginning of the zone

Quantization options:
-iquants min max : I-frame quantizer restriction ([1.31])
-pquants min max : P-frame quantizer restriction ([1.31])
-bquants min max : B-frame quantizer restriction ([1.31])
+trellis : use trellis based R-D "optimal" quantization
-mpeg_quant : use MPEG quantization instead of H.263
-mpeg_cqm filename : use custom MPEG quantization matrix (intra & inter)
-mpeg_intra_cqm filename : use custom MPEG quantization matrix (intra only)
-mpeg_inter_cqm filename : use custom MPEG quantization matrix (inter only)
-lumimasking : use lumimasking/adaptive quantization algorithm

Motion estimation options:
+hpel : use half pixel ME
-qpel : use quarter pixel ME
+chromap : use P-Frame chroma for ME
+chromab : use B-Frame chroma for ME
+me_advd16 : use advanced diamonds as search pattern
+me_advd8 : use advanced diamonds for extended 8x8 search
+me_sqr16 : use squares as search pattern
+me_sqr8 : use squares for extended 8x8 search
+me_hpelr16 : enable halfpel refine 16
+me_hpelr8 : enable halfpel refine 8
+me_qpelr16 : enable quarterpel refine 16
+me_qpelr8 : enable quarterpel refine 8
+me_gmer : enable GME refine
+me_exts16 : extend PMV by more searches
+me_exts8 : extended 8x8 search

Rate disortion options:
-vhq integer : R-D presets ([1.4])
+rated : enable R-D
+rd_simple : use simplified R-D mode decision
+rd_bf : enable R-D for B-frames
+rd_hpelr16 : use R-D halfpel refine 16
+rd_hpelr8 : use R-D halfpel refine 8
+rd_qpelr16 : use R-D quarterpel refine 16
+rd_qpelr8 : use R-D quarterpel refine 8
+rd_chk_pred : check vector equal to prediction
+rd_exts : perform R-D-based search using square patterns

Turbo options:
-turbo : turbo preset
+t_fr16 : low-complexity 16 refinement
+t_fr8 : low-complexity 8x8 sub-block refinement
+t_skipds : skip b-frame delta search
+t_fmi : partly skip interpolate mode
+t_bfes : stop b-frame search early
+t_dsm : detect stationary scenes

Other options
-asm : use assembly optmized code
-stats : print stats about encoded frames
-debug : activates xvidcore internal debugging output
-vop_debug : print some info directly into encoded frames
-help : prints this help message

NB: You can define 64 zones repeating the -z[qw] option as many times as needed.


----------------------------------------------------------------------------------------------------------
The current job contains errors. Skipping chained jobs
Starting job job56 at 4:43:45 AM
encoder commandline:
-i "C:\Documents and Settings\shooshoo\My Documents\mnet.avs" -single -cq 8 -smoother 0 -vhqmode 4 -qpel -gmc -closed_gop -lumimasking -bvhq -threads 1 -o "C:\Documents and Settings\shooshoo\My Documents\mnet.m4v"
successfully started encoding
Processing ended at 4:43:45 AM
----------------------------------------------------------------------------------------------------------

Log for job job56

Usage : xvid_encraw [OPTIONS]

Input options:
-i string : input filename (default=stdin)
-type integer: input data type (yuv=0, pgm=1, avisynth=2)
-w integer: frame width ([1.2048])
-h integer: frame height ([1.2048])
-frames integer: number of frames to encode

Output options:
-dump : save decoder output
-save : save an Elementary Stream file per frame
-o string: save an Elementary Stream for the complete sequence

Bitstream options:
-par aspect_ratio : pixel aspect ratio ([VGA11; PAL43; NTSC43; PAL169;
NTSC169]) (default=VGA11)
-custom_par X Y : custom pixel aspect ratio
-divx_ud : write DivX-userdata

General encoding options:
-quality integer: quality ([0..6]) presets
+hqacp : high quality ac prediction
+inter4v : use 4 motion vectors per MB
-gmc : use global motion compensation
-interlaced : use interlaced encoding (this is NOT a deinterlacer!)
-i_tff : top field first (interlaced encoding)
-i_alt : alternate scan (interlaced encoding)
+greyscale : greyscale mode, all chroma is ignored
+cartoon : use 'cartoon' mode
+chroma_opt : enable chroma-optimizer pre-filter
-frame_drop integer: frame drop ratio (in percent)

xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003Avisynth input is based on Avs2YUV by Loren Merritt

BFrames options:
-max_bframes integer : max bframes (default=0)
-bquant_ratio integer : bframe quantizer ratio (default=150)
-bquant_offset integer : bframe quantizer offset (default=100)
-bf_thres integer : bframe threshold modifier (default=0)
-closed_gop : closed GOP mode

Rate control options:
-framerate float : target framerate (>0 | default=25.0)
-bitrate integer : target bitrate
-single : single pass mode
-pass1 filename : twopass mode (first pass)
-pass2 filename : twopass mode (2nd pass)
-zq starting_frame float : bitrate zone; quant
-zw starting_frame float : bitrate zone; weight
-max_key_interval integer : maximum keyframe interval

Single Pass options:
-reac_delay integer : reaction delay factor
-avg_period integer : averaging period
-smoother integer : smoother

Pass 1 of 2 options:

Pass 2 of 2 options:
-size integer : target size of video (use instead of bitrate)
-close_i_red intA intB : I frames closer than A frames are reduced by B %
-ccp_high integer : high bitrate degradation (in percent)
-ccp_low integer : low bitrate improvement (in percent)
-max_oi integer : max overflow improvement (in percent)
-max_od integer : max overflow degradation (in percent)
-overf_cs integer : overflow control strength (in percent)
-vbv_size integer : buffer size (bits)
-vbv_initial integer : initial buffer occupancy (bits)
-vbv_maxrate integer : max processing bitrate (bps)
-vbv_peakrate integer : max average bitrate over 3 seconds (bps)

Zone options:
-z "zone_type starting_frame quant/weight [extended options]"
zone_type : q (quant zone) or w (weight zone)
starting_frame : frame number of zone begin
quant/weight : average quantizer or weight (float)
extended options : all options that are listed as "+"-options
in this display may be used to enable/disable
certain features. Additionally the -bf_thres option
can be used. An option only available in zones is:
-if : force I-frame at the beginning of the zone

Quantization options:
-iquants min max : I-frame quantizer restriction ([1.31])
-pquants min max : P-frame quantizer restriction ([1.31])
-bquants min max : B-frame quantizer restriction ([1.31])
+trellis : use trellis based R-D "optimal" quantization
-mpeg_quant : use MPEG quantization instead of H.263
-mpeg_cqm filename : use custom MPEG quantization matrix (intra & inter)
-mpeg_intra_cqm filename : use custom MPEG quantization matrix (intra only)
-mpeg_inter_cqm filename : use custom MPEG quantization matrix (inter only)
-lumimasking : use lumimasking/adaptive quantization algorithm

Motion estimation options:
+hpel : use half pixel ME
-qpel : use quarter pixel ME
+chromap : use P-Frame chroma for ME
+chromab : use B-Frame chroma for ME
+me_advd16 : use advanced diamonds as search pattern
+me_advd8 : use advanced diamonds for extended 8x8 search
+me_sqr16 : use squares as search pattern
+me_sqr8 : use squares for extended 8x8 search
+me_hpelr16 : enable halfpel refine 16
+me_hpelr8 : enable halfpel refine 8
+me_qpelr16 : enable quarterpel refine 16
+me_qpelr8 : enable quarterpel refine 8
+me_gmer : enable GME refine
+me_exts16 : extend PMV by more searches
+me_exts8 : extended 8x8 search

Rate disortion options:
-vhq integer : R-D presets ([1.4])
+rated : enable R-D
+rd_simple : use simplified R-D mode decision
+rd_bf : enable R-D for B-frames
+rd_hpelr16 : use R-D halfpel refine 16
+rd_hpelr8 : use R-D halfpel refine 8
+rd_qpelr16 : use R-D quarterpel refine 16
+rd_qpelr8 : use R-D quarterpel refine 8
+rd_chk_pred : check vector equal to prediction
+rd_exts : perform R-D-based search using square patterns

Turbo options:
-turbo : turbo preset
+t_fr16 : low-complexity 16 refinement
+t_fr8 : low-complexity 8x8 sub-block refinement
+t_skipds : skip b-frame delta search
+t_fmi : partly skip interpolate mode
+t_bfes : stop b-frame search early
+t_dsm : detect stationary scenes

Other options
-asm : use assembly optmized code
-stats : print stats about encoded frames
-debug : activates xvidcore internal debugging output
-vop_debug : print some info directly into encoded frames
-help : prints this help message

NB: You can define 64 zones repeating the -z[qw] option as many times as needed.


----------------------------------------------------------------------------------------------------------

foxyshadis
30th July 2006, 10:37
I could not reproduce the error with the same command line. Run update and make sure all components are current.

Doom9
30th July 2006, 11:46
You're using an encraw release by S_0. You need to use the latest one by squid80 which you can download via autoupdate in megui.

SCIF
30th July 2006, 23:28
Hi everybody!
I am translating contexthelp.xml to Russian now.....


...How you think about possibility change or select contexthelp language, while installing megui?
Does nobody want to help translate MeGUI?

Sharktooth
31st July 2006, 02:39
I uploaded some updates in the autoupdate server (x264, profiles, dgdecode and dgmpgdec).
If you encounter some bugs (expecially with dgindex) please report them in the bug report thread.

Does nobody want to help translate MeGUI?
I can translate it in Italian...

SCIF
31st July 2006, 08:24
Sharktooth, see this (http://forum.doom9.org/showthread.php?p=855313#post855313) post, please. How you think about possibility change or select contexthelp language, while installing megui?
I finished Russian translate. With Sharktooth's translate MeGUI will have 3 variants of ContextHelp :)

Henrikx
31st July 2006, 08:47
Does someone translate into German ?
Am I to ask in the german doom9 forum?

Sharktooth
31st July 2006, 12:46
Sharktooth, see this (http://forum.doom9.org/showthread.php?p=855313#post855313) post, please.
I finished Russian translate. With Sharktooth's translate MeGUI will have 3 variants of ContextHelp :)
the description is right. the lower the quantizer the lower the compression.

SCIF
31st July 2006, 23:26
the lower the quantizer the lower the compression.Yes, i think so too. But for what you set minimum quantizer?? I think nobody set min q to get a frames with good quality, but it set's for "wasting bits". I am right, isn't it?

SCIF
7th August 2006, 00:36
Is thread dead, again?

foxyshadis
7th August 2006, 01:18
Actually I already included the swapped descriptions in my local, whenever my next patch shows up and gets included it should be available.

SCIF
7th August 2006, 02:47
And how about translate's?

Limobar
8th August 2006, 00:27
Hi!

I was doing a 2-pass encode (x264) and during the second pass I found out that I was using an average bitrate (1934 kbit) that was too high. My question is: Can I use the first pass stats again, but then with a lower bitrate (1659 kbit)?

berrinam
8th August 2006, 10:36
Yes, it should be fine.

However, the larger the difference, the worse the quality.

spunch
9th August 2006, 14:01
berrinam, could you check your PM?

Carpo
9th August 2006, 19:34
i have ripped a file dvds to my hdd use dvd decryptrt 3.5.4.0 in file mode and when i tell megui to make a d2v from the vobs it stick up a box saying

could not find dvd decrypter generated info file

is this save to ignore or does it require that i rip the dvd in ifo mode ?

Doom9
10th August 2006, 10:21
is this save to ignore or does it require that i rip the dvd in ifo mode ?If you have the info file it'll show you the proper audio tracks and languages.. if not, you just have to figure out that info on your own and if you e.g. select track 8 and there's no track 8.. you just won't get any audio.
but it runs without that file, it's just always good to have it. And file mode... if your titleset contains additional content, you realize that file mode is going to get you that additional content (e.g. fbi warning, mpaa ratings and other annoying stuff) as well.. and it has nothing to do with file versus ifo mode.. it's about activating the info file option in dvddec.

Morte66
10th August 2006, 11:47
I'd appreciate a quick reality check on something... I've been away for a bit, last time I dropped by I saw the beginnings of development on interlaced encoding in x264. AFAICT, this hasn't got far enough to be integrated into MeGUI yet. Am I right, or is it sitting there in some menu that I'm ignoring?

nurbs
10th August 2006, 12:15
Interlaced has not been added to x264 yet because it slows down progressive encoding.
See here. (http://forum.doom9.org/showthread.php?p=859027#post859027)

carlo_0000
11th August 2006, 00:19
hy i don't know if i must post here but i have a strange problem on 1 hdtv mpeg2 what i try to convert to x264

using last megui with x264 in (mp4)

the source is a mpeg2 hd 1920*1088 from euro1080 channel (record in 2003)

the mpeg is 4.17 long

extract the audio it's olso 4.17 long

but when the video is converted to mp4
: the video is only 3.37 long
so i m not able to add the audio stream in my mkv what is 4.17 long


i convert over's hdmpeg to x264 without this problem

ChronoCross
11th August 2006, 00:21
does megui produce any error logs? More information please.

carlo_0000
11th August 2006, 00:30
no there was no error

i convert over's hdmpeg to x264 without this problem
oups no was with virtualdub

just finish a segond 1 with megui same problem video is shorter than the audio stream


but i think i found the problem
i openned in virtualdub the mpeg2 has 1920x1088 @ 25fps
end the mkv has 23.972fps

why it s not the same ? or is not that the problem?

edit: or maybe is this a error ?

Log for job job9-1

avis [info]: 848x464 @ 23.98 fps (5143 frames)
x264 [warning]: VBV maxrate specified, but no bufsize.
x264 [info]: using cpu capabilities MMX MMXEXT SSE 3DNow!
x264 [info]: slice I:40 Avg QP:18.02 size: 34667
x264 [info]: slice P:2864 Avg QP:19.60 size: 11813
x264 [info]: slice B:2239 Avg QP:21.70 size: 3883
x264 [info]: mb I I16..4: 34.2% 42.7% 23.2%
x264 [info]: mb P I16..4: 9.8% 8.9% 2.3% P16..4: 34.0% 16.1% 3.7% 0.6% 0.3% skip:24.4%
x264 [info]: mb B I16..4: 0.5% 0.4% 0.1% B16..8: 47.5% 1.6% 3.9% direct: 1.3% skip:44.8%
x264 [info]: 8x8 transform intra:42.1% inter:43.6%
x264 [info]: kb/s:1637.8

encoded 5143 frames, 0.71 fps, 1637.84 kb/

edit: i don't thinks that is the problem, i see 1 other video what was 29fps mpeg ntsc to 23.9fps x264 end the video is correct
but why meGui conver 25fps to 23.9 ?

Sharktooth
11th August 2006, 03:15
the problem is being discussed here: http://forum.doom9.org/showthread.php?t=114365

workaround: revert to DGIndex 1.4.7

carlo_0000
11th August 2006, 03:59
ok thanks

i try to instal the previous version

i have an other question:
why is mine p4 2ghz a lot slower with encoding to x264 than mine duron 1.8ghz ? +- 30% slower

lexor
11th August 2006, 22:51
I have a question regarding that dgindex issue, it's only for PAL right? so if I work with NTSC I don't have to downgrade?

Also is there any setting (or xml file) where I can force mkv to be a default container? I would never use mp4 or avi for anything I do, and changing it every time starting to get on my nerves.

Doom9
12th August 2006, 19:50
There's no need to downgrade dgindex.. just get the latest megui version.. I fixed the bug yesterday.

Sharktooth
13th August 2006, 13:05
i know, infact now you can just let megui auto-update and everything will work.

lexor
13th August 2006, 16:37
umm... anthing regarding my second question?

Doom9
13th August 2006, 16:45
no, defaults for the autoencode will come at some point but they're not there right now.

ricardo.santos
15th August 2006, 10:58
Hi everyone.

Ive been wanting to test Megui output using xvid and x264 for a while but everytime i tried it shows error messages

Since i have other programs that do that those error messages never bothered me.

With the growth of Megui "fan database" i decided once again to test it but the error messages poppd up again

one of them said "color matrix" when tryng to open preview window to crop video

heres another one
http://img91.imageshack.us/img91/4831/meguizu5.jpg

Doom9
15th August 2006, 12:09
Can you please describe the steps you took after launching megui?

ricardo.santos
15th August 2006, 16:41
1- Tools>>>D2V CREATOR>>>Queue>>>Start

2-Tools>>>Avisynth script creator>>>Load d2v>>>AutoCrop>>>>error message>>>>press ok
http://img116.imageshack.us/img116/5876/megui2cv8.jpg

Line 2 on script:ColorMatrix(hints=true)

3-load avisynth script>>>load audio track>>>configure audio>>>>configure xvid>>>automated 2pass>>>enque>>>>Fatal Error message
http://img91.imageshack.us/img91/4831/meguizu5.jpg

ricardo.santos
15th August 2006, 17:12
i removed the 2nd line of the script and it worked.

Going to try it using x264(the reason why i want to use Megui), will let you know how it goes

foxyshadis
15th August 2006, 19:46
Did you run the updater first? That'll add colormatrix to avisynth - obviously if it isn't there it won't work. Assuming your avisynth path is correct.

chadamir
15th August 2006, 20:15
whenever I try to run therogram I get the error "application failed to initialize properly (0xc0000005). Clcik on ok to terminate the application."

I have the .net installed. and everything is up to date.

Doom9
15th August 2006, 20:17
@ricardo.santos: now do you still get that error or is everything working out? You can't quite count the second error if you get one before..

chipzoller
15th August 2006, 21:03
I'm not sure if this is a bug or if I'm just stupid...

If I have a job processing in megui (x264 2 pass-auto) and add another with a script that contains: vobsub("subs.idx"), megui crashes and I see nothing in the log. Or rather to be more precise, megui hangs (but displays the burn-in subs in the preview window) when adding the job to the queue. Inside the .idx file I turned ON forced subs for a given sub channel. I realize I haven't given much hard fact here, but if this sounds like a familiar problem I'll investigate further.

Doom9
15th August 2006, 22:26
I take it as soon as you remove the subs it works like a charm, correct? And I also take it that the script's colorspace is not YV12 once you've added the subs. x264's input needs to be YV12

chipzoller
15th August 2006, 22:57
I take it as soon as you remove the subs it works like a charm, correct?

Correct.

The issue here is with megui as it hangs before calling x264.exe.

ricardo.santos
15th August 2006, 23:31
Did you run the updater first? That'll add colormatrix to avisynth - obviously if it isn't there it won't work. Assuming your avisynth path is correct.

yes, its all uptodate, i do get an error while trying to update neroaac, for some reason it doesnt update it, i looked at program files, avisynth plugins and all i could find was a colors_rgb.avsi no reference to color matric but megui says its there.

@ricardo.santos: now do you still get that error or is everything working out? You can't quite count the second error if you get one before..

yes i still get the first error and i have to manually remove that line from the script for megui to encode

ricardo.santos
15th August 2006, 23:38
some screenshots of avisynth plugins directory and avisynth version:

http://img151.imageshack.us/img151/6144/megui3zb3.jpg

http://img151.imageshack.us/img151/2366/megui4yi1.jpg

mp3 conversion is not working aswell , didnt noticed it because i didnt enable it on my first tests

ricardo.santos
15th August 2006, 23:42
http://img291.imageshack.us/img291/8392/megui5ii5.jpg

Sharktooth
16th August 2006, 02:22
yes, its all uptodate, i do get an error while trying to update neroaac, for some reason it doesnt update it, i looked at program files, avisynth plugins and all i could find was a colors_rgb.avsi no reference to color matric but megui says its there.



yes i still get the first error and i have to manually remove that line from the script for megui to encode
I think something is messed up in the MeGUI auto-update configuration. Uninstall it, delete the MeGUI folder and reinstall it.
about neroaac :search:

Blue_MiSfit
16th August 2006, 09:24
I've got a wierd one all of a sudden. Here is the script for reference:



LoadPlugin("...\RemoveGrainSSE3.dll")
LoadPlugin("...\fft3dgpu.dll")
LoadPlugin("...\gradfun2db.dll")

DGDecode_mpeg2source("...\VTS_02_1.d2v",info=3)

ColorMatrix(hints=true)

fft3dgpu(sigma=2, bt=2, plane=1, wintype=1)
removegrain(mode=1)

gradfun2db()


Source is a 24p DVD. The problem is that when I go to encode with x264 shooting for a hair under 3 mbit automated 2 pass, MeGUI dissapears unexpectedly.

I tried a different movie with the same x264 settings, and a script with mpeg2source, colormatrix, removegrain, and eedi. This ran without issue.

After megui closes x264.exe is still running, and hogging up ~200MB of RAM for firstpass!! :)

here's my command line:
C:\Program Files\megui\tools\x264\x264.exe --pass 2 --bitrate 700 --stats ".stats" --keyint 240 --min-keyint 24 --ref 5 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct auto --nf --subme 6 --trellis 1 --analyse all --8x8dct --me umh --thread-input --cqmfile "D:\x264 Matricies\M4G_High_Detail_AVC.cfg" --progress --no-dct-decimate --no-psnr --output "" ""


Also, this script goes smoothly through vdub into XviD CQ4.

Ideas?
~MiSfit

Doom9
16th August 2006, 11:04
@chipzoller: could you post the avs script and do you get a preview when you load the script into megui? What's the crash message?

ricardo.santos
16th August 2006, 11:22
about neroaac :search:
i rember from the top of my head that the update doent work with neroaac because of some legal issues/licenses remember reading that we have to do it manually. but i thought that was solved has neroaac reference is still there in the update window. not a big problem anyway.

will uninstall megui and install it again and let you guys know of the results

thanks

chipzoller
16th August 2006, 11:58
DGDecode_mpeg2source("C:\RONIN69\VIDEO_TS\Ronin.d2v")
#blank deinterlace line
crop( 0, 54, -2, -60)
vobSub("subs.idx")

LanczosResize(576,240) # Lanczos (Sharp)
#denoise

Yes, I do get a preview window and it does show the burn-in subs displayed correctly.

When adding the job to the queue, MeGUI simply hangs....no crash, no error message. There is no hard drive activity and the CPU usage shoots to 100% straight away. I've tried letting it sit up for a period of time with no change.

Doom9
16th August 2006, 12:32
any chance you could cut a sample with all that is required to reproduce the problem (including the subs)?

Sharktooth
16th August 2006, 12:36
A ConvertToYV12() should be added in the megui avisynth script creation (expecially when using DirectShowSource() as input).

berrinam
16th August 2006, 13:35
Actually, DirectShowSource should use the pixel_type parameter:
DirectShowSource(...,pixel_type="YV12")
to avoid unnecessary colorspace conversions. Since the Avs script creator doesn't natively support vobsub yet, we can hardly be responsible for the problems it causes yet. However, MeGUI should currently check for colorspace problems just before encodes and will detect if it isn't YV12. Either this is broken again, or this settings isn't being used, but I don't think ConvertToYV12 should be added to the Avs creator.

Limobar
16th August 2006, 16:37
I have a question about resyncing audio (LC-AAC) and video (x264) in a mp4 container. I'm using MeGUI and often the audio/video are out of sync. I will describe the way I'm correcting this at the moment. I'm wondering if there is a faster way.

- I use MPC to find out the exact time difference.
- I use MKVMergeGUI to adjust the audio file (result is a Matroska-file).
- I use MKVExtractGUI to demux the audio.
- I use YAMB to remux the audio/video.

As I'm using XBMC (Xbox Mediacenter), LC-AAC in a Matroska container is often not possible. Is there a way to directly remux the mp4 file with the correct sync values? YAMB appears to have this option, but nothing happens when you use it.

chipzoller
16th August 2006, 18:42
@Doom9:
http://rapidshare.de/files/29636690/ronin-cut.rar.html
Should be everything you need.

Doom9
17th August 2006, 12:56
MeGUI should currently check for colorspace problems just before encodes and will detect if it isn't YV12.Can you tell me where that check is? I can't seem to find it.

Doom9
17th August 2006, 19:22
@chipzoller: I'm afraid I can't reproduce this behavior. After finally figuring out I needed to get and put vsfilter.dll into my AviSynth plugin directory, I could play the avs, and I can encode your sample as well (there are no subs though, but vsfilter is being loaded as without it I only get an error message).

JarrettH
17th August 2006, 19:37
Megui won't let me download aacenc32 or any of the avisynth filters too.

Sharktooth
17th August 2006, 20:25
what aacenc32? If you mean nero aacenc then you have to manually download and place it in the right folder (licensing problems). Next time :search:
For what concerns the avisynth filter i have no problems downloading them.

JarrettH
17th August 2006, 20:46
Updating nicaudio. File 14/14.
Error: The path to save nicaudio to is invalid.
Update completed.
0 files were completed successfully
14 files had problems.

etc :D

Just saw nero, I'll copy it

Do I need aac.dll still?

hkl8324
18th August 2006, 02:21
It there any chance this little program (swiss army knife IMHO) will be ported to Linux (Or *nix) OS?:)

(Oh, can it be run on Wine? I havent tested :D)

Sharktooth
18th August 2006, 03:33
Updating nicaudio. File 14/14.
Error: The path to save nicaudio to is invalid.
Update completed.
0 files were completed successfully
14 files had problems.

etc :D

Just saw nero, I'll copy it

Do I need aac.dll still?
do you have avisynth installed?
It there any chance this little program (swiss army knife IMHO) will be ported to Linux (Or *nix) OS?:)

(Oh, can it be run on Wine? I havent tested :D)
Im working on the mono port... but it will require avisynth 3.

chipzoller
18th August 2006, 04:07
@ Doom9:

Well, I think I've either solved the problem or at least created a work-around solution. It seems MeGUI will shoot up 100% CPU usage even before adding the job to the queue, but it does so with the preview window open and adjust x264 encoder settings. What *may* be significant is that because the script contains burn-in subs, the preview window displays (upon loading the script) a scene in which the burn-in subs are displayed. This may or may not have anything to do with it, but in any case if I close the preview windows just after loading the script I can continue configuring the encoder settings, add the 2-pass job to the queue, and encode successfully. And it was still hanging even after I updated MeGUI to the most recent version, but this work-around seems to work at present. I still have no idea why it's behaving like this but it definately seems like a MeGUI problem.

JarrettH
18th August 2006, 04:56
do you have avisynth installed?

Thanks that fixed it! I just did a reformat and decided to grab all my apps after the installation and left all that ffdshow/avisynth nonsense for last :cool:

foxyshadis
18th August 2006, 09:33
chipzoller, do you have the latest vsfilter? I helped fix a bug several months ago that caused a similar hang in it. (To find out, you can always get process explorer, open megui's properties, and look at the threads window. If it's vsfilter.dll chowing it all it's that bug (or a related one). If it's avisynth then it's probably one of the other filters.)

Doom9
19th August 2006, 12:45
Ideas?
~MiSfitI see lots of filters, CQM, everything to make my hair stand out in all directions - all over my body. You need to gradually lower the complexity of your scenario until you can lay the finger on the exact cause, or better, start with the most simple script involving this source, then gradually increase complexity of the scenario until you know which option caused the problem.
Then you need to cut a sample from the source, and post the script and settings required so that somebody else can reproduce it.

chipzoller
19th August 2006, 13:02
@ foxyshadis

Yes, I have v2.37 (and I did read your post you mentioned) unicode version but the script encodes fine in VirtualDub for example, just has problems in MeGUI. I did get the script to encode finally in MeGUI, however, so all seems to be well. I'd still like to know what caused the hang; I may look into it a bit more if I have the time.

Eleo
21st August 2006, 08:56
Hi... I'm new to this. I was following the Wiki/guide and naturally was confused on precisely what to do in some cases. Since one thing can be the difference between success or failure...

I have created a D2V and demuxed the audio and I have two .ac3 files; presumably the second one is like director's commentary or something? I have no idea; that's my best guess. But I've created an avs script and I calculated the bitrate and such and set up the encode for HQ-Slower (would anyone recommend I use HQ-Slowest?) but am wondering if I have to do anything for audio... The guide said don't bother encoding audio if you have AC3 so does that mean I can just go ahead and begin encoding the video and expect audio to accompany it when it's done (presumably within the container and not isolated from the video)?

Edit: Damn it I'm such an idiot... If I had just continued through the guide I would have found out. Meh, sorry. My other question still stands, I guess, although it might be in the wrong thread by itself:

Also, should I be using an MKV or MP4 container? Or rather, not "should I" but what would people generally recommend?

check
21st August 2006, 13:07
Hi, I wrote the guide and feedback is 100% welcome - I should start actively seeking it out a little more actually. As to your questions:
o with audio files, simply play them to see what they contain. DGIndex outputs the number of channels in the audio filename (ie lookingdown T01 2_0ch 192Kbps DELAY 0ms.ac3 means two front speakers and no rear speakers (ie stereo)) as well.
o HQ-Slow vs Slowest vs whatever is very much your own choice. I personally use something that's even slower than HQ-Slower, but not everyone is happy with 24hr+ encoding times :^).
o Keeping ac3 or transcoding to mp3/some other format is again your own choice. ac3 is usually at either 384 (3mb/min) or 448 (3.5mb/min), whereas a stereo mp3 @ 128kbits is around 1mb/min. I keep the ac3 because space isn't an issue for me and I prefer to not encode, but depending on your sound system and so on you should make your own choice. If you only have a stereo sound system try encoding to ND AAC with quality 0.3 and see if you can hear a difference. You'll certainly notice a sound difference at least ;).
o Audio is NOT automatically added to the video when done. You have to add it in the Muxing step. The output formats available are dependant on the input formats (no h264 in avi, no vorbis in mp4, etc etc)
o Personally I prefer MKV because it can handle a metric ton more codecs and formats, and none of the advantages of mp4 are really that advantageous for me. Also, no ac3 in mp4!
Hope this helps.

Sharktooth
21st August 2006, 15:11
I've uploaded a new mp4box version that supports vobsubs in the megui autoupdate server and linked x264 against the latest libgpac.
Please test it and tell me if you have any problems with mp4 files.

frodeste
22nd August 2006, 18:34
If you have the info file it'll show you the proper audio tracks and languages.. if not, you just have to figure out that info on your own and if you e.g. select track 8 and there's no track 8.. you just won't get any audio.
but it runs without that file, it's just always good to have it. And file mode... if your titleset contains additional content, you realize that file mode is going to get you that additional content (e.g. fbi warning, mpaa ratings and other annoying stuff) as well.. and it has nothing to do with file versus ifo mode.. it's about activating the info file option in dvddec.

What if I already copied my dvd to the harddrive using DVDShrink (no compression)? What is the easies way to create this file?

Doom9
22nd August 2006, 18:57
What is the easies way to create this file?Enter DVD again, start ripping, abort. I think that'll write the file. And then learn that DVDDec is THE tool to rip.. you get two very important text files written for free.. many apps rely on those and don't reinvent the wheel by having their own IFO parsing.

frodeste
22nd August 2006, 19:36
Enter DVD again, start ripping, abort. I think that'll write the file. And then learn that DVDDec is THE tool to rip.. you get two very important text files written for free.. many apps rely on those and don't reinvent the wheel by having their own IFO parsing.

Thanks. I will do so. As for the other DVDs. That would take to much time. (even with aborting..)

I wonder if I could trick DVDDec to read existing DVD files from the harddrive, as if they were on the DVD and copy them to a new location. Must do some research I think :)

Eleo
22nd August 2006, 19:56
I'm not sure where to put this since it could have something to do with MeGUI or it might just be x264 in general. Anyway, I recently encoded Star Wars Clone Wars Volume One using MeGUI. During the process I noticed that for some reason in the source video that there were very thin, black, 2-pixel borders on the bottom and the right. I cropped these out using Auto-Crop; as I felt they shouldn't be there. I was actually confused as to why they were on the source DVD.

On my encoded mp4, in each frame the rightmost border is shifted two pixels up. And every second or so it sort of "flickers" in this area. I double-checked the DVD for this behavior and it isn't there. I don't know if this has anything to do with me cropping. Or maybe it has something to do with how I resized the video because it's anamorphic.

I can't seem to get a screencap of the flickering because it comes and goes so often. It's enough to be distracting, though. I have a cap of the way the border is shifted up:
http://img505.imageshack.us/img505/1420/clonewarsproblemru9.png
Notice how the thick lines in the artwork don't match up to the 2 rightmost pixels.

Meh, eight hours of encoding wasted. :( Needless to say I'm pretty disappointed because otherwise the quality of the video is excellent.

I pretty much followed this guide (http://project357.com/MeGUIwiki/index.php?title=Main_Page) on how to use MeGUI.

Does anyone know where I went wrong?

EDIT In hindsight I'd say I went wrong. The auto-crop tool seems to be imperfect. (Last night I was trying to crop the black borders from Crouching Tiger; auto-crop did nothing to it; I had to remove them manually. Keep in mind these borders were HUGE.) Auto-crop removed two pixels from the right and four pixels from the bottom; when it should have cropped 0 pixels from the right and two pixels from the bottom. I ended up cropping actual video; maybe this is where I screwed up. I'll re-encode and see if there's a difference. Bottom line is I'm never trusting auto-crop again.

frodeste
22nd August 2006, 21:18
Hi, I wrote the guide and feedback is 100% welcome - I should start actively seeking it out a little more actually. As to your questions:...
Hope I can be forgiven by adding a couple of items on the todo list in the wiki. If you like, I would be happy to help you on writing more. (Although I would need a little assistance along the way)

Sharktooth
23rd August 2006, 12:39
@Eleo: auto-crop doesnt always work as expected (even for AutoGK, StaxRip, etc...). The preview window is there for a reason...

Eleo
23rd August 2006, 20:30
o yeah preview window why didnt i think of dat

EDIT Although I know what caused it to happen, I don't think the sort of flickering should happen; if you crop it it should just be cropped out, right? Shouldn't be any negative side effects even from cropping the actual picture.

I've noticed thin black borders on a lot of stuff I'm looking at. Another example being Arrested Development Season 1. In some cases it's only present in some frame/shots but not others. Is this a limitation of the source video or was the DVD just not put together with as much expertise as there should be?

junglemike
23rd August 2006, 21:44
Guys, I have a problem encoding audio. I tried encoding ac3 to mp3 and also tried mp3 to ogg and in both cases this fails.
Maybe i am doing something wrong. I don't know. I searched the wiki megui guide, and also this thread, but notheing.
here's what i do:
megui version 0.2.3.2192.
1) in the audio input field, i browse for the .ac3 files, than 2)choose desired audio profile, which is mp3@128kbps cbr.
codec:mp3
container:mp3.
3)hit engueue (in the lower part)
4) Error appears in the job status.
5) I go to the log and see the following message.
Exactly the same error apperas when i try to encode mp3 to ogg for example:
Log for job job1
Error:
MeGUI.AviSynthException: Script error: there is no function named "NicMPG123Source"
at MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
at MeGUI.AviSynthAudioEncoder.encode()
Would really be greatful if some1 could help me out.

_Edit:
Ok guys, fixed the problem. After finding out that exactly same setup worked fine on my other computer, i unistalled megui, and reinstalled from the scratch. Now everything works back again.

PlazzTT
24th August 2006, 22:49
I'm having trouble with the auto-updater.

There's just one update left I haven't installed and it's because it keep freezing.

It's the STx264 update from version 29 to 30. It says "Updating STx264. File 1/1." and it looks like it downloads it (the progess bar goes to 100%), but then it stops. The Update button is grayed out, and the Abort button or anything else in meGUI doesn't work, so I've to end task.

cbarroso
24th August 2006, 23:29
Move the autoupdate window and you are going to discover another window behind it... :p

jtarrio
25th August 2006, 10:19
Hello,

I'm having an issue whenever I use the adaptive muxer of MeGui (BTW it has the same shortcut key (Ctrl+M) as to hide it in the system tray, so it doesn't work). What happens is that I select the video source, and the two audio sources, and the resulting MP4 file contains each audio track twice (total 4 tracks), and of course the file size exceeds what I'd calculated in the first place.

Here's the output from an MP4Box -info on the resulting file:

C:\Documents and Settings\jtarrio\My Documents\DVDs\ELDIADELABODA_SCN>mp4box -info "The Wedding Date
.(2005).x264.AAC5.1.mp4"
* Movie Info *
Timescale 600 - Duration 01:24:55.338
Fragmented File no - 5 track(s)
File Brand isom - version 1
Created: GMT Fri Aug 25 08:54:36 2006

File has root IOD
Scene PL 0xff - Graphics PL 0xff - OD PL 0xff
Visual PL: AVC/H264 Profile (0x15)
Audio PL: AAC Profile @ Level 4 (0x2a)
No streams included in root OD

Track # 1 Info - TrackID 1 - TimeScale 25 - Duration 01:24:55.240
Media Info: Language "Undetermined" - Type "vide" - Sub Type "avc1" - 127381 samples
MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21
AVC/H264 Video - Visual Size 560 x 304 - Profile High @ Level 5.1
Self-synchronized

Track # 2 Info - TrackID 2 - TimeScale 48000 - Duration 01:24:55.338
Media Info: Language "English" - Type "soun" - Sub Type "mp4a" - 119422 samples
MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40
MPEG-4 Audio AAC LC - 6 Channel(s) - SampleRate 24000 - SBR SampleRate 48000
Synchronized on stream 1

Track # 3 Info - TrackID 3 - TimeScale 48000 - Duration 01:24:55.338
Media Info: Language "Spanish" - Type "soun" - Sub Type "mp4a" - 119422 samples
MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40
MPEG-4 Audio AAC LC - 6 Channel(s) - SampleRate 24000 - SBR SampleRate 48000
Synchronized on stream 1

Track # 4 Info - TrackID 4 - TimeScale 48000 - Duration 01:24:55.338
Media Info: Language "English" - Type "soun" - Sub Type "mp4a" - 119422 samples
MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40
MPEG-4 Audio AAC LC - 6 Channel(s) - SampleRate 24000 - SBR SampleRate 48000
Synchronized on stream 1

Track # 5 Info - TrackID 5 - TimeScale 48000 - Duration 01:24:55.338
Media Info: Language "Spanish" - Type "soun" - Sub Type "mp4a" - 119422 samples
MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40
MPEG-4 Audio AAC LC - 6 Channel(s) - SampleRate 24000 - SBR SampleRate 48000
Synchronized on stream 1

No problem, I just remove them with MP4Box, but it's a bit annoying and I was wondering if it's a known issue.

BTW, this doesn't happen with the MP4 Muxer, only with the Adaptive Muxer... What's the difference?
Cheers...

Doom9
25th August 2006, 10:29
You obviously know your way around mp4box.. have you considered looking at the megui logs to check for a difference in commandlines? Just an idea ;)

Carpo
28th August 2006, 14:27
is there any issues if you were to mux an xvid and aac audio into an avi container

sorry if this has been asked and answered b4

Sharktooth
28th August 2006, 14:38
Dont know if divxmux (the avi muxer used in megui) can handle aac in avi, but i highly doubt it can...

Carpo
28th August 2006, 14:52
didnt think it would :(

Doom9
28th August 2006, 15:16
If the adaptive muxer works as it should, once you add an avi & aac audio, the container choice would be limited to mkv.

@edit: I just checked and it indeed does that. And you can't even add an mp4 audio in the divxmux muxer.
You might however be able to add an x264 in avi and an mp3 and divxmux will just tell you that it doesn't support that video type.

Eleo
28th August 2006, 19:30
Hello,

I'm having an issue whenever I use the adaptive muxer of MeGui (BTW it has the same shortcut key (Ctrl+M) as to hide it in the system tray, so it doesn't work). What happens is that I select the video source, and the two audio sources, and the resulting MP4 file contains each audio track twice (total 4 tracks), and of course the file size exceeds what I'd calculated in the first place.
I'm having the same issue. It worked out fine with the mkv muxer, though.

Blue_MiSfit
29th August 2006, 08:08
hey guys,

So... We got a spanking new MacPro today - quad core 2.66 Xeon, 2 GB FB-DIMM, 2x250GB SATA... Awesome.

I got BootCamp (Windows XP) up and running nicely and everything seems in order. However, when I attempted to load in MeGUI, I ran into an error. It installs just fine, but when I try to run the auto update, it says that it doesn't recieve the XML file. I assume this means that the server that handles auto update is down.

Is this in fact the case? If so, is there any ETA on getting it up and running again? Not to pester anyone or anything like that, I just REALLY REALLY REALLY want to do some tests with this badass quad core monstrosity!!!!! :D :D :D

Thanks folks
~MiSfit

quake74
29th August 2006, 10:08
Yeah, autoupdate is down here too (29/8/06 11AM GMT-1). It says

Retrieving update file from server...
Error: Couldn't connect to server. Try again later.
Error: Could not download XML file

jtarrio
29th August 2006, 11:26
I'm having the same issue. It worked out fine with the mkv muxer, though.
Glad to know I'm not the only one. It happens to me whenever I use the adaptive muxer, every single time, so I guess it's a bug? Maybe we sould post this in the bug report thread? Is nobody else having this problem?

~bT~
29th August 2006, 14:00
I had this error a while back and now I have it again.

http://img177.imageshack.us/img177/2373/bilderman20060829135811nx2.png

I havent added any dll's since my last rip with MeGUI and I also have the TIVTC.dll in my Avisynth folder.

Eleo
31st August 2006, 05:11
Glad to know I'm not the only one. It happens to me whenever I use the adaptive muxer, every single time, so I guess it's a bug? Maybe we sould post this in the bug report thread? Is nobody else having this problem?
Actually for me it only happens when I have two audio tracks. Having one audio track works fine for me with the adaptive muxer.

Sharktooth
31st August 2006, 12:49
That's an avisynth related error.
for some reasons seems the filter doesnt get loaded.

Xebec
2nd September 2006, 23:10
Noob question. Surprizingly cannot find any answer to it here. MeGUI does not encode audio. Video encoding works and I get my result, but audio - no way.
My input - AVI (xvid/mp3). I tried using AutoEncode for it and 6 steps method as in MeGUI guide. AutoEncode just ignores audio. Using 6-steps method, I chose the same AVS script as is created for video and as a result I get this error:

System.ApplicationException: Can't find audio stream
at MeGUI.AviSynthAudioEncoder.encode()
-----------------------------------------------------------

I decided to give MeGUI a try after realized that StaxRip is not supported anymore.

check
3rd September 2006, 03:18
change the audio = false in the avs file to true and you can use it to encode audio - but to save time you should make a new script with only the first line so it doesn't waste CPU transforming the video too.

Xebec
3rd September 2006, 03:42
Thanks man. Everything works!

Carpo
3rd September 2006, 08:02
ok prob a stupid question but - i know which x264 profiles to use but the naming of the xvid profiles is a bit confusing to me, which do u use and for what purpose, i mean you have HQ slow HQ slowest and so on for x264 but with xvid its XviD '_rt_30% comp. check' (HQ)

check
3rd September 2006, 08:34
Sharktooth has a thread about his presets and the naming conventions - as to the xvid ones, the % refers to the compressibility test result from enc(?), basically lower %'s reflect higher compression.
So if you are backing up a DVD to xvid and you are going to use a full DVD5 worth of space chances are you'll want to use the >90% setting. If you are doing a 3hr movie to 700mb you'll be looking at something more like 30%. Be aware you have to download the quantization matrices for the xvid builds seperately though and put them into a new folder called extra in the xvidencraw folder in megui\tools

Carpo
3rd September 2006, 13:29
so if your doing say a 2 hr film with ac3 audio its an idea to stay around the 30% mark (even if audio used is mp3?)

edit: i just found the thread in that explains what each profile is good for :)

ricardo.santos
3rd September 2006, 21:52
i rember from the top of my head that the update doent work with neroaac because of some legal issues/licenses remember reading that we have to do it manually. but i thought that was solved has neroaac reference is still there in the update window. not a big problem anyway.

will uninstall megui and install it again and let you guys know of the results

thanks

Hi, finally i had the time to format my Pc, everything works now. Thanks for all your advices.

Just have a small question:
is x264 supposed to be direct competitor with xvid/divx or with Mpeg2?

When i backup my dvds i plan to watch them on SAP, so i made quick test with a 5 minute vob :

xvid/divx= 35 mg home theater profile(used avi.net since it has SAP compatabilty in "mind")
x264=35 mg HD DVD profile

video resolutions were the same as well as audio bitrate

when i tried to lower the final size with x264 picture quality degraded(blocks) so hence my question.

Thanks

foxyshadis
4th September 2006, 04:28
HD-DVD is significantly more restrictive than Home Theater; primarily the gop size is extremely short, and b-frames are few. Compare xvid with a 15 frame key interval to see what I mean. Unless you're actually making HD-DVDs (in which case a comparison is useless, given no way to use ASP), try lowering the bitrate with 250-300 keyint and 3-4 b-frames.

Carpo
4th September 2006, 22:25
is it worth doing an analysis pass and the 2 passes or just the 2 passes on their own ? do this serve any major purpose or does it just lend a helping hand ?

check
5th September 2006, 11:40
http://mewiki.project357.com/Glossary#Analysis_Pass

check
5th September 2006, 15:17
Can someone please give me some info on how the d2v creator option Select Audio Streams to demux (Stream Info File required) works?
In particular:
o Is this behavior part of DGIndex.exe or is it a seperate layer operating within megui? In other words, should I be asking neuron2 these questions?
o If a disc has two english tracks and one french, and I choose eng;fre, what happens? What happens if I choose eng;eng?
o What happens if no stream in that language is found?
o If it must choose between multiple audio tracks (say there are three english tracks), how does it decide?

Xin-Hong
5th September 2006, 18:32
Hi,

I have an error with the XviD profiles :

Starting job job1-1 at 19:28:42
encoder commandline:
-i "F:\[Fansub] Triangle Heart OAV3\script.avs" -pass1 "F:\[Fansub] Triangle Heart OAV3\script.stats" -bitrate 748 -kboost 100 -ostrength 0 -chigh 10 -clow 3 -overhead 0 -nopacked -vhqmode 4 -qpel -qmatrix "extra\Didees SixOfNine.cqm" -closed_gop -imin 3 -imax 4 -pmin 3 -pmax 5 -bvhq -bquant_ratio 162 -bquant_offset 0 -bmin 3 -bmax 5 -threads 1
successfully started encoding
Processing ended at 19:28:42
----------------------------------------------------------------------------------------------------------

Log for job job1-1

xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003

Error opening input file extra\Didees SixOfNine.cqm

I have downloaded them manually and put in the MeGUI directory

Carpo
5th September 2006, 19:51
just a little Q - how come the xvid dll in megui folder is 800k+ but the one installed on the system is only 740K ? does the megui version offer more or it just the way it was compiled ?

foxyshadis
6th September 2006, 03:39
Carpo, the dates of each are the only important parts; MeGUI's was current in June, most other releases are much older.

Xin, you either need to put them in a folder called "extra" or open the profile and load the cqm into it, so it'll grab the full path.

check
6th September 2006, 11:04
Xin, http://mewiki.project357.com/MeGUI_FAQ#Encoding_with_xvid_doesn.27t_work

AjnabiZ
6th September 2006, 12:17
Hi

I uae AutoGK for all of my conversions. Just trying to move from AutoGK to meGUI.

I have found one main difference between the two. Its the time it takes to convert. In AutoGK it took me around 8 to 11 Hours to convert one DVD to a 900 MB AVI file whereas im doing the same in meGUI, and its past 24 Hours and its still hasnt completed it. Its on the Second pass with 50 % complete after 24 hours. I am converting it to x264 using HQ-Slow method and I folllowed the exact method posted here:
http://www.project357.com/MeGUIwiki/index.php?title=Guides:Basic_Guide/Setup

Is it the settings which are causing this much delay. The video rendering rate is 3.27 fps

Sharktooth
6th September 2006, 12:33
it's HQ-SLOW preset... the name should tell you something, doesnt it?
And you're using x264 that can be really slower than xvid/divx but the quality will be outstanding.

Sharktooth
6th September 2006, 12:40
Can someone please give me some info on how the d2v creator option Select Audio Streams to demux (Stream Info File required) works?
In particular:
o Is this behavior part of DGIndex.exe or is it a seperate layer operating within megui? In other words, should I be asking neuron2 these questions?
o If a disc has two english tracks and one french, and I choose eng;fre, what happens? What happens if I choose eng;eng?
o What happens if no stream in that language is found?
o If it must choose between multiple audio tracks (say there are three english tracks), how does it decide?
I didnt code that part but IIRC:
1 - the Stream Info File is required by MeGUI (DGIndex doesnt care about it).
2 - The tracks should be backed up in the order they appear in the Stream Info File. So, in your case, the first eng track would be selected. If your selection was eng;eng then the first 2 english tracks would be backed up.
3 - Uhm, dunno... have to check.
4 - same as 2.

AjnabiZ
6th September 2006, 15:02
it's HQ-SLOW preset... the name should tell you something, doesnt it?
And you're using x264 that can be really slower than xvid/divx but the quality will be outstanding.


So overall its x264 vs Xvid encoding speed, is it ?

If its quality , then i wont mind the wait : ) for the same size.

Sharktooth
6th September 2006, 15:09
Yeah. x264 with fastest settings should be always on par if not better (and faster) than xvid with slowest settings.
However if you want to further enhance the compression x264 could become really slow.

Xin-Hong
6th September 2006, 15:35
Thanks check,

I put quantization matrix in megui\tools\xvidencraw\extra and change the xvid_encraw path "D:\MeGUI\tools/xvid_encraw\xvid_encraw.exe" to "D:\MeGUI\tools\xvid_encraw\xvid_encraw.exe"

Doom9
6th September 2006, 17:27
If a disc has two english tracks and one french, and I choose eng;fre, what happens? Both tracks will be selected.. the english will become track 1, the french one track 1
What happens if I choose eng;eng?both dropdowns would default to the English track.. so you end up getting the same track twice. On the other hand, if you have multiple English tracks (e.g. 2ch, 6ch), then the first English track would be chosen twice (not ideal I know.. I might one day add a routine for multiple tracks with the same language)

o What happens if no stream in that language is found?The same as if there's no info file: demux all will be chosen, and if you checked the option to load the processed content, then the first and second demuxed track will be loaded into the gui.
If it must choose between multiple audio tracks (say there are three english tracks), how does it decide?See my reply above.

Sharktooth
6th September 2006, 17:40
doom9 knows it better than me.

check
7th September 2006, 11:17
thanks :)

pancserzso
8th September 2006, 22:09
I tried everything, but I can't encode xvid via megui. No DVD, just an avs file. x264 works fine. If I copy the command line and past to a command prompt I found 3 errors:
1. extras was missing - downloaded zip from xvid profile thread. - autoupdater should download that too!
2. .stats file was missing, I created one an it's OK now. I thing MeGUI handles that, it was just needed for cmd.
3. The C:\Program Files\.....\xvid-encrawl.exe was not in " ", after hand editing the command it works via command line!
BUT in MeGUI it says errors... Nothing in the log. Maybe the missing " "-s just an idea. How could I get something in the logs?

check
9th September 2006, 03:27
1. yep :)
2. stats file is made in the first pass. Are you skipping the first pass and only doing a second pass?
3. check the path in the megui settings, and check you are using the latest version (2192 at time of writing). 2193 is unstable, don't use it yet.

pancserzso
9th September 2006, 09:12
It's soo simple, I uninstalled everything, installed, updated all (except the nero stuff), downloaded the extra zip and extracted, and I want to encode a simple xvid 2-pass avi. Like with x246, which works perfectly. I didn't mess anything with paths, it is the default folder, C:\program files\megui\...

How can I get some verbose information about the error, not just look at encoding status: error?
BTW, the encoding window appears for a millisecond and disappears again.

pancserzso
9th September 2006, 09:34
I've checked and I have 2193!
That version is simple unusable! Look, after a clean install, I cannot modify anything in the profiles (even temporary). It quits quite often with "cannot load settings file" and "job-1, job-2 error"-s at startup. Where can I download a stable version? And why does an autoupdate offers versions like this?

Doom9
9th September 2006, 11:41
How can I get some verbose information about the error, not just look at encoding status: error?Copy the commandline from the log, go to a command prompt, navigate to the folder where encraw is installed, type xvid_encraw and append the rest of the commandline from the log (by pasting it), then execute.

pancserzso
9th September 2006, 12:35
But I have absolutely nothing in the log...
If I copy the command line from the preset dialog and create a dummy .stats file, xvid_encraw works fine!

And now, it says, "couldn't start processing, please consult the log..." even for x264...

Doom9
9th September 2006, 13:35
seeing that you're using a version not meant for you, there's really no point in continuing this.

Sharktooth
9th September 2006, 14:22
get the version on www.sf.net/projects/megui and let it autoupdate...

pancserzso
9th September 2006, 15:52
Oh, I thought x264.nl is a reliable site. Now, that version works MUCH better.
1. I have log
2. The interface works

Now, it's just the error of looking for extra/matrices with mpeg matrix everything is fine!

I have
<XviDEncrawPath>C:\Program Files\megui\tools\xvid_encraw\xvid_encraw.exe</XviDEncrawPath>
and a file called:
C:\Program Files\megui\tools\xvid_encraw\extra\Didees SixOfNine.cqm

Error opening input file extra\Didees SixOfNine.cqm

Oh, and command line copy past works fine!

Doom9
9th September 2006, 16:20
as far as the matrices goes.. whomever maintains the profiles ought to have taken care of that a long time ago. Keep in mind that those that develop aren't necessarily those that spread the software.. I for one just upload code to the SVN.

pancserzso
9th September 2006, 18:45
Yes, I understand it's a complex project, but for real success it should be usable by Average Joe... I'm sure there are project leaders who could modify files in other parts too, and consult with site managers not to publish something like that (x264.nl):
31-08-06: megui 0.2.3.2193 added (revision 49)

So just my Average Joe question, I installed megui to the standard dir and expanded extra/matrices to tools/xvid but it still doesn't want to work (error with matrix). What shell I do?

bob0r
9th September 2006, 20:04
What version (revision) should be put on x264.nl?

Also let us know what versions are considered usable in the future.

Sharktooth
9th September 2006, 20:06
IIRC i already told you to keep the 0.2.3.2192.
However it can be found in latest revision into the TAG directory.

bob0r
9th September 2006, 20:25
updates:
09-09-06: megui 0.2.3.2192 added, recommended version
09-09-06: gpac (.mp4 output) updated (changelog (http://gpac.cvs.sourceforge.net/gpac/gpac/Changelog?revision=1.41&view=markup&sortby=date))
09-09-06: installer updated to nsis 2.20

Thanks for the advice (So i will look at the tags dir in the future)

crazybond
13th September 2006, 23:21
after encoding the audio using AAC codec resulting file is 48000khz ... but after muxing it with video AAC gets converted to 24000khz...WHY? (im using megui's mp4 muxer, and i have tried all in the audio...cbr, vbr, abr)... someone kindly help me with the solution ...

foxyshadis
14th September 2006, 06:45
Is it HE-AAC? (aka AAC+)

check
14th September 2006, 06:56
just an error due to a compression tech used by HE-AAC if so. The audio is exactly the same.

crazybond
14th September 2006, 22:26
just an error due to a compression tech used by HE-AAC if so. The audio is exactly the same.


im using ND-ACC codec ...n if we go further into config...im using AAC profile - Automatic...plzz tell me if im using correct one...n if not plzz tell me which one is really good...& also abt that 48000 coming down to 24000Khz....

thanx...

foxyshadis
14th September 2006, 23:08
http://en.wikipedia.org/wiki/Spectral_Band_Replication

In other words: The real frequency is halved, the rest is recreated at runtime, and lots of different tools are broken and only report the "raw" frequency. Ignore it. (But understand that some players, like Itunes and Quicktime, will only play at the raw frequency.)

May I suggest this as well: http://www.dailygrammar.com/

chros
15th September 2006, 22:09
Queue analysis pass queues an 'analysis' pass, which just plays through the video. This is useful for some avisynth scripts. If you don't know why, then it's not useful for you.
:) I don't know what it is, but I would like to know ... :)
When does it come handy? What kind of scripts? (deinterlacing, IVTC-ing, etc.)

Thanks

check
16th September 2006, 05:29
This was answered by berriman in an earlier post in one of the megui threads, but generally where a filter in the first pass writes a stats file and in the second uses the stats file to modify the video.

Carpo
16th September 2006, 09:04
first time i have tried using megui for xvid - all went well (test encode of 7 mins anyway) until the muxing - using the avi muxer in megui - it throws up

ERROR: DIVXMUX_INVALIDFILE File: Audio

i have used megui to make the vbr mp3 - could it be that its not liking vbr, or is this just another issue with the muxer ?

edit: tried with cbr same error :(

chros
16th September 2006, 09:36
This was answered by berriman in an earlier post in one of the megui threads, but generally where a filter in the first pass writes a stats file and in the second uses the stats file to modify the video.
Thanks. (I have been searching the forum for this.)

Doom9
16th September 2006, 12:01
@Carpo: I've heard that many times, and so far nobody has provided any sample files.. unless I get some sample files to reproduce, this will never be taken care off.

Carpo
16th September 2006, 16:12
as per the pm doom9 - nps - this was a ntsc title, i will test it with a pal title of my own and see if i get same issue, if so i will up the less provocative material for you to look at ;)

edit: i am doing a back up of carlitios way (pal) atm so will see what happens with it - norm do xvid/ac3 so wont take me long to convert the audio and see

can you use more than one thread when using xvid_encraw or do you also need the experimental 1.2 smp build of xvid - baring in mind i only have a crappy little HT machine - would it make any difference using 2 threads ?

edit 2: have muxed my test encode using both divx muxer and adaptive muxer

divx muxer - error with both ac3 audio and mp3 audio - see my post above
adaptive muxer - mux ok but picture is all messed up

which profile should you use if you are trying to back up to 2 cds is it the 30% or 50% profile - as i think i mistakenly selected 30 and have a 688meg avi file for a two hour film :o

mog08
18th September 2006, 16:19
when i input an AVI video into AviSynth Script Creator, meGUI shuts down itself automatically.
when i input a one-line avs script (avisource), meGUI tells me my script has no "mod16 dimention".

i copied winamp 5.2's enc_aacplus.dll to meGUI tools enc_aacplus directory but still get this error when i try to encode CT-AAC.

Log for job job1

Channels=2, BitsPerSample=16, SampleRate=48000Hz
C:\Program Files\megui\tools\encaacplus\enc_aacPlus.exe - "C:\xxx\xxx.aac" --rawpcm 48000 2 16 --cbr 24000Error:
System.IO.IOException: The pipe has been ended.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
at MeGUI.AviSynthAudioEncoder.encode()********************************************************************
* AACPlus v2 Encoder (using Winamp 5.2 enc_aacplus.dll)
* Source timestamp Mon May 15 17:24:26 2006
* Build May 15 2006, 17:24:35
********************************************************************
* NOTE! enc_aacplus.dll must be into executable directory
* get it from Winamp 5.2 plugins directory
* tested on Winamp 5.2 Release Feb 23 2006 Full (Not Pro) version)
********************************************************************
Input file: -
Output file: C:\xxx\xxx.aac
SampleRate: 48000
ChannelCount: 2
BitsPerSample: 16
Bitrate: 24000
ChannelMode: Parametric Stereo
Encoder: aacPlus v2 (HE-AAC+PS)
Can't find enc_aacplus.dll!

check
19th September 2006, 11:39
o The crashing on loading an AVI file is strange - I'd guess the video is somehow corrupted.
o mod16 means divisible by 16 with no remainder - highly recommended for all video encoding.
o are you sure ":\Program Files\megui\tools\encaacplus\enc_aacPlus.exe" exists? Try and run it directly from the command line and see if that works.

mog08
19th September 2006, 21:26
the AVI file that i tried is good in VirtualDubMod or TMPGEnc. It wasn't just one avi i tried, it just seems AvsScriptCreator is unusable on my current pc. I have AviSynth 2.5.6 installed no trouble with it.

yes I am sure that "\programe files\megui\tools\encaacplus\enc_aacplus.exe" exist (updated) as well as enc_aacplus.dll (from winamp 5.24) in the same directory.
After the initial installation of meGui, the default programme path of encAACplus was wrong in the settings. I changed it from encaacplus.exe to enc_aacplus.exe.

check
20th September 2006, 11:20
which version of megui are you using?

mog08
20th September 2006, 22:07
version is 0.2.3.2192. Installer from http://x264.nl. Also auto updated. Have .Net framework 2.0 installed.
PC is P4 1.8GHz. Windows XP 2002 home edition.

There are no error messege(s) when MeGUI shuts itself down.

Please help.

Carpo
21st September 2006, 16:45
@Carpo: I've heard that many times, and so far nobody has provided any sample files.. unless I get some sample files to reproduce, this will never be taken care off.


i have now re-done the rip - due to idiot error :( can you pm me what files you want and where i should send them - thanks

agressiv
22nd September 2006, 05:20
Any way of speeding up the "Analyse" bit of the Deinterlacing section on the filters tab? I have several machines (one 2x2.4ghz Xeon, one AMD 3000+) and I've clicked Analyse on several files, and it just chugs away. After 20 minutes I eventually gave up, it was still going. The progress bar reset itself at least 4-5 times before I hit abort, and I tried several times.

I've had it work before though, so I'm not sure what is going on. Any way you can un-grey the "Deinterlace" box even if we don't run the Analyse? That, or determine it with less analysis?

Let me know if there is any other information you need. I've tried this on several dvd rips.


Edit: Hmm, I let the two I was messing with continue and eventually it said they were "hybrid":

One of them had 19 progressive sections, and 4 interlaced sections. I'll choose the default option (TIVTC + TDeint(EDI) --slow) on this one - anyone explain what that will do? Will it just de-interlace those 4 sections?

agressiv


agressiv

check
22nd September 2006, 10:26
The multiple passes thing is due to it needing to scan the video more than once. The two passes it usually does is for interlaced detection and for field order. If the video is funky I think it does more passes to be sure.
As for your question re: sectioning; no, it will apply the selected option to the whole DVD. It can often detect low motion scenes as progressive because there is not enough motion to determine otherwise, so the default choice is usually correct.

btw, you can reduce the amount of video analysed in the settings.

agressiv
22nd September 2006, 13:45
Thanks for the reply Check!

Unrelated question, regarding audio delay:

If I have a track thats demuxed as:

movie T01 3_2ch 384Kbps DELAY -6ms.ac3

Do I set the delay correction in the audio config to be -6 or +6 ? I couldnt find any movies offhand that had a large delay for it to be noticable. (Not sure if we need to compensate for the -6 delay as +6, or if we just need to compensate -6ms...)

agressiv

check
22nd September 2006, 14:01
You want to enter what's written there (ie -6). As a rule of thumb, even if you got it wrong, 12ms is still too low to be noticed, but this is somewhat source dependant (it's easier with anime and other lowfps animations).

agressiv
22nd September 2006, 14:55
Ironically, I happened to have left one encoding overnight that happened to have an obnoxious delay:

Movie T01 3_2ch 448Kbps DELAY 62224ms.ac3

It was way desynced (multiple minutes off) but I had it set right.

So I'm gonna try the opposite, perhaps this delay is wrong in the source? I'll have to try it with 0 delay if this doesn't work...

agressiv

agressiv
23rd September 2006, 01:52
Well the audio is definitely 62 seconds off when I don't adjust for a delay, which is crazy.

MeGUI throws up this error when trying to set the delay to 62224 -

agressiv

Edit: Looks like MeGUI won't go above 5000, which is why I can never get this to sync. Should I just figure out how to edit the audio directly and truncate the 62 seconds or does anyone else have any ideas?

foxyshadis
23rd September 2006, 02:46
Crazy. Can you try manually remuxing in mkvmerge gui or yamb? You should only need to set the new delay and remux, without adding or removing anything.

Normally MeGUI would take care of the delay entirely itself, but I guess it was way out of the muxer's sanity checks or something.

agressiv
23rd September 2006, 03:55
Thanks for the advice - finally got it to work.

I had to use a negative value in the MKVMerge GUI to offset this, and oddly enough it was still slightly desynced. I ended up merging with -62000 and it was much closer.

Hopefully this is the exception to the norm :)

check
23rd September 2006, 14:20
I know I've seen it floating around the forum somewhere - can people please link me to a copy of the cqms used by the xvid presets? I can't find the link for the life of me.

foxyshadis
24th September 2006, 01:35
This? (http://forum.doom9.org/showthread.php?p=841263#post841263)

check
24th September 2006, 07:09
thanks :)

Bh4i
24th September 2006, 13:34
I just installed MeGUI and i made this script with the Avisynth script creator:

DGDecode_mpeg2source("D:\VIDEO_TS\VTS_03_1.d2v",info=3)
ColorMatrix(hints=true)
edeintted = AssumeTFF().SeparateFields().SelectEven().EEDI2(field=-1)
tdeintted = TDeint(edeint=edeintted,order=1)
tfm(clip2=tdeintted).tdecimate(hybrid=3)
crop( 0, 72, -2, -78)
LanczosResize(640,320) # Lanczos (Sharp)
UnDot()

In new to encoding, so i dont really know what all those deinterlace commands are, but neuron2 pointed me that this script is deinterlacing first and then applying IVTC: http://forum.doom9.org/showthread.php?p=879413#post879413

As i made this script with the latest MeGUI i wondered what im doing wrong.

Specs:
Core2Duo E6600 @ 2,4 Ghz
2 GB RAM
WinXP SP2 Pro

check
24th September 2006, 13:48
hmm, when you ran the interlacing analyser, can you report back the summary it gives on completion?

Bh4i
24th September 2006, 14:18
I did the analyse source again.

http://maxupload.com/img/839AC711

These are the options i can choose from. But when i choos some other deinterlacing method, i can see that the Avisynth script does NOT change...

check
24th September 2006, 14:44
it doesn't change even if you save it? very strange!
replace the three lines:
edeintted = AssumeTFF().SeparateFields().SelectEven().EEDI2(field=-1)
tdeintted = TDeint(edeint=edeintted,order=1)
tfm(clip2=tdeintted).tdecimate(hybrid=3)
With this (slow):
edeintted = AssumeTFF().SeparateFields().SelectEven().EEDI2(field=-1)
tdeintted = TDeint(edeint=edeintted,order=1)
Or this (fast):
TDeint()
They should work ok, I think it's just the detection going awry. What is the source btw?

Bh4i
24th September 2006, 15:02
Source is an old original Bollywood (Indian) DVD. Its released in 1987...

I compared all three scripts: 1=wrong script, first deinterlace than ivtc; 2=deinterlace; 3=TDeint()

And i noticed that 1 idd is the worst, and TDeint() the best. To be more precise, 1 & 2 are not good (its still not good deinterlaced) and #3 does the job :)

Thnx for u help :)

jellysandwich
25th September 2006, 14:21
Hmm... just to make sure:

If I encode an audio stream with a delay correction, do I also need to input the delay in the muxing process?

js

check
25th September 2006, 15:15
nope :)

jellysandwich
25th September 2006, 17:00
Ok, thanks.

Also.. This may be nothing, but, when I encode from ac3 to mp4 aac, the track length seems to get shorter. For example, my ac3 file had 2.15:22, but the resulting file only had 2.13:44. Any idea?

js

~bT~
26th September 2006, 02:46
Ok, thanks.

Also.. This may be nothing, but, when I encode from ac3 to mp4 aac, the track length seems to get shorter. For example, my ac3 file had 2.15:22, but the resulting file only had 2.13:44. Any idea?

js
I get the feeling the delay isnt being added.

check
1st October 2006, 15:28
Does anyone think it's worth starting up a meGUI IRC channel?

tyee
4th October 2006, 15:31
Is the AVI Muxer working ok in the latest version of MeGUI? I read in one thread the developers were aware of some problem but I'm not sure if it was fixed.

Also, the Adaptive Muxer always crashes on my system too. Can't even load the video file.

Using the AVI Muxer, loading the video file works fine, when I try to load the ac3 file, I click the select button for it and I get a window talking about a memory problem. When I mux using VdubMod it's fine.

Do I really need Windows XP service pack 2, or is SP1 ok? All the encoding works fine.

Sharktooth
4th October 2006, 15:55
I think SP2 is required by .NET framework 2.0... but i can be wrong...

@check: we (devs) already talked about it... but it was decided to keep it all on the forums.

Carpo
4th October 2006, 17:03
Is the AVI Muxer working ok in the latest version of MeGUI? I read in one thread the developers were aware of some problem but I'm not sure if it was fixed.

Also, the Adaptive Muxer always crashes on my system too. Can't even load the video file.

Using the AVI Muxer, loading the video file works fine, when I try to load the ac3 file, I click the select button for it and I get a window talking about a memory problem. When I mux using VdubMod it's fine.

Do I really need Windows XP service pack 2, or is SP1 ok? All the encoding works fine.

if your having the same issue as i was with muxing avis and ac3 with the adaptive and divx muxer you will have to supply the devs with samples of the aduio and video before they will look into it - i was supposed to be helping with this but "rl issues" have had to take priority over this - although you can mux into an mkv container with no problems

tyee
4th October 2006, 17:40
My problem may be that I only have SP1 for windows XP. Maybe I should upgrade first. Maybe it will solve the problem??

Carpo-- Do you have SP1 or SP2 installed??

Carpo
4th October 2006, 19:52
i have sp2 installed with all the updates - the issue i have (http://forum.doom9.org/showthread.php?p=881426#post881426) is that if i use xvid to make a stream into an avi (without sound which plays) then use the muxer to put the avi and ac3 into avi container i get garbled picture but audio is ok - if your not getting same issue as this you can ignore ;)

edit: just re read above - with some of the other things i did - if i made a raw xvid stream and loaded it into the adaptive muxer i got an error - which sounds simular to what you are saying

tyee
4th October 2006, 22:34
Carpo
I did get that same problem as you too (garbled picture, good sound) when I muxed with another muxer, I think it was AVIMUXGUI but I'm not remembering 100%. I couldn't get the Adaptive or the AVI muxer in MeGUI to work. The MKV muxer did work but I haven't tried it on my standalone dvd player. Will standalone players take an MKV muxed file?? If not, can I change the extension to .avi and have it work? Not likely I think.

Maybe I'll try it tonight!

check
5th October 2006, 10:30
very few SAPs take mkv as input :) If the internal AVI muxer is broken, try an external one such as avimux_GUI: http://alexander-noe.com/video/amg/ . A few more buttons to press, but very capable.

Carpo
5th October 2006, 17:10
thanks check - will give it a go when i have the time - which is in short supply atm :(

gino25
6th October 2006, 13:14
today update in megui doesn' t work. do It work for you?

Sharktooth
6th October 2006, 13:48
no.. the server had a power outage problem and is not yet online.

gino25
6th October 2006, 16:16
no.. the server had a power outage problem and is not yet online.

thank you very much shark

drob
6th October 2006, 19:37
Two questions, assuming i am converting from Xvid to Xvid and i have Xvid installed, why is the ConvertToYV12 needed? isn't Xvid already outputting YV12?
Secondly, why is DirectShowSource used and not AVISource?

Sharktooth
6th October 2006, 21:41
ConvertToYV12 wont do anything if the source colorspace is alreadt YV12... so it's safe.
DirectShowSource is used coz most decoders are directshow.
Avisource needs VFW decoders.

drob
6th October 2006, 23:33
Thank you Sharktooth, is Avisource preferable in any way for Xvid input? Also did i understand correctly i have to manually demux the audio and add it to the Autoencode window myself, that is MeGUI won't do it for me?

Sharktooth
7th October 2006, 13:41
Avisource can be used as well, expecially when you have synch problems.
You can create an avisynth script for audio as well (with avisource or directshowsource) and feed it to megui audio input.

markrb
7th October 2006, 17:53
no.. the server had a power outage problem and is not yet online.

Don't it just figure I picked now to reformat my drives.
I was scared there for a second I had a bad install of XP.
Here is hoping the server is up soon as I am just to lazy to manually update all the files.
Hey at least I am honest.

Thanks for all your hard work.

Mark

Henrikx
8th October 2006, 13:12
I finish a job with Megui.
I close MeGui,but Taskmanger shows,that MeGui is in progress.

http://img242.imageshack.us/img242/2971/meguihl1.th.jpg (http://img242.imageshack.us/my.php?image=meguihl1.jpg)

drob
8th October 2006, 17:31
Avisource can be used as well, expecially when you have synch problems.
You can create an avisynth script for audio as well (with avisource or directshowsource) and feed it to megui audio input.

Is there a way to use avisource in a template, i tried replacing <input> but i am sure i got it wrong lol

Sharktooth
9th October 2006, 01:27
Is there a way to use avisource in a template, i tried replacing <input> but i am sure i got it wrong lol
Uhm, no... you should replace DirectShowSource() with AviSource() manually.

Sharktooth
9th October 2006, 01:28
I finish a job with Megui.
I close MeGui,but Taskmanger shows,that MeGui is in progress.

http://img242.imageshack.us/img242/2971/meguihl1.th.jpg (http://img242.imageshack.us/my.php?image=meguihl1.jpg)
Sometimes it happens with .NET apps.
Just terminate it ater it finished processing jobs.

agressiv
9th October 2006, 03:56
MeGUI auto-update server down? I notice in netstat that its trying to connect to 209.51.162.169 over port 80, but its not responding. I've tried from work and home -

agressiv

JarrettH
9th October 2006, 05:20
Same problem with auto-update too. Actually it's been like this for numerous days.

check
9th October 2006, 10:30
server is down - waiting on it to revive :) You can get older copies of the various updateable files from mewiki.project357.com/auto

Carpo
9th October 2006, 17:30
avimux_gui worked - thanks check :)

drob
9th October 2006, 17:59
Thanks Sharktooth, no major disadvantage in using directshowsource then?

Henrikx
9th October 2006, 21:54
@Sharktooth
THX

Sharktooth
10th October 2006, 00:32
Thanks Sharktooth, no major disadvantage in using directshowsource then?
Usually it works flawlessly. Sometimes, if the source file was muxed in a "weird" way, there could be some desynchs.
In those cases avisource() may help.

agressiv
10th October 2006, 02:34
Is there a trick to crop off *ALL* of the black borders with MeGUI? I'll do the autocrop, and while it looks great in the preview window, I almost always have some black borders at the top and bottom. Its definitely cropped, just not cropped all the way.

I can upload screenshots if needed.

agressiv

Sharktooth
10th October 2006, 02:55
Yes, please. Both the preview window and the final encode (possibly the same frame). However i never had that problem...

agressiv
10th October 2006, 06:34
Attached is a screenshot of the preview window (showing auto-crop) as well as a screenshot of ZoomPlayer.

I'm guessing it has something to with the source being anamorphic? I didn't think anamorphic appied to the veritical factor though, just horizontal.

I noticed the preview window is showing an aspect ratio of something like 1.97:1, yet the movie is 2.35:1.

I can use the 2.35:1 aspect ratio in Zoom Player to compensate, but I'm just curious on any technical explanation behind this.

agressiv

check
10th October 2006, 10:06
The preview window is slightly borked. If you press 'preview' with both resizing and cropping selected it gives the appearence of overcropping. To get around this don't click preview until after you have decided your cropping values (ie resize after you crop).

VincentNguyen
10th October 2006, 13:52
Odd results using the latest x264 builds (and the one included in MeGui)

Source is an ts file, through an AVS script, details below:
"
DGDecode_mpeg2source("F:\HDTV\filename.d2v",info=3)
ColorMatrix(hints=true)
tfm().tdecimate()
crop(0,4,0,-4)
#resize
#denoise
"
d2v file is generated through DGIndex

x264 setting is SA-HDDVD profile, 2-pass, target bitrate of 3500kbps, no audio

It starts through the first pass, then stops after a few minutes and report an error in the main status page, but not in the log file.

Is this something known ?

==================



Starting job job1-1 at 14:33:13
encoder commandline:
--pass 1 --bitrate 3500 --stats "F:\HDTV\filename.stats" --level 4.1 --keyint 15 --min-keyint 1 --bframes 2 --b-pyramid --direct auto --filter -3,-2 --subme 1 --analyse none --vbv-bufsize 9781 --vbv-maxrate 29400 --me dia --threads 2 --thread-input --progress --no-psnr --output NUL "F:\HDTV\filename.avs"
successfully started encoding
Processing ended at 14:37:24
----------------------------------------------------------------------------------------------------------

Log for job job1-1

avis [info]: 1920x1072 @ 23.98 fps (173660 frames)
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2

----------------------------------------------------------------------------------------------------------

VincentNguyen
10th October 2006, 14:01
Another issue:

My x264 encoder is running on a Server2003 system.

For practical reason, I wanted to use VMWare virtualization (to avoid server crashes when x264 crashes, which did happen sometime).

I connect to the 'Virtual machine' using Remote Desktop connection (same way I connect to my server as a matter of fact), since

unfortunately MeGui does not start in this mode (while it starts fine when launched on the main server OS, ie not the virtual machine).

it reports the following error:

This application failes to initialize properly (0xC0000135). Click on OK to terminate the application


Looks like MeGui and VMWare virtualization are not going along very well...

check
10th October 2006, 14:57
for the virtualization, is .net installed on all relevant machines? It sounds like a .net limitation, rather than a program limitation.
The crashing looks like x264 is just randomly dieing, Try completely different settings on the same source and see if that helps.

agressiv
10th October 2006, 15:59
The preview window is slightly borked. If you press 'preview' with both resizing and cropping selected it gives the appearence of overcropping. To get around this don't click preview until after you have decided your cropping values (ie resize after you crop).

:confused:

I guess my Jedi powers aren't that great - how am I supposed to crop without the preview window open? Auto-crop doesn't work and if I had to manually guess those numbers it would be a waste of time.

I will try this though:

1) open AviSynth script creator
2) Close the preview window that opens automatically, thats showing a suggested resize of 640 x * (that never made sense to me, maybe that is the source of it)
3) Change the width value of resize to 720
4) Click Preview
5) Click Auto-crop
6) Click the Clever Anamorphic Encoding
7) Save the script

Let me know if this makes sense, or if I should be doing something different :D

Thanks a bunch!

edit: scratch all of that, I dont think this is going down the right path :(

agressiv

VincentNguyen
10th October 2006, 16:37
To check: good point on .NET, I'll check that

As for different sources, I did try different sources, no success. I also tried an older script that I had, significantly different, and it did not work either. I do KNOW that this script did work on the same machine...

I guess I'll have to revert back to an older version of x264

Doom9
10th October 2006, 16:53
You did install the .NET 2.0 runtime on your virtual machine, did you not?
I have no problem running MeGUI via remote desktop, VMWare server console, and remote desktop to a virtual machine.

But if your box crashes with x264, your box has a problem.. it's near impossible for a software like x264 to crash your machine unless it is unstable (e.g. it gets too hot due to the load, then crashes)

VincentNguyen
10th October 2006, 16:54
Good spot on .NET, it does work now in VMWare. I can now try various settings and AVISynth installation without fearing to crash my Server.

Doom9
10th October 2006, 16:55
@agressiv: You're doing it all wrong. Open the source, press autocrop. Cropping needs to be done with the original source preview.

agressiv
10th October 2006, 17:06
I'm starting to do the math on this, and I guess it makes sense.

A DVD is 720 x 480 (1.5:1)
Anamorphic content on the DVD is 853ish x 480 (1.7777:1)

The movie I was messing with had an aspect ratio of 2.35:1, so doing the math (853 / 2.35), you get a height of 362.98. If you resize to mod16 (without overcropping), you get 368.

368 is the value MeGUI automatically chooses. So in order to keep the anamorphic image (since MeGUI won't upscale), its doing its job.

The 2.35:1 setting in Zoom player is just compensating for this, I would imagine.

Forgive any technical inaccuracies, though, I'm just trying to use logic based on my own, (limited) knowledge.

agressiv

agressiv
10th October 2006, 21:21
@agressiv: You're doing it all wrong. Open the source, press autocrop. Cropping needs to be done with the original source preview.

Understood, but by default MeGUI opens the preview window automatically, with 640 already in the resize window. That complicated things, so it seems.

agressiv

Sharktooth
10th October 2006, 21:24
resize is unchecked by default.

agressiv
10th October 2006, 21:36
With the out of the box "Default Profile.xml" in the profiles\avs directory, resize is checked by default, with 640 in the box.

I never really understood that. I'm assuming its safe (and recommended) to change that.

I just restored the Default Profile.xml that is in the original archive (or whatever was downloaded with auto-update, I dont remember honestly) and attached is the screenshot of what I get.

agressiv

check
10th October 2006, 23:34
hmm, well that is strange - resize comes off in my version. You haven't made a second avs profile and that is in use have you. Anyway, just disable the auto resizing in the xml (if you need help doing that ask), and all should be groovy.

turstar
11th October 2006, 02:37
Please, error ?

http://img463.imageshack.us/img463/6469/1111me6.jpg



NO UPDATE
http://img441.imageshack.us/img441/5594/1111222pe9.jpg

jellysandwich
11th October 2006, 03:40
You need to put DGDecode.dll into your avisynth plugins folder in order to use DGDecode_Mpeg2Source.

They know the site is having problems. Give it time.

Also, I have a quick question about subtitles. If I wanted to have a mp4 file with both srt and idx subtitles, does it matter what order I put them in (ie, srt first and idx second or vice versa)? Obviously, it doesn't matter when you play it on a computer, but would it matter for a hardware player that can only play srt subtitles?

js

check
11th October 2006, 10:07
You would want to put the compatible subtitle format in first I would assume. Make a 2 minute clip and test.

turstar
12th October 2006, 03:58
please, help :(


error ???


http://img220.imageshack.us/img220/7136/ads305zsn9.jpg

TIVTC.dll ++ download ???

chipzoller
12th October 2006, 04:01
As it says, there is no function called TFM because Avisynth can't find the plugin. Get it from Tritical's page here (http://www.missouri.edu/~kes25c/TIVTCv1RC6.zip)

NeD tHe OnE
12th October 2006, 15:06
Error:
MeGUI.AviSynthException: Script error: there is no function named "NicMPG123Source"
at MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
at MeGUI.AviSynthAudioEncoder.encode()



Hi! No matter what i do I get this error. I have Avisynth, megui all the required plugins in avisynth.plugins directory! But I dont know where i went wrong I just cant transcode any audio file!

NeD tHe OnE
12th October 2006, 15:09
I've read the guide of Behappy too.. I've set everything right!

and i am still getting that error

chipzoller
12th October 2006, 15:11
I've found that this type of error is usually caused by either bad or conflicting plugins in the Avisynth plugins directory. What you may need to do is clean out the plugins dir completely and fill it back up with the basic and necessary plugins. Also, make sure the plugins in your dir are compatible with your processor, so for instance if you copied your plugins from a box with a P4 to another with an AMD Xp processor, make sure none are using SSE2 extensions or anything parsing the plugins will throw an error.

devaster
12th October 2006, 21:03
what is with autoupdate ????

chipzoller
12th October 2006, 21:04
The server is currently down.

Mangekyou_S
13th October 2006, 05:19
Hi, I've been having a problem encoding with x264 in MeGUI and it's been really irritating. I've been encoding some of my anime DVDs as usual, but recently two-pass encoding with x264 will always result in x264.exe crashing with the following error in the second pass:

"x264 [error]: requested bitrate is too low. estimated minimum is -2147483648 kbps
x264 [error]: x264_encoder_open failed"

I've tried different versions of the x264 CLI and different verions of MeGUI but I keep getting the same error.

Also when I trying using CRF, x264 would start up but suddenly stop encoding when it's about 25% done. No error message at all, it just stops. I've tried it multiple times with different settings and it always seems to just stop encoding at around 25%.

Anyways, it's been bothering me for a while so I'm wondering if anyone knows what's causing this error.

check
13th October 2006, 10:40
Can you please post the full output of one of the logs for the first problem?

The second problem - does it always happen at the same spot? What happens if you play the avs through that point? Does xvid work?

Mangekyou_S
15th October 2006, 07:10
Well MeGUI no longer gives me a log for the second pass as it never seems to get a chance to start. However, when I use the commandline that MeGUI generates and run it as a .bat file with x264.exe, I get this error:

avis [info]: 720x400 @ 23.98 fps (33584 frames)
x264 [warning]: VBV maxrate specified, but no buffsize.
x264 [error]: requested bitrate is too low. estimated minimum is -2147483648 kbps
x264 [error]: x264_encoder_open failed

I can post the command line:

x264.exe --pass 2 --bitrate 1500 --stats ".stats" --ref 10 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct auto --filter 1,1 --subme 7 --trellis 2 --analyse all --8x8dct --vbv-maxrate 25000 --me umh --threads 2 --thread-input --cqmfile "C:\Program Files\MeGUI\eqm_avc_hr.cfg" --progress --no-psnr --output "D:\Samurai Champloo\Episode 3.mp4" "D:\Samurai Champloo\Episode 3.avs"

As for the one-pass CRF, when I play the AVS file in MPC I don't get any problems. But encoding always stops at the 23-25% range.

Here's the script for the AVS files:

DGDecode_mpeg2source("D:\Samurai Champloo\Episode 3.d2v",info=3)
ColorMatrix(hints=true)
edeintted = AssumeTFF().SeparateFields().SelectEven().EEDI2(field=-1)
tdeintted = TDeint(edeint=edeintted,order=1)
tfm(clip2=tdeintted).tdecimate(mode=1,hybrid=1)
#crop
LanczosResize(720,400) # Lanczos (Sharp)
#denoise

Don't know about xvid as I'm more familiar with using x264 than xvid but I can give it a try.

Edit: Xvid doesn't seems to work correctly either, but I'm no expert with xvid.

check
15th October 2006, 07:58
what happens if you place a assumefps(23.976) at the end of the script? Not recommended for real encoding, but useful for a test.

Mangekyou_S
16th October 2006, 21:54
what happens if you place a assumefps(23.976) at the end of the script? Not recommended for real encoding, but useful for a test.

I get the same error.

Hyper Shinchan
17th October 2006, 16:42
Mhhh.. I'm not sure that it's the right thread (well, it's a general question), but I was wondeirng if it could be added the mp3 surround audio encoder from Fraunhofer. I know that it's not a so great idea adding support for that stupid encoder, but it supports stdin and stdout from the last version, so it could be used in megui.
The encoder can be downloaded from here:
http://www.all4mp3.com/tools/sw_fhg_cl.html

Limobar
19th October 2006, 16:48
I'm encoding x264 for the Xbox. The resolution of my television (widescreen SDTV) is 624x554, according to XBMC. With the encoder settings I'm using, I'm able to use about 190.000 pixels per frame.

I don't know what the optimal resolutions for me to use are:

DAR of 2.35: a PAR of 624x304 (2.03:1). (I have no doubt that this is OK.)

DAR of 1.78/1.85: a PAR of 592x320 (1.85:1) or 624x304 (2.03:1). (I don't know what is more important. That the PAR is close to the DAR, or the width of the encode is close (or equal) to the width of the television. Maybe there is no quality difference?)

Thank you in advance for sharing your knowledge. :thanks:

check
19th October 2006, 23:40
you should always encode to videos with resolutions that divide equally into 16 :) Other than that, there will be little difference on a SDTV.

KitchenStaffSupervisor
19th October 2006, 23:49
***Ignore the following. Turns out that if there's no profile selected from the pulldown menu on the Script Creator (blank instead of Default) then of course nothing will be generated. Apologies.***


Sorry to be such a bother here, but I can't seem to find a reference to this problem after an hour or two of searching. This morning I was able to, without issue, use MeGUI to compress some video I've been testing with. After work today, I tried to start another compression test, and when using the AviSynth Script Creator and clicking 'save', I was rewarded with:

"AviSynth script error: The script's return was not a video clip."

Looking at the Edit tab reveals the problem, of course: the script is empty! There are no lines in the script to be saved. Why are none of my crop/resize/file input selections being stored in the script? I'll happily provide any additional information on request.

handtruck
20th October 2006, 17:23
I have a general MeGui question.

I use "autoencode" to turn an xvid/mp3 avi file into an x264/aac mp4 file (using avisynth with AviSource). The avi's are usually 23.976 fps or 29.97 fps, and MeGui always gets it right in the mux stage. My question is, how does megui determine the fps to input into mp4box? I just want to know where the information comes from. Thanks!

kharan5876
21st October 2006, 04:30
Has anyone else been having issues with vobsub ripping using MeGUI? I ripped a Full Metal Alchemist dvd in ifo mode using dvd decrypter and encoded the audio and video from the resulting vob in megui. They seem to sync up fine.

The only problem is, the 4 episode video is ~1:30hrs long but when I extract the vobsubs and mux them they are horribly out of sync and are 2 hours long, which adds a bunch of black space to the end of the movie.
Currently I'm ripping the vobsub's using mencoder on my linux box (I hate doing commandline stuff in windows) but I havent had time to check if this will work or not. It would be much nicer if this could all be done within megui.

I'm scaling my video down to 688x464 after cropping, will this have any negative impact on vobsub's since they are image based instead of text based?

Also can you create a d2v file in megui from multiple vobs? I have a couple old dvd's ripped to the harddrive as full dvd copies instead of just movie ifo mode.
I guess I could just extract the subs and audio with mencoder and then encode the video in each vob separatly using megui and join them together at the muxing stage but that seems kinda backwards.

Thanks for taking the time to help

check
21st October 2006, 08:45
handtruck, the information is from the interlaced detection algorithm. NTSC is either 23.976p or 29.97i, the detection algorithm works it out and processes it properly. Read up on the difference to between film & telecine to find out more

kharan: sounds like problems in the vobsub stream. ask in the DVD decrypting forum or read the stickies.
On the playback size, it depends what decoder you use. Do a short sample to compare.

wacco
21st October 2006, 11:20
Hello. I am encoding with x264. However, I have a problem. The output file has much faster video than the sourche video file. It runs at 119 fps! How do I have it run at the same rate and speed as the original? In the avs scrips creator is says 119 as well, but i cant change it.

check
21st October 2006, 11:24
what framerate is the input video? Sounds like a 119fps japanese raw. If so, use http://cccp.project357.com/index.php?dir=utilities/&file=avi_tc_package.zip
to convert it to a cfr avi with a timecodes file, encode as normal and then mux to mkv with the timecodes.

wacco
21st October 2006, 17:23
what framerate is the input video? Sounds like a 119fps japanese raw. If so, use http://cccp.project357.com/index.php?dir=utilities/&file=avi_tc_package.zip
to convert it to a cfr avi with a timecodes file, encode as normal and then mux to mkv with the timecodes.

Thanks. That worked. But can I ask why this has to be done, or rather, why are the original files so weird? I have lots of them that are 119 fps.

check
22nd October 2006, 03:53
the videos are a hybrid of 29.97 and 23.976fps content. You could simply decimate to one or the other of those framerates for a constant framerate, but sections that were originally the other framerate will be jerky. Read http://forums.animesuki.com/showthread.php?t=34738 for more info.

B. W.
22nd October 2006, 06:25
I'm having a problem with MeGUI crashing when I'm encoding movies.

I encoded Lilo and Stitch and Finding Nemo with no problems using the One Click Encoder, but any other movie I try causes MeGUI to crash, giving me an option to report the error to Microsoft. I can see the error report, but there's no way for me to copy it and post it here.

It seems to crash after the D2V file is created, but there's nothing in the Log tab either.

Another problem I'm having is that videos won't play on a 5 or 5.5G iPod (both are at firmware version 1.2) using the iPod 5.5G profile (I only changed the AVC level to 3 after MeGUI complained when it was set at 1.3). I could check again with another profile after I get the first problem solved.

I haven't used this program in a while, but I don't remember having problems like these.

check
22nd October 2006, 06:31
new ipods require special muxing - read the 5 page forum thread somewhere on these boards for more info.

simonhowson
22nd October 2006, 07:03
I'm trying to resize a 16:9 anamorphic DVD to 640 x X. However after running the autocropping, the image still has small letterboxing bars above and below the picture. How do I get MeGUI to crop the image properly? I'm willing to sacrifice a bit of the image horizontally if it means removing the letterboxing.

http://img141.imageshack.us/img141/2916/carmenjones2ty8.jpg

check
22nd October 2006, 07:28
simply manually crop yourself :)

simonhowson
22nd October 2006, 08:45
simply manually crop yourself :) Why of course :o

Do I leave all the Smart Anamorphic Encoding alone? This project is for an iPod video, so I need it to be 640 X something, I don't want the final MP4 itself to be anamorphic.

Do I crop before resizing? I seem to get it to look right, but when I load that AVS file, it just goes back to too much letterboxing at the top and the bottom... I'm obviously doing something very wrong.

check
22nd October 2006, 09:21
You're not doing anything wrong - the cropping dialog is just borked in that if you click preview after setting up crop, it will appear to crop more than what is actually stored. In other words, while it will store crop, resize, it will display crop, resize, crop! The workaround is to simply not click preview until you have perfected your crop. Other than that, you can do the cropping by hand with notepad + your favourite media player.

Also, in the final script cropping is always done before resizing, it doesn't matter what order you enable them in.

As for anamorphic - yes, you don't want to use anamorphic encoding for the ipod.

simonhowson
22nd October 2006, 12:19
The workaround is to simply not click preview until you have perfected your crop. Other than that, you can do the cropping by hand with notepad + your favourite media player. Thanks for your help, but I'm still getting no where.

When I open the D2V file it is still anamorphically distorted. I have no idea why.

http://img142.imageshack.us/img142/2876/car1bi8.jpg

If I check resize, select 640 for the horizontal resolution, check suggest resolution (so that it uses the correct vertical res), then click preview. It will resize the image, but also correctly anamorphically decompress it. But since I've clicked preview I can't then crop the image properly...

http://img95.imageshack.us/img95/7619/car2xm2.jpg

So how do I work out the cropping manually? I'm interested in getting it as accurate as possible, without cropping part of the image.

check
22nd October 2006, 12:34
The cropping should be done before you resize remember ;) Just crop off the black matte, THEN check resize and resize it :).

simonhowson
22nd October 2006, 12:50
The cropping should be done before you resize remember ;) Just crop off the black matte, THEN check resize and resize it :). Dear God it worked... I'm so slow.

B. W.
22nd October 2006, 16:28
new ipods require special muxing - read the 5 page forum thread somewhere on these boards for more info.
In the readme for NicMP4Box, it says that a SAR must be written to the muxed file. That would mean checking this box if I wanted to make a One Click Profile?

LiFe
23rd October 2006, 11:49
Heya Folk,

Sorry, just can't find anything in search on this one.

What exactly does Queue Analysis Pass do?

I want to run a 2 pass --crf encode in MeGUI - all my other settings are great, but how do I make it do the first pass and then the second?

Thanks.

check
23rd October 2006, 12:50
@bw: no idea sorry, I've never done ipod muxing. ask in the long ipod thread.
@life: read the wiki! From memory it's in the glossary or FAQ.

LiFe
23rd October 2006, 13:30
Hmm, managed to find 2 lines. Right, so that means 2 pass crf isn't implemented in MeGUI. Any chance of getting it implemented?

check
23rd October 2006, 13:36
from the wiki, description of both constant quality modes in x264: http://mewiki.project357.com/wiki/MeGUI_FAQ#What.27s_the_difference_between_Constant_Quantizer_and_Constant_Quality
As you can see - MeGUI supports crf :)

LiFe
23rd October 2006, 14:49
@check: Sorry, it doesn't say anything about 2 pass crf there.

gino25
23rd October 2006, 19:22
i have a problem with megui. I use latest build, and i use autoupdate function, so all programs are up-to-date.

I want to use x264, and with others program all was fine. I used avs creator to create an avs as input (and i can view perfectly that avs, with a direct-show player like media player classic).

But when i compress it using megui i obtain always this result
http://www.megaupload.com/?d=8S3IWI77

I changed bitrate, resolution, and settings, but always i have videos similar to that (even if i change source file).

What is wrong?

Sharktooth
23rd October 2006, 20:09
@check: Sorry, it doesn't say anything about 2 pass crf there.
2pass CRF? CRF doesnt need 2 passes... it's like CQ... single pass.

Sharktooth
23rd October 2006, 20:12
i have a problem with megui. I use latest build, and i use autoupdate function, so all programs are up-to-date.

I want to use x264, and with others program all was fine. I used avs creator to create an avs as input (and i can view perfectly that avs, with a direct-show player like media player classic).

But when i compress it using megui i obtain always this result
http://www.megaupload.com/?d=8S3IWI77

I changed bitrate, resolution, and settings, but always i have videos similar to that (even if i change source file).

What is wrong?
Something's really screwed i your encode.
Do you select or create a video profile before encoding?
Can you please describe what you exactly do?
Also, reading the guide wont be a bad idea.

simonhowson
24th October 2006, 07:27
I'm wondering if it is possible to burn in subtitles using MeGui?

I'm creating MP4 files to use on my iPod video, and I do not think the iPod can play subtitles. Hence I want to just extract the subtitle file, and burn it into the image. Is there any easy way to do this in MeGui? I've done it in StaxRip but don't know exactly how StaxRip performs the task. Is it an AvSynth filter added before resizing?

LiFe
24th October 2006, 10:58
@Sharktooth: x264 [error]: constant rate-factor is incompatible with 2pass.

Yes, I do see now : )

Unfortunately x264 just crashes after this error, rather than exiting nicely, if anyone wants to point this out to x264 devs.

It's a shame, 2 pass is a bit of a waste of time, but would mean more intelligent I frames and Auto B Frame Mode.

check
24th October 2006, 11:32
@simon: there is no method to do this automatically, but manually is easy. Download vsfilter 2.37 from somewhere (I think it's on free-codecs), and copy the vsfilter.dll into your avisynth plugins directory (you don't need to run any installer that comes with it). Then add textsub("path\to\subs.ass") at the bottom of your avisynth script and encode as normal :)

simonhowson
24th October 2006, 13:35
@simon: there is no method to do this automatically, but manually is easy. Download vsfilter 2.37 from somewhere (I think it's on free-codecs), and copy the vsfilter.dll into your avisynth plugins directory (you don't need to run any installer that comes with it). Then add textsub("path\to\subs.ass") at the bottom of your avisynth script and encode as normal :) Thanks for your help, but now I'm wondering how I create a text based subtitle file? I've only ever delt with idx subtitle indexes. What tool do I use?

Sharktooth
24th October 2006, 13:39
@Sharktooth: x264 [error]: constant rate-factor is incompatible with 2pass.

Yes, I do see now : )

Unfortunately x264 just crashes after this error, rather than exiting nicely, if anyone wants to point this out to x264 devs.

It's a shame, 2 pass is a bit of a waste of time, but would mean more intelligent I frames and Auto B Frame Mode.
Uhm, no... I and B-frames placement is decided during the 1st pass. So nothing will change.
2Pass CRF is like doing 2Pass CQ... It's useless.

check
24th October 2006, 13:44
well, vsfilter will work with idx files also, but if you want to convert them to text, ... ask elsewhere, that's out of my field of experience sorry :p

Carpo
25th October 2006, 21:02
first off sorry if this has been asked and asnwered - i did use search but when you have one thread at 74 pagaes and another at near 40 its a lot to read to see if your question has been asked and asnwered ;)

i have a bit of time on my hands now so have been messing about with x264, i ripped a 7 min extra from a r1 dvd and ran it thru megui, video is 29.97, yet when i run it thru megui selecting it to encode raw it changes the frame rate to 23fps - which i only found out to to video/audio sync issue ;) - does it do this by default - if so its ok and i will know for future reference - or is there some thing going wrong somewhere

check
26th October 2006, 10:22
this is expected behavior, it's called inverse telecine (or ivtc). There are plenty of docs and writeups on it around so I won't repeat any of it here.

Carpo
26th October 2006, 16:41
thanks check - least now i know what i'm looking for :) - norm its just pal 25fps i backup, no messing about with them - but i have a few imports so have started to mess about with them :p

rack04
27th October 2006, 13:54
How do I use delay
If the file has a delay value in its filename (Delay __ms), or you otherwise know you need a delay, you will have to compensate for this in one of two places in MeGUI. The first is to write the delay value as is into the muxer config when you mux your final file. The second, alternate (ie only use one of these methods), is to add a delay when you reencode the audio in the audio config, again entering the delay as is.


I understand that when dealing with audio delay you have two choices:

1.) Write the delay value into the muxer config
2.) Write the delay when reencoding the audio

If this is the case then why is the value of the audio delay automatically entered during the mux even though the delay was already accounted for in the reencoding? Should I zero this out and continue with the mux? Thanks.

simonhowson
27th October 2006, 14:18
I've been using Sharktooth's MeGUI iPod 5.5 profile successfully. However, I have just encoded a film where there is a lot of blocky artifacts during dark scenes (e.g. night-time exteriors). I am wondering what setting in MeGUI I should customise so that the bitrate doesn't drop so low during dark scenes?

I'm sorry if this is more a generic x264 question, but I didn't know where exactly this post should go.

check
27th October 2006, 15:17
@rack: probably because you left the "DELAY __ms" in the filename :)

@simon: there's little you can do beyond increasing the bitrate. There are two advanced solutions however:
o use zones. iirc, there's a writeup on this in the x264 codec config section in the mewiki
o use adaptive quantization. You need to add it as a custom commandline option, there's info on how to use it in the AVC forum (search should turn up the threads pretty easily).

Dayvon
27th October 2006, 15:48
What specifically does MeGUI need so that I can actually process DTS files? I can input a DTS file into the Audio Input and even queue the whole encode up. But the audio encode errors out immediately when I hit "start" saying something about the AVIsynth file. Any ideas what is going on? Or should I try encoding via DirectShow?

check
27th October 2006, 16:21
Just make an avs file:
directshowsource("path\to\file.dts") and load that instead :)

Carpo
27th October 2006, 18:02
more of a heads up than anything thing else but new RC7 of tivtc will not bee seen by megui - well it never when i went to use it - megui kept saying there was an error in interlace.log and to make sure tivtc.dll was in avisynth plugins dir - going back to RC6 and it works fine again, saves a few posts about why wont megui work ;p

Dayvon
27th October 2006, 19:38
Just make an avs file:
directshowsource("path\to\file.dts") and load that instead :)

Thanks :D :goodpost:

sno0py
27th October 2006, 21:23
I've got an encode that i'm trying to run using MeGUI, but it keeps hitting an error... Not right away either... it can run for an hour or more before it stops... it chugs along at like ~3fps until it stops. When it does, the queue line tells me there is an error... but when I look to the log to tell me what happend... it tells me nothing about any "error"...

Log contents:
Starting job job1-1 at 5:56:27 AM
encoder commandline:
--pass 1 --bitrate 1476 --stats "I:\vid.stats" --ref 16 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct auto --filter -2,-1 --subme 7 --trellis 2 --analyse all --8x8dct --me esa --threads 2 --thread-input --progress --no-dct-decimate --output NUL "I:\vid.avs"
successfully started encoding
Processing ended at 6:44:59 AM
-------------------------------------------------------------
Log for job job1-1

avis [info]: 736x384 @ 29.97 fps (148949 frames)
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2 3DNow!

-------------------------------------------------------------

Any ideas? (btw: i've been a vdubmod guy till now, so megui is new to me)

check
28th October 2006, 03:12
snoopy: that error is a problem with x264 (or the stability of your system), so I can't help sorry.
I'd recommend you reduce those settings though. Exhaustive search compared to Uneven multi-hex has pretty much no difference, and going over 10 refs is usually uneccessary. Other than that, subme 6 and trellis 1 will give you major speedups for little quality loss as well.

spunch
28th October 2006, 14:11
I created a little script that suspends and resumes all megui processes based on my idle time. Suppose it suspends and resumes megui 60 times during a job, can it hurt the quality of my encoding?

check
28th October 2006, 14:18
no :) On a semi related note however, more threads will reduce quality.

spunch
28th October 2006, 14:35
What do you mean by that? megui threads? (And how and why?)

check
28th October 2006, 14:56
more threads in the x264 codec config I mean. The reason why is because x264 simply splits the video spatially into n different parts (where n in the number of threads you set) and encodes those parts concurrently.

Carpo
28th October 2006, 19:03
this is a strange thing in the x264 slow codec conf its set to use 1 thread - default/recommended - yet in the log i can see --threads 2, so would this cause quality issues as you say above check ?

sno0py
28th October 2006, 19:16
Check: Thx man, for the heads up.. i actualy do have some stability issues that I'm currently dealing with.. one of my ram sticks has gone south, and corrupted a bunch of data.. i've since removed it and am getting it replaced, but I'm betting i'll be needing a clean start after that... I'll also try out your setting changes when i get everything set.

Thx again!! :D

nurbs
28th October 2006, 20:00
this is a strange thing in the x264 slow codec conf its set to use 1 thread - default/recommended - yet in the log i can see --threads 2, so would this cause quality issues as you say above check ?

If it is set in the MeGUI options the number of threads will be autodetected regardless of what you set in the profile.
2 threads doesn't have any quality "issues", it just slightly reduces the quality. The quality gain from 1 thread is certainly not worth twice the encoding time. If you want accurate information you have to search for akupenguins post, but IIRC the only drawback of slices is that motion vectors can't cross their borders.

anne_so78
28th October 2006, 20:08
Hi!, I've got about a hundred similar VOBs I'd like to encode to x264+AAC with the same bitrate, resolution, codec configurations and other settings. So, is there a way to easily batch encode these files with MeGUI? i.e- Can I set up the properties, load up the hundred VOBs, hit encode and sit back and relax for a few days until it encodes all my files?
Thanks.

DigitalDivide
29th October 2006, 04:27
I'm getting a strange error when MeGui goes from the 1st pass and starts the 2nd pass. I get an error pop up on screen stating that Haali Media Splitter could not Open. I've never seen this happen before. Not sure why it would try to open up Haali Splitter. THis happens each time.

DigitalDivide
29th October 2006, 04:46
On the main window of MeGui, there are two options, one for Pre-Rendering Job and the other for Queue Analysis. I have no idea what these are for and when I would use them. I read the Guide but it doesn't help much...well except for the "if you don't know what it does...you don't need it"

I always do two pass encoding using HQ Slower. Most movies at an average bitrate of 2000. Would using an Analysis pass be beneficial?

Sharktooth
29th October 2006, 04:52
As the guide says... if you dont know what it does... you dont need it...

DigitalDivide
29th October 2006, 05:01
As the guide says... if you dont know what it does... you dont need it...

Everyone is a smartass! :sly:

How about the error in the post above? Any thoughts on that?

check
29th October 2006, 05:15
@anne: if you want to use the same settings, yes :)

@dd: are you loadinga video through directshowsource? Does said video open ok normally?
Those two options are explained in the mewiki, in the glossary

DigitalDivide
29th October 2006, 05:33
@dd: are you loadinga video through directshowsource? Does said video open ok normally?

Not really sure what you mean? I open up my project file in the AVISynth Script Creator. Select the project file. Create my script and save it. Very basic script(included below). Then select the script, set the average bit rate, audio, subs (but also happens if I don't set subs).

First pass completes. As soon as the second pass starts the error pops up. The error doesn't stop the second pass from continuing and cmpleting.

AVI Script
# Set DAR in encoder to 87 : 35. The following line is for automatic signalling
global MeGUI_darx = 87
global MeGUI_dary = 35
DGDecode_mpeg2source("G:\projects\Star Trek\Star Trek.d2v",info=3)
ColorMatrix(hints=true)
crop( 0, 60, 0, -68)
Undot() # Minimal Noise

jellysandwich
29th October 2006, 05:56
Hi!, I've got about a hundred similar VOBs I'd like to encode to x264+AAC with the same bitrate, resolution, codec configurations and other settings. So, is there a way to easily batch encode these files with MeGUI? i.e- Can I set up the properties, load up the hundred VOBs, hit encode and sit back and relax for a few days until it encodes all my files?
Thanks.

Have you tried the one click encoder?

js

anne_so78
29th October 2006, 15:48
Have you tried the one click encoder?
Yes, I've tried the one-click-encoder. But this is far from batch encoding. You see, I have 250 VOBs. After I set up profiles for video, audio and the one-click-encoder, I have to manually drag and drop EACH VOB file, select the one-click profile and click 'GO', which is about 4 clicks. So, in my case the one-click encoder is more like a one-thousand-click encoder. Isn't there more easier and practical way to do the job?

p.s- meGUI doesn't accept VOBs without a "VTS" prefix, what up with that?

spunch
29th October 2006, 22:00
I for one use this batch oneclickencoder-job-creator for my hundreds of VOBs:

(Drag and drop your VOBs into the .bat file and job.xml files will magically appear (you can't drop too many VOBs at once though :( (windows limitation)))
@echo off

cd /d %~d0%~p0%


:getfile
shift
if "%0"=="" goto end

set /a jobcount+=1


echo ^<?xml version="1.0"?^>> job%jobcount%.xml
echo ^<Job xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="IndexJob"^>>> job%jobcount%.xml
echo ^<FilesToDelete /^>>> job%jobcount%.xml
echo ^<Input^>%~d0%~p0%~n0.VOB^</Input^>>> job%jobcount%.xml
echo ^<Output^>%~d0%~p0%~n0.d2v^</Output^>>> job%jobcount%.xml
echo ^<Name^>job%jobcount%^</Name^>>> job%jobcount%.xml
echo ^<Priority^>IDLE^</Priority^>>> job%jobcount%.xml
echo ^<Status^>WAITING^</Status^>>> job%jobcount%.xml
echo ^<Position^>%jobcount%^</Position^>>> job%jobcount%.xml
echo ^<Start^>0001-01-01T00:00:00^</Start^>>> job%jobcount%.xml
echo ^<End^>0001-01-01T00:00:00^</End^>>> job%jobcount%.xml
echo ^<FPS^>0^</FPS^>>> job%jobcount%.xml
echo ^<Commandline^>-IF=[%~d0%~p0%~n0.VOB] -OF=[%~d0%~p0%~n0] -exit -minimize -OM=1 -TN=1^</Commandline^>>> job%jobcount%.xml
echo ^<AutoForceFilm^>true^</AutoForceFilm^>>> job%jobcount%.xml
echo ^<LoadSources^>false^</LoadSources^>>> job%jobcount%.xml
echo ^<AudioTrackID1^>0^</AudioTrackID1^>>> job%jobcount%.xml
echo ^<AudioTrackID2^>-1^</AudioTrackID2^>>> job%jobcount%.xml
echo ^<DemuxMode^>1^</DemuxMode^>>> job%jobcount%.xml
echo ^<ForceFilmThreshold^>95^</ForceFilmThreshold^>>> job%jobcount%.xml
echo ^<PostprocessingProperties^>>> job%jobcount%.xml
echo ^<AudioStreams^>>> job%jobcount%.xml
echo ^<PartialAudioStream^>>> job%jobcount%.xml
echo ^<input^>Track 1^</input^>>> job%jobcount%.xml
echo ^<language /^>>> job%jobcount%.xml
echo ^<useExternalInput^>false^</useExternalInput^>>> job%jobcount%.xml
echo ^<dontEncode^>false^</dontEncode^>>> job%jobcount%.xml
echo ^<trackNumber^>0^</trackNumber^>>> job%jobcount%.xml
echo ^<profileItem xsi:type="xsd:string"^>Nero AAC 1^</profileItem^>>> job%jobcount%.xml
echo ^<settings xsi:type="NeroAACSettings"^>>> job%jobcount%.xml
echo ^<ImproveAccuracy^>true^</ImproveAccuracy^>>> job%jobcount%.xml
echo ^<ForceDecodingViaDirectShow^>false^</ForceDecodingViaDirectShow^>>> job%jobcount%.xml
echo ^<DownmixMode^>StereoDownmix^</DownmixMode^>>> job%jobcount%.xml
echo ^<BitrateMode^>VBR^</BitrateMode^>>> job%jobcount%.xml
echo ^<Bitrate^>128^</Bitrate^>>> job%jobcount%.xml
echo ^<Delay^>0^</Delay^>>> job%jobcount%.xml
echo ^<DelayEnabled^>false^</DelayEnabled^>>> job%jobcount%.xml
echo ^<AutoGain^>true^</AutoGain^>>> job%jobcount%.xml
echo ^<Profile^>Auto^</Profile^>>> job%jobcount%.xml
echo ^<Quality^>0.5^</Quality^>>> job%jobcount%.xml
echo ^<CreateHintTrack^>false^</CreateHintTrack^>>> job%jobcount%.xml
echo ^</settings^>>> job%jobcount%.xml
echo ^</PartialAudioStream^>>> job%jobcount%.xml
echo ^<PartialAudioStream^>>> job%jobcount%.xml
echo ^<input /^>>> job%jobcount%.xml
echo ^<useExternalInput^>false^</useExternalInput^>>> job%jobcount%.xml
echo ^<dontEncode^>false^</dontEncode^>>> job%jobcount%.xml
echo ^<trackNumber^>0^</trackNumber^>>> job%jobcount%.xml
echo ^</PartialAudioStream^>>> job%jobcount%.xml
echo ^</AudioStreams^>>> job%jobcount%.xml
echo ^<AutoDeinterlace^>true^</AutoDeinterlace^>>> job%jobcount%.xml
echo ^<AutoDeriveAR^>false^</AutoDeriveAR^>>> job%jobcount%.xml
echo ^<SignalAR^>false^</SignalAR^>>> job%jobcount%.xml
echo ^<HorizontalOutputResolution^>640^</HorizontalOutputResolution^>>> job%jobcount%.xml
echo ^<ContainerType^>MP4^</ContainerType^>>> job%jobcount%.xml
echo ^<OutputSize^>-1024^</OutputSize^>>> job%jobcount%.xml
echo ^<SplitSize^>0^</SplitSize^>>> job%jobcount%.xml
echo ^<AR^>ITU4x3^</AR^>>> job%jobcount%.xml
echo ^<AvsSettings^>>> job%jobcount%.xml
echo ^<Mod16Method^>none^</Mod16Method^>>> job%jobcount%.xml
echo ^<Resize^>true^</Resize^>>> job%jobcount%.xml
echo ^<Template^>^&lt;input^&gt;>> job%jobcount%.xml
echo ^&lt;deinterlace^&gt;>> job%jobcount%.xml
echo ^&lt;crop^&gt;>> job%jobcount%.xml
echo ^&lt;resize^&gt;>> job%jobcount%.xml
echo ^&lt;denoise^&gt;>> job%jobcount%.xml
echo ^</Template^>>> job%jobcount%.xml
echo ^<ResizeMethod^>Lanczos^</ResizeMethod^>>> job%jobcount%.xml
echo ^<DenoiseMethod^>MinimalNoise^</DenoiseMethod^>>> job%jobcount%.xml
echo ^<Deinterlace^>false^</Deinterlace^>>> job%jobcount%.xml
echo ^<Denoise^>false^</Denoise^>>> job%jobcount%.xml
echo ^<IVTC^>false^</IVTC^>>> job%jobcount%.xml
echo ^<MPEG2Deblock^>false^</MPEG2Deblock^>>> job%jobcount%.xml
echo ^<ColourCorrect^>true^</ColourCorrect^>>> job%jobcount%.xml
echo ^</AvsSettings^>>> job%jobcount%.xml
echo ^<VideoSettings xsi:type="x264Settings"^>>> job%jobcount%.xml
echo ^<EncodingMode^>4^</EncodingMode^>>> job%jobcount%.xml
echo ^<BitrateQuantizer^>1500^</BitrateQuantizer^>>> job%jobcount%.xml
echo ^<KeyframeInterval^>250^</KeyframeInterval^>>> job%jobcount%.xml
echo ^<NbBframes^>3^</NbBframes^>>> job%jobcount%.xml
echo ^<MinQuantizer^>10^</MinQuantizer^>>> job%jobcount%.xml
echo ^<MaxQuantizer^>51^</MaxQuantizer^>>> job%jobcount%.xml
echo ^<Turbo^>true^</Turbo^>>> job%jobcount%.xml
echo ^<V4MV^>false^</V4MV^>>> job%jobcount%.xml
echo ^<QPel^>false^</QPel^>>> job%jobcount%.xml
echo ^<Trellis^>false^</Trellis^>>> job%jobcount%.xml
echo ^<CreditsQuantizer^>40^</CreditsQuantizer^>>> job%jobcount%.xml
echo ^<Logfile^>.stats^</Logfile^>>> job%jobcount%.xml
echo ^<CustomEncoderOptions /^>>> job%jobcount%.xml
echo ^<FourCC^>1^</FourCC^>>> job%jobcount%.xml
echo ^<Zones /^>>> job%jobcount%.xml
echo ^<MaxNumberOfPasses^>3^</MaxNumberOfPasses^>>> job%jobcount%.xml
echo ^<NbThreads^>1^</NbThreads^>>> job%jobcount%.xml
echo ^<NoDCTDecimate^>false^</NoDCTDecimate^>>> job%jobcount%.xml
echo ^<PSNRCalculation^>false^</PSNRCalculation^>>> job%jobcount%.xml
echo ^<noFastPSkip^>true^</noFastPSkip^>>> job%jobcount%.xml
echo ^<NoiseReduction^>0^</NoiseReduction^>>> job%jobcount%.xml
echo ^<MixedRefs^>true^</MixedRefs^>>> job%jobcount%.xml
echo ^<X264Trellis^>2^</X264Trellis^>>> job%jobcount%.xml
echo ^<NbRefFrames^>10^</NbRefFrames^>>> job%jobcount%.xml
echo ^<AlphaDeblock^>-2^</AlphaDeblock^>>> job%jobcount%.xml
echo ^<BetaDeblock^>-1^</BetaDeblock^>>> job%jobcount%.xml
echo ^<SubPelRefinement^>5^</SubPelRefinement^>>> job%jobcount%.xml
echo ^<MaxQuantDelta^>4^</MaxQuantDelta^>>> job%jobcount%.xml
echo ^<TempQuantBlur^>0^</TempQuantBlur^>>> job%jobcount%.xml
echo ^<BframePredictionMode^>3^</BframePredictionMode^>>> job%jobcount%.xml
echo ^<VBVBufferSize^>-1^</VBVBufferSize^>>> job%jobcount%.xml
echo ^<VBVMaxBitrate^>-1^</VBVMaxBitrate^>>> job%jobcount%.xml
echo ^<METype^>2^</METype^>>> job%jobcount%.xml
echo ^<MERange^>16^</MERange^>>> job%jobcount%.xml
echo ^<MinGOPSize^>25^</MinGOPSize^>>> job%jobcount%.xml
echo ^<Profile^>2^</Profile^>>> job%jobcount%.xml
echo ^<Level^>15^</Level^>>> job%jobcount%.xml
echo ^<IPFactor^>1.4^</IPFactor^>>> job%jobcount%.xml
echo ^<PBFactor^>1.3^</PBFactor^>>> job%jobcount%.xml
echo ^<ChromaQPOffset^>0^</ChromaQPOffset^>>> job%jobcount%.xml
echo ^<VBVInitialBuffer^>0.9^</VBVInitialBuffer^>>> job%jobcount%.xml
echo ^<BitrateVariance^>1.0^</BitrateVariance^>>> job%jobcount%.xml
echo ^<QuantCompression^>0.6^</QuantCompression^>>> job%jobcount%.xml
echo ^<TempComplexityBlur^>20^</TempComplexityBlur^>>> job%jobcount%.xml
echo ^<TempQuanBlurCC^>0.5^</TempQuanBlurCC^>>> job%jobcount%.xml
echo ^<SCDSensitivity^>40^</SCDSensitivity^>>> job%jobcount%.xml
echo ^<BframeBias^>0^</BframeBias^>>> job%jobcount%.xml
echo ^<Deblock^>true^</Deblock^>>> job%jobcount%.xml
echo ^<Cabac^>true^</Cabac^>>> job%jobcount%.xml
echo ^<WeightedBPrediction^>true^</WeightedBPrediction^>>> job%jobcount%.xml
echo ^<AdaptiveBFrames^>true^</AdaptiveBFrames^>>> job%jobcount%.xml
echo ^<BFramePyramid^>true^</BFramePyramid^>>> job%jobcount%.xml
echo ^<BRDO^>true^</BRDO^>>> job%jobcount%.xml
echo ^<biME^>true^</biME^>>> job%jobcount%.xml
echo ^<ChromaME^>true^</ChromaME^>>> job%jobcount%.xml
echo ^<P8x8mv^>true^</P8x8mv^>>> job%jobcount%.xml
echo ^<B8x8mv^>true^</B8x8mv^>>> job%jobcount%.xml
echo ^<I4x4mv^>true^</I4x4mv^>>> job%jobcount%.xml
echo ^<I8x8mv^>true^</I8x8mv^>>> job%jobcount%.xml
echo ^<P4x4mv^>true^</P4x4mv^>>> job%jobcount%.xml
echo ^<AdaptiveDCT^>true^</AdaptiveDCT^>>> job%jobcount%.xml
echo ^<Lossless^>false^</Lossless^>>> job%jobcount%.xml
echo ^<QuantizerMatrix /^>>> job%jobcount%.xml
echo ^<QuantizerMatrixType^>0^</QuantizerMatrixType^>>> job%jobcount%.xml
echo ^</VideoSettings^>>> job%jobcount%.xml
echo ^<CustomAR^>1^</CustomAR^>>> job%jobcount%.xml
echo ^<ChapterFile /^>>> job%jobcount%.xml
echo ^<FinalOutput^>%~d0%~p0%~n0.mp4^</FinalOutput^>>> job%jobcount%.xml
echo ^<AviSynthScript /^>>> job%jobcount%.xml
echo ^</PostprocessingProperties^>>> job%jobcount%.xml
echo ^</Job^>>> job%jobcount%.xml

goto getfile
:end

pause

Limobar
31st October 2006, 18:16
I am wondering whether it is possible to find out the peak bitrate of a x264 encode, by looking at the stats file, combined with a certain average bitrate. This is important for me to know, because I'm encoding for the Xbox and I can only use a limited peak bitrate.

The first lines of a stats file look like this:

#options: 624x352 fps=25/1 cabac=0 ref=1 deblock=1:-1:-1 analyse=0x1:0 me=dia subme=1 brdo=0 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 chroma_qp_offset=0 slices=1 nr=0 decimate=0 mbaff=0 bframes=1 b_pyramid=0 b_adapt=1 b_bias=0 direct=0 wpredb=0 bime=0 keyint=250 keyint_min=25 scenecut=40 rc=abr bitrate=1000 ratetol=1.0 rceq='blurCplx^(1-qComp)' qcomp=0.30 qpmin=1 qpmax=51 qpstep=4 ip_ratio=1.40 pb_ratio=1.30
in:0 out:0 type:I q:24.00 itex:255672 ptex:0 mv:40812 misc:4740 imb:858 pmb:0 smb:0 d:-;
in:2 out:1 type:P q:28.00 itex:0 ptex:0 mv:0 misc:104 imb:0 pmb:0 smb:858 d:-;
in:1 out:2 type:b q:30.00 itex:0 ptex:858 mv:4320 misc:950 imb:0 pmb:858 smb:0 d:-;
in:4 out:3 type:P q:27.00 itex:23122 ptex:82998 mv:7590 misc:954 imb:105 pmb:730 smb:23 d:-;
in:3 out:4 type:b q:30.00 itex:752 ptex:25420 mv:10731 misc:945 imb:11 pmb:847 smb:0 d:-;
in:6 out:5 type:P q:30.00 itex:11940 ptex:51230 mv:6954 misc:948 imb:83 pmb:708 smb:67 d:-;

Is there a way to translate this to a bitrate per frame, without doing the actual encoding?

If it is not translatable to a bitrate, is it possible to find out the frame that will receive the highest bitrate?

chros
1st November 2006, 10:48
It's a shame, 2 pass is a bit of a waste of time, but would mean more intelligent I frames and Auto B Frame Mode.
Uhm, no... I and B-frames placement is decided during the 1st pass. So nothing will change.
Really ? (maybe you're remember the "manual compression check" thread)
So what's happening in the 2nd pass of a 2pass encoding? Just the bitrate selection?

Sharktooth
1st November 2006, 15:37
rate control and encoding.
just look at the limobar post... that's a 1st pass stats file.
frame types are already choosen...

martino
3rd November 2006, 10:50
I have a few questions;
I tried encoding a 20min xVid video(640x480 23.98fps) in an MKV container with Vorbis and ASS/SSA subtitles. I used x264 to reencode it. I went through all the usual steps; created an AviSynth script through the script creator, set the encoder settings(3-pass automatic, 1200kbps and left everything else as it was; default settings). I came across a few problems:

1) The H264 encoded video in MP4 format had the ASS/SSA subs written to it(eg hardsubbed). Which setting do I have to turn off if I don't want this to happen.
2) The input video and the H264 video were of the same length, but if I seeked both videos to the same position, the frame was different(and yes, I'm sure that it was the same frame).
UPDATE: After analysing this I found out that in the MP4 file where a bit of the video has a black screen has been shrunk down. In the original it lasts about 2 sec and in the encode about 1 sec. What's going on?
Linky (http://rapidshare.com/files/1828192/pack.rar.html) for the original and encoded file.


Thanks!

Digitals
3rd November 2006, 13:56
i am getting this error what can i do

Log for job job2-1

xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003

Error opening input file extra\Didees SixOfNine.cqm

Carpo
3rd November 2006, 19:16
i had same error as this till i set the right path for it c:\megui\extras\Didees SixOfNine.cqm - as extras\Didees SixOfNine.cqm dint work - although path to file on your system may be different - just point it to whereever that file is on your system

anne_so78
4th November 2006, 01:30
By default, meGUI adds a "ColorMatrix" (mpeg color correction) line in the avisynth script (tested with VOB input files). I've noticed that this filter makes the picture more yellowish. Although I like the warm tinge, I don't want anything distorting my videos. I'd like the encodes to stay as true to the original as possible. So, what is the purpose of the "ColorMatrix" filter, why is it enabled by default, and is it okay to disable it? Thanks.

Sharktooth
4th November 2006, 04:15
:search:

rack04
4th November 2006, 06:10
Can anyone tell me why after I encode audio using HE-AAC profile mediainfo says that it is AAC LC?

Digitals
4th November 2006, 06:18
i had same error as this till i set the right path for it c:\megui\extras\Didees SixOfNine.cqm - as extras\Didees SixOfNine.cqm dint work - although path to file on your system may be different - just point it to whereever that file is on your system

thanks now working fine thanks a lot

Al79
8th November 2006, 02:15
Hi there, well actually i have this problem, x264 crash when megui is in the 2do pass :confused:

Starting job job1-1 at 16:19:01
encoder commandline:
--pass 1 --bitrate 860 --stats "D:\HARUHI_01\Tokimeki_Memorial_02.stats" --bframes 3 --b-pyramid --direct auto --filter 1,1 --subme 1 --analyse none --me dia --threads 2 --thread-input --progress --no-psnr --output NUL "D:\HARUHI_01\Tokimeki_Memorial_02.avs" --deadzone-inter 6 --deadzone-intra 6
successfully started encoding
Processing ended at 17:36:53
----------------------------------------------------------------------------------------------------------

Log for job job1-1

avis [info]: 704x384 @ 23.98 fps (35125 frames)
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
x264 [info]: slice I:260 Avg QP:22.29 size: 27221
x264 [info]: slice P:11998 Avg QP:24.93 size: 8588
x264 [info]: slice B:22867 Avg QP:25.82 size: 2095
x264 [info]: mb I I16..4: 33.3% 0.0% 66.7%
x264 [info]: mb P I16..4: 14.2% 0.0% 0.0% P16..4: 49.5% 0.0% 0.0% 0.0% 0.0% skip:36.3%
x264 [info]: mb B I16..4: 0.6% 0.0% 0.0% B16..8: 9.6% 0.0% 0.0% direct:14.0% skip:75.8%
x264 [info]: final ratefactor: 26.14
x264 [info]: direct mvs spatial:99.7% temporal:0.3%
x264 [info]: SSIM Mean Y:0.9852973
x264 [info]: kb/s:862.9

encoded 35125 frames, 7.53 fps, 863.93 kb/s

----------------------------------------------------------------------------------------------------------
Job completed successfully and deletion of intermediate files is activated
job job1-1 has been processed. This job is linked to the next job: job1-2
Starting job job1-2 at 17:36:53
encoder commandline:
--pass 2 --bitrate 860 --stats "D:\HARUHI_01\Tokimeki_Memorial_02.stats" --ref 16 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct auto --filter 1,1 --subme 7 --trellis 2 --analyse all --8x8dct --me esa --threads 2 --thread-input --progress --no-psnr --output "D:\HARUHI_01\Tokimeki_Memorial_02.mp4" "D:\HARUHI_01\Tokimeki_Memorial_02.avs" --deadzone-inter 6 --deadzone-intra 6
successfully started encoding
Processing ended at 19:02:24
----------------------------------------------------------------------------------------------------------

Log for job job1-2

avis [info]: 704x384 @ 23.98 fps (35125 frames)
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
mp4 [info]: initial delay 250 (scale 2997)

----------------------------------------------------------------------------------------------------------


strange thing, i encode the first ep with the same settings, and works ok, so if anyone knows what happened, please tell me.
P.D. Yea i know i have a bad engrish :helpful:

Chainmax
9th November 2006, 15:07
The update server seems to be missing NeroAACEnc v2006-05-26.

Sharktooth
9th November 2006, 15:51
:search: :readguid:

Chainmax
9th November 2006, 16:27
If you're referring to the copyright issue, I've had the latest version (v1.0.0.2) for a long time now, and I set the path to it in MeGUI, but the update feature still says there's a newer version.

check
10th November 2006, 11:32
the update function does not parse version numbers, it just remembers what it last downloaded.

Chainmax
10th November 2006, 14:48
I never downloaded NeroAACEnc through MeGUI.

check
10th November 2006, 15:17
Any version is newer than no version, and the updater does not remember downloading it, hence your problem.

Carpo
10th November 2006, 17:53
just right click on nero and select ignore - it will not bug you to update it then

Chainmax
10th November 2006, 19:00
Any version is newer than no version, and the updater does not remember downloading it, hence your problem.

Makes sense. Maybe the .xml file should be changed so that this doesn't appear then.

Henrikx
10th November 2006, 19:47
OT
Question :
We (German doom9 ) start with a description of MeGui in German language. http://gleitz.info/wiki/index.php/MeGUI
What is the correct way at quotations from MeGUI-Threads?
Is it ok, translating the quotation and naming the author and Link,or the author should be asked before by PM.

Al79
11th November 2006, 09:42
ok guys, maybe i was no clear, but i really need help, i try a lot of things, check megui in other pc, change some settings, and still i can make work :S
this is my avs
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\asharp.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\aWarpSharp.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Deen.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\eDeen.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\TemporalCleaner.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\VSFilter.dll")
loadplugin("C:\Program Files\AviSynth 2.5\plugins\UnFilter_Avisynth_2.5_Alpha\unfilter.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\UnDot.dll")
AVISource("E:\HARUHI_01\Tokimeki_Capi_02_ae.avi")
converttoyv12()
temporalcleaner(6,12)
Deen ("a3d",2,6,6)
edeen(2,8,8,2,3,true)
asharp(1.5,0)
aWarpSharp()
lanczosresize (704,384)
textsub("E:\haruhi_01\Tokimeki_Memorial_cap_02.ass")
like a said the first, epi work fine, so i really dunno what happend >_<, and yea i do the search thing :s

check
11th November 2006, 10:03
@al: I still don't understand what happens. Does x264 just crash?

Al79
11th November 2006, 17:53
Yea, only that, the prog, say that x264 find some troubles and have to close.:confused:

Ok, im gonna make a new format and start all over i hope i can make it, in this way >_<
http://img100.imageshack.us/img100/9364/paneldecontrol1uf0.th.jpghttp://img100.imageshack.us/img100/9364/paneldecontrol1uf0.th.jpg (http://img100.imageshack.us/my.php?image=paneldecontrol1uf0.jpg) My sis, take the capture, its spanish but its basicaly what i say :_(

check
12th November 2006, 04:22
ugh, nasty. If you're going to format I won't bother looking more, but if it's still there after the format come back and ask :)

Al79
12th November 2006, 04:38
ugh, nasty. If you're going to format I won't bother looking more, but if it's still there after the format come back and ask :)

:( well, here iam xDDDDD

So, what cain of trouble could be????
Ram troubles??

or only x264, dont like me :(

check
12th November 2006, 05:07
Well, the problem is x264, not megui, so I'd suggest you go & ask in the MPEG-4 AVC forum ;). If you have a core2 duo that may be the problem,..

Al79
12th November 2006, 06:12
Well, the problem is x264, not megui, so I'd suggest you go & ask in the MPEG-4 AVC forum ;). If you have a core2 duo that may be the problem,..

Thanks, its a HT so maybe ur right.
Ty^^ anyway

jellysandwich
12th November 2006, 08:24
2 quick questions:

1) In the m4 muxer, I've noticed that if I use an input with multiple streams (ie, more than just video) for the video input, it also adds those streams and doesn't just use the video one. Is this intentional?

2) For the manual muxers, what exactly the difference between video input and muxed input?

js

oddball
12th November 2006, 20:23
Taking the problem here.

"MeGUI has encountered a problem and needs to close. We are sorry for the inconvenience."

When it happens - When I try to run it.
Version - MeGUI.NETv2.0_Bins_0.2.3.2177.zip
- .NET 2.0 is installed correctly on both PC's

Sharktooth
13th November 2006, 02:46
OT
Question :
We (German doom9 ) start with a description of MeGui in German language. http://gleitz.info/wiki/index.php/MeGUI
What is the correct way at quotations from MeGUI-Threads?
Is it ok, translating the quotation and naming the author and Link,or the author should be asked before by PM.
I think it's ok to translate it without too much troubles...

Sharktooth
13th November 2006, 02:47
Taking the problem here.

"MeGUI has encountered a problem and needs to close. We are sorry for the inconvenience."

When it happens - When I try to run it.
Version - MeGUI.NETv2.0_Bins_0.2.3.2177.zip
- .NET 2.0 is installed correctly on both PC's
why are you still using megui 2177???
Let it autoupdate!

Al79
13th November 2006, 06:25
Taking the problem here.

"MeGUI has encountered a problem and needs to close. We are sorry for the inconvenience."

When it happens - When I try to run it.
Version - MeGUI.NETv2.0_Bins_0.2.3.2177.zip
- .NET 2.0 is installed correctly on both PC's

here u can find the most recently vers. of megui
http://x264.nl/

Henrikx
13th November 2006, 09:07
@Sharktooth
Thank You ! Danke !

sno0py
13th November 2006, 23:54
hey.. this has happend several times now... and I dont know how to fix it...

avis [info]: 704x448 @ 23.98 fps (119159 frames)
x264 [info]: using SAR=259/220
x264 [error]: requested bitrate is too low. estimated minimum is -2147483648 kbps
x264 [error]: x264_encoder_open failed


^ that error pops up when i use the following cmdline:

--pass 2 --bitrate 1431 --stats "E:\test_.stats" --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct temporal --filter -2,-1 --subme 7 --trellis 2 --analyse all --8x8dct --me umh --threads 2 --thread-input --sar 259:220 --progress --no-psnr --output "E:\test_.mkv" "E:\test_.avs"

I used DGIndex to create my d2v, created my avs using the 'avs creater' in megui, then i queue it up, first pass goes fine.. then 2nd pass craps out... Anyone know what's going on?

Al79
14th November 2006, 04:58
hey.. this has happend several times now... and I dont know how to fix it...

avis [info]: 704x448 @ 23.98 fps (119159 frames)
x264 [info]: using SAR=259/220
x264 [error]: requested bitrate is too low. estimated minimum is -2147483648 kbps
x264 [error]: x264_encoder_open failed


^ that error pops up when i use the following cmdline:

--pass 2 --bitrate 1431 --stats "E:\test_.stats" --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct temporal --filter -2,-1 --subme 7 --trellis 2 --analyse all --8x8dct --me umh --threads 2 --thread-input --sar 259:220 --progress --no-psnr --output "E:\test_.mkv" "E:\test_.avs"

I used DGIndex to create my d2v, created my avs using the 'avs creater' in megui, then i queue it up, first pass goes fine.. then 2nd pass craps out... Anyone know what's going on?

Check this post, maybe can be helpfull http://forum.doom9.org/showthread.php?t=117074

oddball
14th November 2006, 17:01
Still cannot run MeGUI. Tried latest from the above site. Still gives the same error.

sno0py
15th November 2006, 00:03
wo0t!.. thanks, Al79 :D

Sharktooth
15th November 2006, 11:56
Still cannot run MeGUI. Tried latest from the above site. Still gives the same error.
Your system is messed up...
uninstall and reinstall the .NET Framework 2.0.

numaios
15th November 2006, 13:14
Hello!

I've been trying to reencode an episode to H.264 baseline profile @ level 1b with MeGUI and x264 (to watch it in my Sony Ericsson K610i.

First I used a resolution of 176x96 and everything worked fine, but since the phone's screen is 176x220 (vertical), now I want to encode to 220x128 with TurnRight(), to use the whole screen.

I've tried with this script:

AviSource("F:\md.avi")
#blank deinterlace line
#crop
LanczosResize(220,128) # Lanczos (Sharp)
#denoise
TurnRight()
It loads correctly, but when I press "Enqueue" button, an error message pops up. Maybe because 220 is not divisible by 16? Is there any way to override this?

weaver4
15th November 2006, 20:42
Will MeGUI do XviD in CQ (constant quality) single pass?

Sharktooth
15th November 2006, 21:07
MeGUI supports all the Xvid encoding modes.
Xvid CQ is Constant Quantizer... and megui supports it.

carlo_0000
16th November 2006, 04:59
hi
i ve got a new probleme

input h264.ts 25fps 1920*1080 or 1280*720

avi script

DirectShowSource("E:\Zucchero - Baila morena.mkv",fps=25,audio=false)
TDecimate(cycleR=1)
#crop
LanczosResize(1280,720) # Lanczos (Sharp)
#denoise

ConvertToYV12()

the output come out with 19.866fps
why ????
the first videos what i encoded are in 25fps output
i think it s after the last megui update that it s 20fps :(

check
16th November 2006, 06:17
@numan: please post the error message - we can't help if we don't know the problem

@carlo: you are attempting to IVTC a PAL source - take out the TDecimate.

Sharktooth
16th November 2006, 17:34
Hello!

I've been trying to reencode an episode to H.264 baseline profile @ level 1b with MeGUI and x264 (to watch it in my Sony Ericsson K610i.

First I used a resolution of 176x96 and everything worked fine, but since the phone's screen is 176x220 (vertical), now I want to encode to 220x128 with TurnRight(), to use the whole screen.

I've tried with this script:

AviSource("F:\md.avi")
#blank deinterlace line
#crop
LanczosResize(220,128) # Lanczos (Sharp)
#denoise
TurnRight()
It loads correctly, but when I press "Enqueue" button, an error message pops up. Maybe because 220 is not divisible by 16? Is there any way to override this?
Maybe if you post the error message...

carlo_0000
16th November 2006, 20:34
@numan: please post the error message - we can't help if we don't know the problem

@carlo: you are attempting to IVTC a PAL source - take out the TDecimate.

oh and do know what is the IVTC is that not a deinterlacer ?
megui set that it self :sly:
the source is already progressive ?
than using no deinterlace ?

oddball
16th November 2006, 20:57
I ran dotnetfx.exe for .NET 2.0 from official MS site. Still no joy after repairing .NET 2.0. Same problem on 2 different computers. No error is generated in the event log. I only get the message that MeGUI encountered an error (Non specified) and needs to close.

Very poor programming if it does not even generate an error code.

check
17th November 2006, 00:56
@carlo: IVTC includes a deinterlacer, but it also reduces the frame rate of the video by cutting out lone fields. You should you a deinterlacer such as Tdeint, or leakkerneldeint or similar.

Sharktooth
17th November 2006, 04:33
I ran dotnetfx.exe for .NET 2.0 from official MS site. Still no joy after repairing .NET 2.0. Same problem on 2 different computers. No error is generated in the event log. I only get the message that MeGUI encountered an error (Non specified) and needs to close.

Very poor programming if it does not even generate an error code.
Well, it happens only on your boxes... that's quite weird...

oddball
17th November 2006, 04:44
OK on my tirtiary PC it runs. However that is my slowpoke PC. Not sure what the problem is. I noticed I do not have CoreAVC installed on that PC (Old beta version. Awaiting 1.2 upgrade). Scratching head. Oh yeah. It's an Intel whereas the other 2 are AMD CPU's.

Borbus
17th November 2006, 19:23
Can MeGUI set the --interlaced option or does this have to be done by manually editing the command line?

Sharktooth
17th November 2006, 21:34
it's not yet integrated into the GUI... but you can set it manually thru the custom commanline options.

numaios
17th November 2006, 23:28
Hello!

I've been trying to reencode an episode to H.264 baseline profile @ level 1b with MeGUI and x264 (to watch it in my Sony Ericsson K610i.

First I used a resolution of 176x96 and everything worked fine, but since the phone's screen is 176x220 (vertical), now I want to encode to 220x128 with TurnRight(), to use the whole screen.

I've tried with this script:

AviSource("F:\md.avi")
#blank deinterlace line
#crop
LanczosResize(220,128) # Lanczos (Sharp)
#denoise
TurnRight()
It loads correctly, but when I press "Enqueue" button, an error message pops up. Maybe because 220 is not divisible by 16? Is there any way to override this?@numan: please post the error message - we can't help if we don't know the problemMaybe if you post the error message...
Of course, sorry :D. This is the error I get:

http://img161.imageshack.us/img161/944/meguierrorro1.png

bananacreamandpeca
18th November 2006, 07:19
Hi,

Because I'm a noob but would like to use the x264 encoder.
I thought i'd not get into difficult settings for now.
MeGui is installed. And I'm already experimenting with AVS scripts

There's this video thats 640x352 xvid.avi,
that I like to resize this to 44x246 with bilinear resizing and
some contrast-tweak.
I will take care of the avisyth-script myself.

My real question is, Can I just choose some profile in MeGui/x264
hit start?
Or do you have some other suggestions to wich profile?

Thanks for all of your patience.

check
18th November 2006, 10:45
I'd suggest you try the HQ profiles for x264 encoding. One thing you need to take care of: don't forget to set the encoding mode (1pass, 2pass, crf, etc) and the bitrate/quantizer! On more than one occasion I have forgotten to do so :p

Sharktooth
18th November 2006, 14:43
Of course, sorry :D. This is the error I get:

http://img161.imageshack.us/img161/944/meguierrorro1.png
It's not an avisynth script problem but megui not finding a library.
Did you let MeGUI autoupdate?

Al79
18th November 2006, 19:02
I ran dotnetfx.exe for .NET 2.0 from official MS site. Still no joy after repairing .NET 2.0. Same problem on 2 different computers. No error is generated in the event log. I only get the message that MeGUI encountered an error (Non specified) and needs to close.

Very poor programming if it does not even generate an error code.

Its not megui trouble, make sure u uncheck the auto-set number of threads, maybe that can help u, another thing that i c, in my pc its that megui dont like windows xp pro corporative edition, i dont knwo why, but i cant making work in that pc, but in my pc with only xp pro, works fine. hope that can help u^^

P.D. My engrish its quite bad, so u maybe want use babelfish xD

http://forum.doom9.org/showthread.php?t=117074 <--check this forum ^^

bananacreamandpeca
18th November 2006, 19:44
I want to re-encode a xvid.avi to x264.mp4 or mkv

The avi I will be using has a bad audio-vbr header according to vdubmod.
And I still need to edit this audio for the final mp4 video
What do I need to do now?

Demux tha audio from the AVI, edit the audio, save as vbr or
CBR and rejoin with the resulting mp4-video?
I thought maybe the mp4 container doesnt have the vbr-audio
issue? Will I have sync problems when I do it this way?

check
19th November 2006, 02:49
you can ignore VDMs warning, it only applies to some operations withing VDM. Just treat it normally.

bananacreamandpeca
19th November 2006, 11:51
Thank you all for the effort and help.
Thanks to Doom9 for a quite goodlooking Gui, You can see
alot of effort went into it. :)

And that Msharpen avisynth-filter is just amazing!!!
But I'm still not near any 264-encode yet.
In terms of quality I really do not know wich profile to select within MeGui
(Just dont know what to expect, and I could just over do it.) What should I do?
Post a snapshot of the source I want to use?

Sharktooth
19th November 2006, 14:51
Its not megui trouble, make sure u uncheck the auto-set number of threads, maybe that can help u, another thing that i c, in my pc its that megui dont like windows xp pro corporative edition, i dont knwo why, but i cant making work in that pc, but in my pc with only xp pro, works fine. hope that can help u^^

P.D. My engrish its quite bad, so u maybe want use babelfish xD

http://forum.doom9.org/showthread.php?t=117074 <--check this forum ^^
No that is a different problem.
However, after MS refused to give me a new activation code (just coz my MB fried during a thunderstorm), i have installed XP pro corporate edition and MeGUI is correctly working here.

Sharktooth
19th November 2006, 14:55
Thank you all for the effort and help.
Thanks to Doom9 for a quite goodlooking Gui, You can see
alot of effort went into it. :)

And that Msharpen avisynth-filter is just amazing!!!
But I'm still not near any 264-encode yet.
In terms of quality I really do not know wich profile to select within MeGui
(Just dont know what to expect, and I could just over do it.) What should I do?
Post a snapshot of the source I want to use?
Well, choosing a profile is easy.
If you want quality at a choosen filesize or bitrate choose one of the HQ profiles. If you dont care about the filesize use the CRF profile... etc.

Sharktooth
19th November 2006, 14:56
I want to re-encode a xvid.avi to x264.mp4 or mkv

The avi I will be using has a bad audio-vbr header according to vdubmod.
And I still need to edit this audio for the final mp4 video
What do I need to do now?

Demux tha audio from the AVI, edit the audio, save as vbr or
CBR and rejoin with the resulting mp4-video?
I thought maybe the mp4 container doesnt have the vbr-audio
issue? Will I have sync problems when I do it this way?
Those warnings are there coz of VFW (and AVI).
Since MeGUI doesnt work on top of VFW you can safely ignore them and proceed encoding.

rack04
19th November 2006, 20:52
I can't get CT AAC to encode AC3 5.1. I have copied enc_aacplus.dll from Winamp Plugins directory into the encaacplus executable directory but I still get the error "Can't find enc_aacplus.dll!"

http://img509.imageshack.us/img509/5846/meguiby4.th.jpg (http://img509.imageshack.us/my.php?image=meguiby4.jpg)

sillKotscha
19th November 2006, 23:44
I can't get CT AAC to encode AC3 5.1. I have copied enc_aacplus.dll from Winamp Plugins directory into the encaacplus executable directory but I still get the error "Can't find enc_aacplus.dll!"

http://img509.imageshack.us/img509/5846/meguiby4.th.jpg (http://img509.imageshack.us/my.php?image=meguiby4.jpg)

me too... that's why I'm using nero's aac encoder within megui :)

but another question...

I have captured an AVI with PCM audio - my work flow:

1. wav -> mp4 with megui (as stated I've used nero's aac encoder)
2. load that script:


LoadPlugin("TomsMoComp.dll")
avisource("monster.avi")

ConvertToYV12()
TomsMoComp(1,5,1)
crop(60,36,600,492)
mergechroma(blur(1.3))
LanczosResize(384,288)


3. choose profile: CE-QuickTime
4. go to: tools -> Bitrate Calculator and entered/applyed a bitrate for 50MB total video size
5. enqueue job(s)
6. start encoding...

so far so good - encoding started but stopped after a few frames...

that's the log:

Starting job job1-1 at 23:27:23
encoder commandline:
--pass 1 --bitrate 596 --stats "E:\DVB-T\Device00\monster--avisource.stats" --bframes 1 --direct auto --subme 1 --analyse none --vbv-maxrate 25000 --me dia --thread-input --progress --no-psnr --output NUL "E:\DVB-T\Device00\monster--avisource.avs"
successfully started encoding
Processing ended at 23:27:33
----------------------------------------------------------------------------------------------------------

Log for job job1-1

avis [info]: 384x288 @ 25.00 fps (15046 frames)
x264 [warning]: VBV maxrate specified, but no bufsize.
x264 [info]: using cpu capabilities MMX MMXEXT SSE 3DNow!

----------------------------------------------------------------------------------------------------------

status reports "error" for job one but not the log...

'no buffer size' - an indicator for what?? wrong profile for what I like to do or a tiny mistake within the profile?

Sharktooth
20th November 2006, 03:21
I can't get CT AAC to encode AC3 5.1. I have copied enc_aacplus.dll from Winamp Plugins directory into the encaacplus executable directory but I still get the error "Can't find enc_aacplus.dll!"

http://img509.imageshack.us/img509/5846/meguiby4.th.jpg (http://img509.imageshack.us/my.php?image=meguiby4.jpg)
Check if the encaacplus folder is correctly set in the megui settings.

Sharktooth
20th November 2006, 03:22
me too... that's why I'm using nero's aac encoder within megui :)

but another question...

I have captured an AVI with PCM audio - my work flow:

1. wav -> mp4 with megui (as stated I've used nero's aac encoder)
2. load that script:


LoadPlugin("TomsMoComp.dll")
avisource("monster.avi")

ConvertToYV12()
TomsMoComp(1,5,1)
crop(60,36,600,492)
mergechroma(blur(1.3))
LanczosResize(384,288)


3. choose profile: CE-QuickTime
4. go to: tools -> Bitrate Calculator and entered/applyed a bitrate for 50MB total video size
5. enqueue job(s)
6. start encoding...

so far so good - encoding started but stopped after a few frames...

that's the log:

Starting job job1-1 at 23:27:23
encoder commandline:
--pass 1 --bitrate 596 --stats "E:\DVB-T\Device00\monster--avisource.stats" --bframes 1 --direct auto --subme 1 --analyse none --vbv-maxrate 25000 --me dia --thread-input --progress --no-psnr --output NUL "E:\DVB-T\Device00\monster--avisource.avs"
successfully started encoding
Processing ended at 23:27:33
----------------------------------------------------------------------------------------------------------

Log for job job1-1

avis [info]: 384x288 @ 25.00 fps (15046 frames)
x264 [warning]: VBV maxrate specified, but no bufsize.
x264 [info]: using cpu capabilities MMX MMXEXT SSE 3DNow!

----------------------------------------------------------------------------------------------------------

status reports "error" for job one but not the log...

'no buffer size' - an indicator for what?? wrong profile for what I like to do or a tiny mistake within the profile?
Seems x264 silently quit or there was a problem reading its output.
The buffer size message is only a warning coz the buffer size is not set in the profile. You can safely ignore it.

jellysandwich
20th November 2006, 14:15
Hmm... Is it not possible to add a delay using oggenc2? I just tried putting a -2000ms delay correction in the OggVorbis Encoder Configuration (for testing purposes), but the output came out just like normal...

Edit: ND-AAC delay didn't work either.

js

rack04
20th November 2006, 18:02
Check if the encaacplus folder is correctly set in the megui settings.

I have verified that the encaacplus folder is set correctly in the megui path settings. Any other ideas?

weaver4
21st November 2006, 20:21
Does MeGui require that you use DVD Decrypter for ripping? Every time I try to load the source files I get some error that a DVD Decrypter file is missing.

check
22nd November 2006, 00:27
where are you trying to load the source files? What file is missing?

Sharktooth
22nd November 2006, 13:35
Does MeGui require that you use DVD Decrypter for ripping? Every time I try to load the source files I get some error that a DVD Decrypter file is missing.
:search:

numaios
23rd November 2006, 13:23
It's not an avisynth script problem but megui not finding a library.
Did you let MeGUI autoupdate?
Thanks, Sharktooth!
Yes, I did. But there are two items I cannot update: libs and avisynthwrapper (I downloaded it from megui.org but it still appears like outdated). When I try to update libs, the bar progresses till the end and then "MeGUI has detected a problem and must get closed. Report Microsoft about this problem. Send report/Not to send"

And if it's not an avisynth script problem, why the error doesn't show up when I set the resolution to 176x96, for example?

Another question: Why can't I select MP4 container when I select XviD codec? I want to output MPEG-4 Simple Profile@level 0 in MP4 container (compatible with mobile devices).

bwlonsdale
23rd November 2006, 18:55
Hope this is the right thread cos I need some troubleshooting advice for megui....I don't know if this is a bug or something I've started doing wrong. I've recently encountered a problem with megui encodes I've been doing on my Media PC...

The Media PC is a Core2Duo, E6600, 2Gb RAM. Up until recently, encoding on there has been absolutely fine - no problems or issues. The PC itself has been completely stable. This started a week or so ago.

I'm generally doing encodes of HD TV show .ts sources (NTSC/US). I use dgmpgdec to make the .d2v, then create the .avs (I actually have a bunch of templates and just insert the relevant .d2v filename) and then open that as the source in megui. I always check the file will open in virtualdub beforehand so I know the telecide etc are working fine. My AVS will basically telecide and then resize down to 1280x720. I don't do any other filtering.

In a nutshell, I set up the jobs, start them and then after random amount of time, the entire PC is hung (well, it's running very very very slowly)...when I check task manager (very very slowly...) the CPU useage is at 50% and when I check the process tab there doesn't appear to be a single instance of anything consuming the cycles. But at 50% CPU useage, that means one of the cores is sitting more or less idle, so I don't understand why the PC is responding so slowly. I'm generally terminal servered onto the PC during this so I can remote monitor the goings on. When the hanging happens, i lose any ability to terminal server to the PC, ping times vanish, network shares won't connect. I then have to log on via the console (i.e. sit in front of the TV) and log on there - but the mouse moves in jumps all over the place - you get the idea, the PC is running very very slow.

If I see the status window, I can see the FPS rate has dropped from say 7FPS down to .7FPS. I always use the HQ-Slow profile and Sharktooth's "eqm_avc_hr.cfg" matrix. I set the jobs up the same way each time, automated 2 pass. I use the bitrate calculator to set to 1/4 DVD-R, change the thread count to 2 and point it at the custom matrix

This only happens during megui encoding, it's not something the PC does at random intervals. If I copy the .ts to my other PC (an AMD Opteron 170) the encode goes just fine, no issues. So I can rule out the source .ts causing a problem.

I do update megui whenever it prompts there are updates. Both PCs are updated whenever megui prompts so the builds etc are the same.

The media pc has haali media splitter on which I recently updated which I have subsequently removed (made no difference) and that is the only change I've made to the PC during the last couple weeks (bar updating megui). I keep changes on there to an absolute minimum cos it's too much grief if i update drivers and find out the TV playback's borked cos NVIDIA can't do a decent driver set these days.

Any thoughts on where to begin with this?

jellysandwich
23rd November 2006, 19:08
Hmm... Is it not possible to add a delay using oggenc2? I just tried putting a -2000ms delay correction in the OggVorbis Encoder Configuration (for testing purposes), but the output came out just like normal...

Edit: ND-AAC delay didn't work either.

js

Is this because of the particular encoders, or is it just me?

js

foxyshadis
24th November 2006, 04:15
Hope this is the right thread cos I need some troubleshooting advice for megui....I don't know if this is a bug or something I've started doing wrong. I've recently encountered a problem with megui encodes I've been doing on my Media PC...

The Media PC is a Core2Duo, E6600, 2Gb RAM. Up until recently, encoding on there has been absolutely fine - no problems or issues. The PC itself has been completely stable. This started a week or so ago.

I'm generally doing encodes of HD TV show .ts sources (NTSC/US). I use dgmpgdec to make the .d2v, then create the .avs (I actually have a bunch of templates and just insert the relevant .d2v filename) and then open that as the source in megui. I always check the file will open in virtualdub beforehand so I know the telecide etc are working fine. My AVS will basically telecide and then resize down to 1280x720. I don't do any other filtering.

In a nutshell, I set up the jobs, start them and then after random amount of time, the entire PC is hung (well, it's running very very very slowly)...when I check task manager (very very slowly...) the CPU useage is at 50% and when I check the process tab there doesn't appear to be a single instance of anything consuming the cycles. But at 50% CPU useage, that means one of the cores is sitting more or less idle, so I don't understand why the PC is responding so slowly. I'm generally terminal servered onto the PC during this so I can remote monitor the goings on. When the hanging happens, i lose any ability to terminal server to the PC, ping times vanish, network shares won't connect. I then have to log on via the console (i.e. sit in front of the TV) and log on there - but the mouse moves in jumps all over the place - you get the idea, the PC is running very very slow.

If I see the status window, I can see the FPS rate has dropped from say 7FPS down to .7FPS. I always use the HQ-Slow profile and Sharktooth's "eqm_avc_hr.cfg" matrix. I set the jobs up the same way each time, automated 2 pass. I use the bitrate calculator to set to 1/4 DVD-R, change the thread count to 2 and point it at the custom matrix

This only happens during megui encoding, it's not something the PC does at random intervals. If I copy the .ts to my other PC (an AMD Opteron 170) the encode goes just fine, no issues. So I can rule out the source .ts causing a problem.

I do update megui whenever it prompts there are updates. Both PCs are updated whenever megui prompts so the builds etc are the same.

The media pc has haali media splitter on which I recently updated which I have subsequently removed (made no difference) and that is the only change I've made to the PC during the last couple weeks (bar updating megui). I keep changes on there to an absolute minimum cos it's too much grief if i update drivers and find out the TV playback's borked cos NVIDIA can't do a decent driver set these days.

Any thoughts on where to begin with this?

Broken drivers, bad memory, bad motherboard, overheating... the list of things that can cause sudden hardware failure are enormous. This does sound a bit like a bad hard drive that's sputtering around in PIO mode, but then video playback would stutter like mad. (You'd check that by looking at the driver manager, primary IDE channel.) Video card drivers going nuts could cause something like that too; usually a wedged network driver would kill the network but not leave the system barely functional.

Try running two prime95s, an offline memory test, maybe passmark burn-in-test. See the hardware forum sticky for more.

bwlonsdale
24th November 2006, 10:05
I already have the two Prime95's installed and configured - I had previously set up and was all benchmarked and stable (we're talking 24hrs+ stability)....

I ran the test again today as per your suggestion and it crapped out within a minute.....

The hardware is about 4 months old apart from the graphics card, everything is brand new. It's not cheap parts, Intel MB D975XBX and some Corsair memory...

thanks, hadn't even considered the hardware would be faulty...

I'm going off to sulk now :(

bwlonsdale
24th November 2006, 13:07
OK, finished sulking, it seems I needed to up the voltage to the CPU a notch - Prime 95 seems happy now - I let it run for an hour and there were no problems, I'll run megui now and see how it goes.

I guess there has been some burn-in or summat with the CPU over time.

If any mod wishes to, please move this to the appropriate forum.

thanks

Mutant_Fruit
25th November 2006, 12:18
Could it be your CPU is overheating and is thermal throttling to a really slow speed?

bwlonsdale
25th November 2006, 12:36
Well, the Intel Desktop Control Panel puts the CPU at around 58-C maximum, it's got a good after market cooler on (CNPS-9500)

I've ran megui all night with a few encodes and it's never stalled since so I guess the bit extra voltage has sorted it.

martino
25th November 2006, 14:45
When I'm converting something using x264, and during the process change the priority, could that affect my encode?

Thanks!

Sharktooth
25th November 2006, 14:51
no... you can safely change the priority.

oddball
25th November 2006, 21:57
I finally got MeGUI working. It was the .NET after all. However after auto updating it fails on updating NeroAAC all the time.

BTW if I use an AC3 track to AC3 will it just direct stream copy the AC3? Also which is the best profile to use for x264 1080 HDTV output? One more thing. If I have 4 TS files being served by Avisynth and queue them in MeGUI will they append to each other (Output 4x x264 MKV then append then mux in joined AC3)?

I am trying to do my first HDTV encode in MeGUI.

check
26th November 2006, 02:04
Answering your questions in order:
o yes, neroaac doesn't update. read the faq
o can't say
o rule 12 - please specify further your requirements and people can offer recommendations.
o one avisynth file = one output video. If the 4 tss are combined in the avs (ie mpeg2source() + mpeg2source() + ...), you will get one output file.

oddball
26th November 2006, 02:16
That command is useful to know. Thanks. I want to make a 2 hour DVD9 file in x264 of some 1080 TS files. It needs direct stream copy of the AC3 file(s). Because Avisynth only seems to deal with the video side of things I will probably have to demux the AC3 from the TS files. Join the AC3 files together then remux into the output MKV video file. I could do with some tips on suitable profiles, encoding end credits at a different bitrate and smoothening and sharpening if needed. Sources will be either HD MPEG2 or HD H.264. I will use the bitrate calculator obviously to get the right sized file. Looking for an easy step method. Looks liek the information is a bit scattered all over the place.

Thanks.

check
26th November 2006, 06:20
avisynth can handle audio too - use directshowsource("path\to\file.ac3") and you can load that into the lower section of megui's main window.

As for more info on recommended profiles, i meant in terms of: final size, audio bitrate, source complexity, etc etc.

shpitz
26th November 2006, 16:59
guys, i have a problem with megui.
i'm using megui do to some xvid encoding. when i calc the bitrate i choose the original ac3 file.
but the encode ends up exactly what i need if i used the mp3 track instead of the ac3 file.
i'm trying to stay within a certain filesize.

so the encoded output will be oversized if i mux it with the original ac3 track but will be in target-size range if i mux it with the mp3 track.

i don't understand why it comes oversized, i've done similar encode for different shows and they all behave the same.

i've done encodes using xvid 30% hq and xvid 45% hq.

any help will be appreciated.

jmac698
26th November 2006, 17:55
I'm having trouble getting megui/xvid to work. When I start my job, the log just shows encrawxvid listing it's help file, no matter what settings I try. Everything is autoupdated. I was able to run an audio trancoding session also with no probs.
My input is .avs and my output as avi.

bananacreamandpeca
27th November 2006, 09:18
When I import a MPG file in Megui (ripped VOB content),
set it up and que
And set the audio (load the same VOB is that correct?),
and set that up. Hitthe auto encode (i think, it said it would start the jobs and when finished mux the audio/video)
Megui takes like forever processing the audio.
Audio seems to be LPCM, stereo.

Why is that?

btw. What do all the different profiles stand for? I do not know wich would suit my needs

Sharktooth
28th November 2006, 03:38
@shpitz: works fine here. can you please describe the exact steps you're doing and maybe post a screenshot of the bitrate calculator just before hitting the apply button?

@jmac698: you have the wrong xvid_encraw version/build.

@bananaetctc:... first, read the guides and the megui wiki.

check
29th November 2006, 00:23
sharktooth, there have been a few questions about what your profiles mean (and a few emailed to the email address on the wiki too). Have you thought about copying the post with your descriptions in it to the wiki? (would save me the trouble :P) Then we get a nice link which answers the question and leads them to the documentation.

Sharktooth
29th November 2006, 03:27
uhm... i think copying the profiles description to the wiki will be useless.
a more general "how to make or choose a profile" guide would be more helpful.

woah!
29th November 2006, 22:47
i take it AQ was broken or switched off in the lastest rev603 and 604 ? its what was erroring for me and is not listed in the help options either. would be nice to know in the changelog list maybe?

Sharktooth
30th November 2006, 15:06
AQ is working but since it's not an "official" x264 feature it's not integrated into megui.
also 603 and 604 are pretty identical to 602 (the changes were for PowerPC processors only) but i NEVER built them so it's evident you manually updated x264 from another source.
Stick with the x264 version that comes with megui autoupdate if you want AQ.

woah!
1st December 2006, 03:07
thx and i will do.

i just got the version from the x264 site here: http://x264.nl/

thuongshoo
4th December 2006, 06:59
I used mp4 container but I'm still in trouble with this.
Perhaps because Megui use DirectShow to open video file ?
http://forum.doom9.org/showthread.php?t=115441&highlight=directshow
I tried to adjust time delay when I mux video and audio by YAMB, by MKVMerge but no success.

I open .DAT by DGIndex. It said that this file have 4 track audio: 1, 4,5,6 . After demuxing, DGIndex give some .mpa file. There are some file which is are only about 3KB. Is my file corrupt ?
I used BeHappy to convert audio part of this file to Vorbis. And then, I mux mp4(made by Megui) and .ogg(made by Behappy) into one file but this file still is out of sync.

I tried to use Haali and Gabest spliiter but problem still remains

Help me!
Thanks!

check
4th December 2006, 09:30
If you can extract the files ok the file is not meaningfully corrupt, at least. When you mux the files, are you sure you are entering the right delay? If you do it with mkvmerge (ie not with megui), it will definately be created correctly, if it still doesn't work it's likely to be a playback problem.

thuongshoo
5th December 2006, 09:44
When you mux the files, are you sure you are entering the right delay?
At first, I only use the biggest .mpa file. And then, I tried to convert other files but there are no program which can convert them.
At the end, I open .DAT file by BeHappy and converting... You know! BeHappy only convert audio part of .DAT file. I had a .ogg file. As said previously, problem still remains

I think that reason is DirectShow. Did you view this thread (http://forum.doom9.org/showthread.php?t=115441&highlight=directshow)
Bye!

sjchmura
6th December 2006, 04:36
Muxing (only) ac3 to MKV with AUTOENCODE:

I get this error (see attachment). HOw do I fix this??? I have been having this problem for multiple MEGUI updates. It works fine if you "re-encode to ac3" ... however if you just want to "mux" the ac3 to the mkx I get this error.

I should add this is occuring for all my ac3 streams. If I manually encode and use the MKV muxer afterward it works great

Sgt. Rock
6th December 2006, 19:09
Eeerrr... is the update server off again?

ChronoCross
7th December 2006, 00:07
Eeerrr... is the update server off again?

yes. too much bandwidth used.

SnapCount
7th December 2006, 00:52
Hi guys, I've been using Gordian Knot for a while now and have just discovered MeGUI!! :)

My problem atm is that I cant mux the Video and Audio properly :(

I've done what the steps in the wiki, but for some reason when the muxing is finished, all i get is audio and no video:eek:

Please help...

SnapCount
7th December 2006, 00:55
Oh I forgot, im muxing an Xvid and mp3 into an AVI.

check
7th December 2006, 05:00
can you pleast post the log output for the relevant jobs?

SnapCount
7th December 2006, 06:44
Here is the log for a test project:



Starting job job4 at 4:38:45 PM
encoder commandline:

successfully started encoding
Processing ended at 4:38:56 PM
----------------------------------------------------------------------------------------------------------

Log for job job4

Channels=2, BitsPerSample=16, SampleRate=48000Hz
C:\Program Files\megui\tools\lame\lame.exe --abr 128 -h --silent - "C:\Mpg to DviX\encoding\10 Promo T01 DELAY 0ms.mp3"
----------------------------------------------------------------------------------------------------------
Job completed successfully and deletion of intermediate files is activated
Starting job job5-1 at 4:38:56 PM
encoder commandline:
-i "C:\Mpg to DviX\encoding\10 Promo.avs" -pass1 "C:\Mpg to DviX\encoding\10 Promo.stats" -bitrate 1124 -kboost 100 -overhead 0 -turbo -max_key_interval 250 -nopacked -vhqmode 2 -qpel -closed_gop -bvhq -threads 1
successfully started encoding
Processing ended at 4:40:44 PM
----------------------------------------------------------------------------------------------------------

Log for job job5-1

xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003

Trying to retrieve width and height from input header
Input colorspace is YV12
xvidcore build version: xvid-1.2.0-dev
Bitstream version: 1.2.-127
Detected CPU flags: ASM MMX MMXEXT SSE 3DNOW 3DNOWEXT TSC
Detected 1 cpus, using 1 threads.

Tot: enctime(ms) =25257.00, length(bytes) = 20925298
Avg: enctime(ms) = 16.84, fps = 59.39, length(bytes) = 13950
I frames: 61 frames, size = 28582/1743547, quants = 2 / 2.00 / 2
P frames: 644 frames, size = 23778/15313297, quants = 2 / 2.00 / 2
B frames: 793 frames, size = 4878/3868454, quants = 4 / 4.00 / 4

----------------------------------------------------------------------------------------------------------
Job completed successfully and deletion of intermediate files is activated
job job5-1 has been processed. This job is linked to the next job: job5-2
Starting job job5-2 at 4:40:44 PM
encoder commandline:
-i "C:\Mpg to DviX\encoding\10 Promo.avs" -pass2 "C:\Mpg to DviX\encoding\10 Promo.stats" -bitrate 1124 -kboost 100 -overhead 0 -max_key_interval 250 -nopacked -vhqmode 2 -qpel -closed_gop -bvhq -threads 1 -avi "C:\Mpg to DviX\encoding\10 Promo.avi"
successfully started encoding
Processing ended at 4:43:33 PM
----------------------------------------------------------------------------------------------------------

Log for job job5-2

xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003

Trying to retrieve width and height from input header
Input colorspace is YV12
xvidcore build version: xvid-1.2.0-dev
Bitstream version: 1.2.-127
Detected CPU flags: ASM MMX MMXEXT SSE 3DNOW 3DNOWEXT TSC
Detected 1 cpus, using 1 threads.

Tot: enctime(ms) =87975.00, length(bytes) = 8263999
Avg: enctime(ms) = 58.65, fps = 17.05, length(bytes) = 5509
I frames: 61 frames, size = 27022/1648346, quants = 2 / 2.10 / 3
P frames: 644 frames, size = 7811/5030509, quants = 3 / 5.20 / 6
B frames: 793 frames, size = 1998/1585144, quants = 5 / 8.28 / 10
desired video bitrate of this job: 1124 kbit/s - obtained video bitrate (approximate): 1108 kbit/s
----------------------------------------------------------------------------------------------------------
Job completed successfully and deletion of intermediate files is activated
Found intermediate output file 'C:\Mpg to DviX\encoding\10 Promo.stats', deleting...
Deletion succeeded.Starting job job6 at 4:44:19 PM
encoder commandline:
-v "C:\Mpg to DviX\encoding\10 Promo.avi" -a "C:\Mpg to DviX\encoding\10 Promo T01 DELAY 0ms.mp3" -o "C:\Mpg to DviX\encoding\10 PromoMux.avi"
successfully started encoding
Processing ended at 4:44:20 PM
----------------------------------------------------------------------------------------------------------

Log for job job6

DivXMux: Version 6.1 Build Num: 36
Output File Streams:

TrackId 0: Video Stream: From AVI
Frame Rate: 25.000000
Resolution: 688x368
TrackId 1: Audio Stream: From MP3
SamplesPerSec: 48000
BlockAlign: 1152


Creating Index...


----------------------------------------------------------------------------------------------------------
Job completed successfully and deletion of intermediate files is activated

check
7th December 2006, 12:53
are you sure you have a video decoder? Download the CCCP Insurgent (link in my sig.), and post up a test render of the output file please.

SnapCount
7th December 2006, 23:41
The video plays fine by its self - just no audio. The problem only occurs when you mux both video and mp3.

The only way I can get around this, is that I have to open up AVIMux_GUI and do the muxing. And that seems to do the trick.

Looks like this is a bug in MeGUI I guess.

Soshen
8th December 2006, 01:30
I've a little problem
i use avisynth 2.5.6 with a amd 32 bit pc
and when i open a avs in megui and i close the preview window or i lunch a encoding the program (megui) will automatically close.

i've net 2.0 ofcourse.

can someone know why megui can crash like that?

work only if i use a avs script with only avisouce and convertToYv12

i've FFdshow.

bananacreamandpeca
8th December 2006, 02:27
I am currently re-encoding some xvid videos with megui.
The outcome will be mp4/x264-video.

I did not let megui re-encode the audio form the source-vids to the
new output as well.
Megui had trouble doing this. Or I did something wrong. Source-audio is mp3-VBR.

What must I do to transfer the Audio from the source-videos
to the new x264 videofiles as well?
Can I just demux the audio with vdubmod and rejoin that mp3-vbr with the new mp4/x26 output?

Help please.

squid_80
8th December 2006, 03:00
SnapCount: What is the size of the muxed avi (the one that plays with audio only)? If you open it with virtualdub does it appear to have video?

check
8th December 2006, 09:17
soshen: very strange, it sounds like a problem with your computer as I've never heard of that reported before. Try poking around, checking for viruses, reinstalling .net & megui, etc etc

Soshen
8th December 2006, 12:03
soshen: very strange, it sounds like a problem with your computer as I've never heard of that reported before. Try poking around, checking for viruses, reinstalling .net & megui, etc etc

well i try in two different PC and doing the same thing.

i try to reinstall both megui and .net but all work like before.
If i use a simple script all work good...

Sharktooth
8th December 2006, 14:27
uhm... never heard of that...
maybe directshow codecs are screwed... or some other weird things happening.

SnapCount
10th December 2006, 08:00
SnapCount: What is the size of the muxed avi (the one that plays with audio only)? If you open it with virtualdub does it appear to have video?

IIRC the sample test i did was the video was around 6mb. When I muxed both mp3 and video together the new file went down to 5mb.

SnapCount
10th December 2006, 08:01
Oh and when I used the AVImux GUI program, the file size went up to 7mb.

squid_80
10th December 2006, 09:20
Thanks, but...If you open it with virtualdub does it appear to have video?
Or even try remuxing the bad file through avimux_gui to see what happens. I'm trying to find out if the bad file actually contains video at all, some media players have a bad habit of assuming a file is an mp3 file if they see mp3 data too close to the start of the file.

SnapCount
11th December 2006, 00:51
I opened up the broken mux file and virtualdub does not see any frames at all, and still just plays the audio.

Using avimux_gui, muxing the bad avi with the mp3 - the files doesnt play at all.

avimux_gui - muxing avi with no sound with bad avi and mp3 works fine.

And if the player was mistaking that it was an mp3, it would be playing the visualisations for that player. Players that i have tried are WMP 10, Nero Showtime and PowerDVD and all of them shows nothing.

McFlipp
11th December 2006, 15:37
I'm trying to open a non-reencoded h264 file (bbc hd) with the following script in MeGUI

LoadPlugin("blah\DGDecode.dll")
LoadPlugin("blah\mt_masktools.dll")
LoadPlugin("blah\RemoveGrainSSE3.dll")
LoadPlugin("blah\Blockbuster.dll")
LoadPlugin("blah\DctFilter.dll")

Directshowsource("blah\h264.dd51.ts", Audio=false) #CoreAVC

converttoyv12()

RemoveGrain(mode=3)

crop(2,2,-2,-2)
Lanczos4Resize(1280,720)

dull=last
sharp=dull.LimitedSharpenFaster(ss_x=1.5,ss_y=1.5,Smode=3,strength=100,overshoot=1)
Soothe(sharp,dull,25)

blockbuster(method="noise",detail_max=6,cache=4096)
MeGUI opens it fine. But when i close the preview window that pops up when you load an avs file, after a few seconds MeGUI closes it self!
When i leave the preview window open and start encoding, the encoding crashes after a few secs. But when i look in the taskmanager then, i DO see x264.exe running and using all my cpu power, so it seems it is still encoding somehow :?

What might be the problem here?

check
11th December 2006, 22:35
I have no idea what would cause megui to crash like that, but if x264 is still running and eating your CPU, the encode still will be too. It sounds like you have the same problem as Soshen (or at least similar), it might be worth trying to find an overlap in terms of recent changes to your computer.

Appu
12th December 2006, 13:26
I was trying to use meGUI for creating an avi stream that contains xvid video and mp3 audio. I used Divx AviMux to create the AVI output. Got the following error..

ERROR: DIVXMUX_INVALIDFILE File: Audio

But the muxing works if I use an external AviMux tool.

Searched this forum and found that this question was already raised ( by Carpo ) but didn't find an answer. I can provide the sample streams if needed.

Another related issue. If I use adaptive muxer the video seems to be totally black.

The MKV and MP4 muxer is working properly.

Appu
12th December 2006, 13:29
The log files for Adaptive mixer is given below.

Log for job job5

DivXMux: Version 6.1 Build Num: 36
Output File Streams:

TrackId 0: Video Stream: From AVI
Frame Rate: 25.000000
Resolution: 640x272
TrackId 1: Audio Stream: From MP3
SamplesPerSec: 32000
BlockAlign: 1


Creating Index...

check
12th December 2006, 14:14
it seems the divxmuxer has broken. Either use a standalone alternative (avimux_GUI) or use an alternative container <:)

s0d0idura
16th December 2006, 01:05
x264 - core 54 svn-602M - H.264/MPEG-4 AVC codec - Copyleft 2005 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:-2:-1 analyse=0x3:0x133 me=umh subme=6 brdo=1 mixed_ref=1 me_range=16 chroma_me=1 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 chroma_qp_offset=0 slices=1 nr=0 decimate=0 mbaff=0 bframes=16 b_pyramid=1 b_adapt=1 b_bias=0 direct=3 wpredb=1 bime=0 keyint=480 keyint_min=24 scenecut=40 rc=2pass bitrate=700 ratetol=2.0 rceq='blurCp



how to take off this information of the video???

please help-me :)

Which software I can use, to see the information of the video?

check
16th December 2006, 03:51
do you want to remove that information? you can probably just blank it in a hex editor, which is also how you view it.

s0d0idura
16th December 2006, 11:09
how I make to see it?

I have a video and encoding it, want to see this information of it as I make to see?

weaver4
16th December 2006, 15:20
I am getting the following error when I am using MeGui and I am trying to compress the audio.

Error:
MeGUI.AviSynthException: Script error: NicAc3Source does not have a named argument "DRC"
at MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
at MeGUI.AviSynthAudioEncoder.encode()

I have nicaudio.dll installed in the Avisynth plugins directory.

The link that was given to download the avisynth is broken so I got the latest version from doom9. This version did not have any of the plugins in it so I have gone out and found the ones that I needed.

Sharktooth
16th December 2006, 15:24
you have nicaudio without the DRC patch...

lexor
16th December 2006, 17:35
Hey all, I'm getting a strange error (well not really an error, nothing happens and that's the problem). The Avisynth script creator doesn't create a script. Every function/button in it works and I can run analyse and it'll give correct results. But the script page is empty, and it's not just a gui bug, if I save it, the file is empty. I have it updated to Dec16 autoupdate, avisynth 2.5, it all used to work before, but I haven't used script creator for a while and there has been several autoupdates since then, don't know which one broke it. No other codec/tools changes since last time it worked, only autoupdate. Does anyone else have this problem?

check
16th December 2006, 17:50
tried reinstalling? could be the avs template was deleted.

lexor
16th December 2006, 18:10
tried reinstalling? could be the avs template was deleted.

heh, that worked, with the autoupdate, I completely forgot that megui has an installer... took a few seconds to realise where to get one :) all good now though.

weaver4
16th December 2006, 18:28
you have nicaudio without the DRC patch...

Thanks I found it. The nicaudio filter that is on avisynth.org site (http://avisynth.org/warpenterprises/) does not have the DRC patch on it. It is still version 1.1 the latest is 1.5.

s0d0idura
16th December 2006, 18:52
help me??

as I make to see this : 264 - the 54 Cores svn-602M - H.264/MPEG-4 AVC codec - Copyleft 2005 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1: - 2: - 1 analyse=0x3: 0x133 me=umh subme=6 brdo=1 mixed_ref=1 me_range=16 chroma_me=1 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 chroma_qp_offset=0 slices=1 nr=0 decimate=0 mbaff=0 bframes=16 b_pyramid=1 b_adapt=1 b_bias=0 direct=3 wpredb=1 bime=0 keyint=480 keyint_min=24 scenecut=40 rc=2pass bitrate=700 ratetol=2.0 rceq='blurCp, of the video?

dirio49
17th December 2006, 03:07
why it cannot download neroacc and it says that it has an update all the times.

is like crying wolf ;)

check
17th December 2006, 03:45
you can right click on the nero item and select 'ignore'

Carpo
17th December 2006, 10:02
when doing a back up where you dont resize and you are using xvid to do a 2cd backup (45% or 58% profile ) which matrix should be used, i see it selects the one itself but can these be changed or should i leave the one that is selected as it is?

seeing as i have always resized im wondering if keeping it as 720x480 or 720x560 is the step to go in

dirio49
17th December 2006, 16:11
Any idea how to get around this?



Error:
MeGUI.AviSynthException: m2AudioAC3Source: unsupported channel configuration in file "C:\New Folder\VTS_01_1 T01 1+1ch 32Kbps DELAY 0ms.ac3"
at MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
at MeGUI.AviSynthAudioEncoder.encode()
----------------------------------------------------------------------------------------------------------
The current job contains errors. Skipping chained jobs

Carpo
17th December 2006, 17:11
is that an actual ac3 from a dvd or one you made yourself ?

dirio49
17th December 2006, 17:12
From a dvd, (Hitch)

Carpo
17th December 2006, 17:30
what did u use to rip it

dirio49
17th December 2006, 17:31
RI4M and then i compressed it with DVDrb

Carpo
17th December 2006, 17:36
u mean you backed it up to a dvd5 and am using that to back it up to xvid/x264 ?

dirio49
17th December 2006, 17:38
Yes, i made an iso, then mounted that and ripped from the iso in ifo mode.:)

Carpo
17th December 2006, 17:39
why not just use the dvd9 source to run it through megui ?

dirio49
17th December 2006, 17:40
No idea, faster i though to rip from the harddrive. Since i already have it in the harddrive.
you think it makes a difference?

Carpo
17th December 2006, 17:53
quite poss - rip it using rip it for me and dvd decrypter in ifo mode (seems megui likes files from this methord better) and run it through megui

hopefully this should sort the problem, if not there is something else causing it

dirio49
17th December 2006, 17:55
Sure, i will try that thanks.
any idea how i would remove the crap cells from the video?

Carpo
17th December 2006, 17:59
rip it for me should do all that for you, if it finds suspect cells and stuff it should run fixvts which should sort it for you

dirio49
17th December 2006, 18:01
Thanks for the help. :)

Carpo
17th December 2006, 19:41
thats already been reported in the bug thread dude :)

dirio49
17th December 2006, 20:25
So, the problem is not the source?
can you point me to the link ( tried searching but no luck)?
thanks

Carpo
17th December 2006, 20:38
earlier i could have sworn there was another post just under yours were you said thanks by someone reporting an issue with megui, thats what i was refering too

does it still come up with strange error about audio ?

weaver4
17th December 2006, 20:38
I have been stuggling with MeGui for a few days now trying to get a XviD encode.

The x254.nl web site says you should be using version 0.2.3.2193 but the only version they let you download is 0.2.4.1005; so that is the version that I am using.

I get the error that xvid_encraw cannot find extra\Didees SixOfNine.cqm. I looked at the faq and it says this file should be in the Programs Files\megui\tools\xvidencraw\extra directory. Well there is not a xvidencraw directory in the tools directory there is a xvid_encraw directory so I put it there. I cannot find it there? So what am I doing wrong?

Also how do you set up a on-click profile? The menu item is missing in 0.2.4.1005.

Sharktooth
17th December 2006, 20:52
why dont you :search: ?!?

Carpo
17th December 2006, 20:55
http://forum.doom9.org/attachment.php?attachmentid=6205&d=1159213817

grab the zip - will have all the files you need, you can place them anywhere on your system as long as you update the profile in megui :)

for example the files on my sys are C:\Program Files\megui\extra - and the profiles in megui have been update to show it

SharekhaN
17th December 2006, 21:08
Hi , recently i had encoded a video file into x264 video , using the ipod 5.5 g profile sucessfully in to the mp4 container . it played and it would even get transferred to the ipod .

Then about the audio . i demuxed the audio file from the actual video file ( original ) . it was an ac3 track . converted it to faac-mp4 using megui again and it worked . it played in itunes and other players . so no issues .

so now then i used the mp4 muxer in megui and muxed them only to find that the file dosent play at all . it isnt accepeted by itunes or any other player including vlc . it like a corrupt file . and i have tried this more than once with no sucess .

both the files play individually but dont play when muxed . i have the latest haali media splitter installed as well , but i am getting nowhere here . i have tried looking thru all these threads but couldnt find a similar description over the web .

Please guide .

Carpo
17th December 2006, 21:10
try AVI-Mux_GUI-1.17.7 - dont let the name fool you - it will do mp4 mkv and others

(he says hoping hes right ;) )

weaver4
17th December 2006, 21:16
why dont you :search: ?!?

I did do a search. I found that some people went in to the profiles and hardcoded the path of the file. But I don't think that is the way it was intended to work.

SharekhaN
17th December 2006, 21:16
Errm....this does not support mp4 files as input .

--------------
issue resolved using YAMB 1.6

Thanks for the help though

Carpo
17th December 2006, 21:42
that was it thats what i meant ;) - i get so confused at times i used avi mux to mux avis and ac3 that meguis own muxer falls over on

Carpo
17th December 2006, 21:45
if you think its a bug it should go in the bugs thread :)

Warpman
17th December 2006, 21:50
damn your right >.> i thought i was in the bug thread ... getting old

s0d0idura
17th December 2006, 22:59
x264 - core 54 svn-602M - H.264/MPEG-4 AVC codec - Copyleft 2005 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:-2:-1 analyse=0x3:0x133 me=umh subme=6 brdo=1 mixed_ref=1 me_range=16 chroma_me=1 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 chroma_qp_offset=0 slices=1 nr=0 decimate=0 mbaff=0 bframes=16 b_pyramid=1 b_adapt=1 b_bias=0 direct=3 wpredb=1 bime=0 keyint=480 keyint_min=24 scenecut=40 rc=2pass bitrate=700 ratetol=2.0 rceq='blurCp



How can i see this information? What app should i use ?

Limobar
17th December 2006, 23:31
x264 - core 54 svn-602M - H.264/MPEG-4 AVC codec - Copyleft 2005 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:-2:-1 analyse=0x3:0x133 me=umh subme=6 brdo=1 mixed_ref=1 me_range=16 chroma_me=1 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 chroma_qp_offset=0 slices=1 nr=0 decimate=0 mbaff=0 bframes=16 b_pyramid=1 b_adapt=1 b_bias=0 direct=3 wpredb=1 bime=0 keyint=480 keyint_min=24 scenecut=40 rc=2pass bitrate=700 ratetol=2.0 rceq='blurCp



How can i see this information? What app should i use ?

Take a sample of the first few seconds of your encode with MKVMergeGUI. You can find MKVMergeGUI in the 'Tools' folder of MeGUI. After that, open the sample with Notepad and search for 'Videolan'. That should get you the info you want. :)

o3hwao
18th December 2006, 05:47
Hi,

I used Virtualdub and demuxed an audio (AC3 48KHz 5.1 Channel 448kbps) from an AVI file (Save Wav... option).

I want to encode this with NDAAC-HE-MultiChannel-128kbps.
But I get the following error:


Starting job job1 at PM 8:28:10
encoder commandline:

successfully started encoding
Processing ended at PM 8:30:34
----------------------------------------------------------------------------------------------------------

Log for job job1

Channels=5, BitsPerSample=16, SampleRate=48000Hz
C:\Program Files\megui\tools\neroAacEnc\neroAacEnc.exe -ignorelength -he -br 128000 -if - -of "D:\Work Area\better tomorrow.mp4"Error:
System.IO.IOException: 파이프가 끝났습니다. (it says PIPE ENDED)

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
at MeGUI.AviSynthAudioEncoder.encode()*************************************************************
* *
* Nero Digital Audio Reference MPEG-4 & 3GPP Audio Encoder *
* Copyright (C) 2006 Nero AG *
* All Rights Reserved Worldwide *
* *
* Package build date: May 26 2006 *
* *
* See -help for a complete list of available parameters. *
* *
*************************************************************


ERROR: Could not initialize SBR


----------------------------------------------------------------------------------------------------------



What does it mean?
And do I fix it?

Thanks a lot :thanks:
:D :D

check
18th December 2006, 09:21
try using only english characters in the filename (a-zA-Z0-9)
edit: if this works, you can blame .NET/windows for bad i18n support... I think ;-)

kurt
18th December 2006, 15:05
hm, after reinstalling megui I cannot open my avs files anymore
http://i17.tinypic.com/2d9o049.jpg

the script works fine in mpc and vdm
AviSource("C:\Movies\elephant\elephantsdream1080p.avi", audio=false)
ConvertToYV12()
trim(5000,6000)
Does anyone have a hint for me?
(The program paths were set correctly to the avisynth folder and dgindex...)

Edit: don't know why, but the problem has gone after a second reinstall :)

bananacreamandpeca
18th December 2006, 16:32
I opened 1 VOB with d2v-creator. set it up, placed it in queu and started the job.

Now 2 hours later, it doesnt seems to do anything?
status just displays time elapsed, but it never ends,
and there is no % complete ini=dication
Size of the VIB = 230MB
I checked with ctrl-alt-del, and see that dgindex' processor time is "0"

So does it do ANYTHING????????????????

o3hwao
18th December 2006, 17:57
try using only english characters in the filename (a-zA-Z0-9)
edit: if this works, you can blame .NET/windows for bad i18n support... I think ;-)


Thanks for the suggestion, but it didn't work. :(
Same error...


...
Channels=5, BitsPerSample=16, SampleRate=48000Hz
C:\Program Files\megui\tools\neroAacEnc\neroAacEnc.exe -ignorelength -he -br 128000 -if - -of "D:\Temp\bettertomorrow.mp4"Error:
System.IO.IOException: 파이프가 끝났습니다. (it says PIPE ENDED)
...
ERROR: Could not initialize SBR


Does anyone know what the last line means?
(Counld not initialize SBR)

Thanks
:)

bananacreamandpeca
18th December 2006, 19:07
Cananybody tell me what the beneath log means?

Starting preprocessing of job...
Preprocessing finished!
Starting job job1 at 14:01:27
encoder commandline:
-AIF=[C:\Program Files\davina horseriding (4m17s VOB720x480 29.97fps AC3).VOB] -OF=[C:\Program Files\davina horseriding (4m17s VOB720x480 29.97fps AC3).VOB] -exit -minimize -OM=2
successfully started encoding
Processing ended at 17:58:11
----------------------------------------------------------------------------------------------------------

Log for job job1

Cannot open d2v file, 'C:\Program Files\davina horseriding (4m17s VOB720x480 29.97fps AC3).d2v'. Error message for your reference: Could not find file 'C:\Program Files\davina horseriding (4m17s VOB720x480 29.97fps AC3).d2v'.
Applying force film failed.

Carpo
18th December 2006, 21:49
at a rough guess i would say its not liking the name of the file davina horseriding (4m17s VOB720x480 29.97fps AC3).d2v

check
18th December 2006, 22:14
@o3hwao: it probably means the bitrate is to hugh to use AAC-HE, try AAC-LC instead.
@bananacreamandpeca: it almost sounds like no d2v file was written. what happens if you make one via dgindex?

bananacreamandpeca
18th December 2006, 22:42
I dunno, But I'm using a workaround now (without Megui) and DGIndex works.
I have a next question 'bout the Audio-encoder:

I open up a AC3-file, check MP4 container output,
choose ND-AAC-Multichannel-128kpbs profile,

Open config and change the bitrate-slider to "140kbps"
and also 'Uncheck' the "Increase Volume Automatically" option.
Then Click Ok.

But Megui still encodes the AAC-audio with
increased volume @ 128kbps?? Why is that?

o3hwao
19th December 2006, 00:59
@o3hwao: it probably means the bitrate is to hugh to use AAC-HE, try AAC-LC instead.


Thanks for your help... :D


I tried all the ND profiles and here is the summary. :(

Input:
wav file (extracted from avi using virtualdub)
AC3 48KHz 448Kbps 6Channels


Output:
NDAAC-LC-MultiChannel-192Kbps
NDAAC-LC-MultiChannel-HQ-256Kbps
NDAAC-LC-96Kbps
ERROR: could not open AAC encoder


NDAAC-HE-64Kbps
NDAAC-HE-MultiChannel-128Kbps
ERROR: Could not initialize SBR


NDAAC-HEPS-32Kbps
NDAAC-HEPS-48Kbps
ERROR: Unsupported encoding configuration



When I tired a stereo wav stream, I had no problem with either NDAAC-LC-96Kbps or NDAAC-HE-64Kbps. :sly:

This makes me think that there is something about the input file being multichannel. :confused: :confused:

Any suggestions?

Thanks
:) :D

check
19th December 2006, 09:35
bananna: proast logs.
o3: strange. Does this occur on other 5.1 files? Also try passing in an avs file with the line:
directshowsource("path\to\file",video=false,audio=true)
and see if that works. Make sure you have setup the appropriate audio filters to output 5.1 sound.

cc979
19th December 2006, 11:55
Cananybody tell me what the beneath log means?

Starting preprocessing of job...
Preprocessing finished!
Starting job job1 at 14:01:27
encoder commandline:
-AIF=[C:\Program Files\davina horseriding (4m17s VOB720x480 29.97fps AC3).VOB] -OF=[C:\Program Files\davina horseriding (4m17s VOB720x480 29.97fps AC3).VOB] -exit -minimize -OM=2
successfully started encoding
Processing ended at 17:58:11
----------------------------------------------------------------------------------------------------------

Log for job job1

Cannot open d2v file, 'C:\Program Files\davina horseriding (4m17s VOB720x480 29.97fps AC3).d2v'. Error message for your reference: Could not find file 'C:\Program Files\davina horseriding (4m17s VOB720x480 29.97fps AC3).d2v'.
Applying force film failed.

i'm not sure if it likes spaces in file names

Carpo
19th December 2006, 12:26
excatly what i suggested a few posts back

o3hwao
20th December 2006, 00:28
o3: strange. Does this occur on other 5.1 files? Also try passing in an avs file with the line:
directshowsource("path\to\file",video=false,audio=true)
and see if that works. Make sure you have setup the appropriate audio filters to output 5.1 sound.


I can play the file fine.
But, I'm not sure if I have the appropriate filters setup correctly.
I have the K-Lite Codec pack.
Here's the GSpot Info:

http://img223.imageshack.us/img223/9062/gspotinfoav0.th.jpg (http://img223.imageshack.us/my.php?image=gspotinfoav0.jpg)




I've tried it with a different AC3 5.1Ch wav file, and it worked! :p
It just doesn't seem to like this particular file. :mad:
Also tried the file as an AVS script as you suggested.
That time the Nero AAC Encoder application crashed (send error message to Microsoft...), but not meGUI. :eek:
I guess for this particular file, I will encode it down to AC3 stereo. :o

Thanks for all your help, check!!! :D :D :D

:thanks:

Sharktooth
20th December 2006, 03:52
probably something wrong with the source ac3...
however avoid codec packs... they're the "source of evil" 99% of the times...

Deano123
20th December 2006, 09:41
Each Time I Setup My Rip Like This:

http://i11.tinypic.com/44amjnl.png

It Turns Into A Codec Named: ASP

http://i13.tinypic.com/2mdmjxw.png

Dunno Why It Happends, Someone Help.

Carpo
20th December 2006, 10:19
nothing to worry about there - Xvid = ASP - X264 = AVC

think they do anyway ;)

nexus
20th December 2006, 10:39
Two issues with latest core:

I use a video profile as template when encoding video, this means I choose the profile, open the AVS, click on configure to change bitrate and the location of the stats-file.
A few builds before it was enough to click then on "ok" and "enqueue". But with the latest core, I first have to update the profile in the config dialog, because the changed settings aren't taken otherwise. Was this behaviour planned? And if so: why?

The second thing that I miss now is the possibility to shut down after encoding, when the encoding process has already been started (because I don't know if I want to shut down when I start the process). Can I find this feature somewhere else now? There was always a box in the queue tab which I could check or uncheck during the encoding process.

Thanks for your help in advance.

Sorry if these issues has been discussed already, i didn't read all the pages in this thread.

Deano123
20th December 2006, 10:40
Ok Thats Sorted.

Now When I Begin To Encode The Status Turns To Error, And Log:

Starting preprocessing of job...
Preprocessing finished!
Starting job job1-1 at 08:21:31
encoder commandline:
-i "C:\Documents and Settings\DIN-786\My Documents\Dvd-Rip Process\DV2\Barsaat Script.avs" -pass1 "C:\Documents and Settings\DIN-786\My Documents\Dvd-Rip Process\DV2\Barsaat Script.stats" -bitrate 700 -kboost 100 -chigh 30 -clow 15 -overhead 0 -nopacked -qmatrix "extra\eqm_v3ulr_rev3.xcm" -closed_gop -lumimasking -imin 3 -imax 5 -pmin 3 -pmax 5 -max_bframes 2 -bvhq -bquant_ratio 162 -bquant_offset 0 -bmin 3 -bmax 5 -threads 1
successfully started encoding
Processing ended at 08:21:33
----------------------------------------------------------------------------------------------------------

Log for job job1-1

xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003

Error opening input file extra\eqm_v3ulr_rev3.xcm

----------------------------------------------------------------------------------------------------------
The current job contains errors. Skipping chained jobs

nothing to worry about there - Xvid = ASP - X264 = AVC

think they do anyway ;)

check
20th December 2006, 10:51
capitalising each word is hard to read, please don't :P. Here's the answer you need: http://mewiki.project357.com/wiki/MeGUI_FAQ#Encoding_with_xvid_doesn.27t_work

sillKotscha
20th December 2006, 10:53
Error opening input file extra\eqm_v3ulr_rev3.xcm

Encoding with xvid doesn't work (http://mewiki.project357.com/wiki/MeGUI_FAQ#Encoding_with_xvid_doesn.27t_work)

Sharktooth
20th December 2006, 14:44
I dunno, But I'm using a workaround now (without Megui) and DGIndex works.
I have a next question 'bout the Audio-encoder:

I open up a AC3-file, check MP4 container output,
choose ND-AAC-Multichannel-128kpbs profile,

Open config and change the bitrate-slider to "140kbps"
and also 'Uncheck' the "Increase Volume Automatically" option.
Then Click Ok.

But Megui still encodes the AAC-audio with
increased volume @ 128kbps?? Why is that?
Simply clicking OK wont update the profile...
You just need to click UPDATE before OK...

nexus
20th December 2006, 15:29
I hope you have seen my post (http://forum.doom9.org/showthread.php?p=919436#post919436) above. ;)

Sharktooth
20th December 2006, 19:30
it's a wanted behaviour. however to shutdown after encoding just go to settings -> extra settings...

mecha
21st December 2006, 02:06
I ran into a problem after updating so I decided to reinstall it completely. Now I have even more problems.

- When I try to update the profiles it just gives me a blank list. I still have none after importing.

- I seem to lose the first second of audio whenever I use megui for audio encoding. (My audio is always 1 second behind the video.)

- I can no longer use delay correction in audio config. It remains grayed out no matter what I try.

Am I the only one with this problem?

Sharktooth
21st December 2006, 02:28
Delay correction has just been fixed in 0.2.4.1012.

JarrettH
21st December 2006, 05:23
What plugin is meGUI using to Crop now? I just reinstalled and noticed AutoCrop was missing after I updated.

Carpo
21st December 2006, 08:49
when doing CGI films - for example final fantasy advent children - should source is anime be checked or unchecked ? ye i know its not anime per se but it is a type of animation

nexus
21st December 2006, 09:00
it's a wanted behaviour. however to shutdown after encoding just go to settings -> extra settings...Ok, thanks.

mecha
21st December 2006, 14:42
Delay correction has just been fixed in 0.2.4.1012.

Any idea why I always lose the first second of audio?

Carpo
22nd December 2006, 15:13
i notice that megui uses lame 3.98 alpha - i was always advised that its not the best of idears to use alpha stuff - how come megui uses it ? would it not be an idear to stick to stable progs ?

check
22nd December 2006, 16:34
guess we should remove x264 too :)

Carpo
22nd December 2006, 22:36
can do ;) - its just that even lame itself tells you not to use alpha versions :p

weaver4
23rd December 2006, 02:25
Did the autoupdate to MeGui 2.4.1015

Get a fatal error when I press the Config button in the One Click Profile group in the One Click Profile dialog.

Carpo
23rd December 2006, 10:02
<---- bug thread 50 yrds on your left :p

post in there with a screenshot of the error (if poss) so the devs can see what the error is :)

Dreassica
23rd December 2006, 11:48
The last 3 files in autoupdate feature, ie. STx264 etc never update for me, any solution for it?

AMED
23rd December 2006, 11:53
The last 3 files in autoupdate feature, ie. STx264 etc never update for me, any solution for it?

does it appear to freeze? when ever i try to update it, the window that you highlight the profiles you want to import gets put behind the update window so you can't see it, after a quick ALT+TAB all is good.

Dreassica
23rd December 2006, 12:09
Nope, it gets stuck on first update and doesn't finish, i can disable updating of stx264, but then the next in the list, Txvid does same thing.

AMED
23rd December 2006, 12:30
i'm pretty sure the window is opening in the background for you, did you try alt+tab ?

Dreassica
23rd December 2006, 12:33
What window? The autoupdate one? Because that one IS open, it updates normal files fine, like teh core and x264 files, just the last 3 in the list STx264, TYxvid and STaudio never do. I see there's no existing version available on my computer, maybe that;s cuasing this?

AMED
23rd December 2006, 13:00
when you use the megui update and it gets stuck at updating STx264,

http://img208.imageshack.us/img208/6761/updatedk2.png
(see the RED bit in the screenshot above, that is the profile importer window opening behind the megui autoupdate window)

Use alt+tab to scroll through your open windows, look for profile importer.

http://img220.imageshack.us/img220/3311/profileia3.png

the window for the profile importer is about the same size as the MeGUI update window, so it easily hides behind.

martino
23rd December 2006, 14:07
When I'm using one of the profiles for x264, and decide to change the bitrate and click OK it asks me whether I want to update the profile. When I click "no", does it save the bitrate that I specified or the one that is written in the profile for the current job?

weaver4
23rd December 2006, 20:43
I get his error when I click on the One-Click-Profile Config button when I am in the One-Click-Profile dialog box.

http://img315.imageshack.us/img315/300/errorri0.jpg

bananacreamandpeca
24th December 2006, 01:39
How do you encode a DVD-rip (ISO-file mounted on a virtual drive on yopur PC) with Megui for both video AND audio ?

DGIndex persists on demuxing the audio to the same place where your source VOB's are (?)
(wich in this case is a mounted drive, so there really is no space for demuxed audio-files)

In Megui/D2V creator I can create the DGIndex file on a different location other than it's default (default=same dir where the VOB's are)
But DGIndex does not create the Demuxed audio files to this same altered location as where the DGIndex file is alternatively created. Why not????

DGIndex also doesnt have any option to Demux audio only to a different location.

Why the hell not???

What Must I do to demux the audio?
I have no space left to recopy all the VOBs (from ISOfile) to my HD.

I hate BeSweet, cuz I dont understand all these stupid options to volum all chanels,
and it does not give the option to 'Plein' Demux AC3 without recomrpessing to some other format.

And the way Megui indexed the VOB's during D2V creation, there are some 'Menu-screens' in the
resulting video (beginning) wich will lead to audio-desync.

cc979
24th December 2006, 04:00
How do you encode a DVD-rip (ISO-file mounted on a virtual drive on yopur PC) with Megui for both video AND audio ?

DGIndex persists on demuxing the audio to the same place where your source VOB's are (?)
(wich in this case is a mounted drive, so there really is no space for demuxed audio-files)

In Megui/D2V creator I can create the DGIndex file on a different location other than it's default (default=same dir where the VOB's are)
But DGIndex does not create the Demuxed audio files to this same altered location as where the DGIndex file is alternatively created. Why not????

DGIndex also doesnt have any option to Demux audio only to a different location.

Why the hell not???

What Must I do to demux the audio?
I have no space left to recopy all the VOBs (from ISOfile) to my HD.

I hate BeSweet, cuz I dont understand all these stupid options to volum all chanels,
and it does not give the option to 'Plein' Demux AC3 without recomrpessing to some other format.

And the way Megui indexed the VOB's during D2V creation, there are some 'Menu-screens' in the
resulting video (beginning) wich will lead to audio-desync.

i just save project to another folder and it works ok

mch
24th December 2006, 06:40
I'm getting an "Error opening input file extra\eqm_v3ulr_rev3.xcm" error and I've tried extracting the files in the XviD does not encode wiki article. I've tried going into Xvid configuration and manually pointing out this file with full directory structure. It is there, and yet for some reason I continue to get this error.

I had no problems until I upgraded MeGUI a week or so ago through autoupdate. I don't know what to do :(

bananacreamandpeca
24th December 2006, 06:50
i just save project to another folder and it works ok

Ok. thanks.

When I choose to encode the audio with "upmix 2.0 to 5.1 (super-EQ)" (AAC.MP4)
It will qeue 2 jobs outputting the same filename.
Why does megui do this?
Is this some sort of 1st pass/2nd-pass thingy for audio?

cc979
24th December 2006, 14:26
Ok. thanks.

When I choose to encode the audio with "upmix 2.0 to 5.1 (super-EQ)" (AAC.MP4)
It will qeue 2 jobs outputting the same filename.
Why does megui do this?
Is this some sort of 1st pass/2nd-pass thingy for audio?

as far as i know audio is aways single pass, just tried 2 to 5.1 upmix it is only single - maybe a bug

the steps i did
open dgindex - select mpg/vob - select demux all tracks
open megui - open avs script creator - autocrop, anaylze for interlace, resize and save script - then select faac for audio, config for supereq 2 to 5.1
then autoencode

single pass for audio, 2 pass for xvid, and single pass for mux

Sharktooth
24th December 2006, 14:29
When I'm using one of the profiles for x264, and decide to change the bitrate and click OK it asks me whether I want to update the profile. When I click "no", does it save the bitrate that I specified or the one that is written in the profile for the current job?
No. You MUST update the profile to save the settings.

Sharktooth
24th December 2006, 14:31
I get his error when I click on the One-Click-Profile Config button when I am in the One-Click-Profile dialog box.

http://img315.imageshack.us/img315/300/errorri0.jpg

http://forum.doom9.org/showthread.php?p=920784#post920784
Next time :search:

Sharktooth
24th December 2006, 14:32
I'm getting an "Error opening input file extra\eqm_v3ulr_rev3.xcm" error and I've tried extracting the files in the XviD does not encode wiki article. I've tried going into Xvid configuration and manually pointing out this file with full directory structure. It is there, and yet for some reason I continue to get this error.

I had no problems until I upgraded MeGUI a week or so ago through autoupdate. I don't know what to do :(
You MUST update the profile to save the settings...

martino
24th December 2006, 15:23
No. You MUST update the profile to save the settings.
No offence, but this is actually quite crap. What if I don't want to update that profile, will I have to keep creating a new profile for each different bitrate that I'll be using...

Carpo
26th December 2006, 00:51
dont know if this is a bug or added feature so thought i would post here about it - it seems when i have updated to later versions (started around 1015 - poss) when i press queue analysis pass it never shows up as a job in the queue - is this deliberate? or just an issue im having ?

Carpo
26th December 2006, 00:58
when doing CGI films - for example final fantasy advent children - should source is anime be checked or unchecked ? ye i know its not anime per se but it is a type of animation

anyone? i have a few to do and dont wanna waste time selecting anime box, if you treat CGI the same way you would do any other film

check
26th December 2006, 03:10
@carpo, the answer is: it depends :)

Carpo
26th December 2006, 10:49
not the answer i was hoping for :p

ukb008
26th December 2006, 15:20
On trying to open my d2v in the AviSynth Script Creator, I get this error:

AviSynth script error:
Script error: there is no function named "DGDecode_Mpeg2Source"

The log, of course, is silent about the cause. What could it be? I apologize if I should have provided more info, but the thing is I was using AGK so far, but decided to try out meGUI for it's obvious advanced features, and I am yet to know it well.

Regards.

Carpo
26th December 2006, 16:42
think this is related to one of the filters in the avisynth dir - i had something like this before - think it was when i updated the decomb dll to latest version, changing it back to 5.21 sorted it

foxyshadis
30th December 2006, 06:24
when doing CGI films - for example final fantasy advent children - should source is anime be checked or unchecked ? ye i know its not anime per se but it is a type of animation

"source is anime" is a misnomer - it should be "source is cartoon" but I suppose some anime junkies get in a real snit about that. Its only purpose is to better handle decimation for duplicate frames in 12fps animation. Most CGI, like FF:AC, is rendered at full 24fps so it doesn't apply.

(Now that more anime is pure cel-shaded CGI, it's less applicable to current anime series that have fewer duplicates, as well.)

ukb008
1st January 2007, 14:55
My error-message:

AviSynth script error:
Script error: there is no function named "DGDecode_Mpeg2Source"

Carpo's observation:

think this is related to one of the filters in the avisynth dir - i had something like this before - think it was when i updated the decomb dll to latest version, changing it back to 5.21 sorted it

MeGUI has provisions of AutoUpdate. Should auto-updating solve the problem some time along the way?

Regards.

Carpo
1st January 2007, 15:22
post removed due to non reading of post proprly :p

Henrikx
1st January 2007, 15:55
HAPPY NEW YEAR 2007 !!

I create a mkv/XVID_encraw-File with MeGUI.
Profile : 90 % fast
All Players can play back the film !
But to extract with MKXExtract is not possible ? Why ?
Haali and FFdshow are installed.

Picture:
http://img235.imageshack.us/img235/9469/mkvmergews1.th.png (http://img235.imageshack.us/my.php?image=mkvmergews1.png)

Carpo
7th January 2007, 11:55
ok i have spent a little time seraching but i cant find how to do a comp check with Enc (as it alwys gives me wrong value) and i have done a few encodes based on its result which always look rubbish ( yes i did read the docs that came with it) and i dont know the commands to do it with xvid_encraw, i have done the -h switch and read the commmands but i dont know what values to enter, so is there anyone who can help me come up with a generic cmd line to do a comp test, or should i just let GK's comp test results guide me ?

thanks

martino
8th January 2007, 19:33
A little annoying problem here...

AVS
DirectShowSource("Y:\clip.avi",fps=23.9759856527702,audio=false)
ConvertToYV12()

Error:
Looking for job processor for job...
Processor found!
Starting job job1-1 at 18:30:33
Starting preprocessing of job...
Preprocessing finished!
encoder commandline:
"C:\Documents and Settings\Martin\Desktop\tempa.avs" -ovc lavc -o NUL: -passlogfile "C:\Documents and Settings\Martin\Desktop\tempa.stats" -lavcopts vpass=1:vbitrate=800:vqdiff=2:vqblur=0:vqcomp=0
successfully started encoding
Processing ended at 18:30:34
----------------------------------------------------------------------------------------------------------

Log for job job1-1


----------------------------------------------------------------------------------------------------------
The current job contains errors. Skipping chained jobs

Settings: LMP4 to AVI, Automatic 2 pass default settings.
Avisynth 2.5.7; MeGUI 0.2.4.1026

==================

And using xvid, the same AVS file:
Looking for job processor for job...
Processor found!
Starting job job1-1 at 18:35:46
Starting preprocessing of job...
Preprocessing finished!
encoder commandline:
-i "C:\Documents and Settings\Martin\Desktop\tempa.avs" -pass1 "C:\Documents and Settings\Martin\Desktop\tempa.stats" -bitrate 700 -kboost 100 -chigh 30 -clow 15 -overhead 0 -nopacked -qmatrix "extra\eqm_v3ulr_rev3.xcm" -closed_gop -lumimasking -imin 3 -imax 5 -pmin 3 -pmax 5 -max_bframes 2 -bvhq -bquant_ratio 162 -bquant_offset 0 -bmin 3 -bmax 5 -threads 1
successfully started encoding
Processing ended at 18:35:47
----------------------------------------------------------------------------------------------------------

Log for job job1-1

xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003

Error opening input file extra\eqm_v3ulr_rev3.xcm

----------------------------------------------------------------------------------------------------------
The current job contains errors. Skipping chained jobs


Thanks.

Carpo
8th January 2007, 20:09
Error opening input file extra\eqm_v3ulr_rev3.xcm

you need to update the profile to point to that file

example

C:\Program Files\megui\tools\xvid_encraw\extra

martino
8th January 2007, 20:23
Error opening input file extra\eqm_v3ulr_rev3.xcm

you need to update the profile to point to that file

example

C:\Program Files\megui\tools\xvid_encraw\extra
Thank you!

And where does megui point as default to this file, because I don't want to change my every profile to that location?

check
8th January 2007, 22:36
in the directory he specified (megui\tools\xvid_encraw\extra)

Carpo
9th January 2007, 21:13
i have noticed in some of the profiles for xvid that the max b-frames option is set to 2 - yet in 90% profile its set as 1 is there a difference between the settings?

also when doing a comp test with enc it says to set the b-frames to 1 - but how do you tell if your film has b-frames and wether you should set the max b-frames to 1 or 2 ?

is there an easier way to do a comp test if so could someone advise me in this matter

thanks

vanger
10th January 2007, 06:39
I'm using 0.2.4.1020. Why I head to make different profiles for the same settings with different bitrate?
I want to encode several clips with different bitrate, others setting are the same.

Carpo
11th January 2007, 18:04
i have recently started to do a few encodes of my dvds again - after accidently delting a few in a clear out, all are fine apart from the one i did of final fantasy advent children, when using megui to do this film in places with a lot of movent or action the picture stutters and jerks.

I have done this film before using GK (i klnow they are two differnet programs) and it goes ok - i wouldnt say great as there is a bit of stuttering there too, i have also noticed this on some anime i have done - is this a known issue that i will have to leave with as all anime do this or could it be something somewhere else.

fresh install of megui - updated to 1026 - avisynth 2.5.6a - 90% profile

LOG:

Looking for job processor for job...
Processor found!
Starting job job1-1 at 19:12:46
Starting preprocessing of job...
Preprocessing finished!
encoder commandline:
-i "E:\dvd-work\ff7ac\ffac.avs" -pass1 "E:\dvd-work\ff7ac\ffac.stats" -bitrate 1704 -kboost 100 -ostrength 0 -overhead 0 -turbo -nopacked -quality 4 -vhqmode 3 -qpel -qmatrix "C:\Program Files\megui\extra\Didees SixOfNine.cqm" -closed_gop -imax 3 -pmax 4 -max_bframes 1 -bvhq -bquant_ratio 100 -bmax 4 -threads 2
successfully started encoding
Processing ended at 03:57:36
----------------------------------------------------------------------------------------------------------

Log for job job1-1

xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003

Trying to retrieve width and height from input header
Input colorspace is YV12
xvidcore build version: xvid-1.2.0-dev
Bitstream version: 1.2.-127
Detected CPU flags: ASM MMX MMXEXT SSE SSE2 TSC
Detected 2 cpus, using 2 threads.

Tot: enctime(ms) =2358796.00, length(bytes) = -1932955402
Avg: enctime(ms) = 17.37, fps = 57.58, length(bytes) = -14231
I frames: 3218 frames, size = 40823/131370841, quants = 2 / 2.00 / 2
P frames: 74354 frames, size = 24162/1796561397, quants = 2 / 2.00 / 2
B frames: 58213 frames, size = 7456/434079378, quants = 3 / 3.00 / 3
N frames: 35 frames, size = 7/ 278

----------------------------------------------------------------------------------------------------------
Starting postprocessing of job...
Job completed successfully and deletion of intermediate files is activated
Postprocessing finished!
Looking for job processor for job...
Processor found!
Starting job job1-2 at 03:57:37
Starting preprocessing of job...
Preprocessing finished!
encoder commandline:
-i "E:\dvd-work\ff7ac\ffac.avs" -pass2 "E:\dvd-work\ff7ac\ffac.stats" -bitrate 1704 -kboost 100 -ostrength 0 -overhead 0 -nopacked -quality 4 -vhqmode 3 -qpel -qmatrix "C:\Program Files\megui\extra\Didees SixOfNine.cqm" -closed_gop -imax 3 -pmax 4 -max_bframes 1 -bvhq -bquant_ratio 100 -bmax 4 -threads 2 -avi "E:\dvd-work\ff7ac\ffac.avi"
successfully started encoding
Processing ended at 15:09:29
----------------------------------------------------------------------------------------------------------

Log for job job1-2

xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003

Trying to retrieve width and height from input header
Input colorspace is YV12
xvidcore build version: xvid-1.2.0-dev
Bitstream version: 1.2.-127
Detected CPU flags: ASM MMX MMXEXT SSE SSE2 TSC
Detected 2 cpus, using 2 threads.

Tot: enctime(ms) =11880335.00, length(bytes) = 1156538656
Avg: enctime(ms) = 87.47, fps = 11.43, length(bytes) = 8515
I frames: 3218 frames, size = 40280/129624042, quants = 2 / 2.00 / 2
P frames: 74355 frames, size = 10795/802709246, quants = 2 / 3.55 / 4
B frames: 58223 frames, size = 3850/224205176, quants = 3 / 4.33 / 5
N frames: 24 frames, size = 8/ 192
desired video bitrate of this job: 1704 kbit/s - obtained video bitrate (approximate): 1707 kbit/s
----------------------------------------------------------------------------------------------------------
Starting postprocessing of job...
Job completed successfully and deletion of intermediate files is activated
Found intermediate output file 'E:\dvd-work\ff7ac\ffac.stats', deleting...
Deletion succeeded.Postprocessing finished!

i have done the same film using newest version of titvc (RC11) and newest version of xvid_enraw - in both avi/ac3 and mkv/ac3 and both give the stutter

edit: didnt know where else to post this bit so thought i would tag it on here - i have heard ppl say never to use codec packs yet in a few replys to various issues i have seen ppl suggest using the CCCP codec pack - has anyone tried this ? does it solve issues or cause more ?

check
11th January 2007, 22:51
Are you sure the source is a film source? FF:AC was more or less made for TV, so it might have been made to run at 29.97i instead. Another possibility is that your CPU is choking when decoding high bitrate scenes.

ps, I recommend the CCCP codec pack because I'm involved in troubleshooting errors for it. It's stable, the only help we need to give these days is how to fix problems caused by Nero, harddisk corruption or some other evil.

Carpo
12th January 2007, 18:27
its deff from a dvd9 im looking at the case now :) - megui says that it needs to itvc with edi

well heres the avs file

DGDecode_mpeg2source("E:\dvd-work\ff7ac\ffac.d2v")
edeintted = last.AssumeTFF().SeparateFields().SelectEven().EEDI2(field=-1)
TDeint(order=1,edeint=edeintted)
#crop
LanczosResize(640,352) # Lanczos (Sharp)
#denoise

and here is part of the d2v (guessing i dont need to post the middle bit :) )

DGIndexProjectFile13
6
F:\DVD-TOOLS-AND-ISOS\DVD-IN\Main\Convert.To.XviD\ff7ac\VTS_02_PGC_01_1.VOB
F:\DVD-TOOLS-AND-ISOS\DVD-IN\Main\Convert.To.XviD\ff7ac\VTS_02_PGC_01_2.VOB
F:\DVD-TOOLS-AND-ISOS\DVD-IN\Main\Convert.To.XviD\ff7ac\VTS_02_PGC_01_3.VOB
F:\DVD-TOOLS-AND-ISOS\DVD-IN\Main\Convert.To.XviD\ff7ac\VTS_02_PGC_01_4.VOB
F:\DVD-TOOLS-AND-ISOS\DVD-IN\Main\Convert.To.XviD\ff7ac\VTS_02_PGC_01_5.VOB
F:\DVD-TOOLS-AND-ISOS\DVD-IN\Main\Convert.To.XviD\ff7ac\VTS_02_PGC_01_6.VOB

Stream_Type=1
MPEG_Type=2
iDCT_Algorithm=6
YUVRGB_Scale=1
Luminance_Filter=0,0
Clipping=0,0,0,0
Aspect_Ratio=16:9
Picture_Size=720x576
Field_Operation=0
Frame_Rate=25000 (25/1)
Location=0,0,5,1529A

FINISHED 100.00% VIDEO

as i have said GK does it ok (ish) and i know they are 2 diff progs so should really compare them

might give that codec pack a go (although you would be biassed :p ) does it work ok with ffdshow or do i need to uninstall that too ?

B. W.
13th January 2007, 03:22
Is there any way to convert an Xvid file (specifically, one using the MKV container) to MP4 with MeGUI?

check
13th January 2007, 07:24
you mean just remuxing? The easiest way to do so would be to extract the xvid stream with mkvextract and then remux with mp4box. There are seperate GUIs available for that.

If you want to re-encode, just load it via an avisynth script:
directshowsource("path\to\file.mkv")

Carpo
13th January 2007, 12:10
i have noticed that in all the profiles for xvid packed bitstream is never ticked, would any issues appear if this was ticked to on ? or is it a case of if it isnt ticked in default settings there is no need for it to be used ?

B. W.
13th January 2007, 17:11
If you want to re-encode, just load it via an avisynth script:
directshowsource("path\to\file.mkv")
I need to re-encode the files to MP4/H.264. When I load the files in the AviSynth script creator, I get an error that says "Unable to render the file. You probably don't have the correct filters installed."

I have ffdshow with the Xvid and Vorbris decoders enabled, and I tried installed the Xvid codec.

check
13th January 2007, 17:22
can you paly the file in a media player? if not you're missing some playback component. My suggestion: Install CCCP. Follow the link in my sig and the instructions on the frnot page of the wiki.

B. W.
13th January 2007, 19:14
can you paly the file in a media player?
Yes I can. I don't like installing codec packages, but I suppose I'll have to make an exception.

check
14th January 2007, 03:50
oh, if you would prefer not to install a codec pack, you will just need to install:
- an .mkv splitter
- a h264 decoder
- possibly an audio decoder
CCCP uses haali's, ffdshow and ffdshow resppectively, so you can install them yourself if you want.

AmazingRando
14th January 2007, 17:29
Has anyone had problems with nero aacenc (or sse2) taking 24-30 hours to encode an audio stream? I have the newest megui and nero aacenc on two different machines, both xp sp2, both dual core (one 950, one yonah 2.16). A stream on the d950 box takes like 5 mins. But the same file on the other machine takes like 24+ hours. Any ideas?

B. W.
14th January 2007, 21:50
oh, if you would prefer not to install a codec pack, you will just need to install:
- an .mkv splitter
- a h264 decoder
- possibly an audio decoder
CCCP uses haali's, ffdshow and ffdshow resppectively, so you can install them yourself if you want.
I have it working, but is there any way to encode the files using the One Click Encoder?

Selur
18th January 2007, 12:19
got some questions: :)

1. Are there any plans for profile@level support for Xvid in megui like it is present in the vfw xvid interface?
2. does someone have some megui profiles for Xvid similar to the profiles in the vfw interface of xvid?

Cu Selur

bananacreamandpeca
20th January 2007, 18:49
Hi, None of you have any faint ideas to what might be
causing My megui (latest version)
to stop encoding halfway?

It gives an error over and over,
and the error doesnt says anyhting much than that.
No commandline option for x264 wich could rule out what might be causing this?

I tried re-installing megui-> doesnt help
other sources -> doesnt help.
plein avs generated by Megui no extra tweaks or dll's -> doesnt help.

The problem is sudden, and I encoded a 2GB DV to x264 last week no problem.
In meantime I never updated megui. What could be it?

theReal
20th January 2007, 20:18
My MeGUI core won't update anymore.
I'm on core version 2.3.2192 and the auto-update says it can update to 2.4.1026. It downloads the file, it prompts me to restart, I click "yes", it restarts and is still version 2.3.2192, telling me that "there are updates available".

I have repeated this more than 5 times now, 2 times with administrator rights - it just won't update the core...

kurt
20th January 2007, 20:20
maybe try the version from http://x264.nl/ to update ...

check
21st January 2007, 05:52
@selur: there are some xvid profiles in the autoupdate repository, however none are created according to profile@level. If you decided not to install them before the easiest way to get them now is to reinstall megui and update everything.

FAII
21st January 2007, 15:00
Everytime I tell AviSynth Script Creator to open a file, MeGUI freezes

Selur
21st January 2007, 17:28
@check: I did install all the profiles provided but like you mentioned they do not use the profile@level restrictions ;)

jay_jay
27th January 2007, 19:22
can u say from where will i get this neroAacEnc.exe.does a dll file is needed with it.

SnapCount
29th January 2007, 01:25
Hi guys, just wondering if anyone can help me. My PC had a meltdown and had to reinstall windows.

Found the Megui .26 installer on my other hard drive, and it installed without problems, but when i go to auto update, the majority of the files update but only a select few cant for some reason:confused:

Look at the screen shot below:

http://img293.imageshack.us/img293/493/meguitroublenc6.jpg

This also happens when i installed it onto my laptop.

Does anyone know how to fix this or am i the only one to be getting this?

SnapCount
29th January 2007, 03:41
Not to worry anymore. It turns out i didn't install Avisynth which caused the errors:eek:

Henrikx
2nd February 2007, 14:06
For the German MeGui Wiki :
Somebody can explain to me in simple sentences and words what this is!
Inter luma quanitization deadzone
http://gleitz.info/wiki/index.php/MeGUI_Referenz/Codec_Configuration-x264-Advanced#Advanced

check
2nd February 2007, 14:43
henrik: http://forum.doom9.org/showthread.php?t=116612
Google also finds some info: http://google.com.au/search?q=x264+deadzone

Henrikx
2nd February 2007, 15:01
@check
Thank you !
Inter luma quanitization deadzone....It gives perhaps a MeGUI developer with a black helmet ,breath difficulties and speaks often of the power...? :)

check
3rd February 2007, 03:50
sorry, whatever cultural reference that was, it went right over my head (hitler?) :P.

Henrikx
3rd February 2007, 10:25
Darth Vader !

oLex
4th February 2007, 08:44
edited in main window video output file name don't save into queue. it's only do with save-dialog window.

Sharktooth
5th February 2007, 14:50
use the bugtracker on sourceforge to report bugs or they will easily getting ignored...

Selur
6th February 2007, 12:01
last updated seems to have screwed up the muxer, when creating mp4 (avc/aac) with auto encode creates a broken file. Manual muxing works fine.

---> Soooory, my fault, seems like an Nero Update was the cause. ;)

Ð.Sp!dér
6th February 2007, 14:14
I seem to be having difficulties reaching a certain filesize. I'm using the Bitrate Calculator and I'm trying to reach 85.5 MB (1GB = 1024MB)...

The .mkv muxing was about 7.5 KB larger then the actual 'unmuxed' files. Is the MP4 container larger then the MKV ?

It's true that I'm using ~400 kbps for the video and 48 for the audio, but still... I am using Auto 2nd pass.
Are there any particular settings in order to achieve this filesize ?

Sharktooth
6th February 2007, 14:25
every container has an overhead...

Ð.Sp!dér
6th February 2007, 14:51
I know... But isn't it the same in every case ? Or does it vary from source to source ?
Does it depend on the a/v length ?

I just need to reach 85.5 MB :)

http://img206.imageshack.us/img206/9484/untitledxf1.png

Could you please tell me how much do I need to divide from the total filesize in order to reach 87604 KB ?
Meaning 85.55 MB...

Sharktooth
6th February 2007, 15:06
overhead depends on the container. each megui container supported by megui has a different overhead depending on which streams were put in.
however why you need exactly 85.5MB?

Ð.Sp!dér
6th February 2007, 15:15
why you need exactly 85.5MB?

You're not the first to ask me that. It just looks cool on other p2p networks. :P

Do I need to encode in 3rd passes ? I hear it does wonders for low bitrate content...

check
6th February 2007, 15:38
3 passes are usually uneccessary.
Back on the original topic, within 7kbit is about as close as you will get. You could marginally reduce the bitrate, but chances are you will end up undersized.

Also, please take care of the rules, in particuler #6

Ð.Sp!dér
6th February 2007, 16:02
It's not illegal. Why do people always assume everything on DC++ is illegal ? :| The source is a free fansub (unlicensed at the moment), partially 'trimmed' in VirtualDub of credits, and I'm just looking to reduce the filesize to 85.5 MB because of limited HDD resouces.

Am I doing something wrong ?

It seems I encoded the audio in MP4 format. So the header for .mp4 is... I donno. Mabey that's why I keep getting smaller filesizes when I mux them to MKV ! The Bitrate Calculator says it's fine. But it really isn't. I keep getting 85.4 MB, 85.6 MB even 85.8 !

But it does seem to be closer to 85.4 MB. So mabey I should stick to this filesize. 3/5 encodes resulted in 85.4 so that's pretty good... I guess...

check
6th February 2007, 16:13
sorry, fansubs are illegal. Here's my post from a while ago: http://forum.doom9.org/showthread.php?p=887640&highlight=anime#post887640

Ð.Sp!dér
6th February 2007, 16:31
Haven't you ever heard of "promotional purposes" ? You advertise. Why do you think so many fansubbers ...sub ? To help the industry and get more and more fans. They do it for free, and for the fans ("fansubs" ;)), then if it gets licensed, they stop. Sure, not all of them, but that's not the point. Those that don't stop, urge you to go buy the DVDs and such.

Personaly, I don't encode entire series. I don't have the CPU power for such encodes. I just encode like 5 to 10 episodes so I won't be pressed by HDD space. I'm not that much anime fan. I'm more 'old fashioned' ... drawn to cartoon-style. :)

You're not helping me at all... One offtopic after another. I just need to reach 85.5 MB per file for 7 files.
(A total of 600 MB).

Xodarap
8th February 2007, 07:13
I'm having a problem with MeGUI crashing when I'm encoding movies.

I encoded Lilo and Stitch and Finding Nemo with no problems using the One Click Encoder, but any other movie I try causes MeGUI to crash, giving me an option to report the error to Microsoft. I can see the error report, but there's no way for me to copy it and post it here.

It seems to crash after the D2V file is created, but there's nothing in the Log tab either.

I've been searching and searching and I've found several of these reports similar to my own problem, but I haven't found any answers to them.

Here's a copy-and-paste from my out-of-thread (sorry) post made earlier today:

"I've tried using megui's one-click encoding feature a hundred times in a hundred ways; uninstalling/reinstalling; etc. Unfortunately, every time, the program crashes after the indexing phase (after DGIndex closes). I'm using very simple profiles and I'm not changing any settings on anything, going straight from a fresh VOB from DVD Decrypter (I've tried several different DVDs).
I'm using Windows XP Pro SP2, newest .NET framework, autoupdated MeGUI tools.
MeGUI works just fine from an avs file; it's just the one-click that's giving me hell. I've tried changing all kinds of audio encoding options (under the assumption that that's the phase it's crashing on initiating), from NDAAC to LAME, including not even touching that drop-down menu."

I'm sorry that I know nothing about debugging. I get no error message from MeGUI, and when I restart it, there are no logs and the job queue is back to where it was before I ever started (jobs are there as though unprocessed). But there IS an outputted .d2v and an .ac3 that both appear functional, so I really doubt it's DGIndex that's crashing it. In fact, DGIndex is closed when it crashes. Right after DGIndex closes, the program freezes (unresponsive, and the window won't draw), hangs for about 30 seconds, and then windows forces it closed due to a crash. I never see it cue any other program.
This happens with any VOBs I feed it and I've tried about a dozen. The same VOBs work fine with AGK (from the IFO).

check
8th February 2007, 10:02
Yes, a lot of people are reporting problems with the 1CE. If you can post exactly what steps you take in the sourceforge tracker, and as much extra info about the problem as you can (you've pretty much done it here, just move the list of stuff you do into a numbered list for better readability).

uciekamy
8th February 2007, 11:09
Just a question i haven't found the answer here:

There are "pause" and "stop" buttons in jobs window and i'm curious if it's possible to stop or pause encoding passes and turn it on later? I would realy need this, cause i use x264 HQ-Insane profile, and it takes much time to finish job while i'm not always able to finish it be4 i have to turn my PC off.. At the moment it seems not working, but will it work in the future? Thx in advance..

check
8th February 2007, 12:15
no, you cannot interrupt an encoding job sorry. If you are pressed for time, use a faster profile, the quality loss won't be so bad :)

Doom9
8th February 2007, 12:26
At the moment it seems not working, but will it work in the future?No it won't.. such a feature (which by the way only works for encoders that support resuming.. most of the encoders megui support can't do it, afaik x264 is the only one) is so far beyond the line of reasonable features that the line cannot be seen. If you have the PC in your bedroom, sleep in another room if the PC needs to run through the night, or drink one or two beers before going to bed and you'll sleep through the noise (I've personally tested it and can vouch that it works just fine).

uciekamy
8th February 2007, 12:42
Hehe.. OK then.. I thought so, but wanted to make myself sure about that.. Thanks guys.. Idea with drinking should work for me :D

Sharktooth
8th February 2007, 14:10
I use wishky in place of beer... it works even better :)

Xodarap
8th February 2007, 18:30
Yes, a lot of people are reporting problems with the 1CE. If you can post exactly what steps you take in the sourceforge tracker, and as much extra info about the problem as you can (you've pretty much done it here, just move the list of stuff you do into a numbered list for better readability).

Sorry about the readability; I was quite sleep-deprived at the time. ;)

As far as the exact steps I take, I'm not sure a particular list would work, since I've tried it so many different ways. I've read the guides and I'm decently computer-savvy. Every VOB (or set thereof) and every combination, method, whatever, all leads to exactly the same problem: a hang and crash right after (successful) indexing when using 1CE. I've never gotten past that phase.

To give a general idea, though, I can try.

First, I regularly uninstall and reinstall MeGUI. Then I allow it to autoupdate. I've also tried uninstalling and reinstalling .NET framework at this time.

Then, I use DVD decrypter to rip a DVD into VOBs. (I've tested these and they work fine with AGK or anything else.)

Then I start MeGUI from a shortcut I have on my desktop.

I've tried messing with settings, but at this time, I'll just start 1CE from a fresh install.

In the input/output box, I'll put the first VOB in the series of VOBs, and allow the output to be selected automatically. I select the first audio track.

For this, I'll just set the IPOD 5.5G in the one-click profile, only modifying it to output to mp4, if possible, which does indeed take and changes the output file to .mp4. Filesize, in both the one-click profile and the 1CE Target box are set to 1CD. Audio codec I'll set for ND AAC and audio profile to NDAAC-HE-64kbps, though I've tried also setting up LAME for an ABR mp3 encode.

I've tried a dozen different profiles, including making my own. I've also tried different filesizes, audio codecs, etc. I don't touch the AVS profile. Also, though I've been assuming that it's the audio coding phase where the exe is crashing, I've tried "Don't encode audio" and going with a .mkv, and it still crashes at the same point.

I'll save this profile as "Try again" and hit "Go!"

Then, I go to my queue tab, with one job in it. I press "Start" and let it do its thing. I starts DGIndex and successfully completes that phase.

Then the MeGUI window freezes (I can move it, but it won't redraw, and I can't click anything) and hangs for about 30 seconds, after which windows pops up its own error message stating that the program is not responding and must be closed. As far as I can tell, Windows' debug info shows nothing that helps (and is, of course, too long to do anyone any good...).

This time, though this has only happened twice (out of dozens of run-throughs), MeGUI won't even start anymore. It just pops up "MeGUI has encountered a problem and needs to close..." whenever I try. I know from the last time it happened that I will have to uninstall and reinstall MeGUI to get it to startup again.


If you can think of any information that would help, I would be happy to add it.

BTW, I'm using Windows XP Pro SP2, an AMD X2 4200+, and I'm running Webroot's Spy Sweeper and AVG Anti-Virus, both in paid and updated condition. If the devs can't recreate this dilemma (which seems to me likely, since it *always* happens to me), maybe this is an XP Pro (Windows NT base, right?) problem. I only suggest that because I've seen this problem reported by others, and the only one who mentioned an OS had XP Pro.

As for the sourceforge tracker, could you give me a link, and is this write-up good for that purpose?

berrinam
8th February 2007, 23:29
Try with automatic deinterlacing turned off. That's what causes the hang, but not the crash (unless Windows is just butting in).

Xodarap
9th February 2007, 01:14
Try with automatic deinterlacing turned off. That's what causes the hang, but not the crash (unless Windows is just butting in).

ARG and YAY (at the same time)! :thanks: ... I can't believe THAT was the culprit. It must have been the ONLY option I never tried...

Anyways, now I get this:


Error:
MeGUI.AviSynthException: DirectShowSource: Could not open as video or audio.

Video returned: "DirectShowSource: the filter graph manager won't talk to me"

Audio returned: "DirectShowSource: unable to determine the duration of the audio."

at MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
at MeGUI.AviSynthAudioEncoder.encode()


That was on trying to encode mp3 audio through LAME, I think. I tried the AAC and didn't have the nero executable. So now it's a new problem. But yes, windows was "butting in" to the hangup for the automatic deinterlacing. Should I be posting that on a bug report thread?

Oh, and speaking of audio, I read somewhere that iPod 5.5s require special muxing -- could anyone point me to that thread?

check
9th February 2007, 01:38
re: pods. There's a long thread with 'ipod' and '5.5g' somewhere in these forums with the info you need around page 5 (+/- 2)

Xodarap
9th February 2007, 01:45
re: pods. There's a long thread with 'ipod' and '5.5g' somewhere in these forums with the info you need around page 5 (+/- 2)

Cool, thanks! :)

Anyone have a clue about the error? Do I need to download some sort of Directshow AC3 decoder? I tried ffdshow and ac3filter, and I'm about to try Aud-X, but maybe I'm wrong about what the problem is...

EDIT: Aud-X did it! yay! :)

nickolasemp
9th February 2007, 09:46
Greetings everyone.

I have a problem with meGUI. As I know how to do some things and I want to do them my way, I always make my own d2v and I always encode the audio on my own into aac. So no problem there using Belight and DGIndex.

Useful hint: I have formatted my HDD so I recently installed meGUI (from x264.nl) and let the update do its work. Quite bizarre as there were no profiles afterwards and I had to install them manually.

I make my own avs, e.g:
MPEG2Source("C:\temp\....d2v")
Crop(0,126,-0,-126)
BicubicResize(720,288,0,0.5)

I put it in meGUI and then I choose Sharktooth's HQInsane (yes, I am insane with quality) and adjust the bitrate to 886. Once I have done that, I use some zones and then I exit; saving the profile.
My CLI commandline (as shown in meGUI) is this:

--pass 2 --bitrate 886 --stats ".stats" --ref 16 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct auto --filter -2,-1 --subme 7 --trellis 2 --analyse all --8x8dct --vbv-maxrate 25000 --me umh --threads auto --thread-input --zones 139914,147402,b=0.1 --progress --no-dct-decimate --no-psnr --no-ssim --output "C:\temp\....mp4"

When I start the encoding part, the first pass has 3 or 4 fps... Before the format of my HDD I usually had 35fps in the first encoding (As I know it's being done by xvid, no?) So basically this is my problem. That slow first pass encoding. Any thoughts?

check
9th February 2007, 10:17
(As I know it's being done by xvid, no?)

here's your problem. You're encoding with x264, which is NOT xvid :). If you want to use xvid, select 'xvid' from the codecs dropdown.

nickolasemp
9th February 2007, 10:22
I probably didn't make myself understandable. I know that I am encoding with x264... I thought that first pass's results are done with xvid and then the second encode is being done with x264.

This little detail doesn't resolve my problem. I want to encode with x264. What has changed since last time?

check
9th February 2007, 12:05
Unfortunately, you cannot mix and match codecs & passes. If you try, it won't work :)

nickolasemp
9th February 2007, 14:35
ok let's just forget about my comment on the first pass. All I do is put the avs in my meGui, config some zones and the bit rate, then press the enqueue button. Finally I start the encoding. What is the problem there?

Why does the first pass take so long (3-4 fps) when it used to go a lot faster (~25fps and more)..? Is there something I'm doing wrong? Nothing has changed from last time. I just installed the program and had all the updates run (bizarrely there were no profiles after the update so I had to do that manually). So basically everything should go smoothly like before, right?

Xodarap
9th February 2007, 14:54
ok let's just forget about my comment on the first pass. All I do is put the avs in my meGui, config some zones and the bit rate, then press the enqueue button. Finally I start the encoding. What is the problem there?

Why does the first pass take so long (3-4 fps) when it used to go a lot faster (~25fps and more)..? Is there something I'm doing wrong? Nothing has changed from last time. I just installed the program and had all the updates run (bizarrely there were no profiles after the update so I had to do that manually). So basically everything should go smoothly like before, right?

HQ Insane removes the check on the "turbo" box next to the passes dropdown. Recheck it and your speed will return. Of course, expect that 3-4 fps to return for your second pass :)

nickolasemp
9th February 2007, 15:06
SO HQ-Insane profile has changed? I do recall I used the same profile before. I'll take and try your advice this night when I'll be back to my home.

Does this turbo option mean degradation of quality?

Thank you a lot for your help.:)

Xodarap
9th February 2007, 16:06
SO HQ-Insane profile has changed? I do recall I used the same profile before. I'll take and try your advice this night when I'll be back to my home.

Does this turbo option mean degradation of quality?

Thank you a lot for your help.:)

I'm new to H.264, but in XVID it represented a negligible drop in quality. Nothing I could ever tell, and I'm also one of those people that is insane for quality.

Xodarap
9th February 2007, 17:15
Anyways, now I get this:


Error:
MeGUI.AviSynthException: DirectShowSource: Could not open as video or audio.

Video returned: "DirectShowSource: the filter graph manager won't talk to me"

Audio returned: "DirectShowSource: unable to determine the duration of the audio."

at MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
at MeGUI.AviSynthAudioEncoder.encode()



Okay, so I somehow fixed this by downloading and installing Aud-X, but then it started popping back up again. I believe that Aud-X only allowed me to start encoding with FAAC, which is giving me some ugly-sounding results! I switched to LAME (outdated or not, I trust mp3s), but the error popped up again.
I've tried Ac3filter and ffdshow's ac3 filter with no success. Is there a standard decoder that I should be using? Or am I misinterpreting this error?

In fact, now that I think of it, Aud-X may not have solved anything; I may have switched to FAAC at the same time...

EDIT: Other than as a half-assed bug report, I don't really care so much about this anymore; I downloaded Nero Digital and it works just fine. Still, it would be nice to have LAME available.

Xodarap
9th February 2007, 19:13
Is there any way to check the avs being used during 1CE? I input several plugins into the avs profile, but the avs I found in the folder being used shows nothing of them (though it sure seems it's busy using them because the encoding time has jumped).
I also really want to see exactly what the standard avs used by 1CE looks like. I assume it's very simple.

EDIT:

Okay, so I tried it out the hard way: I just waited out the three hours of encoding to see if my avs filters took. They didn't... I believe I inputted them exactly as described in the guide. Here's what I have:

LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec3.dll")
<input>
<deinterlace>
<crop>
levels(0,1.2,255,0,255)
Temporalsoften(4,3,2,mode=2,scenechange=6)
<resize>

Neither the levels nor the temporal soften took place.

The only avs I found in the folder says this:

global MeGUI_darx = 0
global MeGUI_dary = 0
DGDecode_mpeg2source("G:\STNEMESIS\VIDEO_TS\Stnemesis.d2v",info=3)
ColorMatrix(hints=true)
#deinterlace
crop( 0, 56, -2, -62)

LanczosResize(640,272) # Lanczos (Sharp)
#denoise

Xodarap
9th February 2007, 23:59
I'm really sorry if I'm filling up this thread, but I keep running into things...

I've noticed that I can't seem to set a custom setting for filesize in 1CE. It has the "custom" option in the dropdown, and I can type it in, but whenever I leave a window and come back, my 1000000 (1 gig) filesize has changed to the 716200 (or whatever it is) for 1 CD, even though it still says "custom" in the dropdown. I have splitting turned off and the same custom 1000000 set in both the 1CE profile and the 1CE "Basic IO" tab ("Target" section). Either one automatically resets to the 1CD size.

Ð.Sp!dér
10th February 2007, 00:53
Does this turbo option mean degradation of quality?

I would also like to know more about this. :rolleyes:

check
10th February 2007, 01:31
Okay, so I somehow fixed this by downloading and installing Aud-X,
The reason was because you didn't have a decoder for whatever audio format the input source was installed on your system.

I would also like to know more about this. :rolleyes:
There is a quality loss, but it's usually negligible.

Xodarap
10th February 2007, 02:09
The reason was because you didn't have a decoder for whatever audio format the input source was installed on your system.

If that's the case, then why did it only get FAAC working?


There is a quality loss, but it's usually negligible.

Sounds familiar ;)


So anyone have a clue what's up with my attempted AVS profile and why my filters aren't working? Do I have the format wrong?

check
10th February 2007, 08:08
I'm not sure. Can you play the audio file in WiMP?

Nikse555
10th February 2007, 11:55
I have some audio delay problems.

I'm trying to make an x264 encode with org ac3 audio.

The audio is 440ms delayed (value found via Media Player Classic), so I've entered 440 in the delay textbox in the adaptive muxer. It just seems like the value is ignored - what can I be doing wrong?

Xodarap
10th February 2007, 15:35
I'm not sure. Can you play the audio file in WiMP?

I can play the audio file in MPC, which is what I use. Probably anything else. I have ac3 decoding capability through several (only one is enabled) DSS decoders. Even ffdshow has the capability...

I'm now, though, going up the wall with frustration over this stupid avs profile nonsense...

Carpo
10th February 2007, 21:17
ok i have posted about this before but am wondering of anyone else is having the same issue, when doing an encode of a film i know to be 16:9 megui seems to encode it 4:3 (i dont resize) now when i play back the vid (just video no audio at this point) ffdshow tells me that the sar is 1:1 and dar is 5:4 and the video is square :(

if i run it through adaptive or mkv muxer adding the audio the result is still the same 4:3, yet if i run it through mkvtools i can change it to the right 16:9

is this a case of something isnt right in the encoder or is it a setting somewhere else i have over looked, i dont use one click encoding or auto encode

any idears ?

pimpMyHD
11th February 2007, 12:31
x264 [error]: could not open input file '... .avs'

i have this error with all my scripts
i am on vista, administrator account, no uac

I have install megui from zero, and that's the same.

I tested an xvid and that's the same ... ( except that is not an x264 error )

Could someone know what's happen ?

check
11th February 2007, 13:16
can you open the avs files in a media player?

Rash
11th February 2007, 17:13
Guys, I need some help to encode videos for my phone.

What happened to the MP4V fourcc? I believe my cell phone needs this fourcc to play videos. Nero Digital, for instance, makes .mp4 files with this fourcc alright.

I'm using CE-Mainprofile on x264.

Thank you for your help.

Doom9
11th February 2007, 17:53
MP4 files have no FourCC.. that's an AVI thing.

Ð.Sp!dér
11th February 2007, 18:19
Since MeGUI cannot resume encoding in case of a system crash (:() i was wondering if the first pass would still be active.

2 pass 1st pass - Postponed
2 pass 2nd pass - Waiting

If myfile.stats is still present, will it still be used ? I already passed once through the video at a rate of 24 fps so another pass would just take too frikin' long !

C:\Program Files\megui\jobs\job1-2.xml says it's ok. Or is it ?

<FilesToDelete>
<string>D:\MyFolder\myfile.stats</string>

And:

<Logfile>D:\MyFolder\myfile.stats</Logfile>

So wich is it ?

Doom9
11th February 2007, 18:38
Since MeGUI cannot resume encoding in case of a system crashyou have more serious problems than a resume functionality.
If you have the stats file, you can just restart the incomplete job, at least in a two-pass scenario. In three pass it depends which job was aborted.. the second pass will update the stats file so I'm not quite certain you could just resume that (the 3rd pass won't update the stats file so that'll be fine).

Rash
12th February 2007, 03:48
MP4 files have no FourCC.. that's an AVI thing.

Yes, I thought so. I always took mp4 for a modern mpg container. Though why does ffdshow show two different fourccs from two different .mp4 files? Not just that, but the lib used to decode the stream is affected by it.

http://rash.apanela.com/images/fourcc-avc1.png
http://rash.apanela.com/images/fourcc-mp4v.png

Xodarap
12th February 2007, 04:46
To be obsessive, impatient, and probably obnoxious, does anyone know the problem with my avs profile modifications for the 1CE avs profiles (above a few posts, worried about it getting buried)?
Now I do see an avs in my folder that looks like a proper avs with the things I added, but in the end, the filters haven't taken. (I checked by skewing the levels to (0,1.9,255,0,255) which is easy to see).
As soon as I get home, I'll post the exact text of the new avs file that I can see, but like I said, it looks perfectly legitimate, so I have to assume that it's not the one actually being used by MeGUI.

check
12th February 2007, 07:48
it sounds like it could be a bug. try posting a report on the sourceforge bug tracker, along with exact steps you follow, scope of the problem, etc etc etc

Xodarap
12th February 2007, 08:04
it sounds like it could be a bug. try posting a report on the sourceforge bug tracker, along with exact steps you follow, scope of the problem, etc etc etc

Thank you. Will do. :)