View Full Version : MeGUI - x264/XviD/lavc/Snow encoder with MP4/MKV/AVI output & audio
Tuik
25th February 2011, 07:56
please try with xvid 1.3 FINAL (just released)
Which one? xvid.org, jawor's or koepi's? thanks
Sharktooth
25th February 2011, 13:27
koepi
Tuik
26th February 2011, 12:59
hum..megui just updated me to jawors one, should i stick with it?
Sharktooth
26th February 2011, 15:03
yes, it should be ok.
Zathor
26th February 2011, 17:35
Koepis build does not have the encraw encluded. Let's see if we get problems with jawors build.
Tuik
26th February 2011, 17:54
The problem with output files bigger than 2GB still exists.
Also Zathor, could you add in megui the "-metric" option in XviD options? Also, please remove the line "-par 1:1" that meguis adds to every xvid scripts. It's not needed and as a result, produces custom pixel shape files.
Zathor
26th February 2011, 18:43
Please remove the line "-par 1:1" that meguis adds to every xvid scripts. It's not needed and as a result, produces custom pixel shape files.
http://megui.svn.sourceforge.net/viewvc/megui?view=revision&revision=1976
TheProfosist
27th February 2011, 04:22
after updating MeGUI to the latest build im having a big issue. i check the Add pre-rendering job and click Enqueue and nothing happens. a blank huffy_" ".avs is created but nothing is added to the queue.
Sharktooth
27th February 2011, 04:58
@Tuik: the 2GB limit is a xvid_encraw 1.3 limit, not a megui problem. have a talk with the xvid devs.
Lighto
27th February 2011, 05:56
after updating MeGUI to the latest build im having a big issue. i check the Add pre-rendering job and click Enqueue and nothing happens. a black huffy_" ".avs is created but nothing is added to the queue.
I can confirm this as well, it just creates a blank .avs script and no job is added to the queue.
It will be good if you could create a tracker at MeGUI's SF bug tracker page (https://sourceforge.net/tracker/?group_id=156112&atid=798476) so that the devs can keep track of it.
Zathor
27th February 2011, 11:24
after updating MeGUI to the latest build im having a big issue. i check the Add pre-rendering job and click Enqueue and nothing happens. a black huffy_" ".avs is created but nothing is added to the queue.
Thanks for the report. I fixed the problem locally and it will be in the next update.
mirec412
3rd March 2011, 11:20
I have problem with MEGUI. When I´m encoding full BluRay disc to mkv, my finaly mkv file is cuting on begining for 1-2 second and sometimes I must set delay for audio. But it happens only if I make mkv with cropping. When I make mkv , for example 1080x264 without cropping finaly mkv file is OK.
this is my avs file -
DirectShowSource("C:\Users\mirec\Desktop\Filmy\You Again_FULL BD\BDMV\STREAM\again.grf",Audio=false,Fps=23.976)
ConvertToYV12()
I think problem is with my ffdshow???
thx for help
LigH
3rd March 2011, 13:36
1080x264? ... Maybe 1920x1080, that's a native HD resolution.
Only native HD resolutions are sped up by a DXVA decoder. Cropped resolutions are rejected by DXVA often and have to be decoded by the CPU alone, which may take more time and even lead to delays if your machine is a bit outdated.
Furthermore ... loading any media as DirectShow graph file via DirectShowSource: You must be really desperate?! No better solution works for you?
mirec412
3rd March 2011, 13:43
1080x264? ... Maybe 1920x1080, that's a native HD resolution.
Only native HD resolutions are sped up by a DXVA decoder. Cropped resolutions are rejected by DXVA often and have to be decoded by the CPU alone, which may take more time and even lead to delays if your machine is a bit outdated.
Furthermore ... loading any media as DirectShow graph file via DirectShowSource: You must be really desperate?! No better solution works for you?
I use win 7 ultimate x 64 with i7-940 12gb ram,
do u have for me any solution without directshowsource???
Lighto
3rd March 2011, 13:53
I am not familiar with the .grf extension....
Maybe you can index the file with FFMSIndexer?
mirec412
3rd March 2011, 14:33
I am not familiar with the .grf extension....
Maybe you can index the file with FFMSIndexer?
Is any simply solution?
Zathor
4th March 2011, 07:11
Did you try the FileIndexer? If yes why do you think that it is more complicated than creating/using grf files?
Overdrive80
4th March 2011, 12:40
Hi, for first time i have material BD. I extract with Megui VC1 video stream in file mkv, but i dont can load in megui because crash program. I tried do avs file, with directshowsource and ffvideosource, but equal. Somebody could say me that I do bad?
I have tried install Windows6.1-KB968211-x64-RefreshPkg (My OS is Win7 x64) but nothing. Any idea?
Excuse me if i posted bad but i dont know if do it here, or avisynth usage.
Zathor
4th March 2011, 18:21
Hi, for first time i have material BD. I extract with Megui VC1 video stream in file mkv, but i dont can load in megui because crash program.
How did you load the mkv video file? Did you use the File Indexer?
Overdrive80
4th March 2011, 19:04
Yes, i used file indexer but any option is enabled. I post snapshot:
http://www.imagengratis.org/images/captura2rk2yr.png
FFdshow is configurated, to wmv9 for VC1.
Too I try load matroska file with directshowsource and ffvideosource, in this momento crash megui.
Overdrive80
4th March 2011, 19:24
Excuse for double post but i found my error.
I had configurated ffdshow for codec VC1 option wm9. But i forgot use Win7DSFilterTweaker for selection ffdshow and not micro...
Regards
Zathor
4th March 2011, 19:54
Yes, interlaced VC1 in MKV cannot be indexed if you do not have DGIndexNV.
bazz
11th March 2011, 13:02
problem with MeGUI , im running Win7 x64
what is wrong here ,can anyone help please
--[Information] [11/03/2011 11:50:35] Started handling job
--[Information] [11/03/2011 11:50:35] Preprocessing
--[Information] Job commandline: "C:\Program Files (x86)\MeGUI\tools\x264\vfw4x264.exe" --pass 1 --bitrate 432 --stats "E:\megui\Gullivers.Travels.2010.BluRay.720p.DTS.x264-CHD (1)-001.stats" --deblock -1:-1 --bframes 6 --b-adapt 2 --b-pyramid strict --ref 7 --qpmin 10 --vbv-bufsize 14500 --vbv-maxrate 14000 --merange 64 --me umh --direct auto --subme 9 --partitions all --no-fast-pskip --sar 1:1 --output NUL "E:\megui\Gullivers.Travels.2010.BluRay.720p.DTS.x264-CHD (1)-001.avs"
--[Information] [11/03/2011 11:50:35] Encoding started
--[Error] [11/03/2011 11:51:54] Process exits with error code: 1073807364
--[Information] Standard output stream
--[Information] Standard error stream
---[NoImage] raw [info]: 720x304p 1:1 @ 2500000/104271 fps (cfr)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
---[NoImage] x264 [info]: profile Main, level 3.2
--[Error] [11/03/2011 11:51:54] The 64 bit mode of x264 has been disabled
--[Information] [11/03/2011 11:51:54] Job completed
Inspector.Gadget
11th March 2011, 20:27
what is wrong here ,can anyone help please
I've found the problem: You're in violation of Rule 6.
nhope
13th March 2011, 09:41
I did some testing to see how YouTube behaves depending on the MeGUI audio and container uploaded.
http://dl.dropbox.com/u/21489814/13-03-2011%2015-31-44.png
Conclusion is, use Nero AAC in mp4 or mkv if you have audio, and mkv not mp4 if you don't. Or include a silent audio track in mp4.
Lighto
13th March 2011, 11:59
I did some testing to see how YouTube behaves depending on the MeGUI audio and container uploaded.
http://dl.dropbox.com/u/21489814/13-03-2011%2015-31-44.png
Conclusion is, use Nero AAC in mp4 or mkv if you have audio, and mkv not mp4 if you don't. Or include a silent audio track in mp4.
DS mentioned that there is something wrong with youtube's mp4 demuxer IIRC.
Recalled2Life
23rd April 2011, 10:10
I just updated to the 2008 revision in hopes it would fix me AAC encoding issue.
Now when I analyze, it only uses 9% - 11% of my CPU. I have a i7 970 6 core CPU. The 1989 version used 49% - 57% of my CPU...
I am just saying, I have a 6 core CPU with 12 threads, can we get that support?!?!?!
Lighto
23rd April 2011, 10:57
I just updated to the 2008 revision in hopes it would fix me AAC encoding issue.
Now when I analyze, it only uses 9% - 11% of my CPU. I have a i7 970 6 core CPU. The 1989 version used 49% - 57% of my CPU...
I am just saying, I have a 6 core CPU with 12 threads, can we get that support?!?!?!
http://i.imgur.com/4OTkG.png
Select whichever works the best for you in the drop down list.:)
Even if you edited the screenshot, we remember that there was something we don't like.
And it doesn't change your problem: If the reason is a data corruption in your downloaded movie, nobody can help, then you simply have a corrupt file.
No, my advice was not to download movies from the Internet. It was rather that besides a copyright infringement, it can also be just a waste of time and energy (for the one who downloaded it as well as for the one who spent time in thinking about the reason and solution of the problem). Therefore it is not supported in this forum. See Forum rule (http://forum.doom9.org/forum-rules.htm) #6.
exorcistas
21st May 2011, 11:13
Hi I am having problems after that encode videos with softsub that the caption on one party or another are faster than the audio in MeGUI
frozenthorn
22nd May 2011, 05:32
I updated to the latest stable x86 this month, and for some reason the bitrate I set into megui for xvid encoding is not the bitrate the video ends up with? Sometimes its as much as 50% more, and sometimes its less? I updated to the latest x86 dev in hopes there was a problem somewhere in the latest stable, and the problem seems to exist there too.
The settings I use hasn't changed, previously the bit rate was always spot on +/- a couple bits. So what's changed with MeGUI components recently that would affect the "XviD: 2 pass HQ (no Qpel)" profile?
exorcistas
24th May 2011, 16:49
I updated MeGUI and was the 2008 version (svn) and an X appeared on the icon of MeGUI bar work knows how I shot this red x and when I updated the MeGUI I also had to update the neroaac?
Pulp Catalyst
25th May 2011, 21:38
will you ever implement IFO processing,
like many great converters that currently exist, only very few have IFO processing, it can be real handy for Episode DVD's (most episode disks have combined VOB files)
one can always use DVDShrink to split them up and re-author the disk, but this can be really time consuming, and can become very frustratingly mundane when it can so easily be avoided,
AutoGK, and FUW, TMPGEnc to name a few, not sure if there are more, tried Xvid4PSP but it doesn't support IFO processing either.
the other thing about combined VOB files is audio sync, episode 1 may have -25ms but episode 2 could have -68ms, but DGIndexing would only detect the 1st and that correction would be used for all of the VOB files,
i have found that without IFO processing, then the converter in question is tailored for movie only.
i know DVDShrink is easy enough, but to re-author an entire DVD all because converters don't have the ability to find that information out itself, really a nightmare.
Handbrake is another one that supports IFO processing.
Dogway
25th May 2011, 22:53
-A few things. What decoder should I use when I want to encode an .avs to mp3? DirectShow?
-Latest update is messed up. I had to run my 3.5 online version and update from there to stable update. Only then my profiles, and changed profile parameters could obey.
-How do I know the order of channels in multichannel audio sources? is it the one mediainfo shows right or is another?
I say because one of my sources mediainfo says is Front: L C R Side: L R LFE
But megui uses c6_stereo which is:
-[NoImage] function c6_stereo(clip a)
-[NoImage] {
-[NoImage] fl = GetChannel(a, 1)
-[NoImage] fr = GetChannel(a, 2)
-[NoImage] fc = GetChannel(a, 3)
-[NoImage] lf = GetChannel(a, 4)
-[NoImage] sl = GetChannel(a, 5)
-[NoImage] sr = GetChannel(a, 6)
-[NoImage] fl_sl = MixAudio(fl, sl, 0.2929, 0.2929)
-[NoImage] fr_sr = MixAudio(fr, sr, 0.2929, 0.2929)
-[NoImage] fc_lf = MixAudio(fc, lf, 0.2071, 0.2071)
-[NoImage] l = MixAudio(fl_sl, fc_lf, 1.0, 1.0)
-[NoImage] r = MixAudio(fr_sr, fc_lf, 1.0, 1.0)
-[NoImage] return MergeChannels(l, r)
-[NoImage] }
tebasuna51
26th May 2011, 10:13
-A few things. What decoder should I use when I want to encode an .avs to mp3? DirectShow?
For audio use NicAudio or BassAudio, DirectShowSource is the last choice.
-How do I know the order of channels in multichannel audio sources? is it the one mediainfo shows right or is another?
Forget the MediaInfo channel order, is useless.
The channel order inside AviSynth is always FL,FR,FC,LF,SL,SR if a correct decoder (NicAudio, BassAudio, ffdshow, ...) is used.
Dogway
26th May 2011, 16:44
I always use NicAudio inside avisynth, so I guess I can use c6_stereo() and forget about anything else. In which case it would be more convenient to just input the .ac3 directly to megui, except when I need some custom editing in avisynth, (delayaudio, TimeStretch, etc)
pancserzso
29th May 2011, 13:44
I have some serious problem with MeGUI newer than 1911.
Every time I open an avs file, I get a:
Fatal Error:
MeGUI encountered a fatal error and may not be able to proceed.
Reason: Attempted to read or write memory protected memory. This is often an indication that other memory is corrupt.
I have absolutely no problem on 1911 or never had problem before.
unknownsoldierX
7th September 2011, 17:20
I need help with this error:
Exception message: GetChannel: Attempted to request a channel that didn't exist!
tebasuna51
7th September 2011, 21:25
I need help with this error:
Exception message: GetChannel: Attempted to request a channel that didn't exist!
Use NicAudio instead DirectShowSource to decode the ac3 file.
Or configure properly your DirectShow system.
unknownsoldierX
7th September 2011, 23:12
Switched config to use NicAudio. All is well. Is NicAudio good for decoding MP3 also?
Thanks
LigH
8th September 2011, 07:30
Yes, it contains MPG123, if I remember right.
tebasuna51
8th September 2011, 10:49
Yes, work with AC3, DTS, MP2, MP3, and other uncompressed formats.
unknownsoldierX
8th September 2011, 20:06
Now I've encountered a different error, while running file indexer on a MKV with AC3.
Standard output stream: Indexing error: Audio format change detected. This is currently unsupported. Channels: 6 -> 2; Sample rate: 48000 -> 48000; Sample format: 16-bit signed integer -> 16-bit signed integer
It creates an .ac3 file, and it seems fine. But it doesn't create a .ffindex file.
EDIT: demuxed with MKVextract. Audio and video are encoding. Wonder why MeGUI couldn't handle it. The MKV isn't any different than other MKVs I've been doing recently.
LigH
9th September 2011, 08:32
This audio stream contains format changes. It was probably taken from a DVB stream which includes some commercial breaks, where the 6 channel audio for the movie switches to stereo audio for the commercials. DVB receivers can handle that easily.
If the video was MPEG2 SD, ProjectX could have cut the transport stream at audio format changes; in any other case I am not sure how to proceed...
unknownsoldierX
9th September 2011, 15:23
I had four MKV (AVC, AC-3 6ch) files that all had commercial breaks removed. MeGUI only had a problem with the one file, though. It extracted the audio, which it would encode without errors. It's just that it wouldn't create the .ffindex file.
I used AVIdemux to demux the MKV, and MeGUI indexed and encoded the resulting .h264 and .ac3 files just fine.
blah123
10th September 2011, 00:24
I've got problems with 2 TSes (one 1920x1080 interlaced MPEG-4/AVC with mp2 | the second also AVC interlaced, but with AC3 and 720x576) and I try to "import" them to MEgui's AviSynth Script Creator and drag&drop them on "Video Input", i choose DirectShowSource and then I receive win message box with "MeGUI has stopped working" and I need to click "close down".
I have got ffdshow and haali media splitter installed.
(The same problem is with StaxRip.)
LigH
12th September 2011, 08:35
Then don't use DirectShowSource. How many times did we already preach that DSS shall be only the last hope when all other native input plugins fail?
The reason of your DirectShow system failing is hard to discover without analyzing your Windows installation at home, next to you. You probably installed too many concurring filters or "Codec Packs" which mess it up, who knows ...
Multiplex your Transport Streams into MKV (e.g. using gdsmux from the Haali Media Splitter installation), then feed the MKV as source for FFmpegSource.
jbeale
4th October 2011, 05:48
I'm trying to use MeGUI 2050 to create a M2TS file. I've been using MeGUI for a few years to create .MP4 files, but then my PS3 died and I got a Panasonic Blu-Ray player that won't play MP4 but will play M2TS files. How should this work? I set up the inputs and click "AutoEncode", then select Output Options: Container: M2TS and "Queue". The queue now contains four jobs: encode audio to .m4a, encode video to .264, mux video to mp4, and mux mp4 to m2ts. The first three steps complete OK. The last step fails with the error
SmartLabs tsMuxeR. Standard error stream: No tracks selected.
Can anyone tell me what I'm doing wrong? The full log text file is attached as Create-M2TS-Error.zip in case that's helpful.
EDIT: hmm, maybe it works better if I use AC3 audio instead of AAC...
QBhd
4th October 2011, 07:56
is .m4a audio allowed? I don't think so. You should only have 3 jobs in the queue, there should be no mux to mp4.
QB
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.