View Full Version : MeGUI: General Questions and Troubleshooting Thread
Your video was neither deskewed in the AviSynth script (it contains no Resize), nor flagged with a target DAR using the "Clever Anamorphic" feature (it contains no global AR variables); so you probably used the AVS script creator not as intended.
Octo-puss
8th June 2013, 11:53
Damnit, you are right. I haven't encoded a movie for a long time, and completely missed this option (and not understanding all this video stuff at all doesn't help either).
It still doesn't work for 4:3 though, I checked the anamorphic encoding, then crop, and the resulting DAR is now 67:49. Sigh.
When you crop, there is no surprise that the DAR (displayed width : displayed height) may be off after cropping, but would be as expected without cropping.
Octo-puss
8th June 2013, 12:10
Aha. So there is no way to get exact 16:9 (or whatever) when encoding?
detmek
8th June 2013, 12:47
There is. Don't crop or resize, and use Clever Anamorphic encoding. But I do not understand why are you insisting in exact 16:9 DAR.
Zathor
8th June 2013, 12:53
If you really want to have 16:9:
- Select 16:9 as input DAR (and not ITU 16:9)
- do not crop
- select "clever anamorphic encoding"
And you should see this in the script:
# Set DAR in encoder to 19 : 9. The following line is for automatic signalling
global MeGUI_darx = 16
global MeGUI_dary = 9
EDIT: too late :)
Octo-puss
8th June 2013, 13:24
There is. Don't crop or resize, and use Clever Anamorphic encoding. But I do not understand why are you insisting in exact 16:9 DAR.
So it looks correct?...
detmek
8th June 2013, 23:12
It should, as Zathor confirms.
Octo-puss
9th June 2013, 07:26
Allright.
P.S. I have no idea what ITU is. This all is obviously way too complex for me, so I will stick with the "for the stupid" way of encoding (repeat some steps exactly as being told).
Thanks for help everyone.
detmek
9th June 2013, 11:10
ITU coeficients are a bit off. ITU 16:9 NTSC is 1.823, non-ITU 16:9 is 1.777 and most DVDs have non-ITU ratio.
P.S. Your goal is to keep ratio of visible picture, not black bars. Those will be added during playback by a player. And encoding black bars wastes bits. For a fixed bitrate it degrades quality and for CRF it increases file size.
You can crop black bars (automaticaly or manualy) and check Clever anamorphic. That will keep correct aspect ratio.
Shevek
9th June 2013, 11:30
I always look up the correct OAR - for films I look up the Tech Specs section on IMDB, TV will always be 4:3 or 16:9.
I then manually calculate my ratio's and ignore what MeGUI selects.
I live in PAL world so I'm 720 wide, amend for NTSC if you need to.
PAL DVD resolution is 720x576
I UNCHECK clever anamorphic and let MeGUI auto crop (I always double check the cropping as it's not always 100% accurate)
If there is no side cropping required then the following calculations are valid:
4:3 => 720 / 4 * 3 = 540 = 720x540
16:9 => 720 / 16 * 9 = 405 => Mod2 = 720x404
1.85:1 => 720 / 1.85 = 389.2 => Mod2 = 720x390
2.35:1 => 720 / 2.23 = 306.4 => Mod2 = 720x306
If side cropping is required then adjust all the calculations above using the new width.
I always then try to find something circular in the preview such as a wheel or clock and ensure it is rendered as a circle.
This way you are only encoding actual pixels of data and no black bars and you end up with as close to OAR as possible.
Also, I always use the Spline36 resize, and have done ever since a post somewhere on here recommended it. Not sure if that recommendation stands so please correct me if need be!
detmek
9th June 2013, 12:04
Basically, you convert anamorphic video to square pixel video. A valid solution which involve resizing but eliminates possibility of wrong AR if player can not read AR from stream or container.
Except if you crop your calculations are wrong. IGNORE THIS.
Edit:
Sorry, I missed IMDB info part. Your calculations could be correct if DVD video publisher didn't resize/crop or in any other way change original AR.
Shevek
9th June 2013, 17:28
Basically, you convert anamorphic video to square pixel video. A valid solution which involve resizing but eliminates possibility of wrong AR if player can not read AR from stream or container.
Except if you crop your calculations are wrong. IGNORE THIS.
Edit:
Sorry, I missed IMDB info part. Your calculations could be correct if DVD video publisher didn't resize/crop or in any other way change original AR.
Which is why (as I said) I always preview and find a wheel or clock and check it's circular :)
meshaun
11th June 2013, 10:09
http://www.ultraimg.com/images/Je89x.png
This error shows up after the update to the latest Dev build.
Found this article from MS:http://support.microsoft.com/kb/125749
Help guys
Zathor
11th June 2013, 20:58
Have you already tried older builds? Does it happen there also? Please post the log so that I can see where it stops.
DarkScythe
11th June 2013, 22:14
Okay, I'm still getting stuck somewhere. :(
I wasn't sure which version of the MKVtoolnix to try, so I went back through every version. According to the logs, the last time I was successful with the encodes was with version 5.6.0 of mkvmerge.
Versions 6.2, 6.1, 6.0, 5.9, 5.8 and 5.7 all failed the same as before with the Error 3.
Upon rolling back to version 5.6.0, there was a small glimmer of hope, as it managed to run past the first second, and got through calculating something or other. However, in the end it still failed to encode with an Error 1.
Specifically:
The AVC video track is missing the 'CTTS' atom for frame timecode offsets. However, AVC/h.264 allows frames to have more than the traditional one (for P frames) or two (for B frames) references to other frames. The timecodes for such frames will be out-of-order, and the 'CTTS' atom is needed for getting the timecodes right. As it is missing the timecodes for this track might be wrong. You should watch the resulting file and make sure that it looks like you expected it to.
Process exits with error: 1
Log file is attached again..
Thanks in advance for any help. :(
Anyone?
Or at least if someone could point me toward some documentation that could tell me what error 1 actually means..
leftspeaker2000
12th June 2013, 05:00
Hello,
I have been encoding my Stargate collection (pal 16:9) for a while now. I am up to season 8 but had a few months off because I was busy. Now when encode I seem to have a weird problem where if I set the sar it does not end up in the final video.
For my encode I usually crop the any black lines (Usually a crop of 2,2,2,2 . ) And leave the size the same and then use the following h.264 settings.
program --preset slower --tune film --crf 20 --sar 64:45 --output "output" "input"
For some reason though this is no longer working. The finally product comes out as a 5:4 aspect ratio which I assume is the same as the source. It would appear that the problem is only happening when I output to mkv as mp4 seems to work fine. Is this a problem with Megui, my computer or am I doing something wrong?
I am a noob. Feel free to comment on the way in which I am encoding also I know leaving the size the same and not changing to mod 16 for anamorphic is a bad ide but my encodes seem fine.
Update :
I tried opening one of the files that opens as 5:4 in vlc in xbmc and it displayed correctly. The following is the info on the video.
General
Unique ID : 254569096819067513088171038294861526987 (0xBF843982871B46429691F5AE4C35B7CB)
Complete name : F:\Rips\s08e08\done.mkv
Format : Matroska
Format version : Version 2
File size : 461 MiB
Duration : 41mn 56s
Overall bit rate : 1 535 Kbps
Encoded date : UTC 2013-06-11 16:12:55
Writing application : mkvmerge v6.2.0 ('Promised Land') built on Apr 28 2013 12:22:01
Writing library : libebml v1.3.0 + libmatroska v1.4.0
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 8 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 41mn 56s
Bit rate : 1 057 Kbps
Width : 716 pixels
Height : 572 pixels
Display aspect ratio : 5:4
Original display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.103
Stream size : 317 MiB (69%)
Writing library : x264 core 133 r2334 a3ac64b
Encoding settings : cabac=1 / ref=8 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / 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=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default : Yes
Forced : No
Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 41mn 56s
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 134 MiB (29%)
Default : Yes
Forced : No
Menu
00:03:24.000 : en:Start
tebasuna51
12th June 2013, 08:58
...I know leaving the size the same and not changing to mod 16 for anamorphic is a bad idea...
For what?
I also use anamorphic with non-mod16 without problems with h264 video.
Your video output with:
program --preset slower --tune film --crf 20 --sar 64:45 --output "output" "input"
seems ok, because:
Original display aspect ratio : 16:9
But, for some reason, when mux to mkv was changed to:
Display aspect ratio : 5:4
- You can solve the problem without video recode with:
1) Load your mkv in MkvMergeGUI
2) Select the video track
3) Select the 'Format specific options' tab and put '16/9' at 'Aspect ratio'
4) Star Muxing
- To detect the problem with MeGUI - MKV muxer put the full MeGUI log.
magsoud
12th June 2013, 13:07
Please Add Use ColorMatrix Checkbox to MeGui.
misagh72
13th June 2013, 12:28
how can add Batch of files ?
LigH
13th June 2013, 12:40
Depends on the kind of files, and if you want one target file per source file, or one target file for the whole batch.
DVDs have IFO files to manage a logical structure, Blu-rays have playlists for M2TS segments. They may require a specific preparation (e.g. for DVDs, stripping the main movie PGC to be indexed with DGMPGDec, or for Blu-rays, best extracted to an intermediate MKV using MakeMKV).
If you want to convert something else (e.g. a set of AVIs or MKVs) to one target file, it's a completely different topic and may require manually creating an AviSynth script.
luke83
13th June 2013, 16:36
Error :(
[cut]
EDIT:
sorry. Probably my bad. It works good now :)
ser_renely
13th June 2013, 17:04
So I seem to be in a world of hurt here. I am not knowledgeable on this stuff, but I was able to use mgui a few months ago without issue. I have been using the 10-bit 264
I am getting the below error. Ideas?
The libav decoder reported error -1094995529 while decoding. <ERROR>
Aborted at file position 1023934464. <ERROR>
Kurtnoise
14th June 2013, 05:20
what is your source ? what is your script ? what is your log ?
leftspeaker2000
16th June 2013, 06:44
For what?
I also use anamorphic with non-mod16 without problems with h264 video.
Your video output with:
program --preset slower --tune film --crf 20 --sar 64:45 --output "output" "input"
seems ok, because:
Original display aspect ratio : 16:9
But, for some reason, when mux to mkv was changed to:
Display aspect ratio : 5:4
- You can solve the problem without video recode with:
1) Load your mkv in MkvMergeGUI
2) Select the video track
3) Select the 'Format specific options' tab and put '16/9' at 'Aspect ratio'
4) Star Muxing
- To detect the problem with MeGUI - MKV muxer put the full MeGUI log.
Thanks for the reply mate I have attached my log file for an encode that refuses to be in 16:9: I have been just manual setting the Aspect in MKV merge like you mentioned, I just get annoyed when I cant figure something out that use to work. As for not cropping to mod 16 I though that this drastically reduce encoder efficiency by not having square pixels ?
UPDATE:
I ran the same script again but I clicked the box for anamorphic encoding in avsynth and set it not to encode non-mod 16 and left the sar 64:45 in the encoder. The output is at least wide screen but it is set to the disaply width / hight ( DAR ? ) in megui of 1043 x 576 which is about 10 or 20 pixes shorter then 16:9. I am not sure what I am doing wrong.
# Set DAR in encoder to 31 : 17. The following line is for automatic signalling
global MeGUI_darx = 31
global MeGUI_dary = 17
LoadPlugin("C:\Program Files (x86)\Megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("F:\Rips\s08e11\VTS_04_1.d2v", info=3)
LoadPlugin("C:\Program Files (x86)\Megui\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
#deinterlace
crop(2, 2, -2, -2)
#resize
#denoise
tebasuna51
16th June 2013, 11:17
I have attached my log file for an encode that refuses to be in 16:9
Sorry but I can't understand your log file. Maybe Zathor can explain this.
I don't know how with this avs file (seems 'Clever anamorphic encode' is not cheked):
---[NoImage] LoadPlugin("C:\Program Files (x86)\Megui\tools\dgindex\DGDecode.dll")
---[NoImage] DGDecode_mpeg2source("F:\Rips\s08e10\VTS_04_1.d2v", info=3)
---[NoImage] LoadPlugin("C:\Program Files (x86)\Megui\tools\avisynth_plugin\ColorMatrix.dll")
---[NoImage] ColorMatrix(hints=true, threads=0)
---[NoImage] #deinterlace
---[NoImage] crop(2, 2, -2, -2)
---[NoImage] #resize
---[NoImage] #denoise
you finish with a encoder line like this:
"...avs4x264mod.exe" --preset slower --tune film --crf 20 --sar 64:45
--sar 64:45 means Pixel Aspect Ratio = 1.42
and a correct anamorphic video:
----[Information] Width: 716
----[Information] Height: 572
----[Information] AspectRatio: 1.780
----[Information] AspectRatioString: 16:9
Without signaling the video like anamorphic (PAR=1) seems correct than MeGUI recover the DAR = SAR x PAR = (716/572) x 1 = 1.25 at muxing time:
"...mkvmerge.exe" -o "F:\Rips\s08e10\VTS_04_1-muxed.mkv" --aspect-ratio 0:179/143...
and make a incorrect mkv:
----[Information] Width: 716
----[Information] Height: 572
----[Information] AspectRatio: 1.252
----[Information] AspectRatioString: 5:4
UPDATE:
I ran the same script again but I clicked the box for anamorphic encoding in avsynth and set it not to encode non-mod 16 and left the sar 64:45 in the encoder. The output is at least wide screen but it is set to the disaply width / hight ( DAR ? ) in megui of 1043 x 576 which is about 10 or 20 pixes shorter then 16:9. I am not sure what I am doing wrong.
# Set DAR in encoder to 31 : 17. The following line is for automatic signalling
global MeGUI_darx = 31
global MeGUI_dary = 17
...
Seems you have select a DAR of 31/17 = 1.82 and not 16/9 = 1.78, then you have 1043/576 = 1.81
leftspeaker2000
16th June 2013, 11:30
Sorry but I can't understand your log file. Maybe Zathor can explain this.
I don't know how with this avs file (seems 'Clever anamorphic encode' is not cheked):
---[NoImage] LoadPlugin("C:\Program Files (x86)\Megui\tools\dgindex\DGDecode.dll")
---[NoImage] DGDecode_mpeg2source("F:\Rips\s08e10\VTS_04_1.d2v", info=3)
---[NoImage] LoadPlugin("C:\Program Files (x86)\Megui\tools\avisynth_plugin\ColorMatrix.dll")
---[NoImage] ColorMatrix(hints=true, threads=0)
---[NoImage] #deinterlace
---[NoImage] crop(2, 2, -2, -2)
---[NoImage] #resize
---[NoImage] #denoise
you finish with a encoder line like this:
"...avs4x264mod.exe" --preset slower --tune film --crf 20 --sar 64:45
--sar 64:45 means Pixel Aspect Ratio = 1.42
and a correct anamorphic video:
----[Information] Width: 716
----[Information] Height: 572
----[Information] AspectRatio: 1.780
----[Information] AspectRatioString: 16:9
Without signaling the video like anamorphic (PAR=1) seems correct than MeGUI recover the DAR = SAR x PAR = (716/572) x 1 = 1.25 at muxing time:
"...mkvmerge.exe" -o "F:\Rips\s08e10\VTS_04_1-muxed.mkv" --aspect-ratio 0:179/143...
and make a incorrect mkv:
----[Information] Width: 716
----[Information] Height: 572
----[Information] AspectRatio: 1.252
----[Information] AspectRatioString: 5:4
Seems you have select a DAR of 31/17 = 1.82 and not 16/9 = 1.78, then you have 1043/576 = 1.81
Sorry the Log was with out anamorphic encoding. I am not sure that I understood everything that you said but I think I have come to a resolution. I noticed when I used anamorphic encoding the input DAR was 1.82361 PAL but the box says 1.78 16:9. So if I change this to 1.78 it seems to come out fine. For now.
Zathor
16th June 2013, 23:16
Regarding the first AVS script. It seems that you have not used "resize" and therefore you have at the end a non-anamorphic file with a DAR of nearly 1,25 (5:4).
endrju
16th June 2013, 23:38
I'm getting an error since a week ago, because of which I can't do anything with MeGUI anymore. It says: "MeGUI encountered a fatal error and may not be able to proceed. Reason: Object reference not set to an instance of an object." I tried reinstalling it but it didn't do anything. However, it works if I don't update it.
[Error] Log
-[Information] Versions
--[Information] [6/11/2013 4:20:59 PM] MeGUI: 2356
--[Information] [6/11/2013 4:20:59 PM] Operating System: Windows 7 x64 SP1 (6.1.65536.7601)
--[Information] [6/11/2013 4:20:59 PM] .Net Framework: 4.0 (4.0.30319)
--[Information] [6/11/2013 4:20:59 PM] AviSynth: 2.5.8.5 (12/21/2008 9:46:54 PM)
--[Information] [6/11/2013 4:20:59 PM] AvisynthWrapper: 1/2/2009 8:34:04 PM
--[Information] [6/11/2013 4:20:59 PM] Haali Matroska Splitter: 1.11.96.14 (3/3/2011 11:40:46 AM)
--[Information] [6/11/2013 4:20:59 PM] Haali DSS2: 3/3/2011 11:37:50 AM
--[Information] [6/11/2013 4:20:59 PM] ICSharpCode.SharpZipLib: 0.85.5.452 (8/7/2008 8:31:12 PM)
--[Information] [6/11/2013 4:20:59 PM] LinqBridge: 1.0.0.0 (5/28/2009 1:24:34 AM)
--[Information] [6/11/2013 4:20:59 PM] MediaInfo: 0.7.63.0 (5/13/2013 10:47:16 AM)
--[Information] [6/11/2013 4:20:59 PM] MediaInfoWrapper: 0.7.61.0 (1/6/2013 2:47:15 PM)
--[Information] [6/11/2013 4:20:59 PM] MessageBoxExLib: 1.0.2218.28317 (12/19/2008 8:53:04 PM)
--[Information] [6/11/2013 4:20:59 PM] SevenZipSharp: 0.64.3890.29348 (1/2/2011 10:59:32 AM)
--[Information] [6/11/2013 4:20:59 PM] 7z: 9.20 (11/18/2010 4:27:34 PM)
-[Information] Update detection
--[Information] [6/11/2013 4:20:59 PM] Connecting to server: http://megui.org/auto/stable/
--[Information] [6/11/2013 4:21:01 PM] All files are up to date
-[Error] MediaInfo
--[Error] [6/11/2013 4:21:02 PM] MediaInfo - Unhandled Error
---[Error] [6/11/2013 4:21:02 PM] Exception message: Object reference not set to an instance of an object.
---[Error] [6/11/2013 4:21:02 PM] Stacktrace
----[NoImage] at MeGUI.MediaInfoFile.CorrectSourceInformation(MediaInfo& oInfo, String strFile, LogItem infoLog, Int32 iPGCNumber)
----[NoImage] at MeGUI.MediaInfoFile.GetSourceInformation(String file, LogItem oLog, Int32 iPGCNumber)
---[Error] [6/11/2013 4:21:02 PM] Inner exception: null
-[Error] Unhandled error
--[Information] [6/11/2013 4:21:02 PM] Exception message: Object reference not set to an instance of an object.
--[Information] [6/11/2013 4:21:02 PM] Stacktrace
---[NoImage] at MeGUI.MediaInfoFile.get_HasAudio()
---[NoImage] at MeGUI.MainForm.openFile(String file, Boolean openVideo)
---[NoImage] at MeGUI.VideoEncodingComponent.videoInput_FileSelected(FileBar sender, FileBarEventArgs args)
---[NoImage] at MeGUI.FileBar.triggerEvent()
---[NoImage] at MeGUI.FileBar.setFilename(String filename)
---[NoImage] at MeGUI.FileBar.openButton_Click(Object sender, EventArgs e)
---[NoImage] at System.Windows.Forms.Control.onclick(EventArgs e)
---[NoImage] at System.Windows.Forms.Button.onclick(EventArgs e)
---[NoImage] at System.Windows.Forms.Button.onmouseup(MouseEventArgs mevent)
---[NoImage] at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
---[NoImage] at System.Windows.Forms.Control.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.ButtonBase.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.Button.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.Control.ControlNativewindow.OnMessage(Message& m)
---[NoImage] at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--[Information] [6/11/2013 4:21:02 PM] Inner exception: null
Zathor
17th June 2013, 19:01
Copy this files into your MeGUI folder and try it again. Post the log file.
http://megui.org/test/MeGUI.zip
endrju
17th June 2013, 23:03
It's working perfectly now. Thanks a lot!
I'm not getting any error logs only the usual one about versions, so I've nothing to post. :)
Ruriko
18th June 2013, 03:18
There is a specific video that I can't convert properly because it shows the video upside down but it shows the video correct on MPC. Does anyone know how to fix this?
General
Unique ID : 254162626167298568528175624103704157247 (0xBF35F0F5A08035E2B271BC1D8E885C3F)
Complete name : C:\Users\Administrator\Downloads\[Anim8S] Rei Zero\[Anim8S] Rei Zero 01 [DVDrip][10-bit][690D7B6A].mkv
Format : Matroska
Format version : Version 2
File size : 352 MiB
Duration : 28mn 0s
Overall bit rate : 1 759 Kbps
Encoded date : UTC 2012-05-03 11:09:14
Writing application : mkvmerge v5.5.0 ('Healer') built on Apr 6 2012 21:43:24
Writing library : libebml v1.2.3 + libmatroska v1.3.0
Attachment : Yes / Yes / Yes / Yes / Yes / Yes
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High 4:4:4 Predictive@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 14 frames
Muxing mode : Header stripping
Codec ID : V_MPEG4/ISO/AVC
Duration : 28mn 0s
Bit rate : 1 532 Kbps
Width : 1 024 pixels
Height : 576 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:4:4
Bit depth : 10 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.108
Stream size : 307 MiB (87%)
Title : レイZERO episode01 「特務捜査官を捕えよ!」
Writing library : x264 core 123 r2192+664+26 bd75503 tMod [10-bit@all X86_64]
Encoding settings : cabac=1 / ref=14 / deblock=1:-2:-2 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / fade_compensate=1.00 / psy_rd=0.90:0.25 / mixed_ref=0 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=2 / threads=12 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / fgo=0 / bframes=14 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=13.0000 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / ip_ratio=1.40 / aq=4:0.90
Language : Japanese
Default : Yes
Forced : No
Color primaries : BT.601 PAL
Transfer characteristics : BT.709
Matrix coefficients : BT.601
Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Muxing mode : Header stripping
Codec ID : A_AC3
Duration : 28mn 0s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 38.5 MiB (11%)
Title : Original
Language : Japanese
Default : Yes
Forced : No
Text
ID : 3
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Compression mode : Lossless
Title : Anim8S
Language : English
Default : Yes
Forced : No
Menu
00:00:00.000 : en:Chapter 1
00:01:03.063 : en:Chapter 2
00:02:02.122 : en:Chapter 3
00:03:00.180 : en:Chapter 4
00:04:01.241 : en:Chapter 5
00:05:22.322 : en:Chapter 6
00:06:36.896 : en:Chapter 7
00:07:22.442 : en:Chapter 8
00:08:31.143 : en:Chapter 9
00:09:23.896 : en:Chapter 10
00:10:23.956 : en:Chapter 11
00:11:31.524 : en:Chapter 12
00:12:25.578 : en:Chapter 13
00:13:24.136 : en:Chapter 14
00:14:24.196 : en:Chapter 15
00:15:29.261 : en:Chapter 16
00:16:30.823 : en:Chapter 17
00:17:24.376 : en:Chapter 18
00:18:26.939 : en:Chapter 19
00:19:24.496 : en:Chapter 20
00:20:24.556 : en:Chapter 21
00:21:27.619 : en:Chapter 22
00:22:24.676 : en:Chapter 23
00:23:28.240 : en:Chapter 24
00:24:24.796 : en:Chapter 25
00:26:00.825 : en:Chapter 26
AMED
18th June 2013, 03:23
have you tried
FlipHorizontal().FlipVertical()
in your avisynth script?
Ruriko
18th June 2013, 03:54
have you tried
FlipHorizontal().FlipVertical()
in your avisynth script?
That worked except now the subtitles are flipped horizontally
AMED
18th June 2013, 04:05
ok try just
FlipVertical()
Ruriko
18th June 2013, 04:47
ok try just
FlipVertical()
yay! that fixes everything thanks!
Zathor
18th June 2013, 20:28
It's working perfectly now. Thanks a lot!
I'm not getting any error logs only the usual one about versions, so I've nothing to post. :)
:scared: I have not changed anything beside that it is a debug build. Can you "downgrade" to the usual build and try it again?
AGKnotUser
19th June 2013, 12:47
Using 2356 development build I can't get --fake-interlaced to show in the output when viewing the file with Mediainfo. I have it checked in the Analysis/Blu-Ray window of the x264 configuration dialog. I can see it in the command line window. It just doesn't show in the output file.
edit: It shows as interlaced=0 in Mediainfo.
LigH
19th June 2013, 13:07
There is a set of command line options for the x264 command line encoder application. These are not stored in the encoding result.
And there is a set of options for the libx264 encoder library. Those are stored in M4V metadata and can be read by MediaInfo.
Both option sets are not completely equal; some of the x264 CLI options are translated to different libx264 options, possibly even to a set of them, e.g. --preset, --tune, and obviously also --fake-interlaced.
No warranty for given information, only as far as I believe to understand; I do not belong to the developers who really know all the details.
Kurtnoise
19th June 2013, 13:33
--fake-interlaced switch correspond to the fake string in the mediainfo x264 settings, 0 otherwise.
AGKnotUser
19th June 2013, 13:34
There is a set of command line options for the x264 command line encoder application. These are not stored in the encoding result.
And there is a set of options for the libx264 encoder library. Those are stored in M4V metadata and can be read by MediaInfo.
Both option sets are not completely equal; some of the x264 CLI options are translated to different libx264 options, possibly even to a set of them, e.g. --preset, --tune, and obviously also --fake-interlaced.
No warranty for given information, only as far as I believe to understand; I do not belong to the developers who really know all the details.
Thank you.
Octo-puss
25th June 2013, 17:19
I just noticed that most of my encodes have washed out colours compared to original. I can't find the cause. I thought it could be too high CRF values used, but it made no difference even when I went all the way down to 1.
Then I noticed something called "Colour correction" in AVS script creator, but it made no difference either.
The washed out colours appear in the video preview as well (obviously, I guess).
Does anyone have any idea what's the deal here?
detmek
25th June 2013, 17:44
Without a original sample, I don't think so.
Octo-puss
25th June 2013, 18:25
Well, I can't seem to be able to create a DVD sample, so we probably won't get anywhere :(
Furthermore, when I switch MPC-HC back to EVR renderer, colours look the same. When I use madVR, the encode looks washed up. It's really weird and I really have no idea what's wrong.
edit:
Allright, here's a sample (http://www.mediafire.com/download/2ni49n78a65ak0n/test.zip).
FredMSloniker
25th June 2013, 18:32
I periodically encode videos to upload to a service with a maximum file size of 1 gig, so I use AutoEncode to encode my videos to 0.98 gigs. Some videos, however, don't need to be that big; even a lossless encoding is less than 0.98 gigs. Previously, MeGUI has had no problem with this, simply spitting out a file of whatever size necessary. Lately, though, it's been erroring out. The third job of four contains the following error messages in the log:
[Warning] [6/25/2013 9:55:57 AM] x264 [warning]: target: 4325.00 kbit/s, expected: 3609.08 kbit/s, avg QP: 0.0564
[Warning] [6/25/2013 10:19:23 AM] x264 [warning]: try reducing target bitrate
But I don't want to reduce the target bitrate; if I can encode lossless (or as close to it as the codec will allow) and still come under the target filesize, why not?
Can anyone help me figure out what's changed or is going wrong?
nekrovski
25th June 2013, 21:15
I haven't used megui in several months, just ran it, updated and now whenever I try to open a .mkv it says
"Unable to render the file.
You probably don't have the correct filters installed."
What went wrong?
Hmm this only happens when I choose direct show source and not on file indexer or one click encode.
Ha, looks like I forgot that I uninstalled haali media splitter. Seems to work fine now after I installed it.
LigH
26th June 2013, 07:28
You should not use DirectShowSource anyway, as long as you can avoid it (because DirectShow sources may not certainly be frame-accurate and unfiltered). Exceptions are when native AviSynth source filters can't handle the specific source, or when you really know how to set up your filter chain.
mini-moose
26th June 2013, 10:26
Hi
I'm trying to find what "Improved AVS opening" is about. Only thing I noticed is that if not selected the video/avs preview will open at the beginning, while when selected it will open in the middle.
Tried to find more info about the feature but without success so far.
thanks in advance.
Zathor
26th June 2013, 22:10
Should be those changes:
2112 [Video Player] changed default start position to the middle if "Improved AVS opening" is selected
2080 [AVS] if an AVS script cannot be opened the old method to open such files is used during the session.
the option can be completly disabled in the settings ("Improved AVS opening", enabled by default). Bug #3437874
2049 open avisynth script handling improved
Reason was that if an AVS script need some time to be opened (e.g. FFMS index file must be created) MeGUI did not respond
luke83
27th June 2013, 19:32
Problem :/
[Error] Log
-[Information] Versions
--[Information] [27/06/2013 20:01:54] MeGUI: 2356
--[Information] [27/06/2013 20:01:54] Operating System: Windows 7 x86 SP1 (6.1.65536.7601)
--[Information] [27/06/2013 20:01:54] .Net Framework: 4.0 (4.0.30319)
--[Information] [27/06/2013 20:01:54] AviSynth: 2.5.8.5 (11/01/2013 10:46:26)
--[Information] [27/06/2013 20:01:54] AvisynthWrapper: 02/01/2009 20:34:04
--[Information] [27/06/2013 20:01:55] Haali Matroska Splitter: 1.11.96.14 (03/03/2011 11:40:46)
--[Information] [27/06/2013 20:01:55] Haali DSS2: 03/03/2011 11:37:50
--[Information] [27/06/2013 20:01:55] ICSharpCode.SharpZipLib: 0.85.5.452 (07/08/2008 20:31:12)
--[Information] [27/06/2013 20:01:55] LinqBridge: 1.0.0.0 (28/05/2009 01:24:34)
--[Information] [27/06/2013 20:01:55] MediaInfo: 0.7.63.0 (13/05/2013 10:47:16)
--[Information] [27/06/2013 20:01:55] MediaInfoWrapper: 0.7.61.0 (06/01/2013 14:47:15)
--[Information] [27/06/2013 20:01:55] MessageBoxExLib: 1.0.2218.28317 (19/12/2008 20:53:04)
--[Information] [27/06/2013 20:01:55] SevenZipSharp: 0.64.3890.29348 (02/01/2011 10:59:32)
--[Information] [27/06/2013 20:01:55] 7z: 9.20 (18/11/2010 16:27:34)
-[Information] Update detection
--[Information] [27/06/2013 20:01:55] Automatic update is disabled
--[Information] [27/06/2013 20:08:46] Connecting to server: http://megui.org/auto/
--[Information] [27/06/2013 20:08:47] All files are up to date
-[Error] Log for job5 (video, VTS_01_PGC_01_1.avs -> hfyu_VTS_01_PGC_01_1.avi)
--[Information] [27/06/2013 20:02:02] Started handling job
--[Information] [27/06/2013 20:02:02] Preprocessing
---[Information] Bitrate calculation for video
----[Information] [27/06/2013 20:02:03] Desired size after subtracting audio: 649481 KBs
----[Information] [27/06/2013 20:02:03] Calculated desired bitrate: 984 kbit/s
--[Information] [27/06/2013 20:02:03] Avisynth input script
---[NoImage] SetMTMode(5,0)
---[NoImage] Import("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\avisynth_plugin\AutoPath.avs")
---[NoImage] MyLoadPlugin("Anime\Chroma\ChromaShift.dll")
---[NoImage] MyLoadPlugin("Anime\SSmoother\RemoveGrain 1.0b\RemoveGrainSSE3.dll")
---[NoImage] MyLoadPlugin("Anime\Sharpener\aWarpSharp2\aWarpSharp2.dll")
---[NoImage] MyLoadPlugin("Anime\Dehalo\fft3dfilter211\FFT3DFilter.dll")
---[NoImage] MyLoadPlugin("Anime\Anti-aliasing\UnFilter.dll")
---[NoImage] MyLoadPlugin("Anime\Anti-aliasing\SangNom.dll")
---[NoImage] MyLoadPlugin("Anime\Line Darkener\Toon-v1.0-lite.dll")
---[NoImage] MyLoadPlugin("Decomb.dll")
---[NoImage] MyImport("Anime\Anti-aliasing\AAA.avs")
---[NoImage] LoadPlugin("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\dgindex\DGDecode.dll")
---[NoImage] DGDecode_mpeg2source("K:\Temp\Temp Megui\VTS_01_PGC_01_1.d2v")
---[NoImage] ChromaShift(C=2)
---[NoImage] SetMTMode(2,2)
---[NoImage] # Deinterlacer
---[NoImage] AssumeTFF().Telecide(guide=1).Decimate(mode=1,threshold=2.0)
---[NoImage] # Spatial Denoiser
---[NoImage] RemoveGrain(2).RemoveGrain(2)
---[NoImage] # Cropper
---[NoImage] crop(10, 2, -8, 0)
---[NoImage] # Resizer
---[NoImage] LanczosResize(702,526) # Lanczos (Sharp)
---[NoImage] # Dehalo
---[NoImage] fft3dfilter(bt=-1, plane=0, dehalo=1.0, hr=2.0, ht=50, svr=0, sharpen=0.3)
---[NoImage] # Sharpener
---[NoImage] aWarpSharp2()
---[NoImage] # Line darkner
---[NoImage] ToonLite(0.5)
---[NoImage] # Anti-aliasing
---[NoImage] AAA()
--[Information] [27/06/2013 20:02:04] Job commandline: "K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\ffmpeg\ffmpeg.exe" -y -i "K:\Temp\Temp Megui\VTS_01_PGC_01_1.avs" -c:v ffvhuff -threads 0 -sn -an -context 1 -vstrict -2 -pred 2 "K:\Temp\Temp Megui\hfyu_VTS_01_PGC_01_1.avi"
--[Information] [27/06/2013 20:02:04] Process started
--[Information] [27/06/2013 20:02:04] Standard output stream
--[Error] [27/06/2013 20:02:04] Standard error stream
---[Information] [27/06/2013 20:02:04] ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
---[Information] [27/06/2013 20:02:04] built on Mar 28 2013 00:28:48 with gcc 4.8.0 (GCC)
---[Information] [27/06/2013 20:02:04] configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
---[Information] [27/06/2013 20:02:05] libavutil 52. 18.100 / 52. 18.100
---[Information] [27/06/2013 20:02:05] libavcodec 54. 92.100 / 54. 92.100
---[Information] [27/06/2013 20:02:05] libavformat 54. 63.104 / 54. 63.104
---[Information] [27/06/2013 20:02:05] libavdevice 54. 3.103 / 54. 3.103
---[Information] [27/06/2013 20:02:05] libavfilter 3. 42.103 / 3. 42.103
---[Information] [27/06/2013 20:02:05] libswscale 2. 2.100 / 2. 2.100
---[Information] [27/06/2013 20:02:05] libswresample 0. 17.102 / 0. 17.102
---[Information] [27/06/2013 20:02:05] libpostproc 52. 2.100 / 52. 2.100
---[Information] [27/06/2013 20:02:05] Input #0, avisynth, from 'K:\Temp\Temp Megui\VTS_01_PGC_01_1.avs':
---[Information] [27/06/2013 20:02:05] Duration: 00:00:10.00, start: 0.000000, bitrate: 0 kb/s
---[Information] [27/06/2013 20:02:05] Stream #0:0: Video: rawvideo, bgra, 832x32, 20447 kb/s, 24 fps, 24 tbr, 24 tbn, 24 tbc
---[Error] [27/06/2013 20:02:06] [ffvhuff @ 020def80] Error: RGB is incompatible with median predictor
---[Information] [27/06/2013 20:02:06] Output #0, avi, to 'K:\Temp\Temp Megui\hfyu_VTS_01_PGC_01_1.avi':
---[Information] [27/06/2013 20:02:06] Stream #0:0: Video: ffvhuff, bgra, 832x32, q=2-31, 200 kb/s, 90k tbn, 24 tbc
---[Information] [27/06/2013 20:02:06] Stream mapping:
---[Information] [27/06/2013 20:02:06] Stream #0:0 -> #0:0 (rawvideo -> ffvhuff)
---[Error] [27/06/2013 20:02:06] Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
--[Error] [27/06/2013 20:02:06] Process exits with error: 1
--[Information] [27/06/2013 20:02:06] Job completed
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.