Log in

View Full Version : MeGUI: General Questions and Troubleshooting Thread


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 [110] 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186

Sharktooth
7th July 2010, 13:56
i meant the encoding log coz a new x264 option (open-gop) may not be supported by all players.
However from the log i see you're using the stable version of MeGUI, so the x264 version that comes with it is not so up to date... however your encoding log may be useful

FBX
7th July 2010, 14:01
Yeah, just tried muxing into MKV and that file didn't even work at all in WMP.

Here's the logfile of the video encode:

[Information] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.5.0
--[NoImage] OS : Windows Vista Ultimate Edition x64 SP2 (6.0.131072.6002)
--[NoImage] Latest .Net Framework installed : 4.0 (4.0.30319)
--[NoImage] Avisynth Version : 2.5.8.2
-[Information] Log for job1 (video, TF_S1_01.avs -> TF_S1_01.mp4)
--[Information] [7/7/2010 6:56:47 AM] Started handling job
--[Information] [7/7/2010 6:56:47 AM] Preprocessing
--[NoImage] Job commandline: "C:\MeGUI\tools\x264\vfw4x264.exe" --preset slower --crf 16.0 --level 4.2 --vbv-bufsize 31250 --vbv-maxrate 31250 --aud --sar 1:1 --output "C:\Users\Wolff\TF videos\TRANSFORMERS_S1_D1\episode 01\TF_S1_01.mp4" "C:\Users\Wolff\TF videos\TRANSFORMERS_S1_D1\episode 01\TF_S1_01.avs"
--[Information] [7/7/2010 6:56:47 AM] Encoding started
--[NoImage] Standard output stream:
--[NoImage] Standard error stream
---[NoImage] yuv [info]: 720x540p 1:1 @ 24000/1001 fps (cfr)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
---[NoImage] x264 [info]: profile High, level 4.2
---[NoImage]
---[NoImage] x264 [info]: frame I:388 Avg QP:13.07 size: 65876
---[NoImage] x264 [info]: frame P:11089 Avg QP:15.88 size: 20566
---[NoImage] x264 [info]: frame B:21472 Avg QP:18.54 size: 5381
---[NoImage] x264 [info]: consecutive B-frames: 6.7% 8.6% 22.3% 62.4%
---[NoImage] x264 [info]: mb I I16..4: 7.8% 56.2% 36.0%
---[NoImage] x264 [info]: mb P I16..4: 2.7% 10.0% 3.2% P16..4: 44.4% 22.1% 7.4% 0.6% 0.5% skip: 9.0%
---[NoImage] x264 [info]: mb B I16..4: 0.5% 1.2% 0.4% B16..8: 42.0% 10.1% 2.4% direct: 5.7% skip:37.8% L0:44.0% L1:46.6% BI: 9.4%
---[NoImage] x264 [info]: 8x8 transform intra:61.0% inter:43.7%
---[NoImage] x264 [info]: direct mvs spatial:100.0% temporal:0.0%
---[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 68.7% 83.1% 63.1% inter: 22.4% 32.1% 6.7%
---[NoImage] x264 [info]: i16 v,h,dc,p: 43% 19% 11% 26%
---[NoImage] x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 15% 23% 6% 7% 7% 8% 8% 11%
---[NoImage] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 15% 10% 7% 10% 10% 10% 9% 10%
---[NoImage] x264 [info]: i8c dc,h,v,p: 41% 26% 22% 12%
---[NoImage] x264 [info]: Weighted P-Frames: Y:5.8%
---[NoImage] x264 [info]: ref P L0: 65.8% 9.2% 14.0% 3.5% 2.3% 1.9% 1.6% 1.3% 0.4% 0.0%
---[NoImage] x264 [info]: ref B L0: 82.2% 11.1% 3.4% 1.2% 0.8% 0.7% 0.5%
---[NoImage] x264 [info]: ref B L1: 93.9% 6.1%
---[NoImage] x264 [info]: kb/s:2148.96
---[NoImage] encoded 32949 frames, 15.09 fps, 2148.96 kb/s
--[Information] Final statistics
---[NoImage] Constant Quality Mode: Quality 16 computed...
---[NoImage] Video Bitrate Obtained (approximate): 2151 kbit/s
--[Information] [7/7/2010 7:33:11 AM] Postprocessing
---[Information] Deleting intermediate files
--[Information] [7/7/2010 7:33:11 AM] Job completed

Sharktooth
7th July 2010, 14:07
install the latest haali media splitter and see if it fixes the MKV/MP4 issue in WMP.
consider using MPC-HC as your default player, coz WMP... well... sux ;)
however i dont see any special options used (except --aud that is required for the PS3).
try updating to the development version of MeGUI. But, be warned all the x264 presets will be lost and replaced with default ones.

