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

Carpo
12th August 2010, 18:47
Thanks for that Nurbs, what is a good CQ figure for HD stuff? is the default 20 a good starting point or will it differ from movie to movie

nurbs
12th August 2010, 19:08
Personally I use 20 for SD (from DVD) and 21 for HD (like you I also resize my blu-rays to 720p). You should test it for yourself because it really comes down to personal preference. I basically encoded some samples at different CRF values after I decided on preset (veryslow with AQ mode 2) and tuning (film or animation). Then I decided which value was still acceptable to me and subtracted 1 to be on the safe side.

As a note: None of my 720p encodes which usually include 2 or 3 stereo audio tracks came out larger than 4 GB.

Carpo
12th August 2010, 20:04
Mine are going to come out large as im keeping the DTS which i down graded from DTS-HD, am testing CQ 20 and CQ 21 on avatar , at the moment CQ 20 is saying about 3.4GB so shouldn't be much more than 4GB, will see which i think looks good to my eyes and then let her rip :D

Edit: may have to rethink the DTS - some of the files are near enough the same size as the video :-p

invy
13th August 2010, 06:37
Can someone tell me how to force One-Click encode to use FIELD DEINTERLACE by default instead of YADIF? I'm too stupid for this... thank you.

AMED
13th August 2010, 09:22
1. Click one click encoder
2. Click config on the OneClick profile
3. Click Config on the avisynth profile
4. Overwrite the <deinterlace> line with the deinterlacer you would like you use, once done click new and create a new AviSynth preset. Then click OK
5. Make sure that the AviSynth profile you have just created is selected on the OneClick config dialog window. unselect automatic deinterlacing. configure the video and audio presets as you need. Click new down the bottom and name the OneClick conf then click ok to close the OneClick.
6. Make sure the new OneClick profile to created is selected and start queuing jobs.

Hopefully make sense been drinking and soon to be smoking :)

nurbs
13th August 2010, 12:27
Edit: may have to rethink the DTS - some of the files are near enough the same size as the video :-p
You should think about using AC3 with 448 or 640 kbps. The latter is about the same quality as DTS at 1.5 Mbps and the former is not much worse. AC3 has very good hardware support as well.
With AAC you could use around 320 kbps for good quality, but AAC support for 5.1 tracks is not that good. Some devices downmix it to stereo and most don't support bitstreaming from what I've heard. I only use stereo so AAC is an obvious choice for me.

invy
13th August 2010, 12:39
1. Click one click encoder
2. Click config on the OneClick profile
3. Click Config on the avisynth profile
4. Overwrite the <deinterlace> line with the deinterlacer you would like you use, once done click new and create a new AviSynth preset. Then click OK
5. Make sure that the AviSynth profile you have just created is selected on the OneClick config dialog window. unselect automatic deinterlacing. configure the video and audio presets as you need. Click new down the bottom and name the OneClick conf then click ok to close the OneClick.
6. Make sure the new OneClick profile to created is selected and start queuing jobs.

Hopefully make sense been drinking and soon to be smoking :)

Spank you very much... although I don't exactly understand #4. Am I suppose to put the path to the deinterlacer? Example: LoadPlugin("C:\Path\MeGUI_0.3.5\tools\yadif\yadif.dll") ?

Also, I'm not sure but is the FieldDeinterlacer the decomb.dll one?

Carpo
13th August 2010, 19:02
You should think about using AC3 with 448 or 640 kbps. The latter is about the same quality as DTS at 1.5 Mbps and the former is not much worse. AC3 has very good hardware support as well.
With AAC you could use around 320 kbps for good quality, but AAC support for 5.1 tracks is not that good. Some devices downmix it to stereo and most don't support bitstreaming from what I've heard. I only use stereo so AAC is an obvious choice for me.


I re-encoded the DTS to 768 and its still 800meg+ glad i also ripped the ac3 audio along with the AC3 ;-) even at 448kbps they may be big but not as big as the DTS, so like you say i should go with that

