View Full Version : MeGUI: General Questions and Troubleshooting Thread
Sharktooth
13th September 2010, 14:30
is your system overclocked? if so, remove the overcloking and try again.
nurbs
13th September 2010, 14:49
the system restarts only during this megui process
That's not unusual. There are a couple of posts on the forum where people never run into heat or overclocking stability issues until they encode with x264. It really makes good use of the CPU.
board123
13th September 2010, 18:45
Changing the Psy-RD setting doesn't seem to add the correct switch in the x264 command with certain tuning presets unless Psy-Trellis is also changed from its default value. I've noticed this issue ever since Psy-RD was introduced to MeGUI.
Let's say the command window shows the following for the Slow preset w/ Animation tuning:
program --preset slow --tune animation --crf 20 --output "output" "input"
Changing Psy-RD by itself doesn't add anything to the command. Changing Psy-Trellis by itself also doesn't add anything to the command. The command only changes when both Psy-RD and Psy-Trellis are changed from their default values of 0.40:0.00 to, say, 0.41:0.01.
program --preset slow --tune animation --crf 20 --psy-rd 0.41:0.01 --output "output" "input"
AFAIK, Psy-RD and Psy-Trellis are not tied to each other; you're allowed to adjust the two settings independently. Is this a bug with MeGUI?
swainjena
13th September 2010, 22:15
I hhave never overclocked my cpu...
nurbs
13th September 2010, 22:25
What about cooling? What temperature does the CPU reach during encoding?
swainjena
13th September 2010, 22:31
no overheating problems
swainjena
13th September 2010, 22:31
system always gets restarted towards the end of the x264 process
swainjena
13th September 2010, 22:39
i have even made clean installation of megui and avisynth couple of times
tormento
13th September 2010, 23:01
Checked the video card if you use DGNVTools or GPU intensive filters?
swainjena
13th September 2010, 23:07
the log syas that:
job3: applied bitrate is 21bitspersec but the minimum should be 34bitspersec....but i have applied a video bitrate of 912kbps
Usedocne
13th September 2010, 23:24
system always gets restarted towards the end of the x264 process
Is your HDD partitioned? I use to get BSOD when my HDD was partitioned, while encoding (writing to HDD). Could also be RAM.
swainjena
13th September 2010, 23:27
yes my hdd is partitioned into 5 drives
Usedocne
13th September 2010, 23:36
yes my hdd is partitioned into 5 drives
Any BSOD while doing other tasks involving file read/writes e.g. copying files between partitions, downloading files?
swainjena
13th September 2010, 23:47
This problem of restarting occurs only during the running of x264 process
Usedocne
13th September 2010, 23:55
This problem of restarting occurs only during the running of x264 process
The only thing I can think of doing is, maybe installing an older version of MeGUI and x264, and see if that works?
Sharktooth
14th September 2010, 03:46
@swaijena: what are your system specs?
Sharktooth
14th September 2010, 03:47
Changing the Psy-RD setting doesn't seem to add the correct switch in the x264 command with certain tuning presets unless Psy-Trellis is also changed from its default value. I've noticed this issue ever since Psy-RD was introduced to MeGUI.
Let's say the command window shows the following for the Slow preset w/ Animation tuning:
program --preset slow --tune animation --crf 20 --output "output" "input"
Changing Psy-RD by itself doesn't add anything to the command. Changing Psy-Trellis by itself also doesn't add anything to the command. The command only changes when both Psy-RD and Psy-Trellis are changed from their default values of 0.40:0.00 to, say, 0.41:0.01.
program --preset slow --tune animation --crf 20 --psy-rd 0.41:0.01 --output "output" "input"
AFAIK, Psy-RD and Psy-Trellis are not tied to each other; you're allowed to adjust the two settings independently. Is this a bug with MeGUI?
ill look into that.
swainjena
14th September 2010, 08:02
the log syas that:
job3: applied bitrate is 21bitspersec but the minimum should be 34bitspersec....but i have applied a video bitrate of 912kbps
Mr. sharktooth , this was the log in megui that i observed after the system gets restarted
regarding system specs:
windows os: windows 7 ultimate 32 bit system
4gb ram(2.75 usable)
amd 2core processor
m2n-mx-se motherboard
olex99
14th September 2010, 10:05
i've just upgraded to 0.3.5.12 and noticed a change in the workers.
I usually have the main worker doing all my encodes and then start a temporary worker to do muxing and audio encoding etc.. I've noticed in the new update if abort the job in my main worker, but leave more items in its queue, the temporary worker will restart the main worker when it goes to start its job. Before both workers used to keep to their own queues.
Cheers
Sharktooth
14th September 2010, 15:06
Mr. sharktooth , this was the log in megui that i observed after the system gets restarted
regarding system specs:
windows os: windows 7 ultimate 32 bit system
4gb ram(2.75 usable)
amd 2core processor
m2n-mx-se motherboard
your system specs are ok. but what bothers me is the log...
there is definatly something wrong.
thinking...
Sharktooth
14th September 2010, 16:15
@board123: the bug has been fixed and the fix will be included in the next build.
board123
14th September 2010, 18:56
@board123: the bug has been fixed and the fix will be included in the next build.
Excellent. Thanks a lot!
tomos
23rd September 2010, 01:24
searched here and google but haven't found an answer.
basically, on my old and now new system, the 2nd pass is fine but the 1st barely goes above 1 core. one thing my search brought up was that some filters or whatever aren't made with multithreading in mind? i removed things 1 by 1 from the AVS script with no effect until in the end, i only had the dgindex part (loading the dgdecode dll).
is it a limitation with megui/x264 or dgindex?
win7-x64, 6core amd
Sharktooth
23rd September 2010, 03:34
dgindex is singlethreaded but it shouldnt be a problem.
ensure you have threads=0 (auto) in your x264 preset.
tomos
23rd September 2010, 10:12
ta for the reply.
i've left the threads on default @ 0.
Sharktooth
23rd September 2010, 14:10
post your x264 commandline
tomos
23rd September 2010, 18:34
program --level 4.1 --preset fast --pass 2 --bitrate 1200 --stats ".stats" --deblock -1:-1 --bframes 7 --b-adapt 2 --b-pyramid none --ref 7 --vbv-bufsize 14000 --vbv-maxrate 17500 --ratetol 10.0 --no-mbtree --me umh --direct auto --trellis 2 --output "output" "input"
copied from MEGUI (i presume thats right?). all i changed is the bitrate
getting 24% usage from it at the mo (x264_64.exe). the vfw4x264 one hits 4-6%
+
just in case it helps, the script megui gave me
LoadPlugin("C:\megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("G:\italia.d2v")
#deinterlace
Spline36Resize(720,416) # Spline36 (Neutral)
#denoise
undot()
Sharktooth
23rd September 2010, 19:15
it could be b-adapt 2 (b-frames placement). change it to 1 and report back.
tomos
23rd September 2010, 19:35
ok, changed adaptive b-rames to 1- fast
frame rates more than doubled. the x264 process is the same (24ish %) but the vfw one is now 14-17% cpu usage. roughly 4 or so before
any way of maxing out the CPU? or would it require lowering quality settings to do this (defeating the purpose of (IMO) using x264)?
ta for the help btw :)
Sharktooth
23rd September 2010, 19:57
i suppose you should use avisynth-mt or ffms2-mt to get more frames out of the decoder.
if you have recent nvidia videocard, you can try dgnvtools but i suppose ffms2-mt would be faster on your processor.
tomos
23rd September 2010, 20:14
dont have any nvidia hardware in either pc. all ATi.
i'll check out avisynth MT again
ta :)
royia
23rd September 2010, 20:39
Hello.
I have 2 PC Computers.
Both have the same HD and Motherboard.
One has Intel Quad Core Q9550s with 8GB of Memory - Let's call it System 1.
The other had Intel Quad Core Q8200 with 4GB of Memory - Let's call it System 2.
Both are running Windows 7 64Bit and MeGUI 32 bit - Latest Stable version.
I ran the same Encoding task in both of them - Encoding Uncompressed 720x576 AVI video into MKV file using x.264 with the same settings (crf 25, Medium), The AVI file is preprocessed with simple AVISynth script.
I would assume System 1 to be faster (Bigger Cache, More Megahertz).
Yet while System 2 Encodes at more than 35fps System 1 never gets beyond 20fps.
How could that be? Could it be some optimization in x.264 / MeGUI?
Thanks.
P.S.
Even used a blank AVISynth script (Just load the AVI file) and yet couldn't get Systems 2's performances which leads me to the conclusion it is mainly x.264 issue.
Could x.264 be more optimized toward the Q8200? What's wrong here?
Sharktooth
23rd September 2010, 20:56
megui has no CPU optimizations. x264 does though.
however, i suspect your system 1 is overheating and the CPU is being throttled down.
royia
23rd September 2010, 22:02
megui has no CPU optimizations. x264 does though.
however, i suspect your system 1 is overheating and the CPU is being throttled down.
I'll look into that, Didn't consider it as an option.
I'll update on the result.
Thank You.
RyaNJ
24th September 2010, 12:19
I'm hitting an issue with the Nero AAC encoder.
I'm working with audio from a DVD slideshow. It gets to 6 minutes and 10 seconds then the audio encoding fails and I have no idea why.
[Information] Commandline: C:\Program Files (x86)\MeGUI\neroAacEnc.exe -ignorelength -lc -br 256000 -if - -of "D:\Temp\Life T80 3_2ch 448Kbps DELAY 0ms.mp4"
And then it fails with this:
[Error] An error occurred
-[Error] Exception message: The pipe has been ended.
-[Error] Stacktrace
--[NoImage] at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
--[NoImage] at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
--[NoImage] at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
--[NoImage] at MeGUI.AviSynthAudioEncoder.encode()
-[Error] Inner exception: null
Anyone know how I can fix this? Interestingly it is only with this one piece of audio, others I have tested work fine. But the audio plays fine. Very strange.
Sharktooth
24th September 2010, 12:59
probably it's a corrupted stream. try decoding it to wav and then use the wav to re-encode with nero.
RyaNJ
24th September 2010, 13:01
I have tried playing the audio file and it plays without any issue on VLC. It just will not encode.
What software do I need to decode it to a wav?
Sharktooth
24th September 2010, 13:12
different decoders may lead to different results. use whatever you like to decode it to wav. even vlc, if you like it, is ok for that.
royia
24th September 2010, 13:36
megui has no CPU optimizations. x264 does though.
however, i suspect your system 1 is overheating and the CPU is being throttled down.
You were right!
I bought a new cooling for the CPU.
Now I get the frame rate close to 50.
Thank You!
Sharktooth
24th September 2010, 13:41
you're welcome
forum king
26th September 2010, 21:05
Hey there :)
umm.. could u folks guide me how can i encode a 5.1 audio in megui
i have tried using the multichannel 192kbps profile , but the re encode audio shows 2 channels in mediainfo .
i have a video that has 5.1 audio in it and i wanna re encode itys audio to 5.1 aac
pl guide.
regards
Betsy25
26th September 2010, 23:22
Using : The latest development build, winXP SP3 32bit.
Is it a known issue that I encounter "I/O error" messages once in a while, while encoding with x264, when using more than 1 worker ?
When I use 2 workers, and I have a bunch of small video's to be converted in the queue, every once in a while I get errors in the logs, the resulting .mp4 files created are broken when played in mpc-hc.
tebasuna51
27th September 2010, 02:32
...
i have tried using the multichannel 192kbps profile , but the re encode audio shows 2 channels in mediainfo .
i have a video that has 5.1 audio in it and i wanna re encode itys audio to 5.1 aac
Please put your log file.:logfile:
forum king
27th September 2010, 05:30
Please put your log file.:logfile:
here :
[Information] Log for job10 (audio, Pats123.mkv -> Pats123-5.1.channel.audio.mp4)
-[Information] [9/26/2010 8:13:41 PM] Started handling job
-[Information] [9/26/2010 8:13:41 PM] Preprocessing
-[NoImage] Avisynth script
--[NoImage] DirectShowSource("C:\josh\Desktop\ALL\Pats123.mkv", video=false)
--[NoImage] EnsureVBRMP3Sync()
--[NoImage] Normalize()
--[NoImage] return last
-[NoImage] Commandline used: -ignorelength -he -br 192000 -if - -of "{0}"
-[Information] [9/26/2010 8:13:41 PM] Encoding started
-[Information] [9/26/2010 8:13:41 PM] Encode thread started
-[Information] [9/26/2010 8:13:41 PM] Avisynth script environment opened
-[Information] [9/26/2010 8:13:44 PM] Script loaded
-[Information] Output Decoder
--[NoImage] Channels: 2
--[NoImage] Bits per sample: 16
--[NoImage] Sample rate: 48000
-[NoImage] Commandline: C:\josh\Desktop\meguiS\megui-29-01-2010\megui\tools\win32\neroAacEnc.exe -ignorelength -he -br 192000 -if - -of "C:\josh\Desktop\ALL\Pats123-5.1.channel.audio.mp4"
-[Information] [9/26/2010 8:13:45 PM] Encoder process started
-[NoImage] Output from encoder via stderr
--[NoImage] *************************************************************
--[NoImage] * *
--[NoImage] * Nero AAC Encoder *
--[NoImage] * Copyright 2009 Nero AG *
--[NoImage] * All Rights Reserved Worldwide *
--[NoImage] * *
--[NoImage] * Package build date: Feb 18 2010 *
--[NoImage] * Package version: 1.5.4.0 *
--[NoImage] * *
--[NoImage] * See -help for a complete list of available parameters. *
--[NoImage] * *
--[NoImage] *************************************************************
-[Information] [9/26/2010 8:57:53 PM] Postprocessing
--[Information] Deleting intermediate files
-[Information] [9/26/2010 8:57:53 PM] Job completed
Lighto
27th September 2010, 06:17
here :
Have you tried ectracting the audio stream using MKVExtractGUI then using it as an audio input in MeGUI?
tebasuna51
27th September 2010, 10:44
...
DirectShowSource("C:\josh\Desktop\ALL\Pats123.mkv", video=false)
...
Channels: 2
Seems your DirectShow system is configured to output only stereo audio.
Extract the audio from mkv before, like Lighto say you (or with the MeGUI -> Tools -> HD Streams Extractor).
dragon_warrior
3rd October 2010, 15:23
Hey, I've just ran into this issue
I'm going to encode a 1080i video to 720p & stuck at deinterlacing
I decided to applied multi filters (TITVC and Yadifmod) to compare the results. First, I used DGAVCIndex to extract video stream (.dga) from the .ts. Then I had MeGUI loaded it. Everything went fine with TITVC, but the problem occured when I tried deinterlacing with Yadifmod. This is my script:
LoadPlugin("C:\Program Files\megui\tools\dgavcindex\DGAVCDecode.dll")
AVCSource("E:\B-HMTVHD1080i\Beyonce - Halo (MTVHD) HD-1080i.dga")
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\nnedi2.dll")
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\yadifmod.dll")
YADIFMod(edeint=NNEDI2())
And the error I got:
Problem signature:
Problem Event Name: APPCRASH
Application Name: x264.exe
Application Version: 0.0.0.0
Application Timestamp: 4c967c4c
Fault Module Name: libavcodec.dll
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 489a5621
Exception Code: c0000005
Exception Offset: 000b7ef1
OS Version: 6.0.6000.2.0.0.256.1
Locale ID: 1033
Additional Information 1: 20ff
Additional Information 2: c7d620ad31b9d85eee444f9030b3bf04
Additional Information 3: 58b3
Additional Information 4: 24913ba1f00a8877b8433f7b53aeeb68
Btw, if I extract the .ts into .mkv (using Hd Stream Extractor) and had it loaded, the error seemed to disappear.
Plz, can anyone give me an explanation ?
LigH
5th October 2010, 14:57
MeGUI 0.3.5.15 DEV using MP4Box - GPAC version 0.4.6-DEV (internal rev. 7)
I have suddenly issues multiplexing raw AVC videos (*.264) with M4A audio to MP4: As soon as called, MP4Box simply does nothing (except wasting CPU time), seems to be in an eternal loop. Therefore, AutoEncode to MP4 doesn't work either, because it creates an intermediate raw video.
mp4box.exe -add Maschine.264:fps=25 -add Maschine.m4a -new Maschine.muxed.mp4
^C
Multiplexing AVC in MP4 + M4A to MP4 works.
mp4box.exe -add Maschine.mp4 -add Maschine.m4a -new Maschine.muxed.mp4
IsoMedia import - track ID 1 - Video (size 640 x 360)
IsoMedia import - track ID 1 - Audio (SR 48000 - 2 channels)
Saving Maschine.muxed.mp4: 0.500 secs Interleaving
Sample files or MediaInfo reports can be provided on request.
Kurtnoise
5th October 2010, 16:14
Plz, can anyone give me an explanation ?
Error comes from libavc library included in DGAVCIndex...Might be that your file cannot be decoded by this tool. Try the last FFmegSource2 library instead of DGAVCDecode.
MeGUI 0.3.5.15 DEV using MP4Box - GPAC version 0.4.6-DEV (internal rev. 7)
I have suddenly issues multiplexing raw AVC videos (*.264) with M4A audio to MP4: As soon as called, MP4Box simply does nothing (except wasting CPU time), seems to be in an eternal loop. Therefore, AutoEncode to MP4 doesn't work either, because it creates an intermediate raw video.
Could you retry with my own MP4Box build ?
QuadraQ
6th October 2010, 01:40
I've searched for an answer but came up empty, so I apologize if I searched badly and I'm repeating others.
Haven't used MeGUI in a while. Latest update (0.3.5) changed the interface for file indexing. Now when I open an mpv file like I've always done before I get this error:
---------------------------
Error parsing mediainfo data
---------------------------
The following error ocurred when trying to get Media info for file C:\Users\Public\Videos\Temp Files\MyRecording.mpv
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
---------------------------
OK
---------------------------
Yet I can open the mpv file using C:\Program Files\megui\tools\dgindex\DGIndex.exe directly just fine and save the project to create the d2v file without incident. After that I can create the AVS script from within MeGUI and do the rest of the encode as normal, so I'm pretty sure the error message I'm getting is erroneous. Is this a bug, or am I missing something?
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.