View Full Version : MeGUI - x264/XviD/lavc/Snow encoder with MP4/MKV/AVI output & audio
Pingachevsky
28th May 2007, 07:40
That's very odd...something must have been automated somewhere along the line which has since been un-automated that I wasn't aware of. Thanks. :)
Hi guys !
I'm trying to encode a .ts into .mkv, but for the first time I have a problem.
DGIndex tell me: "No video sequence header found. No data. Check your PIDs."
What's wrong ?
Atak_Snajpera
31st May 2007, 12:22
It occurs when your ts contains MPEG-4 AVC stream instead of MPEG-2! DGIndex supports only MPEG-2!!!!!
Knuffi
8th June 2007, 09:41
In earlier versions there was a little checkbox on the queue page managing the behavior of MEGUI after encoding. This was removed and the "settings" got one feature more.
Is it possible to bring back that little checkbox or perhaps radio-boxes on the queue-page? I often change the after-encoding-behavior and nearly as often I forget to set it back to "do nothing". Therefore my pc shuts down sometimes after encoding while I on the contrary want to work on it ... :o
I just wanted to bring this little feature back to discussion - with a little addition:
How about giving a default value for the behavior in the settings dialog and a "only once"-behavior in a radio box on the queue page?
Example: I put the default behavior on the settings page to "do nothing" and work with it. If I want to convert a movie at night, I can set the "only once"-radio box on the queue page to "shutdown". After the encoding, the computer shuts down and the next time I start MeGUI, it is set back to "do nothing".
That would IMHO be a great feature!
Anyone else seconding that?
superuser
10th June 2007, 19:09
I am getting this error
Channels=5, BitsPerSample=16, SampleRate=48000Hz
C:\Program Files\megui\tools\ndaac\neroAacEnc_SSE2.exe -ignorelength -lc -br 256000 -if - -of "I:\Mashaal\Mashaal T01 3_2ch 448Kbps DELAY 0ms.mp4"Error:
System.IO.IOException: The pipe has been ended.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
at MeGUI.AviSynthAudioEncoder.encode()*************************************************************
* *
* Nero Digital Audio Reference MPEG-4 & 3GPP Audio Encoder *
* Copyright (C) 2006 Nero AG *
* All Rights Reserved Worldwide *
* *
* Package build date: Feb 12 2007 *
* *
* See -help for a complete list of available parameters. *
* *
*************************************************************
ERROR: could not open AAC encoder
----------------------------------------------------------------------------------------------------------
The current job contains errors. Skipping chained jobs
can pls some one help me what I may be doing wrong in here.
thnxs in advance.
check
11th June 2007, 01:43
try using the non SSE2 version of the encoder, it looks like the nero encoder is having problems.
superuser
11th June 2007, 02:30
^ thnxs.
problem looks like to have resolved as of now. It was related to settings or something I may have messed up somewhere previously. Did again afresh and it seems to have started working now.
paranoid87
16th June 2007, 17:16
i had a similar issue like superuser..but its solbved now..
shevegen
18th June 2007, 22:26
I got a question... :)
How many people develop or help develop (in the sense that they contribute code) to the project?
r0sWell
2nd July 2007, 19:19
hello,
i have a problem using megui :
i'm not sure it's related to megui (maybe filters, you tell me) but on certains HDDVDs i don't have the end of the movie after the encode.
here's what i use :
. evodemux to rip the HDVD on my hard drive.
. graphedit (file source async, sonic hd demuxer, sonic videodecoder 4.2)
. avisynth (DirectShowSource("file.GRF",audio=false,fps=23.976,seekzero=false,seek=true).trim(0,166245)
ConvertToYV12()
spline36Resize(1920,800))
. megui (avs loaded in, with manual correction of the framecount because it showed ~145000 instead of 166245)
i had this problem on 2 HDDVDs, but it was correct for 3 others.
thx in advance guys, :thanks:
foxyshadis
3rd July 2007, 17:29
Trim can't extend the framecount, only contract it. You need to use the framecount parameter of directshowsource, instead.
r0sWell
4th July 2007, 06:05
Trim can't extend the framecount, only contract it. You need to use the framecount parameter of directshowsource, instead.
thx,
i'll try using the framecount parameter
e-Pawel
4th July 2007, 18:32
Does the .NET Framework 3.0 actually work as well?
Doom9
4th July 2007, 19:26
Does the .NET Framework 3.0 actually work as well?It's just 2.0 plus some additional components so yes, it'll work. i'm not sure of the upcoming 3.5 contains any breaking changes
Barough
12th July 2007, 01:53
A little question.................. the Bitrate Calculator thats available in meGUI, it that 1 available 4 download by itself somewhere or?
dtubb1978
20th July 2007, 19:56
Hi, I havn't used Megui in a while so yesterday I started it up and downloaded all the latest updates but now whenever I open the AviSynth Script Creator i'm getting the following error message.
"Error in computing resolution
Object reference not set to an instance of an object"
Anyone got any ideas on how to stop this?
check
21st July 2007, 02:51
are you using the latest version? please provide more information in regards to your problem, like the file you are opening.
Spilt_milk
22nd July 2007, 00:10
MeGUI is the most comprehensive GUI based ISO MPEG-4 solution.
Input: AviSynth scripts (AVS), AVI, D2V, VOB/TS/MPG/PVA
Output: MP4, MKV, AVI
Video Codecs: x264, XviD, Libavcodec MPEG-4, Snow
Audio Codecs: AAC (Nero, Faac), MP3
Download the latest build (http://www.sf.net/projects/megui)
Required tools:
Microsoft .NET Runtime 2.0 (http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&DisplayLang=en)
Avisynth 2.55 (http://www.doom9.org/Soft21/SupportUtils/AviSynth_255.exe) for video frameserving. Beta versions are NOT!!! supported
A YV12 VfW codec. If you have a recent XviD version installed, that will suffice. If you don't get any preview when opening an AviSynth script, install the Helix YV12 codec (http://forum.doom9.org/showthread.php?s=&threadid=56972)
For x264 encoding:
x264 CLI (http://forum.doom9.org/showthread.php?t=89979) alternatively you can use mencoder
For XviD, lavc, Snow and x264 encoding (alternative to x264 CLI)
latest version of mencoder (http://www.aziendeassociate.it/cd.asp?dir=/mplayer) (it's part of the mplayer package, pick the version that best matches your CPU
For audio encoding
besweet 1.5b31 (http://www.doom9.org/Soft21/Audio/BeSweetv1.5b31.zip)
For MP4 muxing
latest version of mp4box (http://www.aziendeassociate.it/cd.asp?dir=/gpac/dev) (version 0.4.0 or later)
For MKV muxing
latest version of mkvtoolnix (http://www.bunkus.org/videotools/mkvtoolnix/downloads.html) You need the full installer!
To create DGIndex projects:
DGMPGDec 1.41 or higher (http://neuron2.net/dgmpgdec/dgmpgdec.html)
To create AviSynth scripts: copy dgdecode.dll (see DGIndex download) to your AviSynth plugins directory (c:\program files\avisynth\plugins or wherever you have installed it to). For IVTC and deinterlacing, you'll also have to copy Decomb (http://www.doom9.org/Soft21/Filters/decomb521.zip) to your AviSynth plugin directory.
If you are only interested in the x264 part of MeGUI, check out MeGUI x264 edition (http://forum.doom9.org/showthread.php?t=98032). If you are only interested in the snow part of MeGUI, check out MeGUI Snow edition (http://forum.doom9.org/showthread.php?t=98033)
There are 4 threads dedicated to MeGUI
This one is for general discussion
Feature request thread (http://forum.doom9.org/showthread.php?t=105162) to make feature requests
Bug report thread (http://forum.doom9.org/showthread.php?t=105160) to make bug reports
Developer thread (http://forum.doom9.org/showthread.php?t=95863)For those who wish to participate in the project
In addition, to get a headstart at configuring x264, check out Sharktooth's MeGUI x264 profiles (http://forum.doom9.org/showthread.php?t=101813)
Everything this guys saud you need is in this pack i made it also got all the latest one
SacredCultivator
22nd July 2007, 00:18
@Spilt_Milk: Thanks hehe didn't even notice that meGUI got updated to 0.2.5 as I still have 0.2.4 thanks.
check
22nd July 2007, 10:42
please do NOT download the above pack. This is what autoupdate is for!
dtubb1978
22nd July 2007, 14:19
are you using the latest version? please provide more information in regards to your problem, like the file you are opening.
Yeah i used the auto update to download the latest version.
The error occurs when i select the "Tool > AviSynth Script Creator" menu option, before the script editor opens. This is why it confuses me i can't see why anything would be trying to calculate a resolution before i have given it any input.
Spilt_milk
27th July 2007, 06:18
the autouploader dont work for me on 64bit vista i get a it can unzip the file u have a fix?
EDIT
installed avisynth now it works
question if i installed avisynth and megui and used the auto updater do i still need to install all the applications listed in the begining?
Spilt_milk
27th July 2007, 07:35
Another Question will Megui and its tools work with Vista 64 bit?
iRobie
28th July 2007, 06:23
Hi, I havn't used Megui in a while so yesterday I started it up and downloaded all the latest updates but now whenever I open the AviSynth Script Creator i'm getting the following error message.
"Error in computing resolution
Object reference not set to an instance of an object"
Anyone got any ideas on how to stop this?
dtubb1978,
I had the same problem. Removing some newly created AviSynth profiles solved the trouble for me. They are located in megui\profiles\AviSynth.
Hope this helps!
dtubb1978
28th July 2007, 19:14
Thanks iRobie, your sugestion was spot on.
dansus
1st August 2007, 14:39
Im getting the avisynth/dgindex mismatch error.
The one that says im picking up a version of decode that does not match the version that was used to make the d2v.
Ive had a look about but i cant see any other versions, its been working fine up until now, how do i fix this?
thanks.
edit: Fixed, i updated dgdecode.dll in avisynth plugins folder from 1.4.8 to 1.4.9 which matched the dgindex version in megui.
Space Hopper
3rd August 2007, 16:23
Error im getting when trying to encode in XviD with MKV output:
xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003
Not compiled with MKV output support.
Its supposed to support MKV right?
Or did I misunderstand something?
Sharktooth
3rd August 2007, 16:24
MKV muxing in megui will happen later after video and audio encoding.
Space Hopper
3rd August 2007, 16:36
MKV muxing in megui will happen later after video and audio encoding.
Yeah but I'm getting that message at the beginning of the 2nd pass.
Btw. another thing I've noticed (which may or may not be intended):
You cant select MP4 as the File format when encoding with XviD, but in the Auto-Encode dialoge you can, and the resulting MP4 file works fine.
Sharktooth
3rd August 2007, 16:50
The MKV thing should not prevent MeGUI from outputting a MKV file at the end of encoding. The message you're getting only says the encoder was not compiled with MKV support but MeGUI doesnt care coz it will start a muxing job at the end of encodings and mux everything to your selected container (MKV in this case).
The other one could be a bug. Please post it in the MeGUIs bugtracker on sourceforge.
Space Hopper
3rd August 2007, 17:08
The MKV thing should not prevent MeGUI from outputting a MKV file at the end of encoding. The message you're getting only says the encoder was not compiled with MKV support but MeGUI doesnt care coz it will start a muxing job at the end of encodings and mux everything to your selected container (MKV in this case).
The other one could be a bug. Please post it in the MeGUIs bugtracker on sourceforge.
Sorry, should have been more clear:
Yes I get that message, but the resulting job fails because of it. So it never encodes the video, and it will never get to the muxing part.
But what you're saying makes sense.
Ps. Posted the bug you suggested on sourceforge.
Zetten
13th August 2007, 13:37
I've been having some mixed results with MeGUI - occasionally it will rip just fine, and I'm such a big fan of the .mkv format and h.264 quality that I'm gradually starting to re-rip my entire DVD collection to h.264.
On the other hand, occasionally I get audio/video sync problems. I don't think it's a straight problem with the audio delay - I have checked the delay reported by DGIndex and the audio and video file lengths, and everything matches. This also suggests it's not a problem with the muxing, but I might be wrong.
It seems to progressively get worse (more out of sync) throughout the film, which to me suggests that maybe it's some kind of deinterlacing problem, mismatching the video framerate (or some other kind of gobbledegook - this isn't my strong point) which accumulates throughout the film. The problem with this theory is that the video is progressive.
So far I've tried ripping with different profiles (HQ-Slower and Slowest, but I am trying a one-pass quick one just now to see if the problem persists), but I don't really know what else to look at.
Basically, I just need some help with troubleshooting, to find the source of the problem. Then I guess you guys can help me fix it. :P
Thanks in advance.
UltraTV
24th August 2007, 20:41
Running a QTinput avs script in MeGUI causes the following error when trying to Enqueue. The QT file is in Cineform format, but the same exception is thrown with AppleProRes 422 as well as DVCPROHD and DV.
System exception - Access Violation
MeGUI is able to bring up a preview window of the video, and the same script encodes fine with x264.exe via command line.
MeGUI is the bomb shiznazzle. Just wanted to throw my professional opinion down.
Thanks for the work.
fight2win
28th August 2007, 09:19
latest megui update doesn't work, any help????
FAII
28th August 2007, 17:00
Using the presets for 5.0 and 5.5 in, say, meGUI and the same resolution and bitrate, will the two files be the exact same?
Like say a 5 minute music video using 320x240 and 400 kbps? Exact same, no difference at all? Or is one of the profiles better for certain files (say, files with a resolution 320x240 or below) and one for another or is 5.5 superior to 5.0 in every way?
I just want to know so that I'll know if I should use 5.0 as long as the resolution is 76800 pixels or below or if I should always go for 5.5 or whether or not it doesn't matter at all as long as I use 5.5 for anything with more than 76800 pixels.
Sharktooth
29th August 2007, 00:56
fight2win, what update? please be more specific.
fight2win
29th August 2007, 18:57
fight2win, what update? please be more specific.
i recently had to format pc, and i installed latest megui ( http://mirror01.x264.nl/x264/megui-0.2.6.1001.exe ) from x264.nl, after install it says updates are available, but doesn't shows them... so no stuff gets dloaded....
Sharktooth
29th August 2007, 19:46
works for me. try using the update function in the tools menu and report back.
B.F.
30th August 2007, 07:45
Try to encode AC3 file using new ffmpeg build (http://ffdshow.faireal.net/mirror/ffmpeg/).
It seems something changed in comandline options (bitrate settings) and now it tell me this.
All work fine with build 7906.
Log for job job1
Channels=1, BitsPerSample=16, SampleRate=48000Hz
D:\Distrib\DIVX\EDIT\MeGUI\MeGUI\ffmpeg.exe -i - -y -acodec ac3 -ab 256 "D:\SOS2007\avi_sos.ac3"Error:
System.IO.IOException: Канал был закрыт.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
at MeGUI.AviSynthAudioEncoder.encode()FFmpeg version SVN-r9767, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-liba52 --enable-avisynth --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libogg --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --cpu=i686 --enable-memalign-hack --extra-ldflags=-static
libavutil version: 49.4.1
libavcodec version: 51.40.4
libavformat version: 51.12.1
built on Jul 20 2007 18:03:34, gcc: 4.2.0
Input #0, wav, from 'pipe:':
Duration: N/A, bitrate: 768 kb/s
Stream #0.0: Audio: pcm_s16le, 48000 Hz, mono, 768 kb/s
Output #0, ac3, to 'D:\SOS2007\avi_sos.ac3':
Stream #0.0: Audio: ac3, 48000 Hz, mono, 0 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
----------------------
End of log for job1
----------------------
scott1256ca
30th August 2007, 19:42
Hello:
I'm trying to convert an mpeg2 file to x264 and I'm new to meGui.
I can get as far as getting an x264 video file (dead.mp4), and an aac audio file (dead_aud.mp4), which used ND AAC as the codec, and mp4-aac as the container.
Used the following avisynth script
------------------------------------------
LoadPlugin("d:\dgmpgdec\DGDecode.dll")
Loadplugin("d:\dgmpgdec\AC3Source.dll")
MPEG2Source("Dead.d2v")
AC3Source("dead.ac3")
trim(0,1200)
------------------------------------------
I can watch the video fine by itself (dead.mp4), I
can listen to the audio fine by itself (dead_aud.mp4). Both are samples of just 20 seconds or so.
Where I run into problems is with muxing. I tried to follow this
http://mewiki.project357.com/wiki/Guides:Basic_Guide/Muxing
so I chose adaptive muxer
video input is dead.mp4
audio input is dead_aud.mp4
no subtitle language
no chapters
container is mkv
output file is test.mkv (with full path)
click queue
wind up with 2 jobs in the queue
first to create test1.mp4
second to create test.mkv
first job seems to succeed. Second seems to fail. There is no output file.
I am running 0.2.5.10.1007
end of the Log says
----------------------
Starting postprocessing of job...
Job completed successfully and deletion of intermediate files is activated
Postprocessing finished!
End of log for job1-1
-------------------------------------------------------
Looking for job processor for job...
Processor found!
------------------------------------------------------
Starting job job1-2 at 12:33:26 PM
Starting preprocessing of job...
Preprocessing finished!
encoder commandline:
-o "D:\deadwood_test\test.mkv" "D:\deadwood_test\test1.mp4" --no-clusters-in-meta-seek
Processing ended at 12:33:26 PM
----------------------
Log for job job1-2
----------------------
Starting postprocessing of job...
Job completed successfully and deletion of intermediate files is activated
Found intermediate output file 'D:\deadwood_test\test1.mp4', deleting...Deletion succeeded.
Postprocessing finished!
End of log for job1-2
-------------------------------------------------------
starting encoder failed with error Process has exited
I also tried mkv muxer, using the same settings. That creates one job that should make test.mkv
Job says it succeeds, but there is no output file.
So what am I doing wrong? Thank in advance for your help.
Kurtnoise
30th August 2007, 20:05
did you specify mkvmerge path in the settings ?
Kurtnoise
30th August 2007, 20:08
Try to encode AC3 file using new ffmpeg build (http://ffdshow.faireal.net/mirror/ffmpeg/).
It seems something changed in comandline options (bitrate settings)...
yes...
Should be :
fmpeg.exe -i - -y -acodec ac3 -ab 256k "D:\SOS2007\avi_sos.ac3"
fight2win
30th August 2007, 20:42
works for me. try using the update function in the tools menu and report back.
update window is not appearing....what to do????
scott1256ca
30th August 2007, 20:55
As a follow up to the above, I tried muxing to mp4 only. That at least creates a muxed mp4 file. Something was wrong with the path for mkvmerge. Now it complains about missing libiconv.dll. I downloaded and installed mkvtoolnix. I think I'll be ok with that. Thanks.
Sharktooth
31st August 2007, 01:54
update window is not appearing....what to do????
try reinstalling it from scratch... but that's really weird.
B.F.
31st August 2007, 01:57
yes...
Should be :
fmpeg.exe -i - -y -acodec ac3 -ab 256k "D:\SOS2007\avi_sos.ac3"
Any chance to fix it in MeGUI?
Sharktooth
31st August 2007, 02:09
yep. post it in the Megui project bugtracker at SourceForge.
dansus
16th September 2007, 20:42
Hi, how do i make Megui use mencoder (mp4) instead of x264.exe?
thanks
check
17th September 2007, 00:17
use it for what?
dansus
17th September 2007, 23:02
To make x264 (mp4) files
Im assumed you can either use x264.exe or mencoder to do the donkey work, but how do you know which one its using?
If i select x264/mp4 under Codec/File format, how do i select mencoder to do the encoding.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.