FBX
7th July 2010, 14:26
The main thing is PS3 compatibility as my goal is to archive my restoration projects on blu-ray for PS3 media playback. I personally couldn't care less about WMP since I prefer using VLC anyway. I'll try updating MeGUI as you suggest. Thanks for your help!

maohsama
7th July 2010, 14:31
I've been using megui to encode anime episodes into mp4 for my psp, but since the last update, not a single encoded video has worked on my psp.
i get different errors depending on the source:
a) playing with mpc, at the beginning it's out of sync for a few seconds, because the audio is missing in these few seconds, so the video gets fastforwarded. but then it plays normally with audio in proper sync.
b) the video won't start, so i have to press stop and play button in order to get the it start playing, then i have the same problem as above, but plays fine afterwards as well.
c) the first half of the video is cut, so the video starts playing on the second half, but the audio is at normal length.
in all these cases my psp refuses to play the video. i have installed megui, avisynth and cccp for encoding. i always use the psp preset for the video and nero (LC-AAC) for audio. i have tried to change a few options, but always get the same results.
is there any way to downgrade megui?

Sharktooth
7th July 2010, 15:04
first: what version are you using NOW?
second: what was your previous WORKING version?

FBX
7th July 2010, 15:42
Glad to see it wasn't just me experiencing the same issues! The "a)" maohsama listed is EXACTLY what happens to my muxed mp4 files in WMP (well except my audio starts up out of sync there).

Anyway, just an update in that I found that the "quality number" in the PS3 preset options seems to have an effect on whether or not the video will start properly on my PS3. Before I had tried 16, but this time I tried 15 and the video now starts properly when I try it on my PS3.

Sharktooth
7th July 2010, 15:45
what is the "quality number"? is it something on the PS3?
also maohsama problem is probably due to a wrong preset. i've just updated them in the Dev version of MeGUI.

maohsama
7th July 2010, 18:12
i've updated haali media splitter and now the playback errors are gone on media player classic.
but still my psp won't play the file :(
I'm using the latest version 0.3.5.0 atm. preset is "x.264: device-psp".
on the previous version, I had about 80& success that it worked on the psp, depending on the source.


what is the "quality number"? is it something on the PS3?
also maohsama problem is probably due to a wrong preset. i've just updated them in the Dev version of MeGUI.

how do i get the new preset? or can you post it plz?

MNCvn
7th July 2010, 19:20
I've been using megui to encode anime episodes into mp4 for my psp, but since the last update, not a single encoded video has worked on my psp.
i get different errors depending on the source:
a) playing with mpc, at the beginning it's out of sync for a few seconds, because the audio is missing in these few seconds, so the video gets fastforwarded. but then it plays normally with audio in proper sync.
b) the video won't start, so i have to press stop and play button in order to get the it start playing, then i have the same problem as above, but plays fine afterwards as well.
c) the first half of the video is cut, so the video starts playing on the second half, but the audio is at normal length.
in all these cases my psp refuses to play the video. i have installed megui, avisynth and cccp for encoding. i always use the psp preset for the video and nero (LC-AAC) for audio. i have tried to change a few options, but always get the same results.
is there any way to downgrade megui?

Hi....

I'm not sure about anything else, but with PSP, you can read this thread. I have the same problem as your with new meGUI profile and according to the help i solved it.

