View Full Version : MeGUI - x264/XviD/lavc/Snow encoder with MP4/MKV/AVI output & audio
unknownsoldierX
8th November 2010, 00:50
I have an AVI with VP6F video. The AVS creator loads the video, but when I run deinterlacing analysis I get the error "Error in analysis: The input clip for source detection could not be opened. AVISource: couldn't locate a decompressor for fourcc VP6F"
I save the AVS, change the first line from AVISource to DirectShowSource, then open that AVS in the script creator. Then the analysis works.
Is it OK to have an AVS point to another AVS as a source? Is there a better way to avoid the error?
I have ffdshow_beta7_rev3154_20091209 installed.
Sharktooth
8th November 2010, 03:26
you can just replace the first line in the original avs and have the same result.
unknownsoldierX
8th November 2010, 03:32
But it seems like i have to create two AVS files in order to run the deinterlace analysis. I've tried opening the AVI in the script creator, going to the script tab and editing the first line, but I still get the error. It's only after I save the script and open that script in the script editor that I can run the analysis.
EDIT: It seems I can't get it to work, even with DirectShowSource. I get an error when it tries to encode.
Exception message: AVISource: couldn't locate a decompressor for fourcc VP6F
LigH
8th November 2010, 11:23
Are you sure you have a decoder for "On2 VP6" either installed separately (the original) or enabled (in ffdshow)?
Installing ffdshow alone does not enable all available formats, some need to be enabled in addition.
For DirectShowSource, configure the "Codecs" in ffdshow's "Video decoder configuration"; for AviSource, do the same in the Decoder tab of ffdshow's "VfW configuration" (see the Windows Start menu).
unknownsoldierX
8th November 2010, 18:02
That was my mistake. I had enabled VP6 in the VfW config, but not VP6F. Thank you.
mirec412
28th November 2010, 09:46
Can someone help me?
When Iīm using MeGUI and encoding bluray to mkv finaly movie on beging is cuting maybe 1-2 seconds and also sometimes I must set delay for audio(but audio is from bluray with same fps).
http://img600.imageshack.us/img600/3509/screeny0.jpg
Zathor
28th November 2010, 10:52
Post the log and the avs file.
mirec412
28th November 2010, 12:34
Post the log and the avs file.
ok avs and log here
mirec412
28th November 2010, 12:38
[Information] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.5.0
--[NoImage] OS : Windows Seven Premium Edition x64 (6.1.0.7600)
--[NoImage] Latest .Net Framework installed : 4.0 (4.0.30319)
--[NoImage] Avisynth Version : 2.5.8.5
# Set DAR in encoder to 47 : 20. The following line is for automatic signalling
global MeGUI_darx = 47
global MeGUI_dary = 20
Import("C:\Users\mirec\Desktop\Filmy\KAJINEK\BDMV\STREAM\kajinek.avs")
#deinterlace
crop( 0, 128, 0, -136)
LanczosResize(1280,544) # Lanczos (Sharp)
#denoise
Inspector.Gadget
28th November 2010, 16:39
("C:\Users\mirec\Desktop\Filmy\KAJINEK\BDMV\STREAM\kajinek.avs")
We need the contents of that script as well.
mirec412
28th November 2010, 16:57
We need the contents of that script as well.
sorry I donīt understand u need to see picture of this script?
mirec412
28th November 2010, 17:24
We need the contents of that script as well.
DirectShowSource("C:\Users\mirec\Desktop\Filmy\KAJINEK\BDMV\STREAM\Kajinek.grf",Audio=false,Fps=23.976)
ConvertToYV12()
Inspector.Gadget
28th November 2010, 17:31
Don't use DirectShowSource. Use DGIndex for MPEG-2, DGAVCIndex for H.264, or ffmpegsource for VC-1. Since your input is 23.976fps progressive, you don't need to worry about DGAVCIndex problems with MBAFF coding or ffmpegsource problems with interlaced VC-1.
exorcistas
24th December 2010, 20:45
Hi can someone help me I'm having some problems with MeGUI I got a new laptop with OS wndows 7 and when I install I installed MeGUI right encoder and the video and audio so that when I finish encode the video he was mute more mediainfo said that was with sound that was not so sound and so I tried to encode the sound alone but has the same problem most of the video encoder okay the problem is to encode the audio to encode and dis ta the same time Video
Lighto
25th December 2010, 02:45
@exorcistas
Try Win7DSTweaker
exorcistas
25th December 2010, 06:35
I do not understand and to explain to me how this will help fix the problem on the Megu video has no audio when I finish encode?
Tuik
27th December 2010, 17:11
Hey,
Right now i'm using xvid-encraw from megui development server.
The aim is to backup bluray content to view in players which not support it.
So i'm encoding bluray to xvid HD 720p and bluray to xvid SD 480p.
I load to xvid a small avisynth script with DSS2, spline16 resize and a little bit of sharpen.
I've been in research for the best xvid options to retain the most detail without blocking and without loosing standalone player compatibility. The above taking in consideration that 480p is to be encoding at a max of 2000 avg bitrate and 720p at a max of 3000 avg bitrate.
The settings i'm using now are:
2 pass, 2 max b frames, bframe ratio 162, bframe offset 0, VHQ for bframes and mode 4, MSP 6, no QPEL, no GMC, Chroma Motion, Closed GOP, Trellis Quant, Adapt. Quantization, Packed Bitstream, No Turbo, max kframe in 240, min qt 2 max qt 31
So now what is missing is the custom matrix...
What CQM would you advise with all the above set?
(also if you suggestions on other used settings please don't abstain :))
Thanks for your help!
LigH
28th December 2010, 00:31
@exorcistas:
Windows 7 prefers not DirectShow filters, but another Microsoft specific codec system, although DirectShow is now widely accepted, and many feature-rich and reliable decoders are available for it.
The "Windows 7 Preferred DirectShow Filter Tweak Tool" can help you disabling the (not at all "better") Microsoft decoders and preferring DirectShow decoders again.
BTW: Use punctuation. Use sentences. The better we understand your question, the better answers we can give you.
luke83
28th December 2010, 19:10
is possible to apply filters to a vob file without encoding it?
Taurus
28th December 2010, 21:03
@luke83
:confused::confused::confused:
What are you talking about?
You can apply filters, even Avisynth filters at decoding/playback stage.
But if you want it permanently done, you have to encode your stuff, of course :p.
And how is this MeGui related?!
totya
1st January 2011, 11:20
Hi, simple question, MeGUI use mencoder, but when?
Zathor
1st January 2011, 13:52
mencoder is used for snow and the pre-rendering job.
totya
2nd January 2011, 15:51
mencoder is used for snow and the pre-rendering job.
Thanks for answer!
unknownsoldierX
6th January 2011, 03:30
My Divx DVD player doesn't like the AVIs MeGUI makes. There is video but no audio. If I mux with VirtualDub, there are no problems. Is there a setting in MeGUI I need to change?
Also, MeGUI prevents my monitor from powering down. It didn't used to do that, but I am unaware of any changes being made.
Zathor
6th January 2011, 10:08
mencoder is used for snow and the pre-rendering job.
And with the recent build mencoder is retired.
My Divx DVD player doesn't like the AVIs MeGUI makes. There is video but no audio. If I mux with VirtualDub, there are no problems. Is there a setting in MeGUI I need to change?
In the log you can find the script file which is beeing exectuted for the muxing and which is deleted after the mux even if "delete intermediate files" is not checked (I will change this with the next release). Post the content here and also do some tests yourself with AVI Mux GUI and the script input (documentation: http://www.alexander-noe.com/video/amg/script.html).
Also, MeGUI prevents my monitor from powering down. It didn't used to do that, but I am unaware of any changes being made. Since 0.3.4.x MeGUI will prevent the system from powering down if a job is running but the display timer is not touched and therefore the monitor should power down (just tested it myself and it does work as exptected). MeGUI uses the SetThreadExecutionState (http://msdn.microsoft.com/en-us/library/aa373208(VS.85).aspx) with ES_CONTINUOUS | ES_SYSTEM_REQUIRED.
Vincent Vega
6th January 2011, 13:54
hi Zathor,
i need to enforce key frames (also to serve as possible cut points) in my next encode to match the chapters of the video. so i've just tried experimenting with the Zones feature in megui for x264 (crf/automated 2 pass) and xvid (cq/automated 2 pass).
oh btw, in xvid cq mode megui did not even pass the -zq settings to encoder, according to megui log.
anyways, it seems that these --zones (x264) and -zq (xvid) parameters are only supposed to request some specific quantizer/weight for a zone from encoder, but not insertion of a key frame at zone start. for example, i checked megui xvid auto-2pass and cbr mode encodes, there were no key frames at my zone starts.
so is cutting the script into segments for each chapter the only way to get the key frames where i want them?
thanks in advance for your help
Zathor
8th January 2011, 10:41
You can use the qpfile in x264.
--qpfile <string> Force frametypes and QPs for some or all frames
Format of each line: framenumber frametype QP
QP is optional (none lets x264 choose). Frametypes: I,i,K,P,B,b.
K=<I or i> depending on open-gop setting
QPs are restricted by qpmin/qpmax.
Vincent Vega
8th January 2011, 17:10
thanks very much, it worked for x264.
there was just a little glitch: when i choose .qpf in megui (svn 1903) x264 config dialog, it gets added to command line, then if i close the dialog and reopen it again the --qpfile "...some path..." parameter no longer shows up in command line and qpf option is unchecked. nevertheless it was still passed to encoder.
and for Xvid i can only use additional command line parameter in megui? you dont plan to add such xvid zones options like K,O,G,C to the megui Zones dialog?
totya
9th January 2011, 10:51
20th November 2007, 10:18
Totya, yes. CP will be there in future versions.
About xvid, works here.
Hi, compressibility test available in MeGUI? I Don't see this.
Zathor
9th January 2011, 22:35
there was just a little glitch: when i choose .qpf in megui (svn 1903) x264 config dialog, it gets added to command line, then if i close the dialog and reopen it again the --qpfile "...some path..." parameter no longer shows up in command line and qpf option is unchecked.
Thanks & fixed
and for Xvid i can only use additional command line parameter in megui? you dont plan to add such xvid zones options like K,O,G,C to the megui Zones dialog?
Sorry, I am not using xvid and have therefore no knowledge about xvid + zones.
Vincent Vega
10th January 2011, 15:02
Thanks & fixed
oh thats cool thanks, though in what build? i'm using x86 (1905) now, it's still happening.
Lighto
10th January 2011, 15:09
oh thats cool thanks, though in what build? i'm using x86 (1905) now, it's still happening.
http://sourceforge.net/projects/megui/
Scroll down and check project feed.
I think it's fixed in 1907.
Zathor probably hasn't found time to update the server with the files yet.
Zathor
10th January 2011, 15:34
Yes, it is fixed in 1906 (http://megui.svn.sourceforge.net/viewvc/megui?view=rev&revision=1906). Depending on my time it may take a few days until the next build will be released.
unknownsoldierX
11th January 2011, 17:30
In the log you can find the script file which is beeing exectuted for the muxing and which is deleted after the mux even if "delete intermediate files" is not checked (I will change this with the next release). Post the content here and also do some tests yourself with AVI Mux GUI and the script input (documentation: http://www.alexander-noe.com/video/amg/script.html).
Floatingshed posted about having stand-alone player problems.
http://forum.doom9.org/showthread.php?p=1393618#post1393618
I disabled opendml in avimux_gui and ran MeGUI again. Files work on my DVD player now.
Since 0.3.4.x MeGUI will prevent the system from powering down if a job is running but the display timer is not touched and therefore the monitor should power down (just tested it myself and it does work as exptected). MeGUI uses the SetThreadExecutionState (http://msdn.microsoft.com/en-us/library/aa373208(VS.85).aspx) with ES_CONTINUOUS | ES_SYSTEM_REQUIRED.
For some reason, my monitor doesn't turn off. This only happens when MeGUI is running. It has to be MeGUI or the xvid encoder causing it.
Zathor
13th January 2011, 06:27
Floatingshed posted about having stand-alone player problems.
http://forum.doom9.org/showthread.php?p=1393618#post1393618
I disabled opendml in avimux_gui and ran MeGUI again. Files work on my DVD player now.
Thanks for the investigation. Can you please check if such files are also working on your player if they are >2GB? As far as I know opendml is required for such files.
For some reason, my monitor doesn't turn off. This only happens when MeGUI is running. It has to be MeGUI or the xvid encoder causing it.
Which OS are you using? Maybe I will add an option to disable this setting. But then of course the system will go into hibernating/standby as well if configured.
unknownsoldierX
14th January 2011, 18:06
Thanks for the investigation. Can you please check if such files are also working on your player if they are >2GB? As far as I know opendml is required for such files.
I just created a 2.6GB file. Video bitrate 2186kbps CBR. avimux_gui popped up with this:
---------------------------
Error
---------------------------
AVI files larger than 2000 MB can only be created in Open-DML format.
Continue (and set output format to Open-DML)?
---------------------------
Yes No
---------------------------
I'm assuming it is not possible to create an AVI >2GB without Open-DML.
I tried the file on my player and it wouldn't load. With smaller Open-DML files, video plays but there is no audio. It seems the player can't play large AVI files at all.
I've played 1500MB files, and aside from occasional stuttering from the player struggling with higher bitrates, the files play.
Sound like this may be an issue with most, if not all, Divx compatible DVD players. If so, it would be nice to have an option in MeGUI that turns off Open-DML in avimux_gui.
Which OS are you using? Maybe I will add an option to disable this setting. But then of course the system will go into hibernating/standby as well if configured.
Windows 7. And it's up to you if you think it will be useful to others. As for me, I have my system set to go to sleep and it is easier to hit the power button on the monitor than it would be to disable sleep every time I wanted to encode videos.
Lighto
15th January 2011, 04:27
For some reason, my monitor doesn't turn off. This only happens when MeGUI is running. It has to be MeGUI or the xvid encoder causing it.
Probably xvid, I was encoding with x264 and my laptop screen turns off after 1min due to the settings in my power options as usual.
steve1992
16th January 2011, 13:04
hi all
i add megui to multilizer and i can't do any thing
so plz add feature poedit in megui or add folder resource with
recource.localetion.DLL cuz with this file i can add to multilizer
and change main language
a lot of thanx
luke83
16th January 2011, 13:10
I've an ATI HD4850 512MB.
Can I use th ATI Stream Technology with Megui?
I used it with Cyberlink (it needs I install ATI AVIVO driver) but it has less options than megui.
Sharktooth
16th January 2011, 13:53
luke83: no coz x264 doesnt support GPU encoding AND if you search the forum you will understand that
1 - GPU encoding actually sux
2 - GPU encoding is NO faster than software (CPU) encoding at the same quality.
3 - At the same price you get a GPU good for h.264 encoding you will get a much faster CPU.
luke83
16th January 2011, 17:07
luke83: no coz x264 doesnt support GPU encoding AND if you search the forum you will understand that
1 - GPU encoding actually sux
2 - GPU encoding is NO faster than software (CPU) encoding at the same quality.
3 - At the same price you get a GPU good for h.264 encoding you will get a much faster CPU.
Ok, but I'm using Cyberlink Media Espresso with Hardware encoding and it convert my dvd very good anda faster. However it has poor options. For exemple: isn't possible to set a final video size.
As ATI transconding works with this software I thought it works in megui too
I forgot to tell that the enconding is made not only by GPU but CPU and GPU at the same time. My GPU was loaded at 30%
Sharktooth
16th January 2011, 17:22
it doesnt matter. GPU encoding is really sucky and x264 is faster even producing a better quality...
:search:
luke83
16th January 2011, 19:05
it doesnt matter. GPU encoding is really sucky and x264 is faster even producing a better quality...
:search:
so, what's happen if I use DXVA profile? :confused:
P.S.
Megui has been updated to 1911 svn: what's the meaning of "svn"?
Zathor
16th January 2011, 19:11
Megui has been updated to 1911 svn: what's the meaning of "svn"?
http://en.wikipedia.org/wiki/Apache_Subversion
Sharktooth
16th January 2011, 19:26
luke83: if you use the DXVA preset megui will encode the source file into h.264 using DXVA compatible settings for PLAYBACK.
phoebian
16th January 2011, 23:34
I recently started to play with MEGUI and I think it is a very well rounded application that can cover a very wide range of needs. Keep up the good work guys! I have a few remarks that might be of interest to any dev around.
My main need is to rapidly transcode video series to my iPod 6G. I think MEGUI could be greatly improved if the number of steps to encode a single file would be reduced. Currently I need to perform the following actions:
- Open the AVI file
- Queue the file indexing (autostarted)
- Manually tune the AVS script
* Set the horizontal resolution to 320
* Click "Suggest Resolution (mod16)"
* Click "Save"
- Manually load the audio (no autoload, looks like a bug)
- Queue the autoencode (autostarted)
Note that I use the latest svn-1911 fully updated.
My remarks are:
- Why isn't the file indexed automatically upon opening?
AFAIK, it used to be automatic with previous version 0.3.5.
- Can we have the "crop&resize" settings optionally saved with the avisynth profile?
I would find this one logical since the final resolution can be an integral part of the video encoding chain. In my case, my iPod does not accept anything except that, so it would make sense. It is a pain to reenter the value for every file.
- Can we have a 1-click button to auto-encode?
A priori, the autoencode settings can be fully configured in via the CTRL+F6 shortcut. I would therefore prefer a click on the AutoEncode button to automagically queue *and* start the jobs instead of just doing the same thing as CTRL+F6.
luke83
17th January 2011, 13:03
luke83: if you use the DXVA preset megui will encode the source file into h.264 using DXVA compatible settings for PLAYBACK.
oh :(
Sharktooth
17th January 2011, 13:25
I recently started to play with MEGUI and I think it is a very well rounded application that can cover a very wide range of needs. Keep up the good work guys! I have a few remarks that might be of interest to any dev around.
My main need is to rapidly transcode video series to my iPod 6G. I think MEGUI could be greatly improved if the number of steps to encode a single file would be reduced. Currently I need to perform the following actions:
- Open the AVI file
- Queue the file indexing (autostarted)
- Manually tune the AVS script
* Set the horizontal resolution to 320
* Click "Suggest Resolution (mod16)"
* Click "Save"
- Manually load the audio (no autoload, looks like a bug)
- Queue the autoencode (autostarted)
Note that I use the latest svn-1911 fully updated.
My remarks are:
- Why isn't the file indexed automatically upon opening?
AFAIK, it used to be automatic with previous version 0.3.5.
- Can we have the "crop&resize" settings optionally saved with the avisynth profile?
I would find this one logical since the final resolution can be an integral part of the video encoding chain. In my case, my iPod does not accept anything except that, so it would make sense. It is a pain to reenter the value for every file.
- Can we have a 1-click button to auto-encode?
A priori, the autoencode settings can be fully configured in via the CTRL+F6 shortcut. I would therefore prefer a click on the AutoEncode button to automagically queue *and* start the jobs instead of just doing the same thing as CTRL+F6.
Have you tried the OneClick Encoder tool (under Tools menu)?
@luke83: you shouldnt be disappointed coz GPU encoders are REALLY bad and produce crap quality being slower than x264 forcing the "same" picture quality...
luke83
17th January 2011, 16:35
@luke83: you shouldnt be disappointed coz GPU encoders are REALLY bad and produce crap quality being slower than x264 forcing the "same" picture quality...
I was not disappointend about the user but about news. I hoped to encode faster, instead...
The software about I wrote before, makes a file that is double in size against megui file. If I set a lower bitrate, the quality is very poor.
RiCON
17th January 2011, 20:11
If you use --preset ultrafast in x264, I'm pretty sure it will be much faster than any GPU encoder.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.