View Full Version : MeGUI: General Questions and Troubleshooting Thread
Carpo
1st June 2008, 14:43
i always use mkvtools to merge my audio and video :)
unknownsoldierX
2nd June 2008, 11:00
>> 0.2.6.1046 updated from today (http://kurtnoise.free.fr/index.php?dir=MeGUI/&file=MeGUI-0.2.6.1046_20080601.zip)
>> 0.3.0.1004 updated from today (http://kurtnoise.free.fr/index.php?dir=MeGUI/&file=MeGUI-0.3.0.1004_20080601.zip)
feedback about version 0.3.xx welcome as usual (I don't care about 0.2.xxx)...
How do I get 0.3? Can I just overwrite the files for 0.2? Where can the full package for 0.3 be downloaded?
rack04
2nd June 2008, 13:29
How do I get 0.3? Can I just overwrite the files for 0.2? Where can the full package for 0.3 be downloaded?
Change the AutoUpdate server to developmental.
Options->Settings->Extra config->Configure servers...
Then overwrite the files with the ones Kurtnoise13 posted.
darkKlor
2nd June 2008, 14:20
just noticed an issue when i did a clean install on vista x64. the updater fails if you dont run as admin. need some code for privilege escalation. the error as a standard user is "Old version of data could not be backed up correctly".
herlepras
2nd June 2008, 18:51
Dunno whats causing the problem,but im having problems when encoding a directshowsource file in mkv,
Source file is Xvid in Matroska
When i input this avs in megui
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RemoveGrainSSE3.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\mt_masktools.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\VSFilter.dll")
DirectShowSource("E:\DOWNLOADS\1.mkv",fps=29.97000002997,convertfps=true)
ConvertToYV12()
TextSub("E:\DOWNLOADS\temp\1.ass")
#deinterlace
#crop
Spline36Resize(512,288) # Spline36 (Neutral)
#denoise
LimitedSharpenFaster(ss_x=1.5, ss_y=1.5, smode=4, strength=125, overshoot=1, undershoot=1)
FastLineDarkenMOD(thinning=0, strength=40)
Audio encode to NDAAc is fine,then comes the video part and megui suddenly crashes with lots of tray icons of ffdshow video decode+Haali
http://img179.imageshack.us/img179/9130/52396630fu8.th.jpg (http://img179.imageshack.us/my.php?image=52396630fu8.jpg)
Only four remain after the crash and thats because x264.exe continues to encode in the background........
http://img141.imageshack.us/img141/286/85562413ek6.th.jpg (http://img141.imageshack.us/my.php?image=85562413ek6.jpg)
Why is this happening?
Is it CCCP?Is it ffdshow or Haali?
The thing is ,I had encoded the same file about a month ago when i didnt have CCCP,
I had installed CORE codec with haali and ffdshow with h.264 disabled in it and megui gave a good output then,the x264 version changed too from then,now its rev859,right?
Megui updated it just last week,
I uninstalled CCCP fully, and went back to the old setup of codecs,but the problem remains with lots of tray icons popping up!
The avs opens in VDUb and in mediaplayer,so i guess decoding is not a problem,only the encoding...
Any clues on whats wrong? :?
Nevermind,Found the answer,
Seems like Removegrain SSE3 crashes megui for no reason at all?
Replaced it with SSE2 and everythings fine now!
Kurtnoise
2nd June 2008, 21:10
just noticed an issue when i did a clean install on vista x64. the updater fails if you dont run as admin. need some code for privilege escalation. the error as a standard user is "Old version of data could not be backed up correctly".
did you try the last builds I've linked just above ? They have some "improvements" for this...
rack04
2nd June 2008, 23:49
I'm running Vista 32bit and I keep getting the tip to upgrade to latest .net framework but I'm already running the latest. I've even installed from the MeGUI link as the tip requested. Is this a bug?
Carpo
3rd June 2008, 09:00
if your using 2.0.1046 (from update) then this should not happen, i know with kurts two builds above it does
Codex0nz
4th June 2008, 08:35
now im having an issue with my avisynth script:
DGDecode_mpeg2source("G:\DVD Rips\Neon Genesis Evan\VTS_01_1.d2v",info=3)
ColorMatrix(hints=true,interlaced=true)
Load_Stdcall_Plugin("E:\Games\Converting\megui\tools\yadif\yadif.dll")
Yadif(order=1)
crop( 32, 84, -30, -88)
BicubicResize(656,368,0,0.5) # Bicubic (Neutral)
#denoise
im getting the error with the line "Load_Stdcall_Plugin("E:\Games\Converting\megui\tools\yadif\yadif.dll")"
AviSynth script error:
Script error: there is no function named "Load_Stdcall_Plugin"
:S no idea whats gone wrong but i looked around and couldnt find anything that helped >_>
Kurtnoise
4th June 2008, 20:11
1/ which MeGUI version do you use ?
2/ which Avisynth version do you have ?
Inspector.Gadget
5th June 2008, 03:13
Hi everyone, I'm having a minor audio encoding problem. Using MeGUI 0.2.6.1046, I get an unspecified error encoding stereo AC3 to Nero AAC. Until recently this worked without issue.
Here is what the log shows me:
Starting job job1 at 9:58:04 PM
Starting preprocessing of job...
Preprocessing finished!
successfully started encoding
Processing ended at 9:58:04 PM
------------------------------------------------------
Log for job job1
Error:
------------------------------------------------------
End of log for job1
------------------------------------------------------
I used DGIndex directly to create my .D2V and demux the audio before trying to use MeGUI to encode the audio but I didn't change the .AC3 file name or anything.
Screenshot of AAC profile: http://img76.imageshack.us/img76/8096/screenhk8.th.png (http://img76.imageshack.us/my.php?image=screenhk8.png)
Any ideas what the issue might be?
rebkell
5th June 2008, 04:06
Hi everyone, I'm having a minor audio encoding problem. Using MeGUI 0.2.6.1046, I get an unspecified error encoding stereo AC3 to Nero AAC. Until recently this worked without issue.
Here is what the log shows me:
I used DGIndex directly to create my .D2V and demux the audio before trying to use MeGUI to encode the audio but I didn't change the .AC3 file name or anything.
Screenshot of AAC profile: http://img76.imageshack.us/img76/8096/screenhk8.th.png (http://img76.imageshack.us/my.php?image=screenhk8.png)
Any ideas what the issue might be?
Have you tried it with the checkbox for use DirectShow checked? I've had a few AC3 files that didn't work right, but usually they encode(really fast), but don't have any sound..
Inspector.Gadget
5th June 2008, 04:20
Have you tried it with the checkbox for use DirectShow checked? I've had a few AC3 files that didn't work right, but usually they encode(really fast), but don't have any sound..
Yeah, tried that, MeGUI completely hangs and I have to kill it from the task manager. That's also weird because I know I have ffdshow set to decode AC3 without using DRC or SPDIF output (if either might foul it up anyway).
Codex0nz
5th June 2008, 06:33
1/ which MeGUI version do you use ?
2/ which Avisynth version do you have ?
megui: 0.3.0.1004
avisynth: 2.5.7
Kurtnoise
5th June 2008, 07:02
@Codex0nz : are you sure that you have yadiff.dll in the right folder ?
@Inspector.Gadget : what do get when you open your ac3 file into graphedit ?
SpAwN_gUy
5th June 2008, 15:26
Hello ... i've had some troubles on my brand new Vista x64 ... + MSVS 2008
(well.. i've dealt with audio for now... but anyway) and thus had a nice chat with dimzon...
okay... meGUI trunk .. MSVS 2008 solution...
well.. when i compiled it under msvs2008... the result was x64bit version of meGUI ... and that's why audioEncoding failed to me ...
"Any CPU" target is set by default ... so.. under x64 meGUI would start under x64 ...
here is a simple fix.. for x86 bitness with msvs2008
Index: MeGUI_2008.csproj
===================================================================
--- MeGUI_2008.csproj (revision 519)
+++ MeGUI_2008.csproj (working copy)
@@ -66,6 +66,7 @@
<WarningLevel>4</WarningLevel>
<DebugType>full</DebugType>
<ErrorReport>prompt</ErrorReport>
+ <PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<OutputPath>bin\Release\</OutputPath>
@@ -91,6 +92,7 @@
<ErrorReport>prompt</ErrorReport>
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
<UseVSHostingProcess>false</UseVSHostingProcess>
+ <PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'test|AnyCPU' ">
<OutputPath>bin\test\</OutputPath>
@@ -115,6 +117,7 @@
<WarningLevel>1</WarningLevel>
<DebugType>full</DebugType>
<ErrorReport>prompt</ErrorReport>
+ <PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<Reference Include="Accessibility" />
i haven't made any new Platform profiles... and might this would be usefull for someone...
well,... this is only need when you DON'T have Avisynth x64, and all the .dll compiled for x64
complie-all.bat still compiles msvs2005 project and the resulting .exe is still x86 ...
BTW....
>> 0.3.0.1004 updated from today (http://kurtnoise.free.fr/index.php?dir=MeGUI/&file=MeGUI-0.3.0.1004_20080601.zip) i've checked only this one... this one is x64 enabled ;) ... so .. might be this one was built with vs2008.. with not edited platforms.. ;) ...
use the patch above... or try this one:
http://rapidshare.com/files/120281317/meGUI_r519_x86.rar
this one is also 0.3.0.1004
dimzon
5th June 2008, 16:00
To avoid this error i modify BeHappy entry point this way
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
// To avoid ugly BadImageFormatException let's check current mode
int pointerSize = System.Runtime.InteropServices.Marshal.SizeOf(typeof(IntPtr));
if(pointerSize!=4)
{
// Can't run in non-32-bit mode!
int processBits = pointerSize*8;
string text = string.Format("BeHappy is designed to run as 32-bit process.\nUnfortunally this buid (v{1}) is invalid and started as {0}-bit process. Please inform developers.\nBeHappy will be aborted.", processBits, Application.ProductVersion);
string caption = string.Format("Can't run as {0}-bit process!", processBits);
MessageBox.Show(text, caption, MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1);
return;
}
Application.Run(new MainForm());
}
So You can reuse it in MeGUI
benrobbie
5th June 2008, 16:23
First of all, forgive my noob-ability. This is my first post here. Also I would like to say that I am not technically inclined. I tried to read some of the posts on here and could not figure alot of them out. Anyway, here is my problem:
All of a sudden, last night as I went to bed I started up MEGui and some files to be done. This morning, I checked on them and Megui is not working at all. this is the error I get in the log.
Starting job job3 at 10:42:11 AM
Starting preprocessing of job...
Preprocessing finished!
successfully started encoding
Processing ended at 10:42:11 AM
------------------------------------------------------
Log for job job3
Job commandline: "C:\Program Files\megui\tools\x264\x264.exe" --pass 1 --bitrate 1500 --stats "D:\My DVDs\Still To Do Movies\test.stats" --bframes 16 --b-pyramid --direct auto --filter -2,-1 --subme 1 --partitions none --me dia --threads auto --thread-input --sar 1:1 --progress --no-dct-decimate --no-psnr --no-ssim --output NUL "D:\My DVDs\Still To Do Movies\test.avs"
x264 [error]: could not open input file 'D:\My DVDs\Still To Do Movies\test.avs'
------------------------------------------------------
End of log for job3
------------------------------------------------------
I have uninstalled, rebooted, and reinstalled, and I still get this error. Any suggestions? I have also updated megui. Still nothing. I do not know what has happened. Any suggestions welcome!! Also, this is happening with any avs I try to run, from different drives and folders! The source of the file is always a x264 mkv. thanks.
edit: Well i figured out what I had to do. I had to uninstall avisynth, my codecs, and megui, the restart, and then reinstall everything. Now it works. You guys do awesome work here, and thanks anyway.
benrobbie
Inspector.Gadget
5th June 2008, 18:16
@ Kurtnoise13
I had an Intervideo Audio Decoder in my filter chain which I unregistered in favor of ffdshow. The graph now looks like [source AC3] -> AC3 Parser Filter -> ffdshow audio decoder -> Default Directsound Device. MeGUI audio encoding now works fine if I choose to use Directshow decoding. I also realized that I was using an outdated version of NicAudio in my Avisynth plugins folder so I copied over a newer one I had sitting around from BeHappy and now everything works again without Directshow. The version that worked a few weeks ago for me must have been over-written by a NicAudio plugin that I downloaded to do Directshow Source -> AVSProxy -> Avidemux. Thank you for your help :).
Carpo
5th June 2008, 20:15
could the error i have been getting, about source detection not being able to detect type, could this be if it has a high percentage of film but not high enough?, i know in megui its set to auto force film at 95% but what if its less then that? say 92-94%
Codex0nz
6th June 2008, 06:48
@Codex0nz : are you sure that you have yadiff.dll in the right folder ?
@Inspector.Gadget : what do get when you open your ac3 file into graphedit ?
yeah theyre both setuip right
i even put the dll in the plugins folder in the avisynth program files folder
but
it still comes up with the same error message
btw thank you so much for trying to help :) it is very much appreciated
EDIT: i installed that alpha/beta on avisynth and it fixed the issue
Kurtnoise
6th June 2008, 16:02
could the error i have been getting, about source detection not being able to detect type, could this be if it has a high percentage of film but not high enough?, i know in megui its set to auto force film at 95% but what if its less then that? say 92-94%
you can tweak this value in the settings...just try it. :)
@Codex0nz : which alpha version more exactly ?
Kurtnoise
6th June 2008, 16:05
Hello ... i've had some troubles on my brand new Vista x64 ... + MSVS 2008
(well.. i've dealt with audio for now... but anyway) and thus had a nice chat with dimzon...
okay... meGUI trunk .. MSVS 2008 solution...
well.. when i compiled it under msvs2008... the result was x64bit version of meGUI ... and that's why audioEncoding failed to me ...
"Any CPU" target is set by default ... so.. under x64 meGUI would start under x64 ...
here is a simple fix.. for x86 bitness with msvs2008
well...I've this patch on my local tree already but not committed yet. ;)
Kylenol
6th June 2008, 17:11
Whenever I do the 2nd-pass to encode to an XviD file, I get this message:
xvid [error]: Couldn't init AVI file for writing (F:\Sample\sample.avi)
AVIOutputFile::Init Error: Unable to open file "F:\Sample\sample.avi" for write: The process cannot access the file because it is being used by another process.
desired video bitrate of this job: 965 kbit/s - obtained video bitrate (approximate): 0 kbit/s
------------------------------------------------------
Starting postprocessing of job...
Job completed successfully and deletion of intermediate files is activated
Found intermediate output file 'F:\Sample\sample.avi', deleting...
Deletion succeeded.
Postprocessing finished!
End of log for job2
Any ideas how I could solve this problem? Sorry if it has been covered already.
Sodgawd
6th June 2008, 17:37
Hiyas!! First of all, I absolutely love meGUI. I use it to encode movies for my PSP when I travel... I do have a question/comment tho.. :P
(1) I noticed that the update is spotty at best. (lots of proggies to update) I respect the fact that most of the utilities that meGUI uses are updated alomst daily and it can be fairly daunting to keep up. I usually end up just manually updating the files once a week. Just an observation. I truly appreciate all of the hard work that goes into the making of these files. I never fully comprehended it all until I took a C# class at my local college. Totally blew my mind away. Again thanks for all the hard work. :)
(2) Is there a settings to use meGUI to join multiple .mp4 files? I tried YAMB to do so but the last file appended is out of sync by .5 secs. The first three are in perfect sync just the last one is out. I am almost positive that the error is occuring in between keyboard input and the chair.. :P Was just curious if this could be done with (or added to) meGUI.
Have a "fan-tab-u-lous" day!!
Carpo
6th June 2008, 21:24
you can tweak this value in the settings...just try it. :)
i know that im just wondering if im even in the right area though :p
edit: nope that didnt help :(
HymnToLife
6th June 2008, 21:45
(2) Is there a settings to use meGUI to join multiple .mp4 files? I tried YAMB to do so but the last file appended is out of sync by .5 secs. The first three are in perfect sync just the last one is out. I am almost positive that the error is occuring in between keyboard input and the chair.. :P Was just curious if this could be done with (or added to) meGUI.
You can just use AviSynth for that :
clip1 = DirectShowSource("foo.mp4")
clip2 = DirectShowSource("bar.mp4")
clip3 = DirectShowSource("baz.mp4")
clip1 + clip2 + clip3
Carpo
6th June 2008, 22:00
i think i have found the solution to my problem, in the configure source detector, change the setting of the analysis percent, at the moment i have it set to 5%, which is taking a time but is getting pass the first part of the analysis, will lower it back down and try 2% and so on :)
Hope this helps anyone else who might run into this :)
edit: seems for ghost in the shell 2nd gig - 3% is the magic number :p
Codex0nz
7th June 2008, 01:04
you can tweak this value in the settings...just try it. :)
@Codex0nz : which alpha version more exactly ?
To be exact, version AVS 2.5.8 RC1 [080527]
lol whoops release candidate not a alpha version
Kurtnoise
7th June 2008, 07:50
Whenever I do the 2nd-pass to encode to an XviD file, I get this message:
xvid [error]: Couldn't init AVI file for writing (F:\Sample\sample.avi)
AVIOutputFile::Init Error: Unable to open file "F:\Sample\sample.avi" for write: The process cannot access the file because it is being used by another process.
desired video bitrate of this job: 965 kbit/s - obtained video bitrate (approximate): 0 kbit/s
------------------------------------------------------
Starting postprocessing of job...
Job completed successfully and deletion of intermediate files is activated
Found intermediate output file 'F:\Sample\sample.avi', deleting...
Deletion succeeded.
Postprocessing finished!
End of log for job2
Any ideas how I could solve this problem? Sorry if it has been covered already.
well...did you try to reencode an AVI file ? If yes, try to rename your output file (input and output must have two different names in your case)...
Carpo
7th June 2008, 10:23
anyone have any idea why megui/x264.exe might not be reaching the desired bitrate on the second pass?
encoded 35952 frames, 21.50 fps, 1248.33 kb/s
desired video bitrate of this job: 1506 kbit/s - obtained video bitrate (approximate): 1251 kbit/s
seems its only doing it on one file, i have rencoded it 3 times now making sure each time the settings are correct
Codex0nz
7th June 2008, 12:59
Moved to a separate topic: http://forum.doom9.org/showthread.php?p=1146695#post1146695
just about deinterlacing anime and problems etc
Kylenol
7th June 2008, 17:35
well...did you try to reencode an AVI file ? If yes, try to rename your output file (input and output must have two different names in your case)...
No. When it creates an AVI file its O KB after both passes.
Again this is what I get:
MeGUI Version: 0.2.6.1046
OS used: Microsoft Windows XP Professional Service Pack 2
Framework used: 2.0 SP1
------------------------------------------------------
Looking for job processor for job...
Processor found!
------------------------------------------------------
Starting job job1 at 7:33:26 PM
Starting preprocessing of job...
Preprocessing finished!
successfully started encoding
Processing ended at 7:33:27 PM
------------------------------------------------------
Log for job job1
Job commandline: "C:\Program Files\megui\tools\dgindex\dgindex.exe" -SD=< -AIF=<F:\Sample\Sample.mpg< -OF=<F:\Sample\Sample< -exit -minimize -OM=2
------------------------------------------------------
Starting postprocessing of job...
Job completed successfully and deletion of intermediate files is activated
Postprocessing finished!
End of log for job1
------------------------------------------------------
Generating jobs. Desired size: 7 MB
Desired size of this job series: 7 MB
Split size of this job series: N/A
Looking for job processor for job...
Processor found!
------------------------------------------------------
Starting job job2 at 7:36:42 PM
Starting preprocessing of job...
Doing bitrate calculation...
Desired video size after subtracting audio size is 7134KBs. Setting the desired bitrate of the subsequent video jobs to 959 kbit/s.
Preprocessing finished!
successfully started encoding
Processing ended at 7:37:28 PM
------------------------------------------------------
Log for job job2
Job commandline: "C:\Program Files\megui\tools\xvid_encraw\xvid_encraw.exe" -i "F:\Sample\samples.avs" -pass1 "F:\Sample\samples.stats" -bitrate 959 -kboost 100 -chigh 30 -clow 15 -overhead 0 -nopacked -qmatrix "C:\Program Files\megui\extra\eqm_v3ulr_rev3.xcm" -closed_gop -lumimasking -imin 3 -imax 5 -pmin 3 -pmax 5 -bvhq -bquant_ratio 162 -bquant_offset 0 -bmin 3 -bmax 5 -par 7279:5000 -threads 0
xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003
Trying to retrieve width and height from input header
xvid [info]: Avisynth detected
xvid [info]: Input colorspace is YV12
xvid [info]: Input is 512 x 384, 23.976fps (24000/1001), starting from frame 0
xvid [info]: Number of frames to encode: 1461, Bitrate = 959kbps
xvid [info]: xvidcore build version: xvid-1.2.0-dev
xvid [info]: Bitstream version: 1.2.-127
xvid [info]: Detected CPU flags: ASM MMX MMXEXT SSE SSE2 TSC
xvid [info]: Detected cpus = 1, threads requested = 1, threads in use = 1
Tot: enctime(ms) =38813.00, length(bytes) = 7498007
Avg: enctime(ms) = 26.53, fps = 37.69, length(bytes) = 5125
I frames: 18 frames, size = 14356/ 258413, quants = 2 / 2.00 / 2
P frames: 534 frames, size = 9090/ 4854237, quants = 2 / 2.00 / 2
B frames: 909 frames, size = 2624/ 2385357, quants = 3 / 3.00 / 3
------------------------------------------------------
Starting postprocessing of job...
Job completed successfully and deletion of intermediate files is activated
Postprocessing finished!
End of log for job2
------------------------------------------------------
Looking for job processor for job...
Processor found!
------------------------------------------------------
Starting job job3 at 7:37:28 PM
Starting preprocessing of job...
Preprocessing finished!
successfully started encoding
Processing ended at 7:37:36 PM
------------------------------------------------------
Log for job job3
Job commandline: "C:\Program Files\megui\tools\xvid_encraw\xvid_encraw.exe" -i "F:\Sample\samples.avs" -pass2 "F:\Sample\samples.stats" -bitrate 959 -kboost 100 -chigh 30 -clow 15 -overhead 0 -nopacked -qmatrix "C:\Program Files\megui\extra\eqm_v3ulr_rev3.xcm" -closed_gop -lumimasking -imin 3 -imax 5 -pmin 3 -pmax 5 -bvhq -bquant_ratio 162 -bquant_offset 0 -bmin 3 -bmax 5 -par 7279:5000 -threads 0 -avi "F:\Sample\samples.avi"
Trying to retrieve width and height from input header
xvid [info]: Avisynth detected
xvid [info]: Input colorspace is YV12
xvid [info]: Input is 512 x 384, 23.976fps (24000/1001), starting from frame 0
xvid [info]: Number of frames to encode: 1461, Bitrate = 959kbps
xvid [info]: xvidcore build version: xvid-1.2.0-dev
xvid [info]: Bitstream version: 1.2.-127
xvid [info]: Detected CPU flags: ASM MMX MMXEXT SSE SSE2 TSC
xvid [info]: Detected cpus = 1, threads requested = 1, threads in use = 1
xvid [error]: Couldn't init AVI file for writing (F:\Sample\samples.avi)
xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003
AVIOutputFile::Init Error: Unable to open file "F:\Sample\samples.avi" for write: The process cannot access the file because it is being used by another process.
desired video bitrate of this job: 959 kbit/s - obtained video bitrate (approximate): 0 kbit/s
------------------------------------------------------
Starting postprocessing of job...
Job completed successfully and deletion of intermediate files is activated
Found intermediate output file 'F:\Sample\samples.stats', deleting...
Deletion succeeded.
Postprocessing finished!
End of log for job3
------------------------------------------------------
Neillithan
7th June 2008, 18:07
I know this seems like a backwards way to go about things, but it is the only easy and efficient way I've found to encode a video with many multiparts.
When I record a bunch of footage from a video game using Fraps, it will split each video into 4 gigabyte chunks with a horrible naming scheme. When I have 30 or so of these 4gig files, it can be a pain to merge them. I've found the only easy way to do it is to rename them to "file01.avi... file02.avi..." (so on and so forth) and then open them in virtual dub. By appending file02.avi, it automatically appends all of the other avi's. I am then able to start a frameserver which does basically the same thing as AviSynth, it frameserves the video in the form of an Avi file.
Next, I just make an AviSynth script pointing to the frameserver.avi that looks somewhat like this.
AviSource("P:\Fraps\frameserver.avi")
ConvertToYV12()
That's it. That's all I do. Then I just open the AviSynth script in Megui, choose the H.264 profile I want to use, then I enqueue a 2 pass encoding.
When I start the first pass, all goes well until it reaches the 2nd pass. The 2nd pass simply says, "error". This is easily corrected by right clicking the 2nd pass in the queue, changing its status to "WAITING" and then pressing start. It will then finish encoding the 2nd pass without further problems (unless I perform an autoencode with automatically muxes the audio with the video, I get an error for that which is easily corrected via the same method as before).
I realize I can use AviSynth to automatically concatenate multiple video files, but I choose not to do that for 1 very easily understood reason. When there are 10+ videos to concatenate, every time the AviSynth script is loaded, it will put a little icon in my system tray (usually the matroska icon) and since there are 30 videos, it loads 30 matroska icons and takes nearly a minute to complete. When doing a 2 pass encoding, sometimes it likes to load the avisynth script 2-3 times before it actually starts encoding. I can just sit here and watch my system tray grow and shrink with icons while MeGUI is totally nonfunctional trying to process the AviSynth script.
Hopefully you can fix the "error" message for virtualdub frameservers.
-Neil
EDIT: I've discovered that using "SegmentAviSource(P:\Fraps\file.avi)" in an Avisynth script automatically loads all videos in a folder and does not put those little icons in my system tray. However, when using SegmentedDirectShowSource or DirectShowSource, it does put those icons in my system tray. I guess I found a solution to my problem and it seems kind of silly to use VirtualDub now to frameserve. Oh well, a fix for the "error" message would be appreciated anyway.
Sodgawd
7th June 2008, 18:24
You can just use AviSynth for that :
clip1 = DirectShowSource("foo.mp4")
clip2 = DirectShowSource("bar.mp4")
clip3 = DirectShowSource("baz.mp4")
clip1 + clip2 + clip3
:thanks: for the response!! I thought about that.. but won't that cause it to be reencoded? Or can I throw that .avs file into the muxer... hmmm... I'll try doing that.. Thanks for being a cardboard cutout Hymn :p
Sodgawd
8th June 2008, 17:25
ok.. I recently updated to the new version of Ripbot264.. something got installed that I missed (forgot to uncheck).. So I uninstalled EVERYTHING.. Ripbot.. megui.. Haali.. Avisynth.. ac3filter.. FFDshow.. all of it!!
I then reinstalled it all (except ripbot.. cool proggy.. just too basic for my needs).. latest versions.. Only difference is FFDshow.. r1990 is the build that i installed. I use the development udater inside of megui so everything is hunky dory. It makes the d2vs just peachy. However, upon trying to open it up in the avs script creator I get this error msg..
http://maxupload.com/thumb/26804D45.jpg (http://maxupload.com/img/26804D45.jpg)
(Note: This is my copy of the movie being converted to play on my ps3..)
I can only assume that this means that there is a problem with AviSynth. It has been uninstalled.. reboot.. reinstalled.. DGDcode and Index are from the same version.. Any advice would be hot!!
saint-francis
9th June 2008, 00:23
I can only assume that this means that there is a problem with AviSynth. It has been uninstalled.. reboot.. reinstalled.. DGDcode and Index are from the same version.. Any advice would be hot!!
Does the .avs play in a media player? Can you post the .avs?
Sodgawd
9th June 2008, 01:11
Does the .avs play in a media player? Can you post the .avs?
I can't even get that far in meGUI. It error's out upon attempting to load the d2v. I have uninstalled everything even remotely related to video's and DVDs. I then install only meGUI, FFDshow and Haali splitter. Same error.
If I manually creat the avs file, MPC hangs like it does not know how to handle the file.
EDIT: Sheesh!! I finally got it. I removed and reinstalled meGui and componants only. Aparently it was an errant .avsi file that I had in the plugins folder. I changed it from avsi to avs and voila.. back in business (so to speak). I still am having trouble upconverting my files upon encode. That is why I had the LimitedSharpedFaster, USS, and GradFunkMirror avsi files in the plugins folder. Now the avs file just failes outright do to the scripting that I am having a tough time wrapping my mind around. I found this post in the AVS forums in regards to what I am trying to do:
http://www.avsforum.com/avs-vb/showthread.php?t=719041
saint-francis
11th June 2008, 00:06
How reliable is the automatic resize function in the MeGUI .avs creator? I am up against a wall here. I am trying to resize terminator 3 to 720p from 1080p BD. MeGUI tells me (1280,528), or (roughly) 2.4:1 while IMDB and the BD review of the movie on HighDef Digest tell me 2.35:1. It gets even more complicated;The HD DVD review of the same movie on HighDef Digest tell me 2.4:1. WTF is going on here? I have tried to judge it for my self but I can't tell a big difference between (1280,544) and (1280,528); at least not enough to know which if right. I have even tried comparing both of them to just the movie loaded with DirectShowSource in AVSP and I still can't tell heads from tails. Any advice would be great.
P.S. Using MeGUI version # 0.3.0.1004
Razorholt
11th June 2008, 07:01
Zones option with WEIGHT settings doesn't seem to work. Can someone please confirm it?
Thanks,
- Dan
toytown
12th June 2008, 13:22
Zones option with WEIGHT settings doesn't seem to work. Can someone please confirm it?
Using Megui 0.2.6.1046 (the latest i believe) zones definetely works, as i use it for all my encodes to lower the bitrate of the credits signficantly.
Razorholt
12th June 2008, 15:11
Using Megui 0.2.6.1046 (the latest i believe) zones definetely works, as i use it for all my encodes to lower the bitrate of the credits signficantly.
Are you using CQ or WEIGHT? CQ works, WEIGHT doesn't (for me at least)
huvar
14th June 2008, 19:45
Hi!
I need a h.264/avc sequence where a gop has a fixed structure with 2 consecutive B-fames and a size of 15 frames.
I tryed using megui (x264) deactivating B-adaptive and setting the correct number for bframes but I still can't output this structure. The gop has size 15 but the two consecutive frames aren't always there.
Any ideas about known problems in MEGUI or x264 (I'm not sure which one is to blame) concerning this? maybe other conflicting options?
Thanks!
Dark Shikari
14th June 2008, 20:13
Hi!
I need a h.264/avc sequence where a gop has a fixed structure with 2 consecutive B-fames and a size of 15 frames.
I tryed using megui (x264) deactivating B-adaptive and setting the correct number for bframes but I still can't output this structure. The gop has size 15 but the two consecutive frames aren't always there.
Any ideas about known problems in MEGUI or x264 (I'm not sure which one is to blame) concerning this? maybe other conflicting options?
Thanks!You need to disable scenecut by setting scenecut=-1.
toytown
14th June 2008, 21:22
Are you using CQ or WEIGHT? CQ works, WEIGHT doesn't (for me at least)
Weight, i always use 5 for pure black and white credits, this reduces the bitrates to less than 300kbit per second for the majority of the credits, whereby without the weight added, it can sometimes hit 6Mbit on a 3Mbit/2pass encode.
huvar
14th June 2008, 22:26
You need to disable scenecut by setting scenecut=-1.
Done that... Here is the command line displayed in megui...
--crf 18 --keyint 15 --min-keyint 15 --ref 5 --mixed-refs --bframes 2 --no-b-adapt --b-pyramid --bime --weightb --direct auto --partitions all --8x8dct --scenecut 0 --threads auto --thread-input --progress --no-psnr --no-ssim --output "output" "input"
Dark Shikari
14th June 2008, 22:33
Done that... Here is the command line displayed in megui...
--crf 18 --keyint 15 --min-keyint 15 --ref 5 --mixed-refs --bframes 2 --no-b-adapt --b-pyramid --bime --weightb --direct auto --partitions all --8x8dct --scenecut 0 --threads auto --thread-input --progress --no-psnr --no-ssim --output "output" "input"Blame MeGUI, Scenecut needs to be set to -1 (disabled), not 0 (low threshold).
huvar
14th June 2008, 22:36
Done that... Here is the command line displayed in megui...
--crf 18 --keyint 15 --min-keyint 15 --ref 5 --mixed-refs --bframes 2 --no-b-adapt --b-pyramid --bime --weightb --direct auto --partitions all --8x8dct --scenecut 0 --threads auto --thread-input --progress --no-psnr --no-ssim --output "output" "input"
Ok! Figured it out... I had not disabled it completely... Thanks!
Ajax_Undone
15th June 2008, 02:45
Apparently your software has an unresolved bug...
http://forum.doom9.org/showthread.php?p=1149002#post1149002
Sharktooth
15th June 2008, 03:10
we can do nothing about groove and megui "incompatibility".
probably the problem is either in groove or the .net framework AND vista.
on XP everything works fine.
about scenecut, i'll investigate asap.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.