PSP thread (http://forum.doom9.org/showthread.php?p=1413502#post1413502)

I hope it helpful.
MNCvn.

FBX
7th July 2010, 19:41
Ok, I've done some more testing with my video files and I think I've figured out the issue as far as the PS3 is concerned. It turns out it wasn't the quality number within the encoding process, but rather that my source file was a previously encoded and compressed H.264 video. I made a new source file that was lossless and tried that instead. This did the trick for allowing the video to start properly on the PS3 when I encoded with MeGUI. I can only conclude that somehow double-encoding a video file causes an initial loss of frame-timing during the first few seconds of footage. That's the best that I can figure out anyway. WMP still plays the file incorrectly though, so I'm still not sure what's going on there. I may try using a different lossless format for my source file like uncompressed AVI and seeing how that turns out.

maohsama
7th July 2010, 21:23
Hi....

I'm not sure about anything else, but with PSP, you can read this thread. I have the same problem as your with new meGUI profile and according to the help i solved it.

PSP thread (http://forum.doom9.org/showthread.php?p=1413502#post1413502)

I hope it helpful.
MNCvn.

yes that's it. now it works again! thanks :)

FBX
7th July 2010, 23:40
Hi....

I'm not sure about anything else, but with PSP, you can read this thread. I have the same problem as your with new meGUI profile and according to the help i solved it.

PSP thread (http://forum.doom9.org/showthread.php?p=1413502#post1413502)

I hope it helpful.
MNCvn.

On a hunch I tried the same fix of disabling b-pyramid in the PS3 profile and that FINALLY fixed the sped-up video problem when played in WMP. The sound, however, still plays out of sync as it takes about 5 seconds to kick in.

I did some research and found out indeed the PS3 (just like the PSP) CANNOT handle b-pyramid, so whoever developed these presets really dropped the ball and gave some of us severe headaches trying to troubleshoot these strange problems.

CodecUnknown
8th July 2010, 00:12
I'm having a problem where I can't change the psy-rd value no matter what it's set on.
" --subme 8 --trellis 1 --psy-rd 0,60:0 " that's what it's set on when I start the encode, however the final encode always seems to give "subme=8 / psy=1 / psy_rd=0.00:10.00 / ".
I tried --trellis 2 and setting the psy-rd on random values but no matter what it still goes to psy_rd=0.00:10.00 on the final encode.

~

Also this might be or might not be related but MeGUI can't seem to recognize the DAR.
When I input a 16/9 video file it gives me an error saying " MeGUI encountered an error, Value of '23980,8153477218' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'. Value should be between minimum and maximum."
The DAR gets set to ITU 16/9 PAL automatically and gives me errors with the AVS script. I have to set it to 16/9 manually to fix that error.
Not only does it not recognize the DAR it doesn't recognize the fps either, it's just set at "fps=0,001". When I want to save the AVS script it gives me an error saying "The argument fps was passed more than once",so before I can save the script I have to remove "fps=0,001" manually, which can't be right.
This is what the log says

-[Error] Unhandled error
--[NoImage] Exception message
---[NoImage] Value of '23980,8153477218' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
---[NoImage] Parameter name: Value
--[NoImage] Stacktrace
---[NoImage] at System.Windows.Forms.NumericUpDown.set_Value(Decimal value)
---[NoImage] at MeGUI.AviSynthWindow.openVideo(String videoInput, String textBoxName, Boolean inlineAvs)
---[NoImage] at MeGUI.AviSynthWindow.openDirectShow(String fileName)
---[NoImage] at MeGUI.AviSynthWindow.openVideoSource(String videoInput)
---[NoImage] at MeGUI.AviSynthWindow.input_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)
--[NoImage] Inner exception: null

Inspector.Gadget
8th July 2010, 00:43
I did some research and found out indeed the PS3 (just like the PSP) CANNOT handle b-pyramid, so whoever developed these presets really dropped the ball and gave some of us severe headaches trying to troubleshoot these strange problems.

No. The Blu-ray spec mandates a particular form of b-pyramid invoked by --b-pyramid strict. The PS3 can certainly handle B-pyramid. That also has nothing to do with WMP; chances are there you're using a broken decoder.

FBX
8th July 2010, 00:45
Just an update in that I further tweaked the PS3 preset by completely disabling B frames and this fixed the final problem of the sound starting out of sync in WMP. The video file now plays properly in all three media formats: VLC, WMP, and PS3.

So once again that's with completely disabling B-Frames setting the number of B-Frames to ZERO.

FBX
8th July 2010, 00:48
No. The Blu-ray spec mandates a particular form of b-pyramid invoked by --b-pyramid strict. The PS3 can certainly handle B-pyramid. That also has nothing to do with WMP; chances are there you're using a broken decoder.

I'm of course referring to the PS3 media player, NOT the actual Blu-Ray specification that it handles independently of the media player. As for the subject of B-pyramid, I can give the link of the article I read stating it must be turned off for PS3 media playback:

http://www.digital-digest.com/articles/PS3_H.264_Conversion_Guide_page4.html

Inspector.Gadget
8th July 2010, 01:19
That guide appears to have been written before the strict pyramid was an available option in x264, so I'm not sure it's reliable.

Lyle_JP
8th July 2010, 03:09
Also, I use b-pyramid all the time, the loose format, in my encodings,- and they all play flawlessly on my PS3. Of course, I play everything from a USB HD. I don't know why that would be different than streaming; the same h.264 decoder should be in use.

Sharktooth
8th July 2010, 03:09
On a hunch I tried the same fix of disabling b-pyramid in the PS3 profile and that FINALLY fixed the sped-up video problem when played in WMP. The sound, however, still plays out of sync as it takes about 5 seconds to kick in.

I did some research and found out indeed the PS3 (just like the PSP) CANNOT handle b-pyramid, so whoever developed these presets really dropped the ball and gave some of us severe headaches trying to troubleshoot these strange problems.
That's the reason im updating the presets in the Development build (actually 0.3.5.2).

@maohsama: the new presets are included in the development build of megui and they're not compatible with the stable build.

Sharktooth
8th July 2010, 03:10
I'm having a problem where I can't change the psy-rd value no matter what it's set on.
" --subme 8 --trellis 1 --psy-rd 0,60:0 " that's what it's set on when I start the encode, however the final encode always seems to give "subme=8 / psy=1 / psy_rd=0.00:10.00 / ".
I tried --trellis 2 and setting the psy-rd on random values but no matter what it still goes to psy_rd=0.00:10.00 on the final encode.

~

Also this might be or might not be related but MeGUI can't seem to recognize the DAR.
When I input a 16/9 video file it gives me an error saying " MeGUI encountered an error, Value of '23980,8153477218' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'. Value should be between minimum and maximum."
The DAR gets set to ITU 16/9 PAL automatically and gives me errors with the AVS script. I have to set it to 16/9 manually to fix that error.
Not only does it not recognize the DAR it doesn't recognize the fps either, it's just set at "fps=0,001". When I want to save the AVS script it gives me an error saying "The argument fps was passed more than once",so before I can save the script I have to remove "fps=0,001" manually, which can't be right.
This is what the log says

-[Error] Unhandled error
--[NoImage] Exception message
---[NoImage] Value of '23980,8153477218' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
---[NoImage] Parameter name: Value
--[NoImage] Stacktrace
---[NoImage] at System.Windows.Forms.NumericUpDown.set_Value(Decimal value)
---[NoImage] at MeGUI.AviSynthWindow.openVideo(String videoInput, String textBoxName, Boolean inlineAvs)
---[NoImage] at MeGUI.AviSynthWindow.openDirectShow(String fileName)
---[NoImage] at MeGUI.AviSynthWindow.openVideoSource(String videoInput)
---[NoImage] at MeGUI.AviSynthWindow.input_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)
--[NoImage] Inner exception: null
Post your problematic avisynth script.
also post the commandline generated with the preset you're using (you can find it in the encoder config window).

nurbs
8th July 2010, 07:35
I'm of course referring to the PS3 media player, NOT the actual Blu-Ray specification that it handles independently of the media player. As for the subject of B-pyramid, I can give the link of the article I read stating it must be turned off for PS3 media playback:

http://www.digital-digest.com/articles/PS3_H.264_Conversion_Guide_page4.html

The guide is wrong. The PS3 handles --b-pyramid normal fine and it also doesn't have problems with p4x4.
The only consistent problem I had is that it won't play files encoded to .mp4 with x264 directly even if I mux them with audio later. When I encode to .264 and mux it works fine. I don't know if they ever fixed that since I now encode to raw in every case.
I also use level 4.1 because you can't really expect a blu-ray player to handle 4.2 and I set VBV accordingly.

FBX
8th July 2010, 09:44
After some more experimenting with the frame settings, I found that having too low an I-Frame sensitivity setting caused the video to start improperly on the PS3. Turning the sensitivity up fixed playback on the PS3. So basically WMP can't handle B-Frames and the PS3 is picky about I-Frames. Using a setting of 100 I-Frame sensitivity and zero B-Frames made the video file work perfect on both players. A sort of maximum compatibility setting if you will.

nurbs
8th July 2010, 09:59
Again there is something wrong on your end.
WMP handles b-frames and b-pyramid fine as does the PS3. The PS3 also handles the defaults of x264 fine so there should be no reason to play with i-frame sensitivity. The only thing I can think of is that you are encoding to .mp4 instead of .264 which could upset the PS3 and that you are using --level 4.2 which will result in a lot of players refusing to play your file without even looking at it although your settings are within --level 4.1 constraints.

CodecUnknown
8th July 2010, 12:03
Post your problematic avisynth script.
also post the commandline generated with the preset you're using (you can find it in the encoder config window).


LoadPlugin("C:\Program Files (x86)\Haali\MatroskaSplitter\avss.dll")
dss2("C:\A.mkv")
#deinterlace
#crop
LanczosResize(848,480) # Lanczos (Sharp)
#denoise

ConvertToYV12()



program --pass 2 --bitrate 250 --stats ".stats" --deblock 1:2 --bframes 6 --ref 6 --vbv-bufsize 14000
--vbv-maxrate 17500 --me umh --direct auto --subme 8 --psy-rd 0,60:0 --output "output" "input"

And this is what I get according to Media Info


cabac=1 / ref=6 / deblock=1:1:2 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=0.00:10.00 /
mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 /
fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 /
nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=6 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 /
open_gop=0 / weightp=2 /
keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 /
bitrate=250 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 /
vbv_maxrate=17500 / vbv_bufsize=14000 / ip_ratio=1.40 / aq=1:1.00 / nal_hrd=none

Guest
8th July 2010, 12:52
@all

CodecUnknown is discussing a torrent download in violation of forum rule 6. Do not respond further to his issue.

quantum5uicid3
8th July 2010, 13:40
On a hunch I tried the same fix of disabling b-pyramid in the PS3 profile and that FINALLY fixed the sped-up video problem when played in WMP. The sound, however, still plays out of sync as it takes about 5 seconds to kick in.

I did some research and found out indeed the PS3 (just like the PSP) CANNOT handle b-pyramid, so whoever developed these presets really dropped the ball and gave some of us severe headaches trying to troubleshoot these strange problems.

the presets were based kurtnoise's device settings thread (http://forum.doom9.org/showthread.php?t=149711) and updated as problems came in. the idea was to make the device settings current, not rely on outdated misinformation posted elsewhere. fixes have always came fast, but i don't think zathor is psychic.

Zathor
8th July 2010, 18:03
but i don't think zathor is psychic.
Are you sure? :rolleyes:

Sharktooth
8th July 2010, 18:05
New presets are coming... Including Blu-Ray for different FPS and resolutions (8 different presets), BD5 and BD9 for 1080p24 and 720p24, DivX Plus HD and more...
Enjoy ;)