AMED
13th August 2010, 23:28
Spank you very much... although I don't exactly understand #4. Am I suppose to put the path to the deinterlacer? Example: LoadPlugin("C:\Path\MeGUI_0.3.5\tools\yadif\yadif.dll") ?

Also, I'm not sure but is the FieldDeinterlacer the decomb.dll one?yeah you need the LoadPlugin bit and deinterlacers parameters.
eg for loading yadif i would replace <deinterlace> with
Load_Stdcall_Plugin("C:\Program Files (x86)\MeGUI\tools\yadif\yadif.dll")
Yadif(order=1)
or if i wanted to use tdeint is would replace <deinterlace> with
LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\TDeint.dll")
TDeint(order=1)
you can pretty much copy and paste from the AviSynth script creator or you could just create a profile in the avisynth creator save it and use it in step 5.

lubczyk
15th August 2010, 02:08
Is there a way to pause encodes, shut down the computer and continue where one left off later?

This functionality would be really useful for me. When strong thunderstorms come around, I like to turn off and unplug my electronics.

stax76
15th August 2010, 02:48
@lubczyk

Not possible but you could standby/hibernate the OS and use a power strip with surge protection.

mariush
15th August 2010, 02:52
Try installing VirtualBox and run x264 inside the emulated operated system.... I don't know how fast x264 would run but other things run pretty fast on my emulated machine (virtualization capable cpu sure helps)

You can then just suspend the whole virtual machine to disk.

stax76
15th August 2010, 03:03
I'm skeptical but worth a try. :)

Chumbo
17th August 2010, 16:05
I searched the thread for an answer but didn't find one. Basically the encoder is blowing up after it's done which, on multiple passes, never gets to the nth pass. I ran the command line and this is what I got (which explained the error in the log):
http://img210.imageshack.us/img210/2307/win7crash.png (http://img210.imageshack.us/i/win7crash.png/)

I tried setting the executables to run as Administrator and to Win XP Sp3 compatibility mode without success. I also ran the command line as administrator with no success. Any ideas? Thank you.

I'm running Win7 Ultimate 64 bit
Okay, I've gone back and cleaned up my system and even followed the instructions here: http://www.digital-digest.com/articles/MeGUI_H.264_Conversion_Guide_page1.html.

Am still getting this damn message. Can anyone please provide some help on this? I don't know what else to do. Thank you.

Pringles
17th August 2010, 17:36
Is MeGUI able to re encode a mkv x264 file into another one? Because when I'm trying to import my mkv file into the File Indexer, the File Indexer either crashes (dgavcindex.exe is not responding blablabla, when there is audio in the video) or seems idle as it doesn't seem to work on my file. Maybe I'm doing something wrong?

Lighto
17th August 2010, 17:50
Is MeGUI able to re encode a mkv x264 file into another one? Because when I'm trying to import my mkv file into the File Indexer, the File Indexer either crashes (dgavcindex.exe is not responding blablabla, when there is audio in the video) or seems idle as it doesn't seem to work on my file. Maybe I'm doing something wrong?

If you're using 0.3.5.0, use ffmsindex to index the file.
An alternative would be to open the .mkv with avs script creator.

Shevek
17th August 2010, 17:53
If you're using 0.3.5.0, use ffmsindex to index the file.
An alternative would be to open the .mkv with avs script creator.

Or to use the HD Stream Extractor to extract the audio and video to process independently.

Zathor
17th August 2010, 18:36
Okay, I've gone back and cleaned up my system and even followed the instructions here: http://www.digital-digest.com/articles/MeGUI_H.264_Conversion_Guide_page1.html.

Am still getting this damn message. Can anyone please provide some help on this? I don't know what else to do. Thank you.

