Log in

View Full Version : MeGUI: General Questions and Troubleshooting Thread


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 [13] 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186

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?