EDIT: Obviously they're included in the autoupdate for the megui dev version...

Sharktooth
8th July 2010, 18:57
Updated again... it's a work in progress, so bear with me...

LeXXuz
8th July 2010, 20:18
That's the reason im updating the presets in the Development build (actually 0.3.5.2).

Haven't followed this thread for a while. Nice to see you back in business. :)


@maohsama: the new presets are included in the development build of megui and they're not compatible with the stable build.

Guess thats why megui just kicked out all my x264 profiles. Is there a way to make them work with the latest 0.3.5.2 by editing them in any way? Would take me quite some time to recreate all my profiles though.

Zathor
8th July 2010, 20:34
Is there a way to make them work with the latest 0.3.5.2 by editing them in any way? Would take me quite some time to recreate all my profiles though.

The part has already been commited and will be in the next build:
http://megui.svn.sourceforge.net/viewvc/megui?view=rev&revision=1674

Until then just replace the true/false in the X264Nalhrd attribute with 1/0.

Sharktooth
8th July 2010, 20:44
ill make a new build tonight, have a few changes to the code to commit first.

LeXXuz
8th July 2010, 20:49
Thanks guys. I only need 2 profiles at the moment so I just change them manually and wait for the next build with my other profiles. No problem. :)

Lyle_JP
8th July 2010, 21:17
Okay, got the 4.7 profiles now and... are we sure the ipod Touch is limited to only one reference frame? Does it really have worse video capabilities than the Nanos and Classics that were available at the same time?

