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

Music Fan
17th November 2010, 11:33
You can create a qpf file and add it to the x264 config before you encode the video.

The qpf file just has a list of frame numbers, frame types and quantizers (use -1 for quantizer if you want to let x264 decide).

Sample qpf file.

0 I -1
2374 I -1
4527 I -1
17113 I -1
31883 I -1
34040 I -1

Thanks, I will try this.;)
So, I guess that the Chapter Creator doesn't create keyframes but only adds index when we export in MKV, even if the chapters are not placed on keyframes, right ?
If yes, can we import a simpler format than ogg chapter format proposed by Sharktooth ?
The simplest would be to import the same qpf file we use in the config, but I guess it's not a compatible structure with the Chapter Creator.

madeinlisboa
22nd November 2010, 13:40
Please, can you give me some advice on configuring Adaptive Quantization in dark scenes? Should I use a low value for keeping details since the source is obviously grainy or set it higher?

Thank you

Sharktooth
22nd November 2010, 15:11
AQ is not related to quantization of dark areas. That was the old xvid lumimasking. Keep the default strength.

madeinlisboa
22nd November 2010, 15:28
AQ is not related to quantization of dark areas. That was the old xvid lumimasking. Keep the default strength.

Yes, but grain is and a low value is set by the grain tune. If the source is dark and grainy what shall I set?

Sharktooth
23rd November 2010, 02:22
screenshot of the source (possibly in PNG format)?
however, VAQ affects high contrast areas reducing the data (by rising the quant) for those block(s). so, ideally if it's very grainy you should keep a low value of strength, hence the default value.

madeinlisboa
23rd November 2010, 11:41
http://www.cefitness.com/uploads/ori.PNGMany scenes are much darker than this one and as grainy.

Source is 29gb. Expected final size: 20gb

x264 settings:
cabac=1 / ref=4 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=64 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=4 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=1 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=18.5 / qcomp=0.70 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:0.60 /

nurbs
23rd November 2010, 12:04
This won't help you with the grain, but you can get some extra encoding speed by setting --me-range to a sane value (e.g. 24 or by just using the default of the preset).
Setting it to 64 means that a) you don't know what the setting actually does and/or b) you don't think the x264 developers know what range might be useful.

madeinlisboa
23rd November 2010, 12:24
Time is not an issue.
And increasing the psy-trellis strength and lowering aq does indeed help grain movies. if the whole scene is full of grain, there is no point in redistributing bits of detail, hence the low aq.
messing with deadzone would mean disabling trellis and the encode would probably have the same size of the source.

my doubt is will this low aq affect very low light/dark scenes? like getting blocky or having bad gradients?

tebasuna51
23rd November 2010, 12:36
...
Source is 29gb. Expected final size: 20gb
...
If you want full quality maybe your option is don't recode and preserve the video source.

BTW, the developers sugestion to preserve grain is --tune grain than make this changes to default parameters:
--aq-strength 0.5 --no-dct-decimate --deadzone-inter 6 --deadzone-intra 6 --deblock -2:-2 --ipratio 1.1 --pbratio 1.1 --psy-rd <unset>:0.25 --qcomp 0.8

madeinlisboa
23rd November 2010, 12:43
Yeah, I know. But that isn't applicable, ever. Encodes using those parameters will always end up with a larger size than the source. I was just trying to balance quality and size.

nurbs
23rd November 2010, 13:24
Time is not an issue.
If time wasn't an issue you would be using TESA instead of UMH.
On average me-range 64 with UMH is about the same speed and lower quality than me-range 8 with TESA. It's not too surprising that using a exhaustive search in a small range around the best predictor can yield better results than searching a wider pattern in a huge range.

See this chart: http://akuvian.org/images/tesa2.png
It compares the speed and efficiency of all the motion search methods in x264 at different search ranges (4 8 12 16 24 32 48 64) over a number of sample clips. At 24 there is almost no gain in quality, but a constant speed hit for using higher ranges.

Encodes using those parameters will always end up with a larger size than the source.
That depends on the properties of the source and the (other) encoding settings as well. You can always use a higher CRF. You know that CRF isn't really constant quality, right? It only gives you more or less the same quality for similar sources with the same settings.

Sharktooth
23rd November 2010, 16:38
ok, since all this discussion is off topic, can i ask you to discuss this thing in the avc forum in a dedicated thread?
btw, to answer the question, low AQ does not cause any banding or blocking in dark areas.

nurbs
23rd November 2010, 19:53
Isn't AQ supposed to lower the quantizer in flat areas. Dark areas are often flat and using lower AQ can then lead to banding there.