Which build of MeGUI and which of x264 are you using? If you have updated the x264.exe and x264_64.exe manually you need also to update the other two files (vfw4x264.exe/avs4x264.exe) or it will crash. This package has included the recent x264 builds and the wrapper: http://megui.org/auto/x264-1698-1.zip

As I understand you you have tried to run the command line directly. Are there any errors shown on the command line?

You can try to replace the vfw4x264.exe with avs4x264.exe in your command line. Does it still crash?

Pringles
17th August 2010, 20:24
If you're using 0.3.5.0, use ffmsindex to index the file.
An alternative would be to open the .mkv with avs script creator.

Thanks a lot, it's working http://forum-images.hardware.fr/images/perso/limit.gif

Chumbo
18th August 2010, 01:07
Which build of MeGUI and which of x264 are you using? If you have updated the x264.exe and x264_64.exe manually you need also to update the other two files (vfw4x264.exe/avs4x264.exe) or it will crash. This package has included the recent x264 builds and the wrapper: http://megui.org/auto/x264-1698-1.zip

As I understand you you have tried to run the command line directly. Are there any errors shown on the command line?

You can try to replace the vfw4x264.exe with avs4x264.exe in your command line. Does it still crash?
Thanks Zathor. I'll update all the files and report back.

Yes, the command line works and completes fine with no errors. The executable just crashes and stops working at that point. Whatever this is, it causes the UI to not be able to proceed to pass 2 since the crash causes pass 1 to fail.

[EDIT] Tried the new files but the same thing happened. I've also tried flipping the executables, i.e., switching/replacing them like you suggested with the new files and that didn't work either. I had done the switch thing before too with the older versions with the same results. Sigh...

Any other ideas?

Zathor
18th August 2010, 06:09
Any other ideas?
Replace vfw4x264.exe with x264.exe in your command line so there is no wrapper involved. Does it still crash?

invy
18th August 2010, 07:19
yeah you need the LoadPlugin bit and deinterlacers parameters.
eg for loading yadif i would replace <deinterlace> with
Load_Stdcall_Plugin("C:\Program Files (x86)\MeGUI\tools\yadif\yadif.dll")
Yadif(order=1)
or if i wanted to use tdeint is would replace <deinterlace> with
LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\TDeint.dll")
TDeint(order=1)
you can pretty much copy and paste from the AviSynth script creator or you could just create a profile in the avisynth creator save it and use it in step 5.

Thanks.. it worked. I can't believe it was that easy.

Now, this may seem like an even dumber question - but how does I go about keeping multiple one-click profiles? Every time I change the video bitrate in one profile and update that particular profile, when I switch to another one, the video bitrate carries over, and doesn't keep the previous setting.

Is it unable to save video bitrate? Every other option seems to save though... so maybe not that big of a deal.

Penecho
18th August 2010, 18:13
I have couple of Questions regarding MeGui (xvid encoding):

I cant find the D2V tool under the Tools in Megui, howdo i get it?? (Im still using the Dgindex manually, would be nice to have the CLI in MeGui))

Is it possible when creating the *.avs to see how big the AR error would be after the crop settings i made??


Cu


Penecho

Shevek
18th August 2010, 18:49
I cant find the D2V tool under the Tools in Megui, howdo i get it?? (Im still using the Dgindex manually, would be nice to have the CLI in MeGui))

Tools -> File Indexer

All the indexers are now in 1 dialog which chooses the best one based on the source

Sharktooth
18th August 2010, 19:27
not the best... just the more appropriate one

Chumbo
18th August 2010, 23:54
Replace vfw4x264.exe with x264.exe in your command line so there is no wrapper involved. Does it still crash?
That's actually how I had it initially. Yes it crashes too. :( Are you running Win7 x64 and have no issues?

Sharktooth
19th August 2010, 03:47
Chumbo, can you play the whole .AVS file in your favourite directshow media player?
also, is your CPU overclocked?