Sharktooth
8th July 2010, 21:25
that's what i've found.. but i dont have a Touch. so if you have it, please feel free to experiment and find where the preset can be improved

Sharktooth
9th July 2010, 16:29
How can i do IVTC in megui on this .avi file: http://www.sendspace.com/file/9clrf8

Currently my .avs looks like this:

LoadPlugin("C:\Users\fff\Desktop\megui\tools\ffms\ffms2.dll")
FFVideoSource("C:\Downloads\trailer.avi",colorspace="YV12")
#deinterlace
#crop
LanczosResize(720,384) # Lanczos (Sharp)
#denoise


in the avisynth script creator filters tab you can find a "Deinterlacing" group.
first of all, create the script inside the avs creator.
In the source type there are several choices. Select Film. then set the filed order (if necessary), check the Deinterlace checkbox and then select the IVTC method.
A better choice is to let megui analyze your source by clicking the Analyze button. It will automatically set those parameters for you. Keep in mind that is not 100% fail safe.
then set the resize method and the crop/resize values in the main tab.
Save the script and voila'... ;)

hajj_3
9th July 2010, 17:08
when i followed your instructions, i had to guess the field order as the "analyse" says its progressive but its 29.97fps and contains duplicate frames, i need it in 23.97fps so i guessed at "top field order", it then produced this script:


LoadPlugin("C:\Users\jjj\Desktop\megui2\tools\ffms\ffms2.dll")
FFVideoSource("C:\trailer.avi",colorspace="YV12")
LoadPlugin("C:\Users\jjj\Desktop\megui2\tools\avisynth_plugin\TIVTC.dll")
tfm(order=1).tdecimate()
#crop
LanczosResize(720,384) # Lanczos (Sharp)
#denoise


but once i go through bitrate calculator and it asks me if i want to copy the calculated bitrate into the settings and i chose "yes" and press enqueue i get the following error message:

http://i32.tinypic.com/fkt9v8.jpg

If i click "yes" i get the following message:

http://i29.tinypic.com/9gbhbq.jpg

Sharktooth
9th July 2010, 17:10
before saving your AVS, manually add a ConvertToYV12() at the end of the script.

hajj_3
9th July 2010, 17:25
i still get this error message after adding it into the script:

http://i29.tinypic.com/9gbhbq.jpg

my friend sent me this script:

DirectShowSource("C:\trailer.avi", audio=false)
LoadPlugin("C:\Users\jjj\Desktop\megui2\tools\avisynth_plugin\TIVTC.dll")
tfm(order=1).tdecimate
converttoYV12()
LanczosResize(720,384) # Lanczos (Sharp)

I don't get any errors but there is a tiny amount of ghosting it seems, i tried it with:

tfm(order=1).tdecimate(hybrid=1)

but the ghosting was awful so i removed the hybrid part and that nearly eliminated it.

Sharktooth
9th July 2010, 17:32
then play your .avs in your favorite media player and report back.
also your friend's script is identical (except to the hybrid option) to what megui created except for the input filter (directshowource instead of ffvideosource)
however using directshowsource on an .avi file may end up in audio-video desynch.
Try AviSource instead.

Lyle_JP
10th July 2010, 05:23
that's what i've found.. but i dont have a Touch. so if you have it, please feel free to experiment and find where the preset can be improved

Okay, I borrowed my nephew's 3rd Gen Touch and my wife's iPhone 3Gs for some testing. They both accept my videos at baseline level 3 with 5 reference frames, so their video capabilities seem inline with Classics and Nanos. I cannot vouch for the capabilities of older iPhones or Touches.

royia
10th July 2010, 09:07
Let's say I installed AVI Synth in "Uncompress Only" mode.
Now I have a folder with all its dll's.
How can I configure MeGUI to use them and not require installation of AVI Synth?
Thanks.

Alf Bundy
10th July 2010, 11:29
when i followed your instructions, i had to guess the field order as the "analyse" says its progressive but its 29.97fps and contains duplicate frames, i need it in 23.97fps so i guessed at "top field order", it then produced this script:


LoadPlugin("C:\Users\jjj\Desktop\megui2\tools\ffms\ffms2.dll")
FFVideoSource("C:\trailer.avi",colorspace="YV12")
LoadPlugin("C:\Users\jjj\Desktop\megui2\tools\avisynth_plugin\TIVTC.dll")
tfm(order=1).tdecimate()
#crop
LanczosResize(720,384) # Lanczos (Sharp)
#denoise