Sharktooth
23rd November 2010, 20:52
AQ highers the quantizers in very high contrast areas and lowers it in low contrast areas. in case of a very grainy source it can only do damages, coz grain has naturally more contrast than flat... however it depends on how much grain the source has.
that's why i suggested to keep the default, coz it has been tuned by the x264 devs.

mizantrop
25th November 2010, 23:43
I'm encoding Partially interlaced DVD to mp4. Source is 29 FPS but mp4 file ends up as 59 FPS.

I'm using Yadif+Bob with Top field first.

This didn't happen before and I'm using same profile whole time.

Any ideas how to fix this?

Thanks in advance.

Inspector.Gadget
26th November 2010, 01:21
Source is 29 FPS but mp4 file ends up as 59 FPS.

Pure interlaced NTSC DVD material is 60 fields per second. All you're doing is bobbing it to 60 frames per second, instead of weaving to 30 frames per second. Thus, a 60fps encode is correct output.

However, you may not want to bob any progressive or film material on the DVD. In a situation where a video is mostly progressive with some interlaced segments, I'd probably use TDeint(full=false) or Yadif (without bob). In a situation where the video is mostly hard telecined film material with some interlaced segments, I'd use TIVTC and set it up to blend decimate the interlaced material.

forum king
26th November 2010, 04:39
hey folks wass up ?:)
actually i was encoding a avi video for my ipod ( iTouch 64gigs)
I used x264 : Ipod (classic/nano/touch)2-pass
this is the commandline

Job commandline: --pass 2 --bitrate 430 --
stats "D:\ipod\lot.stats" --threads 6 --ref 5 --vbv-bufsize 10000 --vbv-maxrate 10000 --
profile baseline --level 3 --sar 1:1 --output "D:\ipod\lot.mp4" "D:\ipod\lot.avs"

i had first encoded a 10k frames and it transferred to itunes and ipod,
but when i encoded the full video it wont transfer to ipod and itunes ,
could u guys temme which profiles to use please

i am encoding the audio with HE AAC 64 profile with dynamic range compression option on.
video is off course encoded to mp4 and so is the audio.
used the mp4 muxer to mux the audio and video

mizantrop
26th November 2010, 07:27
Pure interlaced NTSC DVD material is 60 fields per second. All you're doing is bobbing it to 60 frames per second, instead of weaving to 30 frames per second. Thus, a 60fps encode is correct output.

However, you may not want to bob any progressive or film material on the DVD. In a situation where a video is mostly progressive with some interlaced segments, I'd probably use TDeint(full=false) or Yadif (without bob). In a situation where the video is mostly hard telecined film material with some interlaced segments, I'd use TIVTC and set it up to blend decimate the interlaced material.

Thank you very much! Now I know something new :)

forum king
26th November 2010, 09:08
hey folks wass up ?:)
actually i was encoding a avi video for my ipod ( iTouch 64gigs)
I used x264 : Ipod (classic/nano/touch)2-pass
this is the commandline


i had first encoded a 10k frames and it transferred to itunes and ipod,
but when i encoded the full video it wont transfer to ipod and itunes ,
could u guys temme which profiles to use please

i am encoding the audio with HE AAC 64 profile with dynamic range compression option on.
video is off course encoded to mp4 and so is the audio.
used the mp4 muxer to mux the audio and video

anyone pl :)

Music Fan
26th November 2010, 09:41
Pure interlaced NTSC DVD material is 60 fields per second. All you're doing is bobbing it to 60 frames per second, instead of weaving to 30 frames per second. Thus, a 60fps encode is correct output.

However, you may not want to bob any progressive or film material on the DVD. In a situation where a video is mostly progressive with some interlaced segments, I'd probably use TDeint(full=false) or Yadif (without bob). In a situation where the video is mostly hard telecined film material with some interlaced segments, I'd use TIVTC and set it up to blend decimate the interlaced material.
I guess that we can also apply different deinterlacing methods for each segment with avisynth (with the trim option), but it's much more complicated.

forum king
26th November 2010, 15:11
hey folks wass up ?:)
actually i was encoding a avi video for my ipod ( iTouch 64gigs)
I used x264 : Ipod (classic/nano/touch)2-pass
this is the commandline


i had first encoded a 10k frames and it transferred to itunes and ipod,
but when i encoded the full video it wont transfer to ipod and itunes ,
could u guys temme which profiles to use please

i am encoding the audio with HE AAC 64 profile with dynamic range compression option on.
video is off course encoded to mp4 and so is the audio.
used the mp4 muxer to mux the audio and video

well guyz one peculair thing that i noticed was that , the same videos , no matter ho i rip them , they were not playable in QT , i am getting this error

a bad public movie atom was found in the movie

i have tried encoding the audio in LC AAC ,
also clicked the option in settings of megui to force video file extention for QT compatibility.

but still the videos i cant transfer them to itunes and hence ipod ,
please help mates ,

Zathor
26th November 2010, 15:39
Post the complete log of the creation process. I fear it may be some kind of problem with the GPAC stuff.

forum king
26th November 2010, 15:57
Here are the details

-[Information] Log for job72 (video, 121.avs -> )
--[Information] [26-11-2010 12:27:59] Started handling job
--[Information] [26-11-2010 12:27:59] Preprocessing
--[NoImage] Job commandline: "C:\MINE\Desktop\megui\tools\x264\vfw4x264.exe" --pass 1 --bitrate 430

--stats "D:\121.stats" --threads 16 --ref 5 --vbv-bufsize 10000

--vbv-maxrate 10000 --profile baseline --level 3 --sar 1:1 --output NUL "D:\121.avs"
--[Information] [26-11-2010 12:27:59] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
---[NoImage] yuv [info]: 480x272p 1:1 @ 2997003/125000 fps (cfr)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
---[NoImage] x264 [info]: profile Baseline, level 3.0
---[NoImage]
---[NoImage] x264 [info]: frame I:898 Avg QP:19.64 size: 12570
---[NoImage] x264 [info]: frame P:59985 Avg QP:22.67 size: 2066
---[NoImage] x264 [info]: mb I I16..4: 24.7% 0.0% 75.3%
---[NoImage] x264 [info]: mb P I16..4: 6.6% 0.0% 0.0% P16..4: 56.6% 0.0% 0.0% 0.0% 0.0%

skip:36.8%
---[NoImage] x264 [info]: final ratefactor: 21.67
---[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 40.6% 44.9% 10.8% inter: 19.7% 11.1% 0.3%
---[NoImage] x264 [info]: i16 v,h,dc,p: 38% 23% 24% 15%
---[NoImage] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 19% 17% 4% 9% 7% 6% 7% 7%
---[NoImage] x264 [info]: i8c dc,h,v,p: 59% 17% 21% 4%
---[NoImage] x264 [info]: kb/s:426.02
---[NoImage] encoded 60883 frames, 58.94 fps, 426.02 kb/s
--[Information] [26-11-2010 12:45:13] Postprocessing
---[Information] Deleting intermediate files
--[Information] [26-11-2010 12:45:13] Job completed
-[Information] Log for job73 (video, 121.avs -> 121.mp4)
--[Information] [26-11-2010 12:45:13] Started handling job
--[Information] [26-11-2010 12:45:13] Preprocessing
--[NoImage] Job commandline: "Job commandline: "C:\MINE\Desktop\megui\tools\x264\vfw4x264.exe" --pass 1

--bitrate 430 --stats "D:\121.stats" --threads 6 --ref 5 --vbv-bufsize 10000 --vbv-maxrate 10000

--profile baseline --level 3 --sar 1:1 --output "D:\121.mp4" "D:\121.avs"
--[Information] [26-11-2010 12:45:13] Encoding started
--[NoImage] Standard output stream:
--[NoImage] Standard error stream
---[NoImage] yuv [info]: 480x272p 1:1 @ 2997003/125000 fps (cfr)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
---[NoImage] x264 [info]: profile Baseline, level 3.0
---[NoImage]
---[NoImage] x264 [info]: frame I:898 Avg QP:19.45 size: 12896
---[NoImage] x264 [info]: frame P:59985 Avg QP:22.59 size: 2082
---[NoImage] x264 [info]: mb I I16..4: 19.0% 0.0% 81.0%
---[NoImage] x264 [info]: mb P I16..4: 1.7% 0.0% 2.2% P16..4: 44.0% 14.9% 5.4% 0.0% 0.0%

skip:31.8%
---[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 56.6% 57.7% 20.1% inter: 15.6% 12.9% 0.3%
---[NoImage] x264 [info]: i16 v,h,dc,p: 39% 21% 15% 25%
---[NoImage] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 17% 18% 7% 8% 8% 7% 7% 6%
---[NoImage] x264 [info]: i8c dc,h,v,p: 58% 17% 20% 5%
---[NoImage] x264 [info]: ref P L0: 76.4% 11.7% 7.0% 2.5% 2.4%
---[NoImage] x264 [info]: kb/s:429.85
---[NoImage] encoded 60883 frames, 60.76 fps, 429.85 kb/s
--[Information] Final statistics
---[NoImage] Video Bitrate Desired: 430 kbit/s
---[NoImage] Video Bitrate Obtained (approximate): 430 kbit/s
--[Information] [26-11-2010 13:02:09] Postprocessing
---[Information] Deleting intermediate files
----[Information] [26-11-2010 13:02:09] Successfully deleted D:\121.stats
----[Information] [26-11-2010 13:02:09] Successfully deleted D:\121.stats.mbtree
--[Information] [26-11-2010 13:02:09] Job completed
-[Information] Log for job74 (mux, 121.mp4 -> 121-muxed.mp4)
--[Information] [26-11-2010 13:16:08] Started handling job
--[Information] [26-11-2010 13:16:08] Preprocessing
--[NoImage] Job commandline: "C:\MINE\Desktop\megui\tools\mp4box\mp4box.exe" -add

"D:\121.mp4#trackID=1:fps=23.976" -add "D:\Audio1.mp4#trackID=1:sbr" -ipod -brand M4VP:1 -tmp "D:\" -new

"D:\121-muxed.mp4"
--[Information] [26-11-2010 13:16:08] Muxing started
--[NoImage] Standard output stream
---[NoImage] IsoMedia import - track ID 1 - Video (size 480 x 272)
---[NoImage] IsoMedia import - track ID 1 - HE-AAC (SR 24000 - SBR-SR 48000 - 2 channels)
---[NoImage] Setting up iTunes/iPod file...
---[NoImage] Forcing AVC/H264 SAR to 1:1...
---[NoImage] Saving D:\121-muxed.mp4: 0.500 secs Interleaving
--[NoImage] Standard error stream
--[Information] [26-11-2010 13:16:13] Postprocessing
---[Information] Deleting intermediate files
--[Information] [26-11-2010 13:16:13] Job completed

Inspector.Gadget
26th November 2010, 18:05
I guess that we can also apply different deinterlacing methods for each segment with avisynth (with the trim option), but it's much more complicated.

Sure. Though for partially interlaced content using a deinterlacer that ignores areas in which it doesn't detect motion has the same end result. Also, you probably don't want to mix film framerate and NTSC framerate unless you're deliberately doing a VFR encode, so for most content TIVTC's hybrid handling is a good compromise.

forum king
26th November 2010, 18:26
Please help me out guyz , just suggest me where to work on it ,
i desperately need these videos on my ipod as i am gonna go out for a few days and i genuinely need some good content on my itouch to watch.

or just suggest me a fresh way to convert to ipod format . please

somehow i feel if the files can play in QT , they ll be transferred to ipod too

nurbs
26th November 2010, 18:41
Try adding AssumeFPS(24000, 1001) to your avisynth script.
You didn't say what kind of iPod touch you have, but the new ones, released in September, support High Profile @ Level 3.1

Also mind rule 12.

forum king
26th November 2010, 19:15
Try adding AssumeFPS(24000, 1001) to your avisynth script.
You didn't say what kind of iPod touch you have, but the new ones, released in September, support High Profile @ Level 3.1

Also mind rule 12.

Ok thanks mate i ll give it a go , but i believe this is that perennial atom thingy of quicktime and itunes.
coz none of the enoded videos are playable within QT and if they cant be played by QT , they cant be transferred to itunes and hence ipod ( i have a 64gigs iTouch )

regards

ph34rthesaint
26th November 2010, 23:36
I'm new to Megui. I followed the instructions found here: http://www.digital-digest.com/articles/MeGUI_H.264_Conversion_Guide_page1.html

I ripped my DVDs with DVD Decrypter. I encoded video in x264 and video in neroAAC. After muxing, the audio is not in sync with the video. I've tried with a few DVDs and it's the same problem. Sometimes the audio files have delay of 0ms in the file name, other times, it's nonzero although I'm not sure if that is related.

Any suggestions? Or do you need more information?

Zathor
27th November 2010, 13:18
Forum King, please try the stable build (0.3.5.0 - including all the tools which 0.3.5.0 comes with - do not update them) and update only the profiles (http://megui.org/auto/x264_presets_v56.zip).

Lyle_JP
28th November 2010, 17:20
Forum King,

You seem to have x264 output set to mp4. Try setting the output to raw (.264). The mp4 files that x264 creates are a little funky since build 1732.

TopDonn
30th November 2010, 02:19
Hi Folks.

I have checked the option to Force the Video File Extention for QT compatability in MeGUI settings but can't seem to get this to work correctly

My .mp4 files are encoded correctly, only problem occurs when i attempt some post encode tasks like trying to replace the audio in the mp4 (I am using Quicktime Pro for this). It seems that the files that i encoded can't be modifed in Quicktime. Any ideas.

Using MeGUI version 0.3.5.27

PS whenever i encode using a different program i am able to modify the resulting mp4.

Music Fan
30th November 2010, 09:18
I don't know if it will help you but Yamb can change (or add) sound in mp4 files.
http://yamb.unite-video.com/download.html

LigH
30th November 2010, 09:25
MeGUI and YAMB are both just frontends. The MP4 multiplexing tool which does in fact the real work is MP4Box.

QuickTime may need a special entry (atom) in MP4 files to accept them. It is rather limited in the features it provides while creating own MP4 files (especially the AVC video stream inside), therefore it seems to flag those as compatible. MeGUI's MP4 muxer dialog offers setting this additional flag.

Music Fan
30th November 2010, 09:36
I know, but some GUI work better than others. I have no problem with Yamb.

khan sahab
30th November 2010, 10:26
i want to encode my games videos which are uncompressed avi files [recorded using fraps]

i have used megui before so please tell me what profile should i use for such a huge file 800+MB for 30 odd sec

i have tried HQ- slower/insane but the result is not satisfactory and the there is a little whitening in the video after encode

Complete name : H:\mafia2 2010-11-15 10-06-23-80.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 842 MiB
Duration : 37s 0ms
Overall bit rate : 191 Mbps

Video
ID : 0
Format : Fraps
Codec ID : FPS1
Duration : 37s 0ms
Bit rate : 189 Mbps
Width : 1 440 pixels
Height : 900 pixels
Display aspect ratio : 1.600
Frame rate : 25.000 fps
Color space : YUV
Bit depth : 8 bits
Bits/(Pixel*Frame) : 5.825
Stream size : 832 MiB (99%)

Audio
ID : 1
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : 1
Codec ID/Hint : Microsoft
Duration : 37s 0ms
Bit rate mode : Constant
Bit rate : 1 411.2 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Bit depth : 16 bits
Stream size : 6.22 MiB (1%)
Interleave, duration : 1000 ms (25.00 video frames)

Zathor
30th November 2010, 12:48
I know, but some GUI work better than others. I have no problem with Yamb.

Try replacing the MP4Box.exe from MeGUI with the one from Yamb. Does it work now?

EDIT: As described by LigH above I assume that it is no problem in MeGUI but with MeGUI in connection with the provided tools.

TopDonn
1st December 2010, 02:21
MeGUI's MP4 muxer dialog offers setting this additional flag.

Hi LigH. I'm assuming the settings flag that says "Force Video Extension For QT compatibility" is what you're talking about. If so, i already checked that flag and it does not work. This used to work for me before an update, so i'll try replacing MP4Box.exe with the one from Yamb and see what happens. Will post an update once done.

It seems that the error i receive is pretty common and is related to export of H.264 encoded material in Quicktime. My guess is that an update in the x264 versions is the culprit and is what is causing Quicktime to crash.

PS I downloaded yamb and it works just as well if not better. Thanks

Music Fan
1st December 2010, 10:37
Did you try Yamb "alone", with its GUI, or did you replaced only the mp4box.exe file you were using by the one given with Yamb ?
It would be interesting to know if the GUI changed something or only mp4box.

Sharktooth
1st December 2010, 17:08
recent versions of mp4box are a PITA. i know the gpac devs are doing their best but still there are a lot of problems.

TopDonn
2nd December 2010, 03:12
Did you try Yamb "alone", with its GUI, or did you replaced only the mp4box.exe file you were using by the one given with Yamb ?
It would be interesting to know if the GUI changed something or only mp4box.

I first used Yamb alone and that worked. When i replaced the mp4box.exe in MeGUI with that from Yamb it failed at the muxing stage.

At least i have the Yamb workaround now.

Music Fan
2nd December 2010, 10:02
Thanks for the answer, my supposition was not so bad:)

TopDonn
3rd December 2010, 06:39
So since i updated files on Tuesday, i checked my final encodes, somehow in the encode the video is twice the length of what it is supposed to be. I am using version 0.3.5.28 with all the latest updates. The audio is fine for half the video, then the other half is just silent. For example, an encode that should be 4 min in length is 8 min, with 4 min of audio then 4 min of silence.


Here is a command line of my parameters in play

program --profile main --level 3 --preset slow --pass 2 --bitrate 2000 --stats ".stats" --keyint 21 --min-keyint 11 --open-gop normal --qpmin 10 --vbv-bufsize 2000 --vbv-maxrate 2500 --subme 7 --trellis 0 --aud --output "output" "input"

Any idea's?

LigH
3rd December 2010, 08:22
Does the video play back in half-speed, or does it play to its expected duration and repeat once, or ... ?!

Did the original video have twice the framerate (e.g. 50 fps)?

Any MediaInfo analysis of the original available?

TopDonn
3rd December 2010, 15:32
Does the video play back in half-speed, or does it play to its expected duration and repeat once, or ... ?!

Did the original video have twice the framerate (e.g. 50 fps)?

Any MediaInfo analysis of the original available?

The original video is NTSC 29.97fps.

The encoded video plays at normal speed but then repeats once. I have tested with multiple sources and this issue always happens.

I also tested it with a MeGUI preset (x264:AVCHD) and the same thing happened, so i don't think its something to do with the my preset as it happening for default presets as well.

This issue only started after the update to version 0.3.5.28

Sharktooth
3rd December 2010, 15:52
post the complete log

TopDonn
3rd December 2010, 18:03
post the complete log

Here is the log:-

[Information] Log
-[Information] AutoEncode job generation log
--[Information] Split Size : null
--[Information] Eliminating duplicate filenames
---[Information] Video output file: C:\Users\TopDonn\Videos\Temp\Faith Evans - All Night Long.264
---[Information] Muxed output file: C:\Users\TopDonn\Videos\Temp\Faith Evans - All Night Long (Retail).mp4
---[Information] Encodable audio stream 0: C:\Users\TopDonn\Videos\Temp\Faith Evans - All Night Long.m4a
-[Information] AutoEncode job generation log
--[Information] Split Size : null
--[Information] Eliminating duplicate filenames
---[Information] Video output file: C:\Users\TopDonn\Videos\Temp\Faith Evans - All Night Long.264
---[Information] Muxed output file: C:\Users\TopDonn\Videos\Temp\Faith Evans - All Night Long-muxed.mp4
---[Information] Encodable audio stream 0: C:\Users\TopDonn\Videos\Temp\Faith Evans - All Night Long.m4a
-[Information] Log for job41 (audio, Faith Evans - All Night Long.wav -> Faith Evans - All Night Long.m4a)
--[Information] [12/3/2010 10:28:51 AM] Started handling job
--[Information] [12/3/2010 10:28:51 AM] Preprocessing
--[Information] Avisynth script
---[NoImage] DirectShowSource("C:\Users\TopDonn\Videos\Temp\Edits\Edited AVI's\Faith Evans - All Night Long.wav")
---[NoImage] EnsureVBRMP3Sync()
---[NoImage] return last
--[Information] Commandline used: -q 500 --mpeg-vers 4 -o "{0}" -
--[Information] [12/3/2010 10:28:51 AM] Encoding started
--[Information] [12/3/2010 10:28:51 AM] Encode thread started
--[Information] [12/3/2010 10:28:51 AM] Avisynth script environment opened
--[Information] [12/3/2010 10:28:51 AM] Script loaded
--[Information] Output Decoder
---[Information] Channels: 2
---[Information] Bits per sample: 32
---[Information] Sample rate: 48000
--[Information] Commandline: C:\Users\TopDonn\Downloads\Encoding\MEGUI\tools\faac\faac.exe -q 500 --mpeg-vers 4 -o "C:\Users\TopDonn\Videos\Temp\Faith Evans - All Night Long.m4a" -
--[Information] [12/3/2010 10:28:51 AM] Encoder process started
--[Information] Output from encoder via stdout
---[NoImage] Freeware Advanced Audio Coder
---[NoImage] FAAC 1.28
---[NoImage] Quantization quality: 500
---[NoImage] Bandwidth: 24000 Hz
---[NoImage] Object type: Low Complexity(MPEG-4) + M/S
---[NoImage] Container format: MPEG-4 File Format (MP4)
---[NoImage] Encoding - to C:\Users\TopDonn\Videos\Temp\Faith Evans - All Night Long.m4a
---[NoImage] frame | bitrate | elapsed/estim | play/CPU | ETA
---[NoImage] 10668/10668 (100%)| 169.2 | 33.6/33.6 | 6.77x | 0.0
--[Information] [12/3/2010 10:29:25 AM] Postprocessing
---[Information] Deleting intermediate files
--[Information] [12/3/2010 10:29:25 AM] Job completed
-[Information] Log for job42 (video, Faith Evans - All Night Long.avs -> )
--[Information] [12/3/2010 10:29:25 AM] Started handling job
--[Information] [12/3/2010 10:29:25 AM] Preprocessing
--[Information] Job commandline: "C:\Users\TopDonn\Downloads\Encoding\MEGUI\tools\x264\x264.exe" --profile main --level 3 --preset slow --pass 1 --bitrate 2000 --stats "C:\Users\TopDonn\Videos\Temp\Faith Evans - All Night Long.stats" --keyint 21 --min-keyint 11 --qpmin 10 --vbv-bufsize 2000 --vbv-maxrate 2500 --subme 7 --trellis 0 --sar 1:1 --output NUL "C:\Users\TopDonn\Videos\Temp\Edits\AVS Files\Faith Evans - All Night Long.avs"
--[Information] [12/3/2010 10:29:26 AM] Encoding started
--[Information] Standard output stream
--[Information] Standard error stream
---[NoImage] avs [info]: 640x480p 1:1 @ 24000/1001 fps (cfr)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Slow SlowCTZ
---[NoImage] x264 [info]: profile Main, level 3.0
---[NoImage]
---[NoImage] x264 [info]: frame I:360 Avg QP:19.11 size: 29333
---[NoImage] x264 [info]: frame P:1660 Avg QP:21.93 size: 14136
---[NoImage] x264 [info]: frame B:3436 Avg QP:22.96 size: 6738
---[NoImage] x264 [info]: consecutive B-frames: 3.7% 10.4% 26.3% 59.6%
---[NoImage] x264 [info]: mb I I16..4: 41.1% 0.0% 58.9%
---[NoImage] x264 [info]: mb P I16..4: 39.8% 0.0% 0.0% P16..4: 55.7% 0.0% 0.0% 0.0% 0.0% skip: 4.5%
---[NoImage] x264 [info]: mb B I16..4: 6.6% 0.0% 0.0% B16..8: 41.1% 0.0% 0.0% direct:31.1% skip:21.1% L0:28.7% L1:38.6% BI:32.7%
---[NoImage] x264 [info]: direct mvs spatial:99.4% temporal:0.6%
---[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 57.1% 83.8% 46.9% inter: 29.1% 55.8% 2.4%
---[NoImage] x264 [info]: i16 v,h,dc,p: 46% 23% 18% 13%
---[NoImage] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 20% 19% 4% 9% 6% 7% 6% 9%
---[NoImage] x264 [info]: i8c dc,h,v,p: 43% 26% 21% 11%
---[NoImage] x264 [info]: Weighted P-Frames: Y:23.0% UV:18.0%
---[NoImage] x264 [info]: kb/s:2010.11
---[NoImage] encoded 5456 frames, 26.71 fps, 2010.11 kb/s
--[Information] [12/3/2010 10:32:51 AM] Postprocessing
---[Information] Deleting intermediate files
--[Information] [12/3/2010 10:32:51 AM] Job completed
-[Information] Log for job43 (video, Faith Evans - All Night Long.avs -> Faith Evans - All Night Long.264)
--[Information] [12/3/2010 10:32:51 AM] Started handling job
--[Information] [12/3/2010 10:32:51 AM] Preprocessing
--[Information] Job commandline: "C:\Users\TopDonn\Downloads\Encoding\MEGUI\tools\x264\x264.exe" --profile main --level 3 --preset slow --pass 2 --bitrate 2000 --stats "C:\Users\TopDonn\Videos\Temp\Faith Evans - All Night Long.stats" --keyint 21 --min-keyint 11 --qpmin 10 --vbv-bufsize 2000 --vbv-maxrate 2500 --subme 7 --trellis 0 --sar 1:1 --output "C:\Users\TopDonn\Videos\Temp\Faith Evans - All Night Long.264" "C:\Users\TopDonn\Videos\Temp\Edits\AVS Files\Faith Evans - All Night Long.avs"
--[Information] [12/3/2010 10:32:52 AM] Encoding started
--[Information] Standard output stream
--[Information] Standard error stream
---[NoImage] avs [info]: 640x480p 1:1 @ 24000/1001 fps (cfr)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Slow SlowCTZ
---[NoImage] x264 [info]: profile Main, level 3.0
---[NoImage]
---[NoImage] x264 [info]: frame I:360 Avg QP:20.59 size: 25384
---[NoImage] x264 [info]: frame P:1660 Avg QP:21.69 size: 14165
---[NoImage] x264 [info]: frame B:3436 Avg QP:22.88 size: 7010
---[NoImage] x264 [info]: consecutive B-frames: 3.7% 10.4% 26.3% 59.6%
---[NoImage] x264 [info]: mb I I16..4: 36.4% 0.0% 63.6%
---[NoImage] x264 [info]: mb P I16..4: 16.6% 0.0% 18.9% P16..4: 34.1% 17.1% 9.2% 0.0% 0.0% skip: 4.2%
---[NoImage] x264 [info]: mb B I16..4: 1.4% 0.0% 2.9% B16..8: 42.2% 11.2% 3.0% direct:16.9% skip:22.4% L0:38.0% L1:48.4% BI:13.7%
---[NoImage] x264 [info]: direct mvs spatial:90.8% temporal:9.2%
---[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 61.4% 91.0% 65.7% inter: 24.2% 55.9% 3.4%
---[NoImage] x264 [info]: i16 v,h,dc,p: 57% 18% 7% 18%
---[NoImage] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 17% 20% 7% 8% 7% 7% 7% 7%
---[NoImage] x264 [info]: i8c dc,h,v,p: 43% 25% 20% 13%
---[NoImage] x264 [info]: Weighted P-Frames: Y:23.7% UV:18.0%
---[NoImage] x264 [info]: ref P L0: 57.6% 10.7% 19.1% 6.5% 4.1% 1.8% 0.2%
---[NoImage] x264 [info]: ref B L0: 86.3% 9.6% 3.1% 0.9%
---[NoImage] x264 [info]: ref B L1: 95.2% 4.8%
---[NoImage] x264 [info]: kb/s:1994.74
---[NoImage] encoded 5456 frames, 6.83 fps, 1994.74 kb/s
--[Information] Final statistics
---[Information] Video Bitrate Desired: 2000 kbit/s
---[Information] Video Bitrate Obtained (approximate): 1994 kbit/s
--[Information] [12/3/2010 10:46:13 AM] Postprocessing
---[Information] Deleting intermediate files
----[Information] [12/3/2010 10:46:13 AM] Successfully deleted C:\Users\TopDonn\Videos\Temp\Faith Evans - All Night Long.stats
----[Information] [12/3/2010 10:46:13 AM] Successfully deleted C:\Users\TopDonn\Videos\Temp\Faith Evans - All Night Long.stats.mbtree
--[Information] [12/3/2010 10:46:13 AM] Job completed
-[Information] Log for job44 (mux, Faith Evans - All Night Long.264 -> Faith Evans - All Night Long-muxed.mp4)
--[Information] [12/3/2010 10:46:13 AM] Started handling job
--[Information] [12/3/2010 10:46:13 AM] Preprocessing
--[Information] Job commandline: "C:\Users\TopDonn\Downloads\Encoding\MEGUI\tools\mp4box\mp4box.exe" -add "C:\Users\TopDonn\Videos\Temp\Faith Evans - All Night Long.264:fps=23.976" -add "C:\Users\TopDonn\Videos\Temp\Faith Evans - All Night Long.m4a#trackID=1" -tmp "C:\Users\TopDonn\Videos\Temp" -new "C:\Users\TopDonn\Videos\Temp\Faith Evans - All Night Long-muxed.mp4"
--[Information] [12/3/2010 10:46:14 AM] Muxing started
--[Information] Standard output stream
---[NoImage] AVC-H264 import - frame size 640 x 480 at 23.976 FPS
---[NoImage] Import results: 5456 samples - Slices: 360 I 1660 P 3436 B - 1 SEI - 279 IDR
---[NoImage] Stream uses B-slice references - max frame delay 2
---[NoImage] IsoMedia import - track ID 1 - Audio (SR 48000 - 2 channels)
---[NoImage] Saving C:\Users\TopDonn\Videos\Temp\Faith Evans - All Night Long-muxed.mp4: 0.500 secs Interleaving
--[Information] Standard error stream
--[Information] [12/3/2010 10:46:21 AM] Postprocessing
---[Information] Deleting intermediate files
----[Information] [12/3/2010 10:46:21 AM] Successfully deleted C:\Users\TopDonn\Videos\Temp\Faith Evans - All Night Long.264
----[Information] [12/3/2010 10:46:21 AM] Successfully deleted C:\Users\TopDonn\Videos\Temp\Faith Evans - All Night Long.m4a
--[Information] [12/3/2010 10:46:21 AM] Job completed

Sharktooth
3rd December 2010, 18:53
the mp4box commandline seems ok. try using yamb for muxing and if it works as expected, replace the mp4box in megui with the one that comes with yamb.

TopDonn
3rd December 2010, 20:06
the mp4box commandline seems ok. try using yamb for muxing and if it works as expected, replace the mp4box in megui with the one that comes with yamb.

Tried the workaround above and it did not work either. It's quite strange.

Sharktooth
5th December 2010, 14:55
what doesnt work? YAMB or the mp4box swap?

TopDonn
5th December 2010, 18:35
what doesnt work? YAMB or the mp4box swap?

The mp4box swap. When i swapped it MeGUI crashes at the mux stage.