Chumbo
19th August 2010, 14:20
Chumbo, can you play the whole .AVS file in your favourite directshow media player?
also, is your CPU overclocked?
I loaded the AVS file into GraphStudio 32 bit and it played fine as well as MPC HC. It does NOT play in GraphStudio 64 nor MPC HC x64 but I figured that since AviSynth is not 64bit.

I'm testing this on my notebook which is running standard "out of the box." It's an i7 processor on an ASUS N71Jq. I do have the same issue on my i7 920 desktop which is overclocked and my HTPC which runs the Core2 Quad 9400 and all on Win7U64.

Sharktooth
19th August 2010, 14:23
you need avisynth64 for x264_64.... that's basic.
a 32 bit program cant "communicate" with a 64 bit one... and vice versa.
so, if you're using MeGUI x64 you need also avisynth 64 and all filters must be 64 bits too... as well as DirectShow decoders (if you're using DirectShowSource() )

Chumbo
20th August 2010, 03:23
you need avisynth64 for x264_64.... that's basic.
a 32 bit program cant "communicate" with a 64 bit one... and vice versa.
so, if you're using MeGUI x64 you need also avisynth 64 and all filters must be 64 bits too... as well as DirectShow decoders (if you're using DirectShowSource() )
Thanks Sharktooth. I swear, that was one of the first things I searched for (as you say, it's basic) and found nothing available. Because of that, I just assumed everyone was still using the old avisynth 32-bit. This is why this has been so frustrating. I just searched on "avisynth64" and found a ton of info. Thanks again.

Sharktooth
20th August 2010, 04:06
you're welcome.

cybersharky
20th August 2010, 13:38
I added this to my avs script:
SetMemoryMax(512)
SetMTMode(2,0)

LoadPlugin("G:\megui\tools\dgavcindex\DGAVCDecode.dll")
AVCSource("E:\bdrip\bdrip.dga")
#deinterlace
crop( 0, 140, 0, -140)

and then started getting:
Problem Event Name: APPCRASH
Application Name: vfw4x264.exe
Application Version: 0.0.0.0
Application Timestamp: 4c3fcd8c
Fault Module Name: libavcodec.dll
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 489a5621
Exception Code: 40000015
Exception Offset: 001678f7
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1033
Additional Information 1: f1ff
Additional Information 2: f1ffe2362c56ca92405b46a8fcdd5fb1
Additional Information 3: 0311
Additional Information 4: 0311363c45a8fe8d7615799959336073

Sharktooth
20th August 2010, 14:20
1st - DGAVCDec is deprecated. Dont use it. Use FFMS2 instead.
2nd - you used SetMTMode for what? remove that.

Chumbo
20th August 2010, 14:43
you're welcome.
By the way, it kept crashing after I set everything up, but then realized I need to rename everything, i.e., copy x264_64.exe and rename the copies to their respective counterparts, i.e., avs4..., vfw4..., etc. Then it worked...finally! :)

cybersharky
20th August 2010, 15:27
1st - DGAVCDec is deprecated. Dont use it. Use FFMS2 instead.
2nd - you used SetMTMode for what? remove that.

Ok I extracted the video to MKV, I used FFMS2 to index it, but now I see blocks in some of the frames.
http://a.imageshack.us/img833/6223/ffms2startrek.jpg

I was testing before I use a script that can take advantage of using MT avisynth.

Sharktooth
20th August 2010, 20:29
uhm. interesting. what version of avisynth are you using?
also, does that happen on that video only?

cybersharky
21st August 2010, 11:41
uhm. interesting. what version of avisynth are you using?
also, does that happen on that video only?

Avisynth Version : 2.5.8.5, but I'm using the MT one.

Great :confused:, Avatar Blu-ray is fine, so it's just Star Trek with block issues.

Edit:
I ripped the Blu-ray again, extracted video to MKV, indexed, and exact same frames are still "blocky"

MadisonRG
21st August 2010, 13:41
Hello everybody.
I have some trouble with my Megui encoder.
When I try to encode a HD content in Progressive mode, the Megui, after about 10 sec of work, is crashed. And I get this message:http://i054.radikal.ru/1008/99/96f7a81cb8aat.jpg (http://radikal.ru/F/i054.radikal.ru/1008/99/96f7a81cb8aa.jpg.html)
This message points at the libavcodec.dll. But I don't know what it does mean.
If HD content is Interlace, that it works fine. But when I do it in the Ripboot that it works fine too. I have Win 7 x32. What can I do with this problem? Sorry for my English and many thanks to you all.

Sharktooth
21st August 2010, 14:45
Avisynth Version : 2.5.8.5, but I'm using the MT one.

Great :confused:, Avatar Blu-ray is fine, so it's just Star Trek with block issues.

Edit:
I ripped the Blu-ray again, extracted video to MKV, indexed, and exact same frames are still "blocky"

what program you use for ripping?

Sharktooth
21st August 2010, 14:49
Hello everybody.
I have some trouble with my Megui encoder.
When I try to encode a HD content in Progressive mode, the Megui, after about 10 sec of work, is crashed. And I get this message:http://i054.radikal.ru/1008/99/96f7a81cb8aat.jpg (http://radikal.ru/F/i054.radikal.ru/1008/99/96f7a81cb8aa.jpg.html)
This message points at the libavcodec.dll. But I don't know what it does mean.
If HD content is Interlace, that it works fine. But when I do it in the Ripboot that it works fine too. I have Win 7 x32. What can I do with this problem? Sorry for my English and many thanks to you all.
that's a x264 crash. what version of megui are you using?

cybersharky
21st August 2010, 14:59
what program you use for ripping?

I used Dvdfab passkey. The extracted MKV file plays perfectly, I played the parts with "blocky" frames in MPC-HC.

Sharktooth
21st August 2010, 15:03
what version of megui are you using?
post your avisynth script too.

MadisonRG
21st August 2010, 15:09
Sharktooth, I am using 0.3.5.0 version.

Sharktooth
21st August 2010, 15:39
please try updating to the dev version (0.3.5.8)

MadisonRG
21st August 2010, 16:55
Sharktooth, thanks for your advise. I updated till 0.3.5.8 but it's not help me. I have to wait of the new versions.

Zathor
21st August 2010, 17:13
Please post your avisynth script. I assume you are using DGAVCDec - is this correct? If yes use the file indexer to create an index with FFMS2 and use this as your avisynth source filter.

Brandoon
21st August 2010, 19:47
I have a .flv music video from youtube that I am trying to replace the audio track and save for an ipod. Is it possible to have audio play in the video preview window so I can adjust the delay of the new audio track I am replacing?

MadisonRG
21st August 2010, 22:27
Zathor, thanks. Yes, I'm really using DGAVDec. I tried FFMS2, but it wasn't help me too. With FFMS2 the megui is crashed when to leave to end about 2 or 3 minutes , and points at the ffms2.dll. Thank you very much indeed for your help.

rtjnyoface
22nd August 2010, 19:23
I don't really understand why dgavcdec is still in megui as it is, as some would say, deprecated. If it's so outdated why is it still an option in megui. Even if we do continue to use it how many issues, really, can there be.

Also, Sharktooth, will you be posting any info regarding megui's quasi legality issue here in this forum? It would sure stink to have to manually update all of megui's components :(. Maybe the option could stay there but only inform you of updates. Of course we could still update those that weren't in any legal gray area ATM.

Edit: How does this affect the "patched" version?? (As if I could tell you the difference lol)

Sharktooth
23rd August 2010, 03:15
rtjnyoface: dgavcdec is still there coz ffms2 indexing does not demux the audio streams. however dgavcdec will be removed at some point.
about the "quasi legality", megui is perfectly legal. some binary packages distributed with the auto-update method are not in some countries. i still have to figure out an optimal solution for that.