but once i go through bitrate calculator and it asks me if i want to copy the calculated bitrate into the settings and i chose "yes" and press enqueue i get the following error message:

http://i32.tinypic.com/fkt9v8.jpg

If i click "yes" i get the following message:

http://i29.tinypic.com/9gbhbq.jpg

Here's what kemuri-9 told about this issue (http://forum.doom9.org/showthread.php?p=1414123#post1414123) :

Ah, I was unaware of MeGUI being this braindead (I never use it, since it has a history of irritating me to no ends with its consistent stupidities):
SWScale() does flag the video as being I420 instead of YV12 when outputting YV12 video.
(SWScale does not formally support YV12 itself, but due to the below reasoning this is not particularly an issue in most cases)

the difference between I420 and YV12 is simply
I420 is Y-U-V. YV12 is Y-V-U
- the chroma planes are simply swapped in memory
but the way avisynth handles acquiring the plane pointers, the above difference is generally unnoticeable.
for this same reason, ConvertToYV12() is a NOOP (No operation) when the video is I420 (in avs 2.5.x that is, in 2.6.0 looks like there might be a bug in this situation)

But it appears MeGUI is not capable of handling this properly either way, so I dare say to file a bug report to MeGUI.

SWScale is a part of ffms2.dll and shows the same problem as FFvideoSource().

I don't want to be a part of a conflict, but I think it's not MeGUI's fault (because the bold part of the quote).

Lighto
10th July 2010, 13:04
when i followed your instructions, i had to guess the field order as the "analyse" says its progressive but its 29.97fps and contains duplicate frames, i need it in 23.97fps so i guessed at "top field order", it then produced this script:


LoadPlugin("C:\Users\jjj\Desktop\megui2\tools\ffms\ffms2.dll")
FFVideoSource("C:\trailer.avi",colorspace="YV12")
LoadPlugin("C:\Users\jjj\Desktop\megui2\tools\avisynth_plugin\TIVTC.dll")
tfm(order=1).tdecimate()
#crop
LanczosResize(720,384) # Lanczos (Sharp)
#denoise


but once i go through bitrate calculator and it asks me if i want to copy the calculated bitrate into the settings and i chose "yes" and press enqueue i get the following error message:

http://i32.tinypic.com/fkt9v8.jpg

If i click "yes" i get the following message:

http://i29.tinypic.com/9gbhbq.jpg

Got the same error some time ago while trying to do an auto encode.
I went ahead and ignore the error and got my output.

You might want to create a bug tracker at MeGUI's sourceforge page so that the development team can address the issue.:)

flebber
10th July 2010, 13:48
Got the same error some time ago while trying to do an auto encode.
I went ahead and ignore the error and got my output.

You might want to create a bug tracker at MeGUI's sourceforge page so that the development team can address the issue.:)

bug tracker http://sourceforge.net/tracker/?group_id=156112&atid=798476

Sharktooth
10th July 2010, 14:54
@Lyle_JP: Thanks, i will update the presets ASAP

Let's say I installed AVI Synth in "Uncompress Only" mode.
Now I have a folder with all its dll's.
How can I configure MeGUI to use them and not require installation of AVI Synth?
Thanks.
What you are saying makes no sense...

@flebber and all the rest: ill add some checks for I420, but sadly stupidity is something can not be fixed...
i mean, megui is open source... so, if someone doesnt want to use megui coz he thinks it is "irritating" (expecially for someone who can code) there are several things that can be done:
1 - contact the devs and inform them via the bug-tracker, support page or directly and tell them what's wrong
2 - submit a patch.
3 - dont use the software and keep the provoking comments for yourself.
after all, megui is freeware and always will be and ppl working on it are coding in their free time.

flebber
10th July 2010, 15:13
Just for clarity I was only directing lighto to thebug tracker since they were unable to visit google.com and type "megui bug tracker"

Sharktooth
10th July 2010, 15:18
flebber, if i was not clear i was not criticizing you... ;)

Lighto
10th July 2010, 15:39
Just for clarity I was only directing lighto to thebug tracker since they were unable to visit google.com and type "megui bug tracker"

I was directing hajj_3 to MeGUI's sourceforge and I have added trackers there in the past before but not on this issue.:confused: