View Full Version : MeGUI: General Questions and Troubleshooting Thread
cybersharky
26th August 2010, 13:44
I used Dvdfab passkey. The extracted MKV file plays perfectly, I played the parts with "blocky" frames in MPC-HC.
The latest auto update to FFMS2(r327-1) appears to have fixed the "blocky" frames.
Underground78
26th August 2010, 19:05
Hi,
I see that there is no preset "Blu-Ray 1080p25" in Megui, I know it's not allowed by the spec but does using "--fake-interlaced" would work as in "Blu-Ray 576p25". In the same way, can we use --pulldown double to make a valid stream for 720p.
By the way, I think there is a mistake in "720p50" et "720p60", there is no reason to use the flag "--fake-interlaced" if I am not mistaken.
Underground78
cybersharky
27th August 2010, 19:30
LoadPlugin("G:\megui\tools\ffms\ffms2.dll")
FFVideoSource("E:\bdrip\T1_Video - .mkv")
#deinterlace
crop( 0, 140, 0, -140)
LanczosResize(720,304) # Lanczos (Sharp)
#denoise
I used this profile: x264 Blu-Ray 480p24
There's green bar across the video:
http://a.imageshack.us/img842/5379/startrekx.jpg
[Information] Versions
-[NoImage] MeGUI Version : 0.3.5.8
-[NoImage] OS : Windows Seven Ultimate Edition x64 (6.1.0.7600)
-[NoImage] Latest .Net Framework installed : 4.0 (4.0.30319)
-[NoImage] Avisynth Version : 2.5.8.5
Sharktooth
28th August 2010, 01:42
what decoder are you using?
cybersharky
28th August 2010, 10:04
what decoder are you using?
:o I changed the decoder to ffmpeg in ffdshow now the green bar is gone.
RyaNJ
28th August 2010, 10:10
I've just hit an issue - running the bitrate calculator for a nero-acc audio file I just encoded causes an "index out of bounds" error. The audio file plays no problem. Any idea why this is or if there is a fix?
Zathor
28th August 2010, 11:43
Please describe the steps to reproduce the problem.
RyaNJ
28th August 2010, 13:54
Basically I am converting over a DVD slideshow for my uncle from a DVD. First run the file indexer then I encode the audio and when I then try to set the bitrate calculator before running the video conversion I get the above error. I tested and the encoded audio plays file, but it will not allow me to run in the bitrate calculator for some reason.
royia
28th August 2010, 17:33
Hello.
I have a question regarding audio in MeGUI.
Let's say I created an AVISynth script which loads AVI file which includes audio, trims it and applies some filters (Video Filters).
No I want to transcode this into MKV file with x.264 and Lame (MP3).
How should I do that in a way which keeps the audio synced?
How should I config the Video Input in MeGUI? Should it be the same script file or what?
Thanks.
Underground78
28th August 2010, 19:51
Hi,
I see that there is no preset "Blu-Ray 1080p25" in Megui, I know it's not allowed by the spec but does using "--fake-interlaced" would work as in "Blu-Ray 576p25". In the same way, can we use --pulldown double to make a valid stream for 720p.
By the way, I think there is a mistake in "720p50" et "720p60", there is no reason to use the flag "--fake-interlaced" if I am not mistaken.
Underground78
Hello,
Nobody knows ? It seems that the preset for 576p25 can do 1080p25 too and for 720p25 I have this proposal, can somebody confirm it is valid ?
--open-gop bluray --pulldown double --pic-struct --level 4.1 --bframes 3 --ref 4 --slices 4 --aud --nal-hrd vbr --b-pyramid strict
--keyint 25 --min-keyint 2 --vbv-bufsize 30000 --vbv-maxrate 40000 --weightp 0 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709"
Thanks in advance !
royia
28th August 2010, 20:58
Ok, I managed to make the Audio work.
Let's say I have a script which I use to Encode the Audio and the Video and I want them automatically muxed into one file.
The way I see it now I must wait for the Encoding process to finish and then mux them.
Is there a way to do this automatically?
P.S.
Found a way using "One Click Encoding".
Sharktooth
29th August 2010, 02:28
Basically I am converting over a DVD slideshow for my uncle from a DVD. First run the file indexer then I encode the audio and when I then try to set the bitrate calculator before running the video conversion I get the above error. I tested and the encoded audio plays file, but it will not allow me to run in the bitrate calculator for some reason.
why you encode the audio that way? isnt it easier to index (demuxing audio), create the avs (that will automatically loaded as video input) and load the audio in the audio input and then click auto-encode?
megui will automatically ask for bitrate, filesize, whatever...
Sharktooth
29th August 2010, 02:33
Hello.
I have a question regarding audio in MeGUI.
Let's say I created an AVISynth script which loads AVI file which includes audio, trims it and applies some filters (Video Filters).
No I want to transcode this into MKV file with x.264 and Lame (MP3).
How should I do that in a way which keeps the audio synced?
How should I config the Video Input in MeGUI? Should it be the same script file or what?
Thanks.
in your case, create the avs in megui using the avisynth script creator (tools menu). it will automatically load the avs in the video input once you're done.
then, use the same script for audio loading the avs in the audio input (ensure audio=false is not set in the avisource() filter). set both vide and audio presets you want to use (one of the x264 presets and one of the lame presets) click auto-encode, set your container (mkv) and bitrate or filesize or whatever, go on and proceed starting the queue.
Sharktooth
29th August 2010, 02:34
@underground78: presets are going to be fixed asap.
Underground78
29th August 2010, 08:35
@underground78: presets are going to be fixed asap.
Ok, I will see.
RyaNJ
29th August 2010, 09:44
in your case, create the avs in megui using the avisynth script creator (tools menu). it will automatically load the avs in the video input once you're done.
then, use the same script for audio loading the avs in the audio input (ensure audio=false is not set in the avisource() filter). set both vide and audio presets you want to use (one of the x264 presets and one of the lame presets) click auto-encode, set your container (mkv) and bitrate or filesize or whatever, go on and proceed starting the queue.
I usually do it manually - always have done though I have no idea why.
If you think that'll work though I will give it a short.
flebber
29th August 2010, 23:07
If you are on the front screen of megui load your video in the video your audio in the audio and press auto encode.
If you use the fiel indexer it will automatically place the files in the correct boxes.
Sharktooth
30th August 2010, 02:52
cpu usage never croses 40% usage with megui
got amd 7750 cpu
here is the basic script i used
fft3dGPU(mode=1,precision=2, sigma=4.25, bt=4, bw=32, bh=32, ow=16, oh=16)
Convolution3D(preset="moviehq")
LSFMod(Strength=120, Smode=5)
fluxsmoothT(5)
a= last
b=a.degrainmedian(limitY=3, limitUV=5,mode=0).VagueDenoiser(threshold=1.2, method=1, nsteps=6, chromaT=0.8)
SeeSaw(a,b, NRlimit=3, NRlimit2=4, Sstr=1.5, Slimit=5, Spower=5, Sdamplo=6, Szp=16, sootheS=20)
GradFunkMirror()
Grainfactory3(3,3,3)
does all filters used here support multithreading if not which filter doesnt support multithreading!!!!
i used MT filter but it asks for modified version of avisynth
any sort of suggestion will be appreciated
this script takes lot of time!!!
Regards
Raj1402
your avisynth script is limiting your CPU usage.
that's not a megui problem but rather a question you should ask in avs forum. please ask a moderator to move your post to the appropriate forum.
Rat Killer
30th August 2010, 20:30
If you are on the front screen of megui load your video in the video your audio in the audio and press auto encode.
If you use the fiel indexer it will automatically place the files in the correct boxes.
I always thought that was what was supposed to happen. the indexer loads into the avs script creater and then to the video input just fine. The indexer does not load the audio file to the audio input though. Still have to select that manually after the indexer demuxes the audio track.
Also, and may be related, using DGIndexNV the button for Select Audio Tracks is pre selected and greyed out but does not demux any audio. Selecting demux all audio tracks does. (My files only have one audio track)
royia
1st September 2010, 18:24
Hello.
I have a question.
I have an Interlaced AVI file.
MeGUI says it Top Field First.
AVISynth info() says Parity - Bottom Field First.
Who should I believe?
Moreover, I'm using ReduceFlicker plug in:
http://home.arcor.de/kassandro/ReduceFlicker/ReduceFlicker.htm
In AvsP:
http://avisynth.org/qwerpoi/
It works great and I can see its effect.
Trying to load the same script in MeGUI yields error:
http://i55.tinypic.com/53623m.png
Playing the same script in Media Player Classic works with no problem.
Here's the script:
LoadPlugin("E:\MeGUI\tools\hqdn3d\hqdn3d.dll")
LoadPlugin("E:\MeGUI\tools\cnr2_v261\cnr2.dll")
Load_Stdcall_Plugin("E:\MeGUI\tools\yadif\yadif.dll")
LoadPlugin("E:\MeGUI\tools\ReduceFlicker\ReduceFlicker.dll")
AVISource("G:\13.avi", audio=true)
ConvertToYV12()
#info()
Trim(5, 204).FadeOut2(2) + Trim(2840, 3360).FadeOut2(2).FadeIn(2) + Trim(16650, 116900).FadeIn(2)
#ReduceFlicker(strength=2, aggressive=false, grey=false, planar=false)#Defaults Value
ReduceFlicker(strength=1, aggressive=false, grey=false, planar=false)
#Deinterlace
Yadif(mode=0, order=1)
#Resize
#Denoise
#Cnr2(mode="oxx", scdthr=10, ln=35, lm=192, un=47, um=255, vn=47, vm=255, false) # Defaults Values
Cnr2("oxx", 6, 5, 10, 10, 20, 10, 20, false)
#hqdn3d(4, 3, 6, 4.5) # Defaults Values
hqdn3d(1.5, 2.5, 1.5, 3)
#ConvertToYUY2()
crop(16, 8, -16, -8)
Any idea?
Thanks.
Lyle_JP
1st September 2010, 20:21
The best way to determine field order is to check it yourself. Use a simple AssumeTFF().Separatefields() statement, then step through and check to see if there is a lot of backwards movement. If there's not, then your video is indeed TFF.
Sharktooth
2nd September 2010, 01:05
I always thought that was what was supposed to happen. the indexer loads into the avs script creater and then to the video input just fine. The indexer does not load the audio file to the audio input though. Still have to select that manually after the indexer demuxes the audio track.
Also, and may be related, using DGIndexNV the button for Select Audio Tracks is pre selected and greyed out but does not demux any audio. Selecting demux all audio tracks does. (My files only have one audio track)
That's normal. Audio doesnt get selected automatically coz some sources may have more than an audio file and MeGUI doesnt know what audio you want to encode.
Also DGIndexNV (if nothing changed in the latest version and IIRC) is only able to demux all tracks.
Guest
2nd September 2010, 01:08
Also DGIndexNV (if nothing changed in the latest version and IIRC) is only able to demux all tracks. Via the CLI, yes.
royia
2nd September 2010, 14:34
The best way to determine field order is to check it yourself. Use a simple AssumeTFF().Separatefields() statement, then step through and check to see if there is a lot of backwards movement. If there's not, then your video is indeed TFF.
OK, Did that.
Using AssumeTFF().Separatefields() got a fluid result.
Using AssumeBFF().Separatefields() got a "jumpy" result. I guess TFF it's - MeGUI was right, AVI Synth was wrong.
Rat Killer
2nd September 2010, 16:41
That's normal. Audio doesnt get selected automatically coz some sources may have more than an audio file and MeGUI doesnt know what audio you want to encode.
Also DGIndexNV (if nothing changed in the latest version and IIRC) is only able to demux all tracks.
Thanks for the info. At least I know its working as designed.
forum king
8th September 2010, 06:54
hey guys , i am using the development servers now a days for the patched build.
yesterday while encoding , due to reason my system restarted abruptly :
and since then i cant encode a file wa nearly 90% in 2nd pass so i restarted the 2nd pass but i am getting this error in megui
[Error] An error occurred: avis [error]: unsupported input format (DIB )
i always add ConvertToYV12() at the end of avisynth script
and the video preview is working too
but when i try and play the avisynth script in MPC this is what i get :
Directshow source : couldnt open the file ......
No combination of filters could be found to render the stream.
says error in line 1 ( off curse measn error in line 1 of the script )
the line 1 of the script is
DirectShowSource("C:\Users\lifetalk\Desktop\ALL\second.half.of.me_10.9.9.mkv", fps=25, audio=false, convertfps=true)
so does it mean i have to reinstall klite ( which i use or avisynth or what ?
thanks in advance.
regards
Neil
PS : my apologies in advance if this aint the right forum to post this. ( i have posted this at the Zathors patched build thread as well , just in case this is not the right forum )
Sharktooth
8th September 2010, 12:52
it means the system cant find a directshow filter to decode your file.
in your case i suggest you to remove ALL codec packs (search for codec pack to know why they are EVIL) and to install matroska splitter and ffdshow-tryouts.
about the builds... zathor is in the MeGUI development team with me and spawn_guy, so what zathor makes is "official".
if you want the latest megui, ensure to switch to the development server.
tormento
9th September 2010, 11:36
I have tried to multithread a complex AVS script but there seems to be too much not compatible filters and so.
Is it possible to get an automated split encoding creator? I.E. you feed the avs and MEGUI splits parts of the video (numbers of physical or logical cores) giving each part to a concurrent worker. I know I could do it by AVS scripting but I need to encode a lot of AVCHD files and some automation could be nice ;)
Sharktooth
9th September 2010, 16:50
what you mean with "not compatible filters"?
tormento
9th September 2010, 19:18
what you mean with "not compatible filters"?
FFT3DGPU in a MT loop and so on. There are lot of filters that can't or perform bad in SetMTMode or MTs. Please, an automatic multithread encoding would be a revolutionary and very useful option.
P.S: I saw you updated the forced SAR values in x264 configuration panel. I think you forgot 64:45 that is the MUST option to anamorphically encode DVDs. :p
Sharktooth
9th September 2010, 20:34
there is not much sense in using FFT3Dgpu in a mt loop... however, you can add trims to your avs file and then process them as separate workers.
if you're lucky it wont exceed the 2GB memory barrier... but i doubt...
ill update the sar options.
tormento
9th September 2010, 23:11
however, you can add trims to your avs file and then process them as separate workers.
I know the trim command and I would not ask it as a feature if I should not have to encode a lot of marriage/travel/walkaround AVCHD footages. Can you imagine how many files could a 250GB contain? :mad: Well, after a year of cam usage, it's full and it's time to format..
if you're lucky it wont exceed the 2GB memory barrier...
I use the x64 compile of MEGUI. Is there any memory barrier too?
ill update the sar options.
Thanks.
Sharktooth
10th September 2010, 02:53
if you use 64 bit megui along with 64 bit avisynth then there should be no problems as long has you have physical memory (RAM) to start the processes
Alex_080
10th September 2010, 16:31
In MeGUI can anyone suggest which resize filter is better for resizing 1080p to 720p(Anime BD)?
Sharktooth
10th September 2010, 17:15
it's subjective. the best is whats best for you.
you can try different filters and compare the resulting image (using the preview window in megui).
remind that sharp filters require more bitrate.
tormento
10th September 2010, 18:53
if you use 64 bit megui along with 64 bit avisynth then there should be no problems as long has you have physical memory (RAM) to start the processes
Wunderbar.
Any hope about the feature I asked?
Sharktooth
11th September 2010, 03:41
maybe in the next versions. please post it in the feature request tracker on the megui project page on sourceforge.
lych_necross
11th September 2010, 07:19
In MeGUI can anyone suggest which resize filter is better for resizing 1080p to 720p(Anime BD)?
Sharktooth is right; however, when in doubt, start experimenting with Bicubic and go from there (just make sure to check it out in the preview window first).
tormento
11th September 2010, 07:34
Sharktooth is right; however, when in doubt, start experimenting with Bicubic and go from there (just make sure to check it out in the preview window first).
AFAIK to decrease the resolution, even Photoshop suggest to use a very simple filter. Even bilinear should make the work. Higher order filters are supposed to introduce harmonycs when going down.
tormento
11th September 2010, 07:40
maybe in the next versions. please post it in the feature request tracker on the megui project page on sourceforge.
Thanks for the incredibly FAST 64:45 feature adoption ;)
The suggestion about segmented encoding has been posted on SF.
LigH
11th September 2010, 13:50
Oops ... did I miss a change in the update server, or is there a fault?
Trying server: http://www.constructd.com/megui/
Retrieving update file from server...
Error: Couldn't connect to server.
Error: Could not download XML file
Loading update data...
Error: Invalid XML file. Aborting.
http://www.constructd.com/megui/ => 404: The requested URL /megui/ was not found on this server.
Zathor
11th September 2010, 13:57
This has been an intermediate update server before I had access to the official one during November/December last year. Please use the official ones:
Update server for latest stable build
http://megui.org/auto/stable/
Update server for latest development build
http://megui.org/auto/
LigH
11th September 2010, 14:37
So "back to the roots". :)
MajorX
12th September 2010, 16:44
Hi
I m new in using MeGUI ... so i want to know is it possible to select audio_track1 or audio_track2 in from video when i selecting a dual audio file in Audio Input. Means i want to use audio_track2 but when i select that video file as Audio Input MeGUI select audio_track1.
Sharktooth
12th September 2010, 16:55
megui can accept almost any audio you feed it with... so explain better what procedure you used.
MajorX
12th September 2010, 17:19
I encode a dual audio file to a single audio file.First i create a AVS Script , set setting and video encoding part done . In Audio section i select that file as audio input and set setting for audio.MeGUI done all correct and it select the audio_track 1(first audio) from that dual audio file. But i want audio_track 2 with video.So i want know is it possible when i select a dual audio as audio input it ask for which audio to use track 1 or track 2?
I know it is possible that i can extract all audio files then select in Audio Section as Track 1 and Track 2 but i want to know is it possible when i select a dual audio file as audio input ..... i can select audio_track what i want.
swainjena
13th September 2010, 11:33
whenever i try to encode an avi file, the x264 process runs well upto a certain extent and then the system restarts..i cannot figure out what is happening....i use the latest updated versions of megui and avisynth...i run windows 7 os
swainjena
13th September 2010, 11:35
after system restarts when i run megui again and on checking the queue...it shows that x264 process has never run( i.e it is still waiting in the queue)
i have been facing this problem for days together plz help me
LigH
13th September 2010, 12:48
The first issue I would check is the dust felt between your cooler ribs, then... ;)
A sudden PC restart during a very CPU intense task often means a faulty cooling.
swainjena
13th September 2010, 13:08
no problem with the cooler ribs....the system restarts only during this megui process
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.