View Full Version : MeGUI - x264/XviD/lavc/Snow encoder with MP4/MKV/AVI output & audio
kws53
11th November 2012, 16:38
The change done in Frebruary is still active and I cannot reproduce the problem this time. Therefore I cannot fix it. Please post the complete log file (with MediaInfo + Versions). Also please try older builds and find out when the problem started. E.g. try 2112 or 2153 (stable).
Hi Zathor - the problem as I see it is that the indexing for MKV works perfectly, but when the script is created [at least on my machine], instead of producing this line [which it used to do]:
FFVideoSource("D:\MOVIE\videofile.mkv", threads=1)
-where the mkv.ffindex file should be located...
it produces this line:
FFVideoSource("", cachefile="C:\AVS Location\videofile.mkv.ffindex", threads=1)
Apparently, then Avisynth cannot run the index because the mkv file is not there and crashes. For some reason, MeGUI is now putting the mkv.ffindex file in the default avs directory [the directory where the finished avs file is located], NOT the same directory as the mkv file is located.
Hope this helps solve the problem.
Cheers,
Kurt
Zathor
11th November 2012, 18:50
Ok, I found the problem. Two workarounds until the solution is available:
- install a directshow filter for the input file
- use the default ffindex location (same path for input & index file - name of index = input + .ffindex)
EDIT: problem fixed. it will be in the next build.
kws53
13th November 2012, 04:45
Ok, I found the problem. Two workarounds until the solution is available:
- install a directshow filter for the input file
- use the default ffindex location (same path for input & index file - name of index = input + .ffindex)
EDIT: problem fixed. it will be in the next build.
Thanks Zathor - my workaround is to move the index file into the same directory as the mkv, edit a similar avs file to include the new mkv, then load it into the avs script creator and do the resizing/trimming adjustments.
Resolving it will save much time.
Cheers,
Kurt
Slasher
24th November 2012, 23:07
Can someone explain why am I seeing these open handles by megui while encoding?
Kurtnoise
25th November 2012, 09:03
filters needed for decoding/splitting files...(except Office & Groove & Avast not used by megui)
Slasher
25th November 2012, 20:39
I had an avs with ffms2 as source. So there's no reason to use lav, ac3filter, canon mov decoder. Also there's avast and office groove!!?!? What's the logical explanation here?
The reason this has bothered me so much is that while encoding I uninstalled lav filters in order to install a newer version and the dialog box said the system needs to restart in order to complete. When I tried to manually delete the lav files and received access denied I wondered what could possibly use the files. And then I saw what is in the above screenshot.
Kurtnoise
26th November 2012, 08:54
Depends on what you do exactly into megui (video preview, encodings, create avs scripts, etc...)
LigH
26th November 2012, 09:45
If FFMS2 is used to open a Transport Stream file, which uses the Haali Media Splitter, then it may also use subsequent DirectShow filters (and may it just be for building a graph).
FFMS2 recommends remultiplexing *TS to MKV before processing. They can be opened natively, without using external splitters.
Slasher
27th November 2012, 04:48
Depends on what you do exactly into megui (video preview, encodings, create avs scripts, etc...)
Just encoding. I create and preview my avs with avspmod, I then load the avs into megui and queue the job. Was either encoding a DVD (mpeg2source->d2v) or a H.264 stream in mkv container, can't remember exactly but surely one of these two. How files from ac3filter or canon decoder came to be associated with megui is beyond me. Not to mention the rest of the stuff.
LigH
27th November 2012, 08:45
They are not at all "associated with" MeGUI. MeGUI is only a user interface. Only controls to build an AviSynth script, a window to display a preview, and a job control to execute the command line encoders converting the script output. MeGUI itself does not need any DirectShow filters. The decoders used in the script may. That depends on the content of your script, the filetype of the original media being loaded... You wrote the script manually, so you are responsible for its dependencies. Not MeGUI.
GEfS
2nd December 2012, 15:15
How to config MeGUI just do job sequentially?
I don't know why my MeGUI do 2 job at same time. (I queue 6 encoding job in CRF mode before sleep, when I wake up, MeGUI running 2 job at same time)
I'm using MeGUI 2220.
Sorry for my poor english :D.
Zathor
2nd December 2012, 17:15
You likely have two "Workers" configured. Delete one of them:
"Workers\Worker Summary", right click on one of them and select "Shut down worker now"
GEfS
4th December 2012, 18:38
You likely have two "Workers" configured. Delete one of them:
"Workers\Worker Summary", right click on one of them and select "Shut down worker now"
Thanks. It's worked :D
sneaker_ger
5th December 2012, 16:05
Who came up with the PS3 device settings? Officially it supports level 4.2, which would mean bufsize 78125 and maxrate 62500.
Having bufsize and maxrate at 31250 while setting level to 4.2 makes no sense, because those values still fit into level 4.1. Many devices will refuse to play anything above 4.1, so this will have a great negative impact for no advantage. Level 4.2 only makes sense for resolutions greater than 1920x1080/higher framerates, but even then the vbv settings would still be wrong.
Carpo
5th December 2012, 16:26
interested in this also as i am wondering whether to use the PS3 tune option or DXVA for making my files before I stream them to PS3
docholliday
12th December 2012, 22:06
I have a problem with MeGui when it start the video encode suddenly stop and error,can anybody help me?
LigH
13th December 2012, 08:09
With this amount of details, close to zero (no MediaInfo analysis of the source, no MeGUI error log, no generated script) ... probably not. Help us to help you!
R=G
16th December 2012, 02:15
What's the best DVD Ripping software to use with Megui? I got version 2153...I usually use DVD Fab 8 or DVD Shrink. I had 2050 all year and most times that would get good results but with MP4 outputs? They would be out of sync and the playback didn't seem flawless and had a slight buffer effect. My MKVs turn out nice but would have a slight buffer to it at times. When I encode Shimmer later, I'll drop the media info on that encode to see if you can tell me if anything is OFF with it. I haven't used the 2153 update all that much except once. Basically I just need good settings for High Profile and with no buffering/playback issues.
Zathor
16th December 2012, 15:36
Who came up with the PS3 device settings? Officially it supports level 4.2, which would mean bufsize 78125 and maxrate 62500.
Having bufsize and maxrate at 31250 while setting level to 4.2 makes no sense, because those values still fit into level 4.1. Many devices will refuse to play anything above 4.1, so this will have a great negative impact for no advantage. Level 4.2 only makes sense for resolutions greater than 1920x1080/higher framerates, but even then the vbv settings would still be wrong.
Ok, I will change it to 4.1 in one of the next builds. Anything else to change?
tormento
16th December 2012, 21:42
Ok, I will change it to 4.1 in one of the next builds. Anything else to change?
Is it possible to get bitrate in kb/s when encoding?
R=G
17th December 2012, 06:35
This is Media Info on my encode earlier today...would you consider this a good encode or could it be tuned to be better? Everything seemed fine with no audio delays or any jerky playback.
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Format settings, GOP : M=4, N=32
Muxing mode : Container profile=Unknown@3.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 2h 42mn
Nominal bit rate : 1 100 Kbps
Width : 640 pixels
Height : 352 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.163
Writing library : x264 core 125 r2200 999b753
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=300 / keyint_min=29 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=1100 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : Yes
Format settings, PS : No
Codec ID : A_AAC
Duration : 2h 42mn
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Video delay : 31ms
FHeLLx
23rd December 2012, 05:03
Good evening, first I would like to ask your help in a matter that started happening to me,
Until now I was doing my encodes of TV programs recorded on. Megui in TS, but now when I create a script, with the AVS Script Editor starts this error appears:
Script Error: Invalid Arguments To Function "LanczosResize"?
Reading here on the forum, could not find any solution that would make my problem go away.
I am awaiting.
hello_hello
23rd December 2012, 10:23
Just posting to offer my thanks for the mod4, mod2 resizing addition to MeGUI's script creator. I've been hoping for that for so long.....
Now if only you could run a job straight away rather than have to add it to the job queue first. Maybe by holding the shift key while clicking on the queue button to get MeGUI to automatically run the job in a new temporary worker rather than add it to the queue...... but anyway..... thanks again for the resizing changes. The continued work to improve MeGUI is much appreciated.
Zathor
23rd December 2012, 12:14
Now if only you could run a job straight away rather than have to add it to the job queue first. Maybe by holding the shift key while clicking on the queue button to get MeGUI to automatically run the job in a new temporary worker rather than add it to the queue....
Do you have already other workers running when you want one job to be run immediately?
hello_hello
23rd December 2012, 14:36
Do you have already other workers running when you want one job to be run immediately?
Sometimes. It'd mainly be convenient when running an indexing job, as I often index a video and set up an additional encode while one is running, but either way it'd be nice to just run the indexing job rather than add it to the job queue and then right click to run it in a temporary worker etc.
It's not a big deal I know.... but anything which cuts down on mouse clicks is a good thing. :-)
pureocean
23rd December 2012, 21:00
Hello, I'm sorry, I'm a newbie.
I downloaded MeGUI 2237. My videos audio is 11khz format(wav 88kbps). I don't want re-encoding/converting.
Therefore, I did very search a option like "Don't encode audio", "Keep Original Track" or "Direct Stream Audio"
but I couldn't find anything. Doesn't support the feature?
kalehrl
23rd December 2012, 21:17
There is such an option in oneclick encoder:
http://i46.tinypic.com/35k350h.png
pureocean
23rd December 2012, 22:56
@kalehrl:
Thank you for your interest and screenshot. I've already picked as "never" in Encoding: http://i.imgur.com/KVnCI.gif
Nevertheless, the audio is encoded/converted to mp3. :(
ID : 2
Format : MPEG Audio
Format version : Version 2.5
Format profile : Layer 3
Codec ID : A_MPEG/L3
Codec ID/Hint : MP3
Duration : 1mn 19s
Bit rate mode : Constant
Bit rate : 64.0 Kbps
Channel(s) : 1 channel
Sampling rate : 11.025 KHz
Compression mode : Lossy
Stream size : 625 KiB (9%)
Writing library : LAME3.99r
Encoding settings : -m m -V 4 -q 2 -lowpass 5.5 -b 64
Default : Yes
Forced : No
Zathor
23rd December 2012, 23:53
Please upload a short sample file.
pureocean
24th December 2012, 07:15
@Zathor:
I uploaded a sample file here: http://dl.dropbox.com/u/2538760/MeGUI_test.rar
Zathor
24th December 2012, 09:16
You are using an AVI input container. MeGUI currently cannot extract the audio track from that container and therefore it must be converted.
Workaround: Convert your file in a MKV with mkvmerge (MeGUI\tools\mkvmerge\mmg.exe - just drag & drop your file into it and hit "start muxing")
Use this file as input in OneClick.
Slasher
24th December 2012, 13:05
Um, how can I use the latest megui without needing to install that portable avs? I have avs 2.6 MT installed for using multithreaded qtgmc.
Slasher
24th December 2012, 13:16
They are not at all "associated with" MeGUI. MeGUI is only a user interface. Only controls to build an AviSynth script, a window to display a preview, and a job control to execute the command line encoders converting the script output. MeGUI itself does not need any DirectShow filters. The decoders used in the script may. That depends on the content of your script, the filetype of the original media being loaded... You wrote the script manually, so you are responsible for its dependencies. Not MeGUI.
"associated with" = "megui has open handles on those files", just to clear up the confusion
When I encode DVDs, avs contains (most used settings scenario):
SetMemoryMax(1024)
SetMTMode(5, 4)
LoadPlugin("path\dgmpgdec158\DGDecode.dll")
MPEG2Source(***)
SetMTMode(2)
QTGMC(settings)
SelectEven()
Crop()
When I encode H.264, avs contains (most used settings scenario):
LoadPlugin("path\ffms2.dll")
FFVideoSource(***)
Crop()
spline36resize()
Now I fail to see how the above avs scenarios could create dependencies with ac3filter, office groove, canon decoder and other seemingly random stuff.
Zathor
24th December 2012, 13:29
Um, how can I use the latest megui without needing to install that portable avs? I have avs 2.6 MT installed for using multithreaded qtgmc.
The portable avs will only be "installed" (= copied in the MeGUI root directory) when needed, but it must be downloaded.
Slasher
24th December 2012, 13:58
OK thank you.
djmasturbeat
24th December 2012, 19:50
I am having an infinite loop of update notices for the core. Everything else updated correctly, but MeGUI keeps asking me to update core from 2153 to 2237, which I do, then it tells me MeGUI needs to restart. I say OK, but then it never starts up again, even if I wait an hour, lol. I finally manually restart and get same message.
I tried force reinstall as a context menu choice in the Update Window, but that didn't do anything differently.
If I can get you more info to help fix this bug, please let me know. I just don't know what you may need.
pureocean
24th December 2012, 20:36
@Zathor: Thank you for the information and MMG tip. I hope that the next releases will have more improvements.
Espically, Direct Stream Copy+Audio Copy parts easily that would be great.
Zathor
25th December 2012, 01:17
I am having an infinite loop of update notices for the core.
Sorry, no clue. In general it is working. Maybe some kind of AntiVirus tool is causing problems.
As a workaround you can use the 2237 file from the sourceforge page and copy it over your installation.
unknownsoldierX
26th December 2012, 01:39
Had the same problem as djmasturbeat. Downloaded a fresh copy from sourceforge. When I run it, it automatically starts downloading updates for all components. The local date for every file is listed as 1/1/0001.
edit: Went back to an old version and disabled updates.
djmasturbeat
26th December 2012, 05:22
I disabled all AV/spyware and issue persisted, so that was not the issue that I can perceive.
There was some errors about the file downloading, but unable to download, and then errors aboutbeing unable to unpack the zip then unable to delete the zip. I looked and the zip was in the cache, too.
I watched it alternately at times use the main or backup server for update, both failed on core install.
edit, here is one of the logs
-[Information] [12/25/2012 5:13:44 PM] Updating core. File 1/3.
--[Information] [12/25/2012 5:13:44 PM] Could not unzip C:\MeGUI\update_cache\megui-core_2237.zip. Deleting file.
--[Error] [12/25/2012 5:13:44 PM] Could not delete file C:\MeGUI\update_cache\megui-core_2237.zip
--[Error] [12/25/2012 5:13:44 PM] Failed to download file core with error: CouldNotDownloadFile.
I tried removing the core from update_cache and then running it, but no dice.
I finally deleted my MeGUI directory other than my profiles and jobs and logs, and just unpacked the newest build.
For the record:
pretty fresh install of Windows7x64, with barely anything installed yet, not even ffdshow/haali or LAVF, etc. Mostly just DVD Decrypter, a stand alone stable MPC-HC and some browsers and AV/spyware, and the stuff for Mobo (mostly drivers).
I won't know if the bug persists till a new core is released for stable servers.
I suppose this should have gone here top start with, since I am using a vanilla MeGUI now, and this seems like a bug for MeGUI
http://forum.doom9.org/showthread.php?t=151159
apologies for misplaced post, but since I started it here, thought I would follow up here.
Zathor
26th December 2012, 11:46
Please upload the full log. I just tested also both update servers and was successfull.
LigH
26th December 2012, 13:03
Script Error: Invalid Arguments To Function "LanczosResize"
Knowing your script content would be useful to understand the reason for this issue. At least of the script line which contains this filter. But probably better the whole script, as it may depend on surrounding context.
djmasturbeat
29th December 2012, 21:38
Please upload the full log. I just tested also both update servers and was successfull.
full log (1 of many that are exactly the same):
[Error] Log
-[Information] Versions
--[Information] [12/24/2012 10:20:50 AM] MeGUI: 2153 (svn)
--[Information] [12/24/2012 10:20:50 AM] Operating System: Windows 7 Ultimate Edition x64 SP1 (6.1.65536.7601)
--[Information] [12/24/2012 10:20:50 AM] .Net Framework: 4.0 (4.0.0.0)
--[Information] [12/24/2012 10:20:50 AM] AviSynth: 2.5.8.5 (12/21/2008 9:46:54 PM)
--[Information] [12/24/2012 10:20:50 AM] AvisynthWrapper: 1/2/2009 8:34:04 PM
--[Information] [12/24/2012 10:20:50 AM] ICSharpCode.SharpZipLib: 0.85.5.452 (8/8/2008 2:31:12 AM)
--[Information] [12/24/2012 10:20:50 AM] LinqBridge: 1.0.0.0 (5/28/2009 7:24:34 AM)
--[Information] [12/24/2012 10:20:50 AM] MediaInfo: 0.7.61.0 (10/21/2012 4:29:05 PM)
--[Information] [12/24/2012 10:20:50 AM] MediaInfoWrapper: 0.7.53.0 (8/23/2012 2:33:43 PM)
--[Information] [12/24/2012 10:20:50 AM] MessageBoxExLib: 1.0.2218.28317 (12/20/2008 2:53:04 AM)
--[Information] [12/24/2012 10:20:50 AM] SevenZipSharp: 0.64.3890.29348 (1/2/2011 4:59:32 PM)
--[Information] [12/24/2012 10:20:50 AM] 7z: 9.20 (11/18/2010 10:27:34 PM)
-[Error] Update detection
--[Information] [12/24/2012 10:20:51 AM] Connecting to server: http://megui.org/auto/stable/
--[Information] [12/24/2012 10:20:52 AM] There is 1 file which can be updated.
--[Information] [12/24/2012 10:24:05 AM] Updating core. File 1/1.
--[Information] [12/24/2012 10:24:05 AM] Could not unzip C:\MeGUI\update_cache\megui-core_2237.zip. Deleting file.
--[Error] [12/24/2012 10:24:05 AM] Could not delete file C:\MeGUI\update_cache\megui-core_2237.zip
--[Error] [12/24/2012 10:24:05 AM] Failed to download file core with error: CouldNotDownloadFile.
--[Information] [12/24/2012 10:24:05 AM] Update completed
--[Error] [12/24/2012 10:24:05 AM] Files which have been not sucessfully updated: 1
Zathor
30th December 2012, 10:40
Do you still have the problem? I have fixed it several days ago.
Slasher
3rd January 2013, 13:25
The portable avs will only be "installed" (= copied in the MeGUI root directory) when needed, but it must be downloaded.
When using MT functions in the script megui says there's no such thing. I had to copy avisynth.dll (Set's 2.6 MT) into the avs directory of megui.
Means that even though I had avs installed and configured, megui still used its version.
Zathor
3rd January 2013, 15:05
Please post your log (the version part)
LigH
7th January 2013, 20:32
There is now a quite big leap in the version number of MP4Box used by MeGUI (from 0.4.6-DEV-rev2735 to 0.5.1-DEV-rev4234:4272M).
Was it just time to do something, or are there specific new features MeGUI will take care of now?
Kurtnoise
8th January 2013, 10:12
better apple devices support...
The last MP4Box version adds eac3 files support + mvc/svc + few others things (not supported into megui though).
dj-big
8th January 2013, 12:56
hei i start encoding 4 mkv videos 2 of them have very similar size but the others have 150mb difrence i use oneclick encode and the settings are all the same the source is same for all and the size of source are similar why i have this problem last befor . why some files are much bigger than others? how can i fix this i want all have similar size i dont care about 10 mb but 100or150 is to high i user 2passencode with bitrate mode and i dont want to user filesize limit each time i want to encode is there any solution in settings to encode all files in similar size ?
Kurtnoise
8th January 2013, 14:09
:logfile:
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.