View Full Version : MeGUI: General Questions and Troubleshooting Thread
Sharktooth
12th June 2006, 14:08
resolution, fps, bitrate...?
M.H.A.Q.S.
13th June 2006, 11:19
The resolution varies as I have tried to encode many movies. The FPS is mostly set to 29.97 and the bitrate for audio and video varies between 50-128. I use AAC audio encoder for audio encoding when there is a need.
Here is the log from x264gui, just for reference.
---------- AviSynth Script ----------
DirectShowSource("C:\Documents and Settings\mhaqs\Desktop\alone_wmvlowwide.wmv")
Crop(0,0,-0,-0)
BicubicResize(592,336,0,0.5)
---------- Audio Encoding ----------
Command Line: "C:\Documents and Settings\mhaqs\Desktop\x264gui\bin\Applications\BeSweet\BeSweet.exe" -core( -input "C:\Documents and Settings\mhaqs\Desktop\alone_wmvlowwide.wav" -output "C:\Documents and Settings\mhaqs\Desktop\alone_wmvlowwide_AudioOutput.mp4" ) -azid( -c normal -L -3db ) -ota( -d 0 -g max ) -bse( -vbr 0.5 )
---------- Audio Encoding Statistics ----------
Start time: 2:14:32 PM
End time: 2:14:42 PM
Duration: 00:00:09
Speed: 366 fps
Size: 1.7 MB
Bitrate: 127.82 kbps
Video Bitrate: 50239 -> 50171
---------- x264 Single/First Pass Encoding ----------
Command Line: "C:\Documents and Settings\mhaqs\Desktop\x264gui\bin\Applications\x264\x264.exe" --crf 22 --ref 3 --bframes 3 --b-pyramid --weightb --b-rdo --bime --analyse all --8x8dct --subme 6 --trellis 1 --mixed-refs --progress --no-psnr --output "C:\Documents and Settings\mhaqs\Desktop\alone_wmvlowwide_EncoderOutput.mp4" "C:\Documents and Settings\mhaqs\Desktop\alone_wmvlowwide.avs"
---------- x264 Single/First Pass Encoding Statistics ----------
Start time: 2:14:42 PM
End time: 2:19:45 PM
Duration: 00:05:03
Speed: 11 fps
---------- Muxing ----------
Command Line: "C:\Documents and Settings\mhaqs\Desktop\x264gui\bin\Applications\MP4Box\MP4Box.exe" -add "C:\Documents and Settings\mhaqs\Desktop\alone_wmvlowwide_EncoderOutput.mp4:name=Video" -add "C:\Documents and Settings\mhaqs\Desktop\alone_wmvlowwide_AudioOutput.mp4:lang=eng:name=English:sbr" -new "C:\Documents and Settings\mhaqs\Desktop\alone_wmvlowwide.mp4"
---------- Muxing Statistics ----------
Start time: 2:19:45 PM
End time: 2:19:45 PM
Duration: 00:00:00
Speed: 8731 fps
---------- Overall Statistics ----------
Start time: 2:14:32 PM
End time: 2:19:45 PM
Duration: 00:05:12
sjchmura
14th June 2006, 22:05
Ok, I want to move from Recode to the High Profile, Dual core support of MeGUI/X264 :)
I have nero 7 installed. Should I use this or another audio method? So far the megui is bombing on the Ac3 so i assume this is due to nero 7 being "locked" from other software.
Is the "directshow" drop down using AVIsynth (read another post). If so how do I ensure the AVIsynth method is being used and updated properly..
ChronoCross
14th June 2006, 22:13
Megui no longer supports nero 7. It uses instead their free AAC encoder. try updating to the latest version of megui and use the updater to download the needed files.
sjchmura
14th June 2006, 23:27
Wow - never knew the updater works that way :) I thought only StaxRip. Sorry - RFM :)
M.H.A.Q.S.
15th June 2006, 09:47
c'mon guys. Does nobody know what is wrong with the encoding done with x264??
check
15th June 2006, 13:45
@ MHAQS,if the only problem is that you cannot output to anything but mp4, can't you simply remux the file after it is output?
My question: I've run into no troubles with adaptive muxer, has anyone found any problems with it?
thuongshoo
20th June 2006, 06:07
Hi !
I open AVS file.
You know! If I choose 2pass- 1st pass, I can't choose container and video output filename.
I click Enqueue. Megui says " video output filename does not have the correct extention. Based on current settings, it should be mp4"
and for clicking "Queeu analysis pass", Megui says "Error : Could not add job to queue. Make sure that all the details are enterd correctly "
Please help me !
Thank you !
jellysandwich
20th June 2006, 18:46
A few questions:
1) Does MeGUI automatically convert .srt subs to .ttxt (I'm worried about a MP4 spec compliant issue)?
2) Why doesn't MeGUI's muxer allow .ttxt subs in the first place?
3) After muxing a file, how can I access the subs in that file? Ie, if I load the file into mmg/mkvmerge, it will see the video and audio streams but not the subtitles.
js
Doom9
20th June 2006, 19:07
Does MeGUI automatically convert .srt subs to .ttxt Yes and No. No, MeGui doesn't do that, but mp4box does and since MeGUI uses mp4box...
Why doesn't MeGUI's muxer allow .ttxt subs in the first place?Because srt is pretty much the standard format for textual subs?
3) Do these tools even support all MP4 flavors? I mean the obvious way is to install the appropriate mp4 playback filters and play the file.. not try to remux it into something else. mp4box might be able to extract the subs again (it will certainly list them as a track) but I've never had the need to try this out.
jellysandwich
20th June 2006, 20:10
Yep, mp4box can indeed extract it. I was just wondering if it was possible just in case I needed to remux for some reason. Thanks a bunch.
js
ariga
21st June 2006, 10:34
The download link to chronocross's site on sourceforge is incorrect.
Is there an alternative to running the autoupdate to get the latest builds ? Often the PC I use to browse doesn't have .Net 2 :(
daverc
21st June 2006, 12:29
@ariga : i think MeGui is now hosted on x264.nl
I just noticed there's no obvious way to get MeGUI when you google for it. First answers are doom9 posts, or sourceforge page. And they all are more or less outdated.
It could give a boost to the project if someone puts a link to x264.nl (http://x264.nl) on top of each of these pages.
check
21st June 2006, 12:34
The autoupdate server is here: http://megui.org/auto/
check
22nd June 2006, 02:18
Can someone please explain what "Use Advanced ToolTips" in the options does? Thanks.
ChronoCross
22nd June 2006, 03:16
Can someone please explain what "Use Advanced ToolTips" in the options does? Thanks.
if you hover over a checkbox it will display an information bubble. if this option is unchecked those do not appear.
Revgen
22nd June 2006, 03:51
Doesn't Xvid encraw support multithreading?
MeGUI doesn't seem to have any multithreading options to choose from for Xvid. I'd appreciate it if they were added. Thanks. :thanks:
ChronoCross
22nd June 2006, 04:23
Doesn't Xvid encraw support multithreading?
MeGUI doesn't seem to have any multithreading options to choose from for Xvid. I'd appreciate it if they were added. Thanks. :thanks:
xvid encraw does support it however this is a feature part of the 1.2CVS. I'm not sure if megui supports using it yet. Sharktooth or berrinam or even doom9 might know better.
Revgen
22nd June 2006, 05:58
Okay I'll contact berrinem.
ariga
22nd June 2006, 08:29
Thanks, daverc & check.
Blue_MiSfit
22nd June 2006, 11:07
Strange.. I formatted this evening and figured I would give the new MeGUI auto-update thing a try. So I installed the latest build from x264.nl - 0.2.3.2175 - and when it auto updates neroaacenc is not available.
Any word on what's happening, or what a fix could be?
realized I have to get this file myself from nero's website due to licensing issues. All is well
This feature is unbelievably cool. No more digging through the forums and my archives!
Thanks!!!
~MiSfit
thuongshoo
23rd June 2006, 05:54
Hi !
I open AVS file.
You know! If I choose 2pass- 1st pass, I can't choose container and video output filename.
I click Enqueue. Megui says " video output filename does not have the correct extention. Based on current settings, it should be mp4"
and for clicking "Queeu analysis pass", Megui says "Error : Could not add job to queue. Make sure that all the details are enterd correctly "
Please help me !
Thank you !
I try to use version which is at sourgeforce.net. This version allow me to choose container when I choose 2pass-1st pass.
I have new problem ! I have no output file when I finished encoding 2pass-2ndpass.
Log for job job3
avis [info]: 320x240 @ 23.98 fps (7156 frames)
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
x264 [info]: slice I:50 Avg QP:25.02 size: 12924
x264 [info]: slice P:3825 Avg QP:27.21 size: 2648
x264 [info]: slice B:3281 Avg QP:29.26 size: 651
x264 [info]: mb I I16..4: 4.4% 22.6% 72.9%
x264 [info]: mb P I16..4: 1.7% 3.7% 3.0% P16..4: 51.9% 10.8% 5.7% 1.1% 0.5% skip:21.6%
x264 [info]: mb B I16..4: 0.1% 0.5% 0.4% B16..8: 13.4% 1.6% 2.2% direct: 9.9% skip:72.0%
x264 [info]: final ratefactor: 26.26
x264 [info]: 8x8 transform intra:42.3% inter:39.9%
x264 [info]: direct mvs spatial:98.6% temporal:1.4%
x264 [info]: kb/s:346.0
Actual bitrate after encoding without container overhead: 346.09
----------------------------------------------------------------------------------------------------------
Starting job job4 at 17:22:47 PM
Job is a video job. encoder commandline:
--pass 2 --bitrate 351 --stats "C:\Documents and Settings\Administrator\My Documents\stat.stat" --keyint 240 --min-keyint 24 --ref 6 --mixed-refs --no-fast-pskip --bframes 5 --b-pyramid --b-rdo --bime --weightb --subme 7 --trellis 1 --analyse all --8x8dct --direct auto --b-bias 3 --me umh --progress --no-psnr --output "E:\SES\shoo yarc01.mp4" "E:\SES\shoo yarc01.avs"
successfully started encoding
Processing ended at 17:23:01 PM
----------------------------------------------------------------------------------------------------------
Log for job job4
desired video bitrate of this job: 351 kbit/s - obtained video bitrate: 0 kbit/s
----------------------------------------------------------------------------------------------------------
Starting job job13 at 11:06:11 AM
Job is a video job. encoder commandline:
--pass 1 --bitrate 351 --stats "C:\Documents and Settings\Administrator\My Documents\021119_Shoo_HEYx3.stats" --no-fast-pskip --bframes 1 --bime --weightb --subme 1 --trellis 2 --analyse all --8x8dct --direct auto --b-bias 5 --me dia --progress --output NUL "C:\Documents and Settings\Administrator\My Documents\021119_Shoo_HEYx3.avs"
successfully started encoding
Processing ended at 11:09:36 AM
----------------------------------------------------------------------------------------------------------
Log for job job13
avis [info]: 320x240 @ 23.98 fps (6257 frames)
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
x264 [info]: slice I:61 Avg QP:22.15 size: 11219 PSNR Mean Y:42.65 U:44.54 V:45.92 Avg:43.32 Global:42.98
x264 [info]: slice P:3280 Avg QP:24.65 size: 2759 PSNR Mean Y:39.93 U:41.88 V:43.40 Avg:40.63 Global:40.14
x264 [info]: slice B:2916 Avg QP:26.75 size: 660 PSNR Mean Y:39.24 U:41.73 V:43.30 Avg:40.04 Global:39.55
x264 [info]: mb I I16..4: 3.4% 23.3% 73.3%
x264 [info]: mb P I16..4: 1.3% 3.2% 3.0% P16..4: 59.9% 11.7% 6.4% 1.3% 0.6% skip:12.7%
x264 [info]: mb B I16..4: 0.0% 0.2% 0.3% B16..8: 14.2% 1.3% 2.2% direct:14.3% skip:67.5%
x264 [info]: final ratefactor: 24.44
x264 [info]: 8x8 transform intra:38.7% inter:46.0%
x264 [info]: direct mvs spatial:99.8% temporal:0.2%
x264 [info]: PSNR Mean Y:39.634 U:41.836 V:43.377 Avg:40.380 Global:39.871 kb/s:357.35
Actual bitrate after encoding without container overhead: 357.43
----------------------------------------------------------------------------------------------------------
Starting job job14 at 11:09:36 AM
Job is a video job. encoder commandline:
--pass 2 --bitrate 351 --stats "C:\Documents and Settings\Administrator\My Documents\021119_Shoo_HEYx3.stats" --ref 5 --mixed-refs --no-fast-pskip --bframes 5 --b-pyramid --b-rdo --bime --weightb --subme 7 --trellis 2 --analyse all --8x8dct --direct auto --b-bias 5 --me umh --progress --output "C:\Documents and Settings\Administrator\My Documents\021119_Shoo_HEYx3.mp4" "C:\Documents and Settings\Administrator\My Documents\021119_Shoo_HEYx3.avs"
successfully started encoding
Processing ended at 11:09:38 AM
----------------------------------------------------------------------------------------------------------
Log for job job14
Carpo
23rd June 2006, 08:03
ok heres two little questions i think should go here
(note im not asking which is better on this one:) )
1st
which has more support mkv or mp4 - i would like to use the one which is more widely supported
2nd
seeing as i have a few pcs now (wifes childrens) i was thinkning of getting win2k3 standard server and do all the encodes from there (as well as other things)- has anyone used megui on that sort of OS ? if so any issues ?
Morte66
23rd June 2006, 09:45
which has more support mkv or mp4 - i would like to use the one which is more widely supported
Do you mean "which container supports more content", or "which "container is supported by more players/tools"?
I'd say mkv is better for content. But if a certain piece of software only handles one of them, then it's probably mp4.
Carpo
23rd June 2006, 09:58
"which "container is supported by more players/tools"?
was what i meant :)
Doom9
23rd June 2006, 13:36
I try to use version which is at sourgeforce.net.That's a very old revision ---- wait scratch that.. a rather up-to-date is now up but it was just placed there two days ago.. so you should always indicate the revision you're using.
I have no output file when I finished encoding 2pass-2ndpass. Whomever asked that we put a start and end time for a process in there (I initially was opposed to that but now I bow to the wisdom behind this request even though it probably wasn't meant in the same spirit as I find it useful now), inadvertedly added a feature that more people should be aware of:
The log shows you the total processing time for every single job. Armed with that, if video encoding only takes a few seconds.. that should sound an ear-piercing alarm.
Your job3: you can't encode more than 7000 frames in 16 seconds.. it's just impossible. Job4: you can't encode more than 6000 frames 2 seconds.. it's even more impossible.
Add another piece of crucial information: When x264 craps out for some reason, it not always tells megui why it crapped out.. those are the cases when you need to take the commandline from megui, and run the job manually from the commandline.. you're likely to find out what exactly went wrong when you do that. If you don't know what that means, I wrote instructions in the bugreport thread.
Sharktooth
23rd June 2006, 14:00
I've just updated the SF version to 2177.
Dkruskie
24th June 2006, 01:16
Strange.. I formatted this evening and figured I would give the new MeGUI auto-update thing a try. So I installed the latest build from x264.nl - 0.2.3.2175 - and when it auto updates neroaacenc is not available.
Any word on what's happening, or what a fix could be?
realized I have to get this file myself from nero's website due to licensing issues. All is well
~MiSfit
so where do I put the neroaacenc so megui recognizes it?
jellysandwich
24th June 2006, 01:30
so where do I put the neroaacenc so megui recognizes it?
It doesn't matter where you put it. You need to edit the autoupdate.xml file to make it think that it currently has the latest version installed. For example,
<iUpgradeable xsi:type="ProgramFile">
<DownloadChecked>false</DownloadChecked>
<SavePath>D:\encoding\megui\tools\neroaacenc\neroaacenc.exe</SavePath>
<CurrentVersion>
<FileVersion>2006-05-26</FileVersion>
<Url>naac_20060526.zip</Url>
</CurrentVersion>
<AvailableVersions>
<Version>
<FileVersion>2006-05-08</FileVersion>
<Url>naac_20060508.zip</Url>
</Version>
<Version>
<FileVersion>2006-05-26</FileVersion>
<Url>naac_20060526.zip</Url>
</Version>
</AvailableVersions>
<AllowUpdate>true</AllowUpdate>
<Name>neroaacenc</Name>
<TreeViewID>UpdateableFiles.ProgramFile</TreeViewID>
<NeedsRestartedCopying>false</NeedsRestartedCopying>
</iUpgradeable>
I imagine you could just take it out entirely, but I'm not sure. And of course, you could also simply wait for the developers to take care of it.
js
Hesse
24th June 2006, 03:19
I'm using MeGUI for the first time and did a quick search of the forum but didn't find a solution, so I thought I'd post. I'm trying to encode my episodes of American Dad. When generating the AVS script, the guide says to use the "Analyze" on the Filters tab to check the source to determine the type and which deinterlacing is required. However, it fails on the one episode that I've tried (S1E12). I'm using v0.2.3.2177 of MeGUI.
This is what it says:
Source type: For your reference:
Progressive sections: 0
Interlaced sections: 0
Partially Static Sections: 137
Film Sections: 14
Source does not have enough data. This either comes from an internal error or an unexpected source type.
Then the only option is "Do nothing (Source Detection is stuck)".
I tried checking the deinterlace box, but of course there was nothing in the AVS script. I went ahead and encode the episode, but the source output was interlaced as expected. If I deinterlace using ffdshow, it sort of works. But I've noticed that the various deinterlacers have trouble with these episodes (I've tried AutoGK and several different deinterlacing methods in GK).
Is there a way to select the deinterlacing in the GUI? I don't know anything about AVS scripts, so I wouldn't know how to add a deinterlacing method manually.
Any help is appreciated.
berrinam
24th June 2006, 03:22
Two suggestions:
Try bautodeint (http://forum.doom9.org/showthread.php?t=111870&highlight=bautodeint) to see if it recommends anything. Unfortunately, it has no GUI, so you'll have to run it in commandline form, inputting an avs file which contains the first line of the script MeGUI generates (just the input). It'll hopefully say what kind of source you have, in which case you can tell us and we can recommend some filters.
Upload a small sample of your source somewhere, so we can look at it.
Hesse
24th June 2006, 03:44
berrinam,
Thanks for the suggestion. I tried your tool with the following result:
E:\DVD\AMERICANDAD\DISC3\112\112_MEGUI>bautodeint --input 112.avs
BAutoDeint [info]: Number of sections of type `unknown': 137
BAutoDeint [info]: Number of sections of type `film': 14
BAutoDeint [info]: There are 0 sections with 0 frames moving.
BAutoDeint [info]: There are 7 sections with 1 frames moving.
BAutoDeint [info]: There are 6 sections with 2 frames moving.
BAutoDeint [info]: There are 13 sections with 3 frames moving.
BAutoDeint [info]: There are 7 sections with 4 frames moving.
BAutoDeint [info]: There are 14 sections with 5 frames moving.
Processing completed. Type is determined to be unknown.
This is the source AVS that I used previously generated by MeGUI.
# Set DAR in encoder to 4 : 3. The following line is for automatic signalling
global MeGUI_darx = 4
global MeGUI_dary = 3
DGDecode_mpeg2source("E:\DVD\AMERICANDAD\DISC3\112\112_MEGUI\112.d2v",info=3)
ColorMatrix(hints=true)
#Not doing anything because I have no idea what is going on
#crop
LanczosResize(720,480) # Lanczos (Sharp)
Undot() # Minimal Noise
As you can see, it is confused about the source type. I believe the source to be very bad, as I mentioned with the troubles of different deinterlacers.
If you or someone else could explain how to take a sample of the source to send to someone, I could try that also.
Edit:
Of course, after reading your message fully, I used the wrong avs script. I just reran it with only the DGdecode line pointing to the source, but the result from your program was the same.
berrinam
24th June 2006, 06:29
Aha! Cartoon sources always seem to cause troubles. Use ChopperXP to cut a bit of the VOB file so that you can upload it somewhere like http://rapidshare.de or http://savefile.com
Carpo
24th June 2006, 09:39
ok this has prob been asked b4 (and i have used search but trying to find the post search refers to in about 50 pages is a bit much :) )
what does no dct decimation do? and is it required - i see by default it is disabled and when i put the mouse over the box i dont get a little tooltip bubble telling me what its for.
i know im gonna get a response of "if you dont know what it is you dont need it" but it would be nice to know what it is and what it does :D
aslo can anyone suggest an all round quant matrix file to use ? at the moment i use eqm_avc_hr.cfg
thuongshoo
24th June 2006, 10:43
MeGui Avisynth Script Genarator
At MeGui Avisynth Script Genarator, I open "E:\SES\[DVD-MV]S.E.S-meng.mpg". DGIndex's icon appears at taskbar, Maximize it, DGIndex don't do anything .
At DGIndex window, if I open file "E:\SES\[DVD-MV]S.E.S-meng.mpg" , DGIndex will do automatically without choosing "Save Project". And then Megui says "AVIsynth Error MPEG2source :unable to load D2V file E:\SES\[DVD-MV]S.E.S-meng.d2v "
There is a d2v file exist at E:\SES but its name is [DVD-MV.d2v
Perhaps My computer has some problem .
Carpo
24th June 2006, 11:28
its becuase of the name remove [] and it should work fine
cc979
24th June 2006, 13:53
just been doing some test encodes, and found when i autocrop sometimes it leaves a couple of blacking lines at the top - is there any theshold for border detection ?
Hesse
24th June 2006, 17:47
Aha! Cartoon sources always seem to cause troubles. Use ChopperXP to cut a bit of the VOB file so that you can upload it somewhere like http://rapidshare.de or http://savefile.com
OK, I used ChopperXP and cut a small section that I've been looking at for checking the deinterlacing quality.
http://rapidshare.de/files/23989479/CUT.VOB.html
The places I've been looking are the sign on the side of the baggage claim and the people walking just after the baggage claim bit.
jellysandwich
24th June 2006, 19:31
OK, I used ChopperXP and cut a small section that I've been looking at for checking the deinterlacing quality.
http://rapidshare.de/files/23989479/CUT.VOB.html
The places I've been looking are the sign on the side of the baggage claim and the people walking just after the baggage claim bit.
IVTC seems to do a pretty good job on this clip.
#avs script
DGDecode_mpeg2source("CUT2.d2v",info=3)
it()
http://amnah.net/uploader/files/1/cut.avi
js
Hesse
24th June 2006, 22:32
Thanks for the help everyone. I poked around in the settings and found the option to increase the amount of the source to analyze to determine the type. I changed it from 1% to 2% and it was able to successfully complete the analysis of the complete source. It came up with the TIVTC (similar to what you just said jellysandwitch).
I just processed the complete episode, and it looks great!
I wanted to take a moment to thank all the developers of MeGUI and the x264 codec. I tried MeGUI about 6 months ago had some troubles with quality, etc so I stuck with using AutoGK. MeGUI now is just great! The additional automated steps makes it easy for someone who doesn't want to go into the gory detail of setting up the AVS scripts, but allows the flexibility to do so for the others out there. And the quality of x264 is amazing. Keep up the great work everyone!
Hesse
25th June 2006, 01:07
Got another question. After generating the AVS script, then I'm using the "AutoEncode" option to automatically calculate bitrate and mux in the AC3 soundtrack into the MKV container. I'm also adding chapters and a name to the audiofile. However, when I view the file, the additional information is not there. Is it a bug or am I doing something wrong? I also like to name the video track with the name of the codec used, but this option is grayed out.
Thanks.
Doom9
25th June 2006, 11:38
@thuongshoo: Could you please try the experiment I suggested in my previous post?
thuongshoo
25th June 2006, 12:10
@Doom9: Do you mean about post #177 ? I also try to run DGIndex at Cmd but it still remains.
I have just found a thing. There are only some MPG files which can't analysed by DGIndex automatically.
Doom9
25th June 2006, 12:52
@thuongshoo: no, this one: http://forum.doom9.org/showthread.php?p=844025#post844025
thuongshoo
25th June 2006, 13:01
@Doom9: Oh ! Your link lead me to my post. post844025 is a my post.
Doom9
25th June 2006, 14:17
oops.. I meant this of course: http://forum.doom9.org/showthread.php?p=844146#post844146
Carpo
27th June 2006, 19:08
seeing as i have a few pcs now (wifes childrens) i was thinkning of getting win2k3 standard server and do all the encodes from there (as well as other things)- has anyone used megui on that sort of OS ? if so any issues ?
no one can offer any advise on this Q ? :(
foxyshadis
27th June 2006, 22:54
2k3 is essentially the same as xp sp2 with minor updates, megui/avisynth/x264 etc run fine on it. You might look into 2k3 SBS, if it's still cheaper than standard.
ryanmac3
28th June 2006, 07:59
Hey this is my first post so sorry pretty much just been reading everthing...but I cant seem to find an option in Megui to load a custom matrix in the config button for xvid encraw?? am i just missing something? I've tried changing from h.263 to mpeg but still greyed out I cant load a custom matrix please help and again sorry if its a stupid question.
foxyshadis
28th June 2006, 09:35
Update your megui, it should be on the zones tab.
Carpo
28th June 2006, 18:58
2k3 is essentially the same as xp sp2 with minor updates, megui/avisynth/x264 etc run fine on it. You might look into 2k3 SBS, if it's still cheaper than standard.
nevermind i figured out what you meant :)
ryanmac3
28th June 2006, 19:41
Thanks foxyshadis it works perfect now!! didn't realize I was out of date lol :)
wacco
30th June 2006, 14:29
I've got an xvid avi file that I want to compress with Xvid again. I have no problems in doing this, but how do i get audio on the output file? There is audio on the input video file. Do I need to demux the audio first? How? Is it possible with Megui? Or do I have to use Virtualdubmod or something?
check
30th June 2006, 15:09
To add in audio you need to use the muxer under the tools menu - I forget which input types it supports but you may need to demux with another tool first - try Avimux_GUI
wacco
30th June 2006, 15:32
OK, if anyone knows if it's possible to do this without using another program to demux, please tell :) .
I know how to demux with another program, but it takes more time than to just use one program ;) .
Doom9
30th June 2006, 23:54
you could use Virtualdub and set audio to direct stream copy. MeGUI isn't meant to do such a thing.. you can process avi video input but as far as audio goes, it's not that simple (a video stream can have 0 - multiple audio streams which means you need a way to pick your track just for starters.. hardly any software can do this)
foxyshadis
1st July 2006, 07:25
MeGUI can do it if you manually add the audio to the avisynth script with an AudioDub(DirectShowSource(...,audio=true)) line. Better make sure the default audio stream is the one you want though.
ClownR
3rd July 2006, 21:36
hello
I recently got meGui and updated to everything lastest.
But i cannot update the following:
Error: neroaacenc could not be found on the server
Update completed.
0 files were completed successfully
1 files had problems.
Is there another way to get that file? Thanks
and sorry if someone already had asked this, please point me to the solution link :)
ChronoCross
3rd July 2006, 21:47
hello
I recently got meGui and updated to everything lastest.
But i cannot update the following:
Error: neroaacenc could not be found on the server
Update completed.
0 files were completed successfully
1 files had problems.
Is there another way to get that file? Thanks
and sorry if someone already had asked this, please point me to the solution link :)
go to the nerodigital site. it's a free file.
ClownR
3rd July 2006, 22:02
the website doesn't have that specific file.
Deep_Eyes
3rd July 2006, 23:08
Here is a rather stupid question. I have had to remove x264 and megui due to the avisynth script editor not working. I've since reinstalled everything. Filters codec's megui itself and installed x264 from its installer. I still get this error while trying to use the avisynth script generator
This comes up in a message box:
Avisynth script error:
Script error: there is no function named "DGDecode_Mpeg2Source"
I have all my plugins in the avs default plugins directory, yet i still get the same error.
Any thoughts of what I'm doing wrong?
Latexxx
3rd July 2006, 23:15
the website doesn't have that specific file.
http://www.nero.com/nerodigital/eng/down-ndaudio.php
ClownR
4th July 2006, 04:04
Deep_Eyes
you should be using the following:
LoadPlugin("X:\DVD-Encoding\Encode.Kit\filters\MPEG2Dec3.dll")
###SourceFile###
mpeg2Source("X:\encodes\Dears\3\drs3.d2v")
in your case use the DGI decode file instead. That should fix it.
And Latexxx thank you for the link, appericate it :) thank you very much.
foxyshadis
4th July 2006, 06:46
LoadPlugin("C:\Absolute\Path.dll") should never be necessary if avisynth was installed properly. Did you, say, install gordian knot first? (Which screws up the avisynth paths in the registry.) Also ensure that megui's avisynth folder is correct, as well. Otherwise you'll have to edit every single avs script as you make them.
Deep_Eyes
4th July 2006, 06:56
@foxyshadis
Yes I did install Gordian Knot a long time ago, but I uninstalled it, uninstalled Avisynth and anything else, then reinstalled Avisynth from its installer, then installed megui, downloaded all the updated files and such. The plugins dir points to the AviSynth 2.5\plugins directory like it should be. yet the problem still shows up. Can't do anything with the script generator, though if I make scripts manualy i can then work with megui.
Deep_Eyes
4th July 2006, 08:13
well this is odd. I was playing around and made a dir inside the plugins dir, and I'd be buggered if that didn't make it work. Odd if you ask me, everything in the registry looks fine. well its fixed
i find it intresting that it seems to be a filter problem. If more than the filters megui has on its list is in the same dir, it causes this error. I created a new dir put only the filters that megui's updater downloads and the problem seems to be solved.
dude051
6th July 2006, 00:41
Is there any reason MeGUI's Avisynth script creator makes ITU 16:9 a 37:20 SAR ( 1.823 AR) ? If I remember correctly, there is true 16:9 content out there, in a lot of anime shows actually, which have a 1.78 AR (16:9) which would make the DAR 16:9. MeGUI forcing all ITU 16:9 content to a 1.85 AR forces all 16:9 conent to a DAR of 37:20. But why? There is a difference in the two content. Is it possible for future detection of this?
I know that there only exist two DAR in the DVD spec, 4:3 and 16:9, so this is why ususally you have to crop vertically and horizontally and then specify a 1.85 AR (37:20 DAR) for that content.
Please correct me if I am wrong...
berrinam
6th July 2006, 01:26
Is there any reason MeGUI's Avisynth script creator makes ITU 16:9 a 37:20 SAR ( 1.823 AR) ? If I remember correctly, there is true 16:9 content out there, in a lot of anime shows actually, which have a 1.78 AR (16:9) which would make the DAR 16:9. MeGUI forcing all ITU 16:9 content to a 1.85 AR forces all 16:9 conent to a DAR of 37:20. But why? There is a difference in the two content. Is it possible for future detection of this?
I know that there only exist two DAR in the DVD spec, 4:3 and 16:9, so this is why ususally you have to crop vertically and horizontally and then specify a 1.85 AR (37:20 DAR) for that content.
Please correct me if I am wrong...
You seem to misunderstand what is going on (I don't blame you -- it's very confusing). The DAR shown at the top of the window is the input DAR (before cropping). On DVDs, this can only be ITU 4:3 (which isn't exactly 4:3) or ITU 16:9 (which isn't exactly 16:9). Then, you crop the borders, and you will probably end up with a differently-shaped movie. So, what MeGUI puts in the AviSynth script is the DAR of the output (cropped) movie, which seems to be 37:20 in your case.
If you have an anime source which is not ITU 4:3 or ITU 16:9 before cropping then you have to select the input DAR by hand.
I hope that clears it up. If not, you'll have to be more specific about what's going wrong.
dude051
6th July 2006, 01:53
Yes, it's very confusing, and the search turns up odd ends everywhere. Thanks for answering.
I get it now that that is the input DAR and beside it is the respective output DAR.
My question now, is why does it default to the 37:20 output DAR? I think most people would take this setting for granted, but not all content is in this DAR output wise after cropping. Maybe my math is wrong, or I dont understand but:
16:9 AR = 16:9 DAR
1.85:1 AR = 37:20 DAR
I say this because I know my source has a 1.78 AR, which would be a DAR of 16:9, no cropping of the height. And MeGUI still places an output DAR of 37:20. Which would actually stretch it out of its original AR? To fix it, I set to custom, and input the 1.78 AR i suppose, which then shows as 16:9 DAR in the script. So far I haven't gotten the script creator to make a source that has a 16:9 DAR output for me yet, it's always been 37:20.
No matter what, the input DAR has to be either ITU 4:3 or ITU 16:9, right? The output DAR is what varies after you crop it, right? I think I get it, but I do think MeGUI's area here can confuse. One side with a drop down menu to select the ITU DAR, either 4:3 or 16:9, and then another to select from the range of output DAR's, 4:3,16:9,37:20,2:0,47:20 and custom for the wierd ones. This, to me, would make it more clear.
towerblocks
6th July 2006, 15:00
Is there a way to manualy set the threads in megui, I only get 50ish% cpu usuage.
berrinam
6th July 2006, 15:08
It's in
The settings
Codec settings (depending on whether the codec supports it)
towerblocks
6th July 2006, 16:50
It's in
The settings
Codec settings (depending on whether the codec supports it)
It's got automatically set number of threads (tick box), Thats all, I use it for XviD encoding.
sjchmura
6th July 2006, 20:27
So I have MeGUI installed, latest Neroaac. I select quality 0.5 and try and do an encode of a Transport Stream to 4.7GB disk.
MeGUI and the neroaacenc seem to work find with small files. However, after Megui demuxes the ac3 and begins the encoding it simply "hangs" at "processing". I then get an error in the log file after 5 minutes sayign the encoding could not be performed.
Thoughts? Suggestions? Is this an AVIsynth thing? I downloaded the neroencaac.exe off the official nero site and still no luck
dude051
7th July 2006, 04:25
It's got automatically set number of threads (tick box), Thats all, I use it for XviD encoding.
You can manually set the number of threads by doing so:
1. Under the Input tab of the main program, hit the Config button under the Codec section.
2. Under the Main tab, in the Other Settings section at the bottom is the Threads option with an up and down menu selection. Default is 1 (when auto detected and you have one cpu/core) and you can manually set to more.
@sjchmura
I then get an error in the log file after 5 minutes sayign the encoding could not be performed.
Could you maybe post the exact error? Is the AAC file even created? and if so how large is it. Right now it's a bit general and hard to pin point your problem Sounds like a problem with the NeroAAC encoder though.
check
7th July 2006, 05:17
Would this be an instance where -ignorelength is required? Is it used by default anyway?
ChronoCross
8th July 2006, 07:16
The Wiki is starting to shape up. More people should add and edit the pages with their knowledge. I've already made some edits. I'm going to try and put together a some tuts in the next few weeks.
stebie
9th July 2006, 02:57
A fresh problem that I'm experiencing. I wanted to clarify if it is a (known) issue, that is if it is an issue, before posting in the Bug Reports thread.
I am using the latest version of MeGUI to date and downloaded all updates and necessary software.
Following the guide @ http://project357.com/MeGUIwiki/index.php?title=Guides:Basic_Guide I run into a problem when encoding audio. I have tested both LAME and Ogg Vorbis, and both experience the same problem.
MeGUI appears to take close to 100% of my CPU (AMD Athlon64 4000+), leaving nothing for other applications to use, including LAME and Ogg Vorbis. When encoding occurs, the projected time for completion more than 1 day away. I have not waited this duration, as the speed of the current progress is evidence enough it's not going to complete anytime soon.
I have used LAME in StaxRip with no problem.
berrinam
9th July 2006, 03:14
@stebie: How long did you wait on the audio encoding? It is expected that MeGUI will use most of the CPU when the first pass of the audio is being done, because no encoding is being done at that stage; only audio processing. Also, no progress is reported at that stage, so any time estimates are going to be useless. If you haven't already, try waiting a while for the first pass to complete before killing the processing.
stebie
9th July 2006, 03:31
@berrinam: Thanks for your prompt response! I'd say I waited between 5 and 10 minutes for this (possibly 15), but I'm not fussed in trying again. I know you said the time estimates given during the process are irrelevant, but how long do you think (max) it should take for its processing to complete? Should I cancel if it doesn't complete its processing in an hour?
berrinam
9th July 2006, 03:37
Should I cancel if it doesn't complete its processing in an hour?It obviously depends on the length of your audio file, and I don't encode audio much, but I would say that (with your CPU) it should *definitely* have either finished or finished the preprocessing stage (and given some CPU to the lame.exe file) in an hour's time. If there is no sign of progress in an hour's time, then there is certainly something unusual going on.
stebie
9th July 2006, 03:44
@berrinam: I will give it a go later tonight and will update this post advising whether I was successful or not. Thanks!
EDIT: An update. I haven't restarted my PC since initial tests, but opened MeGUI and performed the steps in the guide to the audio encode. I selected Ogg Vorbis, and now it's working without a problem - after 2-4 minutes of 'preprocessing', it was going super-fast.
Another weird thing occurred during the audio encode. Around 60% MeGUI appeared to have stopped. None of the counters were ticking over, including elapsed time. My mouse cursor was no longer visible, but I could use my keyboard. Windows seemed pretty much unusable. Went into Task Manager via CTRL-ALT-DEL, but didn't do anything. My mouse cursor was visible so I closed off Task Manager. MeGUI must have been encoding still, as the %age value had increased by a lot, as did most other values (excluding time remaining, obviously).
I do have other applications running in the background, so I'm not saying MeGUI was the cause. It's just something weird I've come across which others may or may not experience.
dungweaver
11th July 2006, 12:21
Before I post logs etc, maybe what I'm trying to do isn't supported: does MeGUI 0.2.3.2178 support muxing xvid and mp3 into an avi? If someone could pls advise, that would be great.
Ta.
check
11th July 2006, 12:30
Yes, use tools -> adaptive muxer
dungweaver
11th July 2006, 13:51
Yes, use tools -> adaptive muxer
Thanks, I did and the resulting avi is sound only (no video). Here's the log:
Job completed successfully and deletion of intermediate files is activated
Starting job job2 at 5:31:40 PM
encoder commandline:
-v "D:\D_videos\D _re-encoded\testing\test.sdtv.vid.avi" -a "D:\D_videos\D _re-encoded\testing\test.mp3" -o "D:\D_videos\D _re-encoded\testing\test.sdtv.vid_aud.avi"
successfully started encoding
Processing ended at 5:31:45 PM
----------------------------------------------------------------------------------------------------------
Log for job job2
DivXMux: Version 6.1 Build Num: 36
Output File Streams:
TrackId 0: Video Stream: From AVI
Frame Rate: 25.000000
Resolution: 608x336
TrackId 1: Audio Stream: From MP3
SamplesPerSec: 48000
BlockAlign: 1
Creating Index...
Observations:
Both input files 5:00 minutes; yet resulting Avi = 4:57
Gspot reports resulting video is DivX 5.0 (input video is Xvid)
I took the Adaptive Muxer option
check
11th July 2006, 13:55
is that the whole log? it seems as though some is missing, you didn't miss the scroll bar did you? (I do all the time -.-)
berrinam
11th July 2006, 14:15
There seem to be *issues* with DivXMux (the avi muxer). It should really be replaced with ffmpeg for muxing, as that does everything DivXMux does and more. Just, no-one got around to finish ffmpeg muxing.
Doom9
11th July 2006, 15:08
Uhh.. isn't ffmpeg unable to handle things like multiple audio tracks, subs and output splitting?
Sharktooth
11th July 2006, 15:12
Couldnt we create our own avi muxer starting from the avimuxgui sources?
check
11th July 2006, 15:25
Do you really want MeGUI to be able to output the monsters that are AVI with multiple audio tracks or soft subtitles? :P
IMO leave the weird stuff for better containers and keep avi as single video, single audio.
Selur
11th July 2006, 18:04
Speed issue with Xvid and MeGui
Just reinstalled my system and installed Avisynth and MeGui (I let megui download all the stuff) when encoding with Xvid I only get something like 65% CPU usage, but I did set it to use 2 threads in the config. Since this seemed strange I also downloaded current cvs head vfw build from celtivdruid and used it with Virtual Dub (same settings in Xvid) and got 95%+ Cpu usage and the encoding speed sort of doubled for 1st pass. (from around 33fps to around 60fps)
Is it just me overlooking something or is this related to the xvid encraw version megui downloaded?
Am I the only one with this problem on a dualcore system, or did I overlook a post in the forum about this. (used the search function, but didn't find something that seemed related)
Cu Selur
chelala
11th July 2006, 18:42
Hello I'm new to MeGUI. I know how to use AVS creator, but I do not know how to prepare the audio for my movie. When I click to open audio it allowa me to open AVS. As I';m converting from AVI to MP4. So audio is inside the AVI.
Please tell me how to prepare Audio for Avi - mp4. Steps??
Thanks
Harold
Sharktooth
11th July 2006, 18:45
load the .avs as audio input (ensure audio is not disabled in the directshowsource() filter)
Selur
11th July 2006, 18:46
you could try this:
write a little avs script with the following in it:
AviSource("Path to your avi")
--
see: http://www.avisynth.org/AviSource
Cu Selur
chelala
11th July 2006, 18:53
The there is no AVS audio script creator inside MeGUI, in this kind of recode case ?
then create in notepad AVS with the line AviSource("Path to your avi")
ok, Thank you for your answer
Harold
Sharktooth
11th July 2006, 18:59
i meant the same avs for video...
chelala
11th July 2006, 19:06
i meant the same avs for video...
My consern is that the AVS created by the script creator has somethin like
DirectShowSource("D:\temp\101.avi",fps=23.9759856527702,audio=false)
and I do not know if the false means that has NO audio, so I think I will have to create another AVS with a simple AviSource to be able to get the audio
Harold
Sharktooth
11th July 2006, 19:16
yes i meant that... just remove ",audio=false"
however if you want to create a new script use DirectShowSource("D:\temp\101.avi",fps=23.9759856527702) to be sure there are no sync issues.
chelala
11th July 2006, 20:09
WAO!
I worked great I tried your propossal, Also the AviSource way and even another using WavSource
Thanks a lot for your help
Harold
P.S. MeGUI is just great and powerfull
dungweaver
12th July 2006, 03:16
is that the whole log? it seems as though some is missing, you didn't miss the scroll bar did you? (I do all the time -.-)
Yes, I'm sure it is. Did another Mux this morning, same result (unusable avi).
My stand-alone player can only support the avi container format, so mkv etc not an option at this stage . Here's the log of recent attempt:
Starting job job3 at 11:11:06 AM
encoder commandline:
-v "D:\D_videos\D _re-encoded\testing\testVideo.avi" -a "D:\D_videos\D _re-encoded\testing\testAudio.mp3" -o "D:\D_videos\D _re-encoded\testing\testAVI.avi"
successfully started encoding
Processing ended at 11:11:11 AM
----------------------------------------------------------------------------------------------------------
Log for job job3
DivXMux: Version 6.1 Build Num: 36
Output File Streams:
TrackId 0: Video Stream: From AVI
Frame Rate: 25.000000
Resolution: 608x336
TrackId 1: Audio Stream: From MP3
SamplesPerSec: 48000
BlockAlign: 1
Creating Index...
----------------------------------------------------------------------------------------------------------
Job completed successfully and deletion of intermediate files is activated
Should I raise this as a bug or can someone suggest a way around, that doesn't involve manually muxing with external muxer etc? Thanks.
quake74
12th July 2006, 10:02
Yes, I'm sure it is. Did another Mux this morning, same result (unusable avi).
Should I raise this as a bug or can someone suggest a way around, that doesn't involve manually muxing with external muxer etc? Thanks.
I already posted about it in the megui bug thread. If you look at the previous page, you see that the devs know about it and are thinking about how to solve it. In the meantime, why don't you use avimuxgui?
Carpo
12th July 2006, 12:14
before i post what i think could be a bug in the calc part of megui could somone tell me what version the stable release is?
i see on sourceforge its 2177 - but version i have through update is 2179 - if i have a dev release (through my own stupidity of not sleeping enough aand too much drinking then i wont report the bug till i have tried the stable version) and turn off update of main exe :p
EDIT: was my fault not meguis - should have checked it was both mp4 for th audio i muxed and not 1 ac3 and 1 mp4 :p
Sharktooth
12th July 2006, 13:31
2179 is as "stable" as 2177... the only differencies are bugfixes for xvid.
chelala
12th July 2006, 20:08
Hi I dont understand well how to use the avc profiles.
I installed and updater downloaded all necessary files, including AVC profiles, whish is great help for me as I'm no guru on video encoding.
My problem is I know know whish order use it. Should I apply profile and then apply bitrate to fix space, or the other way ??
Thanks
harold chelala
Sharktooth
12th July 2006, 21:30
The profile for first, than the bitrate.
Dayvon
12th July 2006, 22:06
Quick stupid question.
You guys changed the Variable input on the AAC encoder. Which is better quality, Q=6.0 or Q=4.0? I get so confused with so many other "q" values with encoding....
chelala
12th July 2006, 22:48
ahh about AAC too
I had downloaded nero aac encoder my self from nero site, place it in tools of megui (I placed the sse2 version, because is a P-IV in my PC) and configure it's path in settings.
My question is: though all works well, Why it always produces aac-he, even when I select manually aac-LC ? I have tried to select aac-LC for mpeg4-asp in the mp4 container as nero recoder does.
thanks again
harold chelala
P.S. By the way, I like this place, all Q get answers really fast.. thanks. Hope can contribute some day...
Sharktooth
13th July 2006, 02:46
Quick stupid question.
You guys changed the Variable input on the AAC encoder. Which is better quality, Q=6.0 or Q=4.0? I get so confused with so many other "q" values with encoding....
Higher values corresonds to higher bitrates (Q stands for quality).
ahh about AAC too
I had downloaded nero aac encoder my self from nero site, place it in tools of megui (I placed the sse2 version, because is a P-IV in my PC) and configure it's path in settings.
My question is: though all works well, Why it always produces aac-he, even when I select manually aac-LC ? I have tried to select aac-LC for mpeg4-asp in the mp4 container as nero recoder does.
thanks again
harold chelala
P.S. By the way, I like this place, all Q get answers really fast.. thanks. Hope can contribute some day...
Can you please post your complete settings or a screenshot of the configuration you used?
EDIT: Did you save the profile?
Dayvon
13th July 2006, 08:05
Thx Sharktooth! You would think that higher Q means higher quality, but you never know. Take Lame for instance, V3 is better than V6... :rolleyes:
@ Chelala,
I definitely have gotten LC-AAC to work, quite beautifully as a matter of fact. If it still doesnt sound good enough to you, make sure you choose how many channels you want (multi 5.1, or 2 Channel stereo), and also make sure and use Variable Bitrate for the higher quality.
chelala
13th July 2006, 16:02
Hi What I do to try use AAC LC is:
- select avs for audio (like here teached me)
- and for the case LC I click "Config" button of the codec
- Being there I only touch a combo (AAC Profile) and change it from automatic to AAC-LC
- then OK and Enqueue or autoencode
thanks
harold
P.S. By the way I dont know how to place an image inside my post. I have no place to upload the snapshot
Dayvon
13th July 2006, 20:15
Is there a way to get a letterboxed image output in MeGUI?
I have a specific program that needs to playback the video, but it stretches video automatically to 4:3 if the resolution is anything but 4:3. So my 16:9, 2.35:1, and 1.85:1 MeGUI encodes play stretched in this player.
I figure there is some way in the AVScript to add the letterboxing, but I have no idea what that script would be, and secondly, I would like to know how to set that script into MeGUI's Script creator so the process is more automated then cutting and pasting in Notepad :D.
Thanks!
Doom9
13th July 2006, 20:30
I have a specific program that needs to playback the video, but it stretches video automatically to 4:3 if the resolution is anything but 4:3. So my 16:9, 2.35:1, and 1.85:1 MeGUI encodes play stretched in this player.You're going to sacrify compressibility for that, and a smart software should prevent people from doing bad things, not help them..
Throw a vocabulary of swearwords at the maker of this software..
chipzoller
13th July 2006, 20:33
I actually have the same problem but with one of my hardware players. Just doing tests converting my rips back to DVD with ConvertXtoDVD, if the source was originally any other AR but 4/3 and the black bars cropped off, it will only display it as 4/3. I guess this is just a dumb player, but it would be nice if there were a way around it.
Dayvon
13th July 2006, 20:43
You're going to sacrify compressibility for that, and a smart software should prevent people from doing bad things, not help them..
Throw a vocabulary of swearwords at the maker of this software..
Yeah, explitives are welling up, but there is little i can do. This is for a business application so the choice of presentation software is not necessarily mine. I just have to deal with it :angry:. Thank god the player can play Quicktime compatible files (mp4 H264 specifically), otherwise I'd be pissing and moaning like what!
So yeah, need 16:9's letterboxed to 4:3.... Help!
foxyshadis
13th July 2006, 20:46
Start like you normally would, make sure anamorphic encoding is off, and add this to the end of the script when done:
border=int((width*3./4-height)/2)
AddBorders(0,border,0,border)
That should force it to encode in 4:3. Expect bad edges unless you modify it to be mod-16 (there was a post a while back about that).
Sucks having to make up for such deficiencies.
Dayvon
13th July 2006, 21:11
@ foxy
Thank you soooooo much. This works beautifully. With the vid I'm encoding right now, at 640xXXX, it didn't have a mod16 problem so sweet!! This just fixed my woes in a heartbeat, now if I could figure out how to mux my files in MOV without going through Quicktime, I'm gonna be golden...
As always, Doom9 forums are a blessing from the video gods. Thank you!!!
cc979
14th July 2006, 16:28
i just want to check this before posting it as a bug, being using megui 0.2.3.2179 and when it start encoding x264 after a while of high cpu usage (normal) my mouse cursor starts moving to the top right corner when ever if move the mouse or click a mouse button, thought it was the mouse - a4tech wop-35
it started doing it on the last x264 update never before, and it only does it with megui, so not sure if its a bug or it is a driver problem - has anybody had this happen before, cheers
Dayvon
14th July 2006, 18:16
@ foxy and Doom9...
Ok I just thought you guys might get a kick out of this. So you know that *bleep* program that I have to use that needs 4:3 video to display properly? Well, that program stepped up it's P-O-S status today. I've been seeing some big troubles with resolution with the programs full screen display. The resolution looks like 256x192 instead of the 720x386 that it is.
So, I dropped a note to the software maker asking how to solve it. They said I have to MAKE THE VIDEO THE SAME RESOLUTION AS THE DISPLAY. I nearly couldn't believe it. What on earth? I've never heard of anything like that. Ever. So I made an anamorphic video source, at 4:3 with 800x600 and sure enough it looked good. I can overlook the whole stretching thing, but seriously, a program that can't even properly scale a video?
Just wow.
foxyshadis
14th July 2006, 20:11
It must be an "Enterprise Video Player". It's a good thing most companies are willing to pay a hundred times as much for a tenth of the functionality, or most of the consultants of the world would go out of business. The horror!
cc979, it sounds lke one of those goofy things where you might need to unplug and replug it (if it's usb), or restart the machine. Mouse drivers or the mouse itself occasionally start getting bad signals and acting all weird.
check
14th July 2006, 20:35
my mouse (bog standard MS optical) has a heavy enough cord that if left alone for a while, will slowly start moving towards the top of the desk as it's pulled backwards. Caused me no end in grief as I attempted to work out what the problem was with drivers, windows, etc etc when the solution was a simple mechanical one.
cc979
15th July 2006, 13:45
my mouse is a ps/2 connection and the cord is fastened to the desk so it does not move, its just odd that only happens when encoding with megui - i'm going check x264 from a command-prompt see what happens
cheers all
foxyshadis
15th July 2006, 18:33
Does it always happen? Or was it a one-time thing?
B. W.
18th July 2006, 02:14
I hope I'm not breaking the cross posting rule on the forums, but I've only had this problem with MeGUI (and Nero Recode, but that's a known issue already). I figured this would be a better place to post it.
I've tried encoding my movies with ACC and MP3 and every time I have to downmix the audio the volume is lowered. I have the increase volume option on and it doesn't seem to do anything.
I didn't have the problem with StaxRip of GKnot (using Xvid).
~bT~
18th July 2006, 02:40
I hope I'm not breaking the cross posting rule on the forums, but I've only had this problem with MeGUI (and Nero Recode, but that's a known issue already). I figured this would be a better place to post it.
I've tried encoding my movies with ACC and MP3 and every time I have to downmix the audio the volume is lowered. I have the increase volume option on and it doesn't seem to do anything.
I didn't have the problem with StaxRip of GKnot (using Xvid).
I thought it was me only, but I guess Im not alone now. It happens always with my encodes even though I have the increase volume auto option ticked. Another issue I have is, even though I select HE it still does LC? Any ideas???
foxyshadis
18th July 2006, 03:54
Audio normalization must not be getting called correctly, I'll see if I can look at it.
As for LC/HE, how do you choose and how do you measure? Note that most players will report HE as 22/24khz LC AAC; some will add an SBR tag, or AAC+, while still calling it LC. (Because technically HE is LC with benefits, as opposed to the other three AAC profiles that no one uses anyway.) Complain to the players' developers. If it actually is LC, you might simply have too high a bitrate for HE, I know nero simply will not use it above a certain bitrate. (The Nero devs all recommend strongly that you never force HE or PS, that you leave it on automatic unless your player can't handle HE.)
squid_80
18th July 2006, 07:06
i just want to check this before posting it as a bug, being using megui 0.2.3.2179 and when it start encoding x264 after a while of high cpu usage (normal) my mouse cursor starts moving to the top right corner when ever if move the mouse or click a mouse button, thought it was the mouse - a4tech wop-35
I had one of these 3 years ago, same thing happened (it's not software related). It will get worse, might as well start shopping for a new one.
It's a shame because it was a good mouse, those side buttons were very handy for playing Diablo II.
cc979
18th July 2006, 12:53
@foxyshadis and @squid_80
i un-installed the drivers it is ok, read some where that the a4tech drivers hand been re-designed for xp sp2 (some problems with previous drivers)
there are a nice mouse, but just incase it was a hardware thing, just bought a new-one - a ms comfort 3000 thing with a little tilt wheel its ok, just feels different probably get used to it tho
cheers
foxyshadis
18th July 2006, 13:44
Normalize is definitely getting called correctly, which makes sense; could it be that what you really want is dynamic compression instead of normalization? Usually movies are already normalized, but very uncompressed, which doesn't sound so great if you don't set up your playback filters to use compression. (Or can't, it's ffdshow audio's biggest ommission.)
I'm all for instituting a besweet wrapper avisynth plugin, which I think dizmon was working on earlier in the year, but I don't know if he left any of his work behind.
bkman
19th July 2006, 01:00
Question: Why does Megui set DAR to 1.85 on an uncropped source instead of 1.823?
sjchmura
24th July 2006, 15:10
THis should be easy: MeGUI, Autoencode, Profiles and bitrate (TS->MP4 DVD5_)
So when I press "autoencode" and choose say - 1 DVD5, it gives me a bitrate. If I que this then the bitrate is not automatticly set - correct? So I need to read the numbers off of the autoencode box, go into the HQ-slow (for example profile), and change the bitrate manually - correct?
Doom9
24th July 2006, 16:55
it gives me a bitrate. If I que this then the bitrate is not automatticly set - correct? That depends on your setup.. if you're encoding audio, the bitrate has to be adjusted to take the encoded audio into account (so that you get your desired final filesize).. the bitrate shown is set when you queue but it is updated once all audio streams have been encoded and just before the first pass of the video starts. There's no need for a bitrate in profiles.. in fact Richard wanted to make it a nullable field but never got around to doing it..
acidsex
24th July 2006, 17:46
Ok, I have searched and unfortunate;y havent found the answer or I have overlooked it. Why is it when I have a profile selected (1 pass Intermediate Quality) and when I select auto encode that it auto defaults to two pass? Is this a bug or is autoencode hardcoded to only do two passes? If it is the latter, is it possible to change it so that autoencode automatically uses the profiles selected? Because right now, I have to do everything manually (enque audio, then enque video, then wait for encoding to finish before I can mux.) It would be much easier if I could somehow either edit the autoencode to select the profile I want to use (ala one click encoder) or to have autoencode use the profiles selected by default and if no profile is selected, then default to the two pass that it currently does.
Thanks.
sjchmura
24th July 2006, 17:55
the bitrate shown is set when you queue but it is updated once all audio streams have been encoded and just before the first pass of the video starts. There's no need for a bitrate in profiles.. in fact Richard wanted to make it a nullable field but never got around to doing it..
Hmmm, well, it is NOT working that way. My steps
1. Take a TS (ATSC transport stream)
2. AVIsynth creator
3. It then places my avisynth file and ac3 file into the main window automaticlally.
4. Click "x264" and set for HQ-slow
5. Choose ND for audio 0.5 vbr (for the AC3 transcoding)
6. MP4 output
7. Click autoenceode DVD5
The file size comes out (for a 2.2 hour Star wars encode) to be 996megs no matter WHAT size I select in autoencode.
Also, even if you select the 1P (1 pass profiles) it will ALWAYS queue up 2 passes.
Is there something I can try to help troubleshoot this? I am sure others have seen this.
I have:
1. Uninstalled MEGUI
2. Uninstalled AVISYNTH
3. Reinstalled everything
Same result.
acidsex
24th July 2006, 17:58
Also, even if you select the 1P (1 pass profiles) it will ALWAYS queue up 2 passes.
Is there something I can try to help troubleshoot this? I am sure others have seen this.
I have:
1. Uninstalled MEGUI
2. Uninstalled AVISYNTH
3. Reinstalled everything
Same result.
Check my post right above yours. I have tried everything as well and uninstalled and reinstalled everything as well.
Doom9
24th July 2006, 18:59
and the logfile would be where? it really helps a lot if it's just on your harddisk....
acidsex
24th July 2006, 19:01
and the logfile would be where? it really helps a lot if it's just on your harddisk....
is this towards me or the other poster?
sjchmura
24th July 2006, 19:36
I can post the log - it CLEARY shows -bitrate 1000 (for example) that will NEVER be DVD5 size.
I will upload it later this eveing after I return home to help out. I will also do a 1-pass autoencode and show how, no matter what, 2 passes is always chosen
Doom9
24th July 2006, 19:57
megui dumps its whole internal working in the log, especially in autoencode and one click mode.. with the log you can see what megui does between the end of one job and the start of another (such as recalculating the bitrate, etc). So, along with the info on how to reproduce, any post should contain the logfile.. it's always better to provide too much than too little information ;)
Zeest
24th July 2006, 22:28
In MeGUI the muxing stage fails when I do an AutoEncode. The encoding goes well but muxing just fails. Heres the error log extract
Starting job job2-3 at 9:54:25 AM
encoder commandline:
-o "C:\Documents and Settings\admin\Desktop\illusion-muxed.mkv" -A -S "C:\Documents and Settings\admin\Desktop\illusion.mkv" --language 0:eng -a 0 -D -S "C:\Documents and Settings\admin\Desktop\VTS_01_0 T01 2_0ch 192Kbps DELAY 0ms.ac3" -split 700MB --no-clusters-in-meta-seek
successfully started encoding
Processing ended at 9:54:27 AM
----------------------------------------------------------------------------------------------------------
Log for job job2-3
mkvmerge v1.7.0 ('What Do You Take Me For') built on Apr 28 2006 17:19:57
Error: The source file '-split' could not be opened successfully, or retrieving its size by seeking to the end did not work.
----------------------------------------------------------------------------------------------------------
The current job contains errors. Skipping chained jobs
I also tried with Adaptive muxer, but that too gives me a huge error.
Doom9
25th July 2006, 00:25
I don't know if the mkvmerge syntax recently changed or suddenly doesn't support -split xx anymore but looking at the manpage it should say --split 700MB .. and I'm not sure MB is even supported, the manpage just says k,m,g
bkman
25th July 2006, 04:33
Question: Why does Megui set DAR to 1.85 on an uncropped source instead of 1.823?
Can't anyone answer this?
I'll be more specific: Why does the avisynth script creator in MeGui set the DAR to 1.85 on a 16:9 (PAL) source with no cropping applied when the anamorphic option is selected instead of the calculated ITU-R DAR of 1.823?
SCIF
25th July 2006, 06:50
Hi everybody!
I am translating contexthelp.xml to Russian now. I found one point of controversy.
<qpmin name="Minimum Quantizer">
<Advanced>
Enforces a minimum Quantizer. Prevents the codec from outputting frames with too much compression,
causing reduced quality. Note: This is disregarded in Constant Quality or Quality Based VBR modes.</Advanced>
<Basic>Set minimum Quantizer factor.</Basic>
<Recommended>10</Recommended>
<Default>10</Default>
</qpmin>
<qpmax name="Maximum Quantizer">
<Advanced>
Enforces a maximum Quantizer. Prevents the codec from outputting frames with too little
compression, wasting bits. Note: This is disregarded in Constant Quality or Quality Based VBR modes.</Advanced>
<Basic>Set maximum Quantizer factor.</Basic>
<Recommended>51</Recommended>
<Default>51</Default>
</qpmax>
I think i must same:<qpmin name="Minimum Quantizer">
<Advanced>
Enforces a minimum Quantizer. Prevents the codec from outputting frames with too little
compression, wasting bits. Note: This is disregarded in Constant Quality or Quality Based VBR modes.</Advanced>
<Basic>Set minimum Quantizer factor.</Basic>
<Recommended>10</Recommended>
<Default>10</Default>
</qpmin>
<qpmax name="Maximum Quantizer">
<Advanced>
Enforces a maximum Quantizer. Prevents the codec from outputting frames with too much compression,
causing reduced quality. Note: This is disregarded in Constant Quality or Quality Based VBR modes.</Advanced>
<Basic>Set maximum Quantizer factor.</Basic>
<Recommended>51</Recommended>
<Default>51</Default>
</qpmax>
How you think about possibility change or select contexthelp language, while installing megui?
raziel666
25th July 2006, 15:27
I used to be able to see some explanations on almost every x264 option in the config window, but since I updated my MeGUI to the latest version, I can't do that anymore. I've checked the Use AdvancedToolsTips from the Options menu. I've also uninstalled and reinstalled MeGUI but it didn't work out. Why is that?
SoleBastard
25th July 2006, 15:50
Why can't I select 2-pass ABR encoding in the MeGUI NeroDigital AAC Encoder Configuration tab?
I would like to compare the quality of 5.1 AC3 transcoding to AAC using 1-pass ABR, 2-pass ABR and a size corresponding VBR setting.
I tried using Foobar2000 (0.9.2 and 0.9.3b3) but it messes with the channel order and gives me a 96kbps file instead of 256! The console only mentioned something about the wav having a 'too big packet size which might result in parts not being encoded properly'.
Perpaps there is another frontend that is able to trancode AC3/DTS to 2-pass ABR AAC? Or is 2-pass ABR a technically a bad idea to use with multichannel content?
Doom9
25th July 2006, 15:56
Why can't I select 2-pass ABR encoding in the MeGUI NeroDigital AAC Encoder Configuration tab? because of the reason you will find if you use the search engine no this board..
And as far as reinstalling goes, be advised that megui uses an xcopy installation.. meaning you don't need an installer, you just copy files around. MeGUI leaves no traces anywhere on your system except for some files below the megui program path.. if you delete the folder where megui.exe is in, it is gone from your system with no trace left behind. There's an installer from x264.nl but all it does is copy files and create a few shortcuts.. you can't change anything by "reinstalling" and the only way to reset anything is delete the profiles folder and the settings file.
SoleBastard
25th July 2006, 16:36
Do I have to start all my posts with: 'Yes, I have used the search, but...' with a list of keywords I've used? :confused:
Ofcourse I've tried to use the search, I also tried searching at HA.org and with Google. Call me what you wil, maybe I'm having a blind spot, but I can't find a clear answer to the questions I stated in a concise way imho.
acidsex
25th July 2006, 17:58
So can anyone answer why the autoencode automatically defaults to a 2 pass mode even if 1 Pass Intermediate is selected?
hkl8324
25th July 2006, 18:17
It seems that I can not use Megui to act as the front end of mencoder to encode xvid/x.264 anymore, am I correct? (only encraw.exe and x264.exe can be used now...)
Doom9
25th July 2006, 20:17
It seems that I can not use Megui to act as the front end of mencoder to encode xvid/x.264 anymore, am I correct?Yes. supporting multiple encoders is cumbersome and leads to more errors.. plus x264.exe is more frequently updated.
So can anyone answer why the autoencode automatically defaults to a 2 pass mode even if 1 Pass Intermediate is selected?Well, that depends on how you set things up of course. There's a section called "Automated Encoding" in the settings.. it has an entry "number of passes".. I don't know what "1 pass Intermediate" is but if I create my own ABR profile, and then in the auto encoder window I select "No target size (use profile settings)", then I only get a single video job.
but I can't find a clear answer to the questions I stated in a concise way imho.Then why do I recall multiple threads that point out that with frameserved audio 2 pass audio encoding with that particular encoder is not possible?
Do I have to start all my posts with: 'Yes, I have used the search, but...' with a list of keywords I've used?That would be nice so other people could learn to form better searches.. it ain't easy to use a search engine after all.. the proper terms and the proper filters can lead to bliss or complete and utter frustration.
acidsex
25th July 2006, 21:08
I am using the default profiles that are downloaded when updating MeGUI. I am assuming its Sharktooths profiles. Ill try to create new profile using his seetings and saving it and then try that one and see if I get the one pass ABR mode instead of the two pass.
acidsex
25th July 2006, 22:18
Tried changing the default passes in the autoencode settings and the lowest it will let me go is 2 so that means I cant set it for one pass ABR. Any other suggestions?
Doom9
26th July 2006, 20:49
And are you 200% sure that once you press the autoencode button, you set the radio button to No Target Size (use profile settings) and that in the profile, the mode is set to ABR, Const. Quality or Const. Quantizer?
Especially the former is important.. you never confirmed that you're doing this. My 1P-Intermediate is set to ABR (so downloaded by the autoupdater).. but you MUST change that radio button or all will be for nothing. Unless you set the radio button to that particular setting, the number of passes configured in the settings will be taken.. and since the minimum there is 2 passes, you'll get two passes irrespective of the profile. I've tried this about 10 times now and the result is always the same..
thuongshoo
30th July 2006, 10:38
I try to encode with Xvid but isnot success . I copy these command and run them in cmd but the message is the same
Starting job job55 at 4:43:30 AM
encoder commandline:
-i "C:\Documents and Settings\shooshoo\My Documents\mnet.avs" -single -cq 8 -smoother 0 -vhqmode 4 -qpel -gmc -closed_gop -lumimasking -bvhq -threads 1 -mkv "C:\Documents and Settings\shooshoo\My Documents\mnet.mkv"
successfully started encoding
Processing ended at 4:43:32 AM
----------------------------------------------------------------------------------------------------------
Log for job job55
Usage : xvid_encraw [OPTIONS]
Input options:
-i string : input filename (default=stdin)
-type integer: input data type (yuv=0, pgm=1, avisynth=2)
-w integer: frame width ([1.2048])
-h integer: frame height ([1.2048])
-frames integer: number of frames to encode
Output options:
-dump : save decoder output
-save : save an Elementary Stream file per frame
-o string: save an Elementary Stream for the complete sequence
Bitstream options:
-par aspect_ratio : pixel aspect ratio ([VGA11; PAL43; NTSC43; PAL169;
NTSC169]) (default=VGA11)
-custom_par X Y : custom pixel aspect ratio
-divx_ud : write DivX-userdata
General encoding options:
-quality integer: quality ([0..6]) presets
+hqacp : high quality ac prediction
+inter4v : use 4 motion vectors per MB
-gmc : use global motion compensation
-interlaced : use interlaced encoding (this is NOT a deinterlacer!)
xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003Avisynth input is based on Avs2YUV by Loren Merritt
-i_tff : top field first (interlaced encoding)
-i_alt : alternate scan (interlaced encoding)
+greyscale : greyscale mode, all chroma is ignored
+cartoon : use 'cartoon' mode
+chroma_opt : enable chroma-optimizer pre-filter
-frame_drop integer: frame drop ratio (in percent)
BFrames options:
-max_bframes integer : max bframes (default=0)
-bquant_ratio integer : bframe quantizer ratio (default=150)
-bquant_offset integer : bframe quantizer offset (default=100)
-bf_thres integer : bframe threshold modifier (default=0)
-closed_gop : closed GOP mode
Rate control options:
-framerate float : target framerate (>0 | default=25.0)
-bitrate integer : target bitrate
-single : single pass mode
-pass1 filename : twopass mode (first pass)
-pass2 filename : twopass mode (2nd pass)
-zq starting_frame float : bitrate zone; quant
-zw starting_frame float : bitrate zone; weight
-max_key_interval integer : maximum keyframe interval
Single Pass options:
-reac_delay integer : reaction delay factor
-avg_period integer : averaging period
-smoother integer : smoother
Pass 1 of 2 options:
Pass 2 of 2 options:
-size integer : target size of video (use instead of bitrate)
-close_i_red intA intB : I frames closer than A frames are reduced by B %
-ccp_high integer : high bitrate degradation (in percent)
-ccp_low integer : low bitrate improvement (in percent)
-max_oi integer : max overflow improvement (in percent)
-max_od integer : max overflow degradation (in percent)
-overf_cs integer : overflow control strength (in percent)
-vbv_size integer : buffer size (bits)
-vbv_initial integer : initial buffer occupancy (bits)
-vbv_maxrate integer : max processing bitrate (bps)
-vbv_peakrate integer : max average bitrate over 3 seconds (bps)
Zone options:
-z "zone_type starting_frame quant/weight [extended options]"
zone_type : q (quant zone) or w (weight zone)
starting_frame : frame number of zone begin
quant/weight : average quantizer or weight (float)
extended options : all options that are listed as "+"-options
in this display may be used to enable/disable
certain features. Additionally the -bf_thres option
can be used. An option only available in zones is:
-if : force I-frame at the beginning of the zone
Quantization options:
-iquants min max : I-frame quantizer restriction ([1.31])
-pquants min max : P-frame quantizer restriction ([1.31])
-bquants min max : B-frame quantizer restriction ([1.31])
+trellis : use trellis based R-D "optimal" quantization
-mpeg_quant : use MPEG quantization instead of H.263
-mpeg_cqm filename : use custom MPEG quantization matrix (intra & inter)
-mpeg_intra_cqm filename : use custom MPEG quantization matrix (intra only)
-mpeg_inter_cqm filename : use custom MPEG quantization matrix (inter only)
-lumimasking : use lumimasking/adaptive quantization algorithm
Motion estimation options:
+hpel : use half pixel ME
-qpel : use quarter pixel ME
+chromap : use P-Frame chroma for ME
+chromab : use B-Frame chroma for ME
+me_advd16 : use advanced diamonds as search pattern
+me_advd8 : use advanced diamonds for extended 8x8 search
+me_sqr16 : use squares as search pattern
+me_sqr8 : use squares for extended 8x8 search
+me_hpelr16 : enable halfpel refine 16
+me_hpelr8 : enable halfpel refine 8
+me_qpelr16 : enable quarterpel refine 16
+me_qpelr8 : enable quarterpel refine 8
+me_gmer : enable GME refine
+me_exts16 : extend PMV by more searches
+me_exts8 : extended 8x8 search
Rate disortion options:
-vhq integer : R-D presets ([1.4])
+rated : enable R-D
+rd_simple : use simplified R-D mode decision
+rd_bf : enable R-D for B-frames
+rd_hpelr16 : use R-D halfpel refine 16
+rd_hpelr8 : use R-D halfpel refine 8
+rd_qpelr16 : use R-D quarterpel refine 16
+rd_qpelr8 : use R-D quarterpel refine 8
+rd_chk_pred : check vector equal to prediction
+rd_exts : perform R-D-based search using square patterns
Turbo options:
-turbo : turbo preset
+t_fr16 : low-complexity 16 refinement
+t_fr8 : low-complexity 8x8 sub-block refinement
+t_skipds : skip b-frame delta search
+t_fmi : partly skip interpolate mode
+t_bfes : stop b-frame search early
+t_dsm : detect stationary scenes
Other options
-asm : use assembly optmized code
-stats : print stats about encoded frames
-debug : activates xvidcore internal debugging output
-vop_debug : print some info directly into encoded frames
-help : prints this help message
NB: You can define 64 zones repeating the -z[qw] option as many times as needed.
----------------------------------------------------------------------------------------------------------
The current job contains errors. Skipping chained jobs
Starting job job56 at 4:43:45 AM
encoder commandline:
-i "C:\Documents and Settings\shooshoo\My Documents\mnet.avs" -single -cq 8 -smoother 0 -vhqmode 4 -qpel -gmc -closed_gop -lumimasking -bvhq -threads 1 -o "C:\Documents and Settings\shooshoo\My Documents\mnet.m4v"
successfully started encoding
Processing ended at 4:43:45 AM
----------------------------------------------------------------------------------------------------------
Log for job job56
Usage : xvid_encraw [OPTIONS]
Input options:
-i string : input filename (default=stdin)
-type integer: input data type (yuv=0, pgm=1, avisynth=2)
-w integer: frame width ([1.2048])
-h integer: frame height ([1.2048])
-frames integer: number of frames to encode
Output options:
-dump : save decoder output
-save : save an Elementary Stream file per frame
-o string: save an Elementary Stream for the complete sequence
Bitstream options:
-par aspect_ratio : pixel aspect ratio ([VGA11; PAL43; NTSC43; PAL169;
NTSC169]) (default=VGA11)
-custom_par X Y : custom pixel aspect ratio
-divx_ud : write DivX-userdata
General encoding options:
-quality integer: quality ([0..6]) presets
+hqacp : high quality ac prediction
+inter4v : use 4 motion vectors per MB
-gmc : use global motion compensation
-interlaced : use interlaced encoding (this is NOT a deinterlacer!)
-i_tff : top field first (interlaced encoding)
-i_alt : alternate scan (interlaced encoding)
+greyscale : greyscale mode, all chroma is ignored
+cartoon : use 'cartoon' mode
+chroma_opt : enable chroma-optimizer pre-filter
-frame_drop integer: frame drop ratio (in percent)
xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003Avisynth input is based on Avs2YUV by Loren Merritt
BFrames options:
-max_bframes integer : max bframes (default=0)
-bquant_ratio integer : bframe quantizer ratio (default=150)
-bquant_offset integer : bframe quantizer offset (default=100)
-bf_thres integer : bframe threshold modifier (default=0)
-closed_gop : closed GOP mode
Rate control options:
-framerate float : target framerate (>0 | default=25.0)
-bitrate integer : target bitrate
-single : single pass mode
-pass1 filename : twopass mode (first pass)
-pass2 filename : twopass mode (2nd pass)
-zq starting_frame float : bitrate zone; quant
-zw starting_frame float : bitrate zone; weight
-max_key_interval integer : maximum keyframe interval
Single Pass options:
-reac_delay integer : reaction delay factor
-avg_period integer : averaging period
-smoother integer : smoother
Pass 1 of 2 options:
Pass 2 of 2 options:
-size integer : target size of video (use instead of bitrate)
-close_i_red intA intB : I frames closer than A frames are reduced by B %
-ccp_high integer : high bitrate degradation (in percent)
-ccp_low integer : low bitrate improvement (in percent)
-max_oi integer : max overflow improvement (in percent)
-max_od integer : max overflow degradation (in percent)
-overf_cs integer : overflow control strength (in percent)
-vbv_size integer : buffer size (bits)
-vbv_initial integer : initial buffer occupancy (bits)
-vbv_maxrate integer : max processing bitrate (bps)
-vbv_peakrate integer : max average bitrate over 3 seconds (bps)
Zone options:
-z "zone_type starting_frame quant/weight [extended options]"
zone_type : q (quant zone) or w (weight zone)
starting_frame : frame number of zone begin
quant/weight : average quantizer or weight (float)
extended options : all options that are listed as "+"-options
in this display may be used to enable/disable
certain features. Additionally the -bf_thres option
can be used. An option only available in zones is:
-if : force I-frame at the beginning of the zone
Quantization options:
-iquants min max : I-frame quantizer restriction ([1.31])
-pquants min max : P-frame quantizer restriction ([1.31])
-bquants min max : B-frame quantizer restriction ([1.31])
+trellis : use trellis based R-D "optimal" quantization
-mpeg_quant : use MPEG quantization instead of H.263
-mpeg_cqm filename : use custom MPEG quantization matrix (intra & inter)
-mpeg_intra_cqm filename : use custom MPEG quantization matrix (intra only)
-mpeg_inter_cqm filename : use custom MPEG quantization matrix (inter only)
-lumimasking : use lumimasking/adaptive quantization algorithm
Motion estimation options:
+hpel : use half pixel ME
-qpel : use quarter pixel ME
+chromap : use P-Frame chroma for ME
+chromab : use B-Frame chroma for ME
+me_advd16 : use advanced diamonds as search pattern
+me_advd8 : use advanced diamonds for extended 8x8 search
+me_sqr16 : use squares as search pattern
+me_sqr8 : use squares for extended 8x8 search
+me_hpelr16 : enable halfpel refine 16
+me_hpelr8 : enable halfpel refine 8
+me_qpelr16 : enable quarterpel refine 16
+me_qpelr8 : enable quarterpel refine 8
+me_gmer : enable GME refine
+me_exts16 : extend PMV by more searches
+me_exts8 : extended 8x8 search
Rate disortion options:
-vhq integer : R-D presets ([1.4])
+rated : enable R-D
+rd_simple : use simplified R-D mode decision
+rd_bf : enable R-D for B-frames
+rd_hpelr16 : use R-D halfpel refine 16
+rd_hpelr8 : use R-D halfpel refine 8
+rd_qpelr16 : use R-D quarterpel refine 16
+rd_qpelr8 : use R-D quarterpel refine 8
+rd_chk_pred : check vector equal to prediction
+rd_exts : perform R-D-based search using square patterns
Turbo options:
-turbo : turbo preset
+t_fr16 : low-complexity 16 refinement
+t_fr8 : low-complexity 8x8 sub-block refinement
+t_skipds : skip b-frame delta search
+t_fmi : partly skip interpolate mode
+t_bfes : stop b-frame search early
+t_dsm : detect stationary scenes
Other options
-asm : use assembly optmized code
-stats : print stats about encoded frames
-debug : activates xvidcore internal debugging output
-vop_debug : print some info directly into encoded frames
-help : prints this help message
NB: You can define 64 zones repeating the -z[qw] option as many times as needed.
----------------------------------------------------------------------------------------------------------
foxyshadis
30th July 2006, 11:37
I could not reproduce the error with the same command line. Run update and make sure all components are current.
Doom9
30th July 2006, 12:46
You're using an encraw release by S_0. You need to use the latest one by squid80 which you can download via autoupdate in megui.
SCIF
31st July 2006, 00:28
Hi everybody!
I am translating contexthelp.xml to Russian now.....
...How you think about possibility change or select contexthelp language, while installing megui?
Does nobody want to help translate MeGUI?
Sharktooth
31st July 2006, 03:39
I uploaded some updates in the autoupdate server (x264, profiles, dgdecode and dgmpgdec).
If you encounter some bugs (expecially with dgindex) please report them in the bug report thread.
Does nobody want to help translate MeGUI?
I can translate it in Italian...
SCIF
31st July 2006, 09:24
Sharktooth, see this (http://forum.doom9.org/showthread.php?p=855313#post855313) post, please. How you think about possibility change or select contexthelp language, while installing megui?
I finished Russian translate. With Sharktooth's translate MeGUI will have 3 variants of ContextHelp :)
Henrikx
31st July 2006, 09:47
Does someone translate into German ?
Am I to ask in the german doom9 forum?
Sharktooth
31st July 2006, 13:46
Sharktooth, see this (http://forum.doom9.org/showthread.php?p=855313#post855313) post, please.
I finished Russian translate. With Sharktooth's translate MeGUI will have 3 variants of ContextHelp :)
the description is right. the lower the quantizer the lower the compression.
SCIF
1st August 2006, 00:26
the lower the quantizer the lower the compression.Yes, i think so too. But for what you set minimum quantizer?? I think nobody set min q to get a frames with good quality, but it set's for "wasting bits". I am right, isn't it?
SCIF
7th August 2006, 01:36
Is thread dead, again?
foxyshadis
7th August 2006, 02:18
Actually I already included the swapped descriptions in my local, whenever my next patch shows up and gets included it should be available.
SCIF
7th August 2006, 03:47
And how about translate's?
Limobar
8th August 2006, 01:27
Hi!
I was doing a 2-pass encode (x264) and during the second pass I found out that I was using an average bitrate (1934 kbit) that was too high. My question is: Can I use the first pass stats again, but then with a lower bitrate (1659 kbit)?
berrinam
8th August 2006, 11:36
Yes, it should be fine.
However, the larger the difference, the worse the quality.
spunch
9th August 2006, 15:01
berrinam, could you check your PM?
Carpo
9th August 2006, 20:34
i have ripped a file dvds to my hdd use dvd decryptrt 3.5.4.0 in file mode and when i tell megui to make a d2v from the vobs it stick up a box saying
could not find dvd decrypter generated info file
is this save to ignore or does it require that i rip the dvd in ifo mode ?
Doom9
10th August 2006, 11:21
is this save to ignore or does it require that i rip the dvd in ifo mode ?If you have the info file it'll show you the proper audio tracks and languages.. if not, you just have to figure out that info on your own and if you e.g. select track 8 and there's no track 8.. you just won't get any audio.
but it runs without that file, it's just always good to have it. And file mode... if your titleset contains additional content, you realize that file mode is going to get you that additional content (e.g. fbi warning, mpaa ratings and other annoying stuff) as well.. and it has nothing to do with file versus ifo mode.. it's about activating the info file option in dvddec.
Morte66
10th August 2006, 12:47
I'd appreciate a quick reality check on something... I've been away for a bit, last time I dropped by I saw the beginnings of development on interlaced encoding in x264. AFAICT, this hasn't got far enough to be integrated into MeGUI yet. Am I right, or is it sitting there in some menu that I'm ignoring?
nurbs
10th August 2006, 13:15
Interlaced has not been added to x264 yet because it slows down progressive encoding.
See here. (http://forum.doom9.org/showthread.php?p=859027#post859027)
carlo_0000
11th August 2006, 01:19
hy i don't know if i must post here but i have a strange problem on 1 hdtv mpeg2 what i try to convert to x264
using last megui with x264 in (mp4)
the source is a mpeg2 hd 1920*1088 from euro1080 channel (record in 2003)
the mpeg is 4.17 long
extract the audio it's olso 4.17 long
but when the video is converted to mp4
: the video is only 3.37 long
so i m not able to add the audio stream in my mkv what is 4.17 long
i convert over's hdmpeg to x264 without this problem
ChronoCross
11th August 2006, 01:21
does megui produce any error logs? More information please.
carlo_0000
11th August 2006, 01:30
no there was no error
i convert over's hdmpeg to x264 without this problem
oups no was with virtualdub
just finish a segond 1 with megui same problem video is shorter than the audio stream
but i think i found the problem
i openned in virtualdub the mpeg2 has 1920x1088 @ 25fps
end the mkv has 23.972fps
why it s not the same ? or is not that the problem?
edit: or maybe is this a error ?
Log for job job9-1
avis [info]: 848x464 @ 23.98 fps (5143 frames)
x264 [warning]: VBV maxrate specified, but no bufsize.
x264 [info]: using cpu capabilities MMX MMXEXT SSE 3DNow!
x264 [info]: slice I:40 Avg QP:18.02 size: 34667
x264 [info]: slice P:2864 Avg QP:19.60 size: 11813
x264 [info]: slice B:2239 Avg QP:21.70 size: 3883
x264 [info]: mb I I16..4: 34.2% 42.7% 23.2%
x264 [info]: mb P I16..4: 9.8% 8.9% 2.3% P16..4: 34.0% 16.1% 3.7% 0.6% 0.3% skip:24.4%
x264 [info]: mb B I16..4: 0.5% 0.4% 0.1% B16..8: 47.5% 1.6% 3.9% direct: 1.3% skip:44.8%
x264 [info]: 8x8 transform intra:42.1% inter:43.6%
x264 [info]: kb/s:1637.8
encoded 5143 frames, 0.71 fps, 1637.84 kb/
edit: i don't thinks that is the problem, i see 1 other video what was 29fps mpeg ntsc to 23.9fps x264 end the video is correct
but why meGui conver 25fps to 23.9 ?
Sharktooth
11th August 2006, 04:15
the problem is being discussed here: http://forum.doom9.org/showthread.php?t=114365
workaround: revert to DGIndex 1.4.7
carlo_0000
11th August 2006, 04:59
ok thanks
i try to instal the previous version
i have an other question:
why is mine p4 2ghz a lot slower with encoding to x264 than mine duron 1.8ghz ? +- 30% slower
lexor
11th August 2006, 23:51
I have a question regarding that dgindex issue, it's only for PAL right? so if I work with NTSC I don't have to downgrade?
Also is there any setting (or xml file) where I can force mkv to be a default container? I would never use mp4 or avi for anything I do, and changing it every time starting to get on my nerves.
Doom9
12th August 2006, 20:50
There's no need to downgrade dgindex.. just get the latest megui version.. I fixed the bug yesterday.
Sharktooth
13th August 2006, 14:05
i know, infact now you can just let megui auto-update and everything will work.
lexor
13th August 2006, 17:37
umm... anthing regarding my second question?
Doom9
13th August 2006, 17:45
no, defaults for the autoencode will come at some point but they're not there right now.
ricardo.santos
15th August 2006, 11:58
Hi everyone.
Ive been wanting to test Megui output using xvid and x264 for a while but everytime i tried it shows error messages
Since i have other programs that do that those error messages never bothered me.
With the growth of Megui "fan database" i decided once again to test it but the error messages poppd up again
one of them said "color matrix" when tryng to open preview window to crop video
heres another one
http://img91.imageshack.us/img91/4831/meguizu5.jpg
Doom9
15th August 2006, 13:09
Can you please describe the steps you took after launching megui?
ricardo.santos
15th August 2006, 17:41
1- Tools>>>D2V CREATOR>>>Queue>>>Start
2-Tools>>>Avisynth script creator>>>Load d2v>>>AutoCrop>>>>error message>>>>press ok
http://img116.imageshack.us/img116/5876/megui2cv8.jpg
Line 2 on script:ColorMatrix(hints=true)
3-load avisynth script>>>load audio track>>>configure audio>>>>configure xvid>>>automated 2pass>>>enque>>>>Fatal Error message
http://img91.imageshack.us/img91/4831/meguizu5.jpg
ricardo.santos
15th August 2006, 18:12
i removed the 2nd line of the script and it worked.
Going to try it using x264(the reason why i want to use Megui), will let you know how it goes
foxyshadis
15th August 2006, 20:46
Did you run the updater first? That'll add colormatrix to avisynth - obviously if it isn't there it won't work. Assuming your avisynth path is correct.
chadamir
15th August 2006, 21:15
whenever I try to run therogram I get the error "application failed to initialize properly (0xc0000005). Clcik on ok to terminate the application."
I have the .net installed. and everything is up to date.
Doom9
15th August 2006, 21:17
@ricardo.santos: now do you still get that error or is everything working out? You can't quite count the second error if you get one before..
chipzoller
15th August 2006, 22:03
I'm not sure if this is a bug or if I'm just stupid...
If I have a job processing in megui (x264 2 pass-auto) and add another with a script that contains: vobsub("subs.idx"), megui crashes and I see nothing in the log. Or rather to be more precise, megui hangs (but displays the burn-in subs in the preview window) when adding the job to the queue. Inside the .idx file I turned ON forced subs for a given sub channel. I realize I haven't given much hard fact here, but if this sounds like a familiar problem I'll investigate further.
Doom9
15th August 2006, 23:26
I take it as soon as you remove the subs it works like a charm, correct? And I also take it that the script's colorspace is not YV12 once you've added the subs. x264's input needs to be YV12
chipzoller
15th August 2006, 23:57
I take it as soon as you remove the subs it works like a charm, correct?
Correct.
The issue here is with megui as it hangs before calling x264.exe.
ricardo.santos
16th August 2006, 00:31
Did you run the updater first? That'll add colormatrix to avisynth - obviously if it isn't there it won't work. Assuming your avisynth path is correct.
yes, its all uptodate, i do get an error while trying to update neroaac, for some reason it doesnt update it, i looked at program files, avisynth plugins and all i could find was a colors_rgb.avsi no reference to color matric but megui says its there.
@ricardo.santos: now do you still get that error or is everything working out? You can't quite count the second error if you get one before..
yes i still get the first error and i have to manually remove that line from the script for megui to encode
ricardo.santos
16th August 2006, 00:38
some screenshots of avisynth plugins directory and avisynth version:
http://img151.imageshack.us/img151/6144/megui3zb3.jpg
http://img151.imageshack.us/img151/2366/megui4yi1.jpg
mp3 conversion is not working aswell , didnt noticed it because i didnt enable it on my first tests
ricardo.santos
16th August 2006, 00:42
http://img291.imageshack.us/img291/8392/megui5ii5.jpg
Sharktooth
16th August 2006, 03:22
yes, its all uptodate, i do get an error while trying to update neroaac, for some reason it doesnt update it, i looked at program files, avisynth plugins and all i could find was a colors_rgb.avsi no reference to color matric but megui says its there.
yes i still get the first error and i have to manually remove that line from the script for megui to encode
I think something is messed up in the MeGUI auto-update configuration. Uninstall it, delete the MeGUI folder and reinstall it.
about neroaac :search:
Blue_MiSfit
16th August 2006, 10:24
I've got a wierd one all of a sudden. Here is the script for reference:
LoadPlugin("...\RemoveGrainSSE3.dll")
LoadPlugin("...\fft3dgpu.dll")
LoadPlugin("...\gradfun2db.dll")
DGDecode_mpeg2source("...\VTS_02_1.d2v",info=3)
ColorMatrix(hints=true)
fft3dgpu(sigma=2, bt=2, plane=1, wintype=1)
removegrain(mode=1)
gradfun2db()
Source is a 24p DVD. The problem is that when I go to encode with x264 shooting for a hair under 3 mbit automated 2 pass, MeGUI dissapears unexpectedly.
I tried a different movie with the same x264 settings, and a script with mpeg2source, colormatrix, removegrain, and eedi. This ran without issue.
After megui closes x264.exe is still running, and hogging up ~200MB of RAM for firstpass!! :)
here's my command line:
C:\Program Files\megui\tools\x264\x264.exe --pass 2 --bitrate 700 --stats ".stats" --keyint 240 --min-keyint 24 --ref 5 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct auto --nf --subme 6 --trellis 1 --analyse all --8x8dct --me umh --thread-input --cqmfile "D:\x264 Matricies\M4G_High_Detail_AVC.cfg" --progress --no-dct-decimate --no-psnr --output "" ""
Also, this script goes smoothly through vdub into XviD CQ4.
Ideas?
~MiSfit
Doom9
16th August 2006, 12:04
@chipzoller: could you post the avs script and do you get a preview when you load the script into megui? What's the crash message?
ricardo.santos
16th August 2006, 12:22
about neroaac :search:
i rember from the top of my head that the update doent work with neroaac because of some legal issues/licenses remember reading that we have to do it manually. but i thought that was solved has neroaac reference is still there in the update window. not a big problem anyway.
will uninstall megui and install it again and let you guys know of the results
thanks
chipzoller
16th August 2006, 12:58
DGDecode_mpeg2source("C:\RONIN69\VIDEO_TS\Ronin.d2v")
#blank deinterlace line
crop( 0, 54, -2, -60)
vobSub("subs.idx")
LanczosResize(576,240) # Lanczos (Sharp)
#denoise
Yes, I do get a preview window and it does show the burn-in subs displayed correctly.
When adding the job to the queue, MeGUI simply hangs....no crash, no error message. There is no hard drive activity and the CPU usage shoots to 100% straight away. I've tried letting it sit up for a period of time with no change.
Doom9
16th August 2006, 13:32
any chance you could cut a sample with all that is required to reproduce the problem (including the subs)?
Sharktooth
16th August 2006, 13:36
A ConvertToYV12() should be added in the megui avisynth script creation (expecially when using DirectShowSource() as input).
berrinam
16th August 2006, 14:35
Actually, DirectShowSource should use the pixel_type parameter:
DirectShowSource(...,pixel_type="YV12")
to avoid unnecessary colorspace conversions. Since the Avs script creator doesn't natively support vobsub yet, we can hardly be responsible for the problems it causes yet. However, MeGUI should currently check for colorspace problems just before encodes and will detect if it isn't YV12. Either this is broken again, or this settings isn't being used, but I don't think ConvertToYV12 should be added to the Avs creator.
Limobar
16th August 2006, 17:37
I have a question about resyncing audio (LC-AAC) and video (x264) in a mp4 container. I'm using MeGUI and often the audio/video are out of sync. I will describe the way I'm correcting this at the moment. I'm wondering if there is a faster way.
- I use MPC to find out the exact time difference.
- I use MKVMergeGUI to adjust the audio file (result is a Matroska-file).
- I use MKVExtractGUI to demux the audio.
- I use YAMB to remux the audio/video.
As I'm using XBMC (Xbox Mediacenter), LC-AAC in a Matroska container is often not possible. Is there a way to directly remux the mp4 file with the correct sync values? YAMB appears to have this option, but nothing happens when you use it.
chipzoller
16th August 2006, 19:42
@Doom9:
http://rapidshare.de/files/29636690/ronin-cut.rar.html
Should be everything you need.
Doom9
17th August 2006, 13:56
MeGUI should currently check for colorspace problems just before encodes and will detect if it isn't YV12.Can you tell me where that check is? I can't seem to find it.
Doom9
17th August 2006, 20:22
@chipzoller: I'm afraid I can't reproduce this behavior. After finally figuring out I needed to get and put vsfilter.dll into my AviSynth plugin directory, I could play the avs, and I can encode your sample as well (there are no subs though, but vsfilter is being loaded as without it I only get an error message).
JarrettH
17th August 2006, 20:37
Megui won't let me download aacenc32 or any of the avisynth filters too.
Sharktooth
17th August 2006, 21:25
what aacenc32? If you mean nero aacenc then you have to manually download and place it in the right folder (licensing problems). Next time :search:
For what concerns the avisynth filter i have no problems downloading them.
JarrettH
17th August 2006, 21:46
Updating nicaudio. File 14/14.
Error: The path to save nicaudio to is invalid.
Update completed.
0 files were completed successfully
14 files had problems.
etc :D
Just saw nero, I'll copy it
Do I need aac.dll still?
hkl8324
18th August 2006, 03:21
It there any chance this little program (swiss army knife IMHO) will be ported to Linux (Or *nix) OS?:)
(Oh, can it be run on Wine? I havent tested :D)
Sharktooth
18th August 2006, 04:33
Updating nicaudio. File 14/14.
Error: The path to save nicaudio to is invalid.
Update completed.
0 files were completed successfully
14 files had problems.
etc :D
Just saw nero, I'll copy it
Do I need aac.dll still?
do you have avisynth installed?
It there any chance this little program (swiss army knife IMHO) will be ported to Linux (Or *nix) OS?:)
(Oh, can it be run on Wine? I havent tested :D)
Im working on the mono port... but it will require avisynth 3.
chipzoller
18th August 2006, 05:07
@ Doom9:
Well, I think I've either solved the problem or at least created a work-around solution. It seems MeGUI will shoot up 100% CPU usage even before adding the job to the queue, but it does so with the preview window open and adjust x264 encoder settings. What *may* be significant is that because the script contains burn-in subs, the preview window displays (upon loading the script) a scene in which the burn-in subs are displayed. This may or may not have anything to do with it, but in any case if I close the preview windows just after loading the script I can continue configuring the encoder settings, add the 2-pass job to the queue, and encode successfully. And it was still hanging even after I updated MeGUI to the most recent version, but this work-around seems to work at present. I still have no idea why it's behaving like this but it definately seems like a MeGUI problem.
JarrettH
18th August 2006, 05:56
do you have avisynth installed?
Thanks that fixed it! I just did a reformat and decided to grab all my apps after the installation and left all that ffdshow/avisynth nonsense for last :cool:
foxyshadis
18th August 2006, 10:33
chipzoller, do you have the latest vsfilter? I helped fix a bug several months ago that caused a similar hang in it. (To find out, you can always get process explorer, open megui's properties, and look at the threads window. If it's vsfilter.dll chowing it all it's that bug (or a related one). If it's avisynth then it's probably one of the other filters.)
Doom9
19th August 2006, 13:45
Ideas?
~MiSfitI see lots of filters, CQM, everything to make my hair stand out in all directions - all over my body. You need to gradually lower the complexity of your scenario until you can lay the finger on the exact cause, or better, start with the most simple script involving this source, then gradually increase complexity of the scenario until you know which option caused the problem.
Then you need to cut a sample from the source, and post the script and settings required so that somebody else can reproduce it.
chipzoller
19th August 2006, 14:02
@ foxyshadis
Yes, I have v2.37 (and I did read your post you mentioned) unicode version but the script encodes fine in VirtualDub for example, just has problems in MeGUI. I did get the script to encode finally in MeGUI, however, so all seems to be well. I'd still like to know what caused the hang; I may look into it a bit more if I have the time.
Eleo
21st August 2006, 09:56
Hi... I'm new to this. I was following the Wiki/guide and naturally was confused on precisely what to do in some cases. Since one thing can be the difference between success or failure...
I have created a D2V and demuxed the audio and I have two .ac3 files; presumably the second one is like director's commentary or something? I have no idea; that's my best guess. But I've created an avs script and I calculated the bitrate and such and set up the encode for HQ-Slower (would anyone recommend I use HQ-Slowest?) but am wondering if I have to do anything for audio... The guide said don't bother encoding audio if you have AC3 so does that mean I can just go ahead and begin encoding the video and expect audio to accompany it when it's done (presumably within the container and not isolated from the video)?
Edit: Damn it I'm such an idiot... If I had just continued through the guide I would have found out. Meh, sorry. My other question still stands, I guess, although it might be in the wrong thread by itself:
Also, should I be using an MKV or MP4 container? Or rather, not "should I" but what would people generally recommend?
check
21st August 2006, 14:07
Hi, I wrote the guide and feedback is 100% welcome - I should start actively seeking it out a little more actually. As to your questions:
o with audio files, simply play them to see what they contain. DGIndex outputs the number of channels in the audio filename (ie lookingdown T01 2_0ch 192Kbps DELAY 0ms.ac3 means two front speakers and no rear speakers (ie stereo)) as well.
o HQ-Slow vs Slowest vs whatever is very much your own choice. I personally use something that's even slower than HQ-Slower, but not everyone is happy with 24hr+ encoding times :^).
o Keeping ac3 or transcoding to mp3/some other format is again your own choice. ac3 is usually at either 384 (3mb/min) or 448 (3.5mb/min), whereas a stereo mp3 @ 128kbits is around 1mb/min. I keep the ac3 because space isn't an issue for me and I prefer to not encode, but depending on your sound system and so on you should make your own choice. If you only have a stereo sound system try encoding to ND AAC with quality 0.3 and see if you can hear a difference. You'll certainly notice a sound difference at least ;).
o Audio is NOT automatically added to the video when done. You have to add it in the Muxing step. The output formats available are dependant on the input formats (no h264 in avi, no vorbis in mp4, etc etc)
o Personally I prefer MKV because it can handle a metric ton more codecs and formats, and none of the advantages of mp4 are really that advantageous for me. Also, no ac3 in mp4!
Hope this helps.
Sharktooth
21st August 2006, 16:11
I've uploaded a new mp4box version that supports vobsubs in the megui autoupdate server and linked x264 against the latest libgpac.
Please test it and tell me if you have any problems with mp4 files.
frodeste
22nd August 2006, 19:34
If you have the info file it'll show you the proper audio tracks and languages.. if not, you just have to figure out that info on your own and if you e.g. select track 8 and there's no track 8.. you just won't get any audio.
but it runs without that file, it's just always good to have it. And file mode... if your titleset contains additional content, you realize that file mode is going to get you that additional content (e.g. fbi warning, mpaa ratings and other annoying stuff) as well.. and it has nothing to do with file versus ifo mode.. it's about activating the info file option in dvddec.
What if I already copied my dvd to the harddrive using DVDShrink (no compression)? What is the easies way to create this file?
Doom9
22nd August 2006, 19:57
What is the easies way to create this file?Enter DVD again, start ripping, abort. I think that'll write the file. And then learn that DVDDec is THE tool to rip.. you get two very important text files written for free.. many apps rely on those and don't reinvent the wheel by having their own IFO parsing.
frodeste
22nd August 2006, 20:36
Enter DVD again, start ripping, abort. I think that'll write the file. And then learn that DVDDec is THE tool to rip.. you get two very important text files written for free.. many apps rely on those and don't reinvent the wheel by having their own IFO parsing.
Thanks. I will do so. As for the other DVDs. That would take to much time. (even with aborting..)
I wonder if I could trick DVDDec to read existing DVD files from the harddrive, as if they were on the DVD and copy them to a new location. Must do some research I think :)
Eleo
22nd August 2006, 20:56
I'm not sure where to put this since it could have something to do with MeGUI or it might just be x264 in general. Anyway, I recently encoded Star Wars Clone Wars Volume One using MeGUI. During the process I noticed that for some reason in the source video that there were very thin, black, 2-pixel borders on the bottom and the right. I cropped these out using Auto-Crop; as I felt they shouldn't be there. I was actually confused as to why they were on the source DVD.
On my encoded mp4, in each frame the rightmost border is shifted two pixels up. And every second or so it sort of "flickers" in this area. I double-checked the DVD for this behavior and it isn't there. I don't know if this has anything to do with me cropping. Or maybe it has something to do with how I resized the video because it's anamorphic.
I can't seem to get a screencap of the flickering because it comes and goes so often. It's enough to be distracting, though. I have a cap of the way the border is shifted up:
http://img505.imageshack.us/img505/1420/clonewarsproblemru9.png
Notice how the thick lines in the artwork don't match up to the 2 rightmost pixels.
Meh, eight hours of encoding wasted. :( Needless to say I'm pretty disappointed because otherwise the quality of the video is excellent.
I pretty much followed this guide (http://project357.com/MeGUIwiki/index.php?title=Main_Page) on how to use MeGUI.
Does anyone know where I went wrong?
EDIT In hindsight I'd say I went wrong. The auto-crop tool seems to be imperfect. (Last night I was trying to crop the black borders from Crouching Tiger; auto-crop did nothing to it; I had to remove them manually. Keep in mind these borders were HUGE.) Auto-crop removed two pixels from the right and four pixels from the bottom; when it should have cropped 0 pixels from the right and two pixels from the bottom. I ended up cropping actual video; maybe this is where I screwed up. I'll re-encode and see if there's a difference. Bottom line is I'm never trusting auto-crop again.
frodeste
22nd August 2006, 22:18
Hi, I wrote the guide and feedback is 100% welcome - I should start actively seeking it out a little more actually. As to your questions:...
Hope I can be forgiven by adding a couple of items on the todo list in the wiki. If you like, I would be happy to help you on writing more. (Although I would need a little assistance along the way)
Sharktooth
23rd August 2006, 13:39
@Eleo: auto-crop doesnt always work as expected (even for AutoGK, StaxRip, etc...). The preview window is there for a reason...
Eleo
23rd August 2006, 21:30
o yeah preview window why didnt i think of dat
EDIT Although I know what caused it to happen, I don't think the sort of flickering should happen; if you crop it it should just be cropped out, right? Shouldn't be any negative side effects even from cropping the actual picture.
I've noticed thin black borders on a lot of stuff I'm looking at. Another example being Arrested Development Season 1. In some cases it's only present in some frame/shots but not others. Is this a limitation of the source video or was the DVD just not put together with as much expertise as there should be?
junglemike
23rd August 2006, 22:44
Guys, I have a problem encoding audio. I tried encoding ac3 to mp3 and also tried mp3 to ogg and in both cases this fails.
Maybe i am doing something wrong. I don't know. I searched the wiki megui guide, and also this thread, but notheing.
here's what i do:
megui version 0.2.3.2192.
1) in the audio input field, i browse for the .ac3 files, than 2)choose desired audio profile, which is mp3@128kbps cbr.
codec:mp3
container:mp3.
3)hit engueue (in the lower part)
4) Error appears in the job status.
5) I go to the log and see the following message.
Exactly the same error apperas when i try to encode mp3 to ogg for example:
Log for job job1
Error:
MeGUI.AviSynthException: Script error: there is no function named "NicMPG123Source"
at MeGUI.AviSynthClip..ctor(String func, String arg, AviSynthColorspace forceColorspace, AviSynthScriptEnvironment env)
at MeGUI.AviSynthAudioEncoder.encode()
Would really be greatful if some1 could help me out.
_Edit:
Ok guys, fixed the problem. After finding out that exactly same setup worked fine on my other computer, i unistalled megui, and reinstalled from the scratch. Now everything works back again.
PlazzTT
24th August 2006, 23:49
I'm having trouble with the auto-updater.
There's just one update left I haven't installed and it's because it keep freezing.
It's the STx264 update from version 29 to 30. It says "Updating STx264. File 1/1." and it looks like it downloads it (the progess bar goes to 100%), but then it stops. The Update button is grayed out, and the Abort button or anything else in meGUI doesn't work, so I've to end task.
cbarroso
25th August 2006, 00:29
Move the autoupdate window and you are going to discover another window behind it... :p
jtarrio
25th August 2006, 11:19
Hello,
I'm having an issue whenever I use the adaptive muxer of MeGui (BTW it has the same shortcut key (Ctrl+M) as to hide it in the system tray, so it doesn't work). What happens is that I select the video source, and the two audio sources, and the resulting MP4 file contains each audio track twice (total 4 tracks), and of course the file size exceeds what I'd calculated in the first place.
Here's the output from an MP4Box -info on the resulting file:
C:\Documents and Settings\jtarrio\My Documents\DVDs\ELDIADELABODA_SCN>mp4box -info "The Wedding Date
.(2005).x264.AAC5.1.mp4"
* Movie Info *
Timescale 600 - Duration 01:24:55.338
Fragmented File no - 5 track(s)
File Brand isom - version 1
Created: GMT Fri Aug 25 08:54:36 2006
File has root IOD
Scene PL 0xff - Graphics PL 0xff - OD PL 0xff
Visual PL: AVC/H264 Profile (0x15)
Audio PL: AAC Profile @ Level 4 (0x2a)
No streams included in root OD
Track # 1 Info - TrackID 1 - TimeScale 25 - Duration 01:24:55.240
Media Info: Language "Undetermined" - Type "vide" - Sub Type "avc1" - 127381 samples
MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x21
AVC/H264 Video - Visual Size 560 x 304 - Profile High @ Level 5.1
Self-synchronized
Track # 2 Info - TrackID 2 - TimeScale 48000 - Duration 01:24:55.338
Media Info: Language "English" - Type "soun" - Sub Type "mp4a" - 119422 samples
MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40
MPEG-4 Audio AAC LC - 6 Channel(s) - SampleRate 24000 - SBR SampleRate 48000
Synchronized on stream 1
Track # 3 Info - TrackID 3 - TimeScale 48000 - Duration 01:24:55.338
Media Info: Language "Spanish" - Type "soun" - Sub Type "mp4a" - 119422 samples
MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40
MPEG-4 Audio AAC LC - 6 Channel(s) - SampleRate 24000 - SBR SampleRate 48000
Synchronized on stream 1
Track # 4 Info - TrackID 4 - TimeScale 48000 - Duration 01:24:55.338
Media Info: Language "English" - Type "soun" - Sub Type "mp4a" - 119422 samples
MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40
MPEG-4 Audio AAC LC - 6 Channel(s) - SampleRate 24000 - SBR SampleRate 48000
Synchronized on stream 1
Track # 5 Info - TrackID 5 - TimeScale 48000 - Duration 01:24:55.338
Media Info: Language "Spanish" - Type "soun" - Sub Type "mp4a" - 119422 samples
MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40
MPEG-4 Audio AAC LC - 6 Channel(s) - SampleRate 24000 - SBR SampleRate 48000
Synchronized on stream 1
No problem, I just remove them with MP4Box, but it's a bit annoying and I was wondering if it's a known issue.
BTW, this doesn't happen with the MP4 Muxer, only with the Adaptive Muxer... What's the difference?
Cheers...
Doom9
25th August 2006, 11:29
You obviously know your way around mp4box.. have you considered looking at the megui logs to check for a difference in commandlines? Just an idea ;)
Carpo
28th August 2006, 15:27
is there any issues if you were to mux an xvid and aac audio into an avi container
sorry if this has been asked and answered b4
Sharktooth
28th August 2006, 15:38
Dont know if divxmux (the avi muxer used in megui) can handle aac in avi, but i highly doubt it can...
Carpo
28th August 2006, 15:52
didnt think it would :(
Doom9
28th August 2006, 16:16
If the adaptive muxer works as it should, once you add an avi & aac audio, the container choice would be limited to mkv.
@edit: I just checked and it indeed does that. And you can't even add an mp4 audio in the divxmux muxer.
You might however be able to add an x264 in avi and an mp3 and divxmux will just tell you that it doesn't support that video type.
Eleo
28th August 2006, 20:30
Hello,
I'm having an issue whenever I use the adaptive muxer of MeGui (BTW it has the same shortcut key (Ctrl+M) as to hide it in the system tray, so it doesn't work). What happens is that I select the video source, and the two audio sources, and the resulting MP4 file contains each audio track twice (total 4 tracks), and of course the file size exceeds what I'd calculated in the first place.
I'm having the same issue. It worked out fine with the mkv muxer, though.
Blue_MiSfit
29th August 2006, 09:08
hey guys,
So... We got a spanking new MacPro today - quad core 2.66 Xeon, 2 GB FB-DIMM, 2x250GB SATA... Awesome.
I got BootCamp (Windows XP) up and running nicely and everything seems in order. However, when I attempted to load in MeGUI, I ran into an error. It installs just fine, but when I try to run the auto update, it says that it doesn't recieve the XML file. I assume this means that the server that handles auto update is down.
Is this in fact the case? If so, is there any ETA on getting it up and running again? Not to pester anyone or anything like that, I just REALLY REALLY REALLY want to do some tests with this badass quad core monstrosity!!!!! :D :D :D
Thanks folks
~MiSfit
quake74
29th August 2006, 11:08
Yeah, autoupdate is down here too (29/8/06 11AM GMT-1). It says
Retrieving update file from server...
Error: Couldn't connect to server. Try again later.
Error: Could not download XML file
jtarrio
29th August 2006, 12:26
I'm having the same issue. It worked out fine with the mkv muxer, though.
Glad to know I'm not the only one. It happens to me whenever I use the adaptive muxer, every single time, so I guess it's a bug? Maybe we sould post this in the bug report thread? Is nobody else having this problem?
~bT~
29th August 2006, 15:00
I had this error a while back and now I have it again.
http://img177.imageshack.us/img177/2373/bilderman20060829135811nx2.png
I havent added any dll's since my last rip with MeGUI and I also have the TIVTC.dll in my Avisynth folder.
Eleo
31st August 2006, 06:11
Glad to know I'm not the only one. It happens to me whenever I use the adaptive muxer, every single time, so I guess it's a bug? Maybe we sould post this in the bug report thread? Is nobody else having this problem?
Actually for me it only happens when I have two audio tracks. Having one audio track works fine for me with the adaptive muxer.
Sharktooth
31st August 2006, 13:49
That's an avisynth related error.
for some reasons seems the filter doesnt get loaded.
Xebec
3rd September 2006, 00:10
Noob question. Surprizingly cannot find any answer to it here. MeGUI does not encode audio. Video encoding works and I get my result, but audio - no way.
My input - AVI (xvid/mp3). I tried using AutoEncode for it and 6 steps method as in MeGUI guide. AutoEncode just ignores audio. Using 6-steps method, I chose the same AVS script as is created for video and as a result I get this error:
System.ApplicationException: Can't find audio stream
at MeGUI.AviSynthAudioEncoder.encode()
-----------------------------------------------------------
I decided to give MeGUI a try after realized that StaxRip is not supported anymore.
check
3rd September 2006, 04:18
change the audio = false in the avs file to true and you can use it to encode audio - but to save time you should make a new script with only the first line so it doesn't waste CPU transforming the video too.
Xebec
3rd September 2006, 04:42
Thanks man. Everything works!
Carpo
3rd September 2006, 09:02
ok prob a stupid question but - i know which x264 profiles to use but the naming of the xvid profiles is a bit confusing to me, which do u use and for what purpose, i mean you have HQ slow HQ slowest and so on for x264 but with xvid its XviD '_rt_30% comp. check' (HQ)
check
3rd September 2006, 09:34
Sharktooth has a thread about his presets and the naming conventions - as to the xvid ones, the % refers to the compressibility test result from enc(?), basically lower %'s reflect higher compression.
So if you are backing up a DVD to xvid and you are going to use a full DVD5 worth of space chances are you'll want to use the >90% setting. If you are doing a 3hr movie to 700mb you'll be looking at something more like 30%. Be aware you have to download the quantization matrices for the xvid builds seperately though and put them into a new folder called extra in the xvidencraw folder in megui\tools
Carpo
3rd September 2006, 14:29
so if your doing say a 2 hr film with ac3 audio its an idea to stay around the 30% mark (even if audio used is mp3?)
edit: i just found the thread in that explains what each profile is good for :)
ricardo.santos
3rd September 2006, 22:52
i rember from the top of my head that the update doent work with neroaac because of some legal issues/licenses remember reading that we have to do it manually. but i thought that was solved has neroaac reference is still there in the update window. not a big problem anyway.
will uninstall megui and install it again and let you guys know of the results
thanks
Hi, finally i had the time to format my Pc, everything works now. Thanks for all your advices.
Just have a small question:
is x264 supposed to be direct competitor with xvid/divx or with Mpeg2?
When i backup my dvds i plan to watch them on SAP, so i made quick test with a 5 minute vob :
xvid/divx= 35 mg home theater profile(used avi.net since it has SAP compatabilty in "mind")
x264=35 mg HD DVD profile
video resolutions were the same as well as audio bitrate
when i tried to lower the final size with x264 picture quality degraded(blocks) so hence my question.
Thanks
foxyshadis
4th September 2006, 05:28
HD-DVD is significantly more restrictive than Home Theater; primarily the gop size is extremely short, and b-frames are few. Compare xvid with a 15 frame key interval to see what I mean. Unless you're actually making HD-DVDs (in which case a comparison is useless, given no way to use ASP), try lowering the bitrate with 250-300 keyint and 3-4 b-frames.
Carpo
4th September 2006, 23:25
is it worth doing an analysis pass and the 2 passes or just the 2 passes on their own ? do this serve any major purpose or does it just lend a helping hand ?
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.