PDA

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

Sharktooth
11th November 2008, 16:21
OK guys, in need of a little help here. I'm encoding a DVD movie (originally from a camera that's about 2-3 years old so quality is pretty good). The problem is that I'm having some really bad blocking when it comes to the sky (specifically when the faint-white clouds move and vanish). My current deblocking settings are -3:0 and I'm using Sharktooth's High Detail Matrix. I've tired setting b-frame mode to none to see if that helped and it didn't - I've also tried setting No Fast P-Skip to true as that also turned up in a search but still doesn't seem to have a difference. Everything except the occasional sky problems appears pretty good.

The bit-rate is pretty good, at 1905 kb/sec and I'm encoding with MeGUI using the x264 encoder. Any help here would be appreciated!

Command line currently being used by MeGUI:

program --pass 2 --bitrate 1905 --stats ".stats" --ref 8 --mixed-refs --bframes 3 --b-adapt 2
--b-pyramid --weightb --direct auto --deblock -3:0 --subme 8 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8
--8x8dct --me umh --threads auto --thread-input
--cqmfile "C:\Program Files (x86)\megui\My Matrices\M4G-HighDetail-V3.1.cfg" --progress --no-psnr
--no-ssim --output "output" "input"
1st, that matrix is not mine. drop it since AQ is enabled by default and results with custom matrices are unpredictable.
2nd, restore deblocking settings to the default (0:0) or a sane value.

RyaNJ
11th November 2008, 16:21
@poisondeathray: The first sounds complex as there are lots of separate places where this occurs. The second option sounds interesting though and I will give it a try. Thanks for the help.

@Sharktooth: Oops. Should have been *.mp4 guy not you. And I will try those too. Would the information given by poisondeathray still apply?

Sharktooth
11th November 2008, 16:23
read my above post too.

RyaNJ
11th November 2008, 16:25
read my above post too.

I did and I was in the middle of editing mine when you replied. I take it that changing the AQ would still work given your suggestions right?

Sharktooth
11th November 2008, 16:30
yes, but try with no CQM, default AQ and deblock settings first.

RyaNJ
11th November 2008, 17:10
yes, but try with no CQM, default AQ and deblock settings first.

Will do, cheers.

RyaNJ
12th November 2008, 15:56
After doing a couple of tests and looking at different versions of the encoded file, I cam up with a decent deblocking setting of -2:-1 and left the AQ at 1.0 (putting it up made things worse in some areas and not much better on the areas that were ok). Still not perfect but it is better than it was!

Any other suggestions that I can try?

poisondeathray
12th November 2008, 19:18
RyanNJ - you said you are "encoding a DVD movie". So I assume this is SD sized frame? ~2000kbps video bitrate should be ok, for that but for 1920x1080p sized frame it probably is not enough

How does the source material look? e.g. If you already have blocky/pixellation in the source, you might have to resort to filtering & processing rather than encoding settings - if so post a sample in the avisynth section

Did you try higher deblocking alpha/beta values (e.g. 2:2)? It tends to give a smoother result.

Zones isn't that hard to implement, it's setup easy to use in MeGUI. But if the problem is the source this won't help you. Also if you have many sections it might be easier just to raise the bitrate (assuming that is the problem in the first place, and not the source)

RyaNJ
12th November 2008, 19:25
The movie, as I have before said is from a camcorder from about 4 years ago. There are is no actual blocking in the sections (I checked a few times to be sure). I have not tried higher delocking settings but I'll try that next. Thanks!

73ChargerFan
14th November 2008, 22:53
I tried the "add pre-rendering job" but then get an error "no fourcc FFVH" source found.

I don't have ffdshow installed (mpc-hc can play it), and don't want to. Is there another way?

Thanks.

Jawed
14th November 2008, 23:58
When one starts a job from the queue, there is a status dialog box that appears.

Try reading the numbers in the boxes. For all but one entry, all of the text is greyed out to the point that it is extremely difficult to read.

Can the grey text not be grey out, please?

I'd like to be able to actually read how much time is remaining in the job.

Thanks.
I get the same.

I've always assumed whoever programmed the form chose to use the "locked" property on these controls, i.e. making them un-editable by the user (that's me guessing by calling it locked - in the app programming I've done that's the property I'd use to get the same effect - not that it's an effect I would choose for this scenario).

Jawed

Sharktooth
15th November 2008, 04:08
guys... calibrate your monitors... it's not difficult to read at all.

Jawed
15th November 2008, 11:32
My monitor calibration is better than excellent, thanks.

Jawed

Kurtnoise
15th November 2008, 13:35
you use a xp/vista special theme or something ?

Jawed
15th November 2008, 14:08
http://www.cupidity.f9.co.uk/MeGUIShitTextContrast.png

Jawed

Sharktooth
15th November 2008, 15:29
if your monitor calibration is excellent why i can see it even in your screenshot?
... i repeat myself ... calibrate your monitor/LCD panel/whatever ...
and maybe, enable ClearType...
http://www.webalice.it/f.corriga/temp/cleartype.png

Jawed
15th November 2008, 15:51
if your monitor calibration is excellent why i can see it even in your screenshot?
... i repeat myself ... calibrate your monitor/LCD panel/whatever ...
and maybe, enable ClearType...
Why is the text in the boxes grey instead of black?

Why are the controls showing the appearance of user-editable controls that have had editing disabled?

This progress data on this form has no reason to ever be user-editable. So the type of control used for this data is wrong. To compound this error by reducing the contrast of the text, something in Windows that is normally done to indicate the irrelevance of the data, is just incompetence.

Jawed

Kurtnoise
15th November 2008, 16:04
well, that can be tweaked as well I think...but I'm fully agree with Sharktooth here.

Kurtnoise
15th November 2008, 16:13
Compare Time Elapsed/Time Remaining with this build (http://www.mediafire.com/?zmhihkmtzoy)...Is it better ?

Jawed
16th November 2008, 00:20
Compare Time Elapsed/Time Remaining with this build (http://www.mediafire.com/?zmhihkmtzoy)...Is it better ?
Only Time Remaining appears changed, here, with a white background to the control and no other change.

The type of control is wrong. It should not have any border or appear sculpted (as it does for me - that's merely a global UI preference setting in Windows).

Looking here:

http://megui.svn.sourceforge.net/viewvc/megui/megui/trunk/core/gui/ProgressWindow.cs?revision=817&view=markup

every instance of "TextBox" should be "Label". Textboxes are user-editable controls.

Looking at line 235 I see ".Enabled = false;" applied to the fps textbox, which I expect is what makes this non-user-editable, and at the same time makes it show as low-contrast text. When the controls are changed to labels setting this property becomes superfluous.

Setting the contents, e.g. line 421, should stay the same if you change the type of control to Label. Fingers crossed :p

Jawed

ThrottleAbuse
16th November 2008, 03:14
Can someone help me with this issue. I used MeGUI to encode a AVC video file to the standard-HD-DVD profile. It should have an aspect ratio of 16/9 instead it shows an aspect ratio of 2.35 When I try to put this file into MF6 to make a HD-DVD it thinks the aspect ratio is 4:3 and tries to encode it again. I will put the same AVS script in and start the encode again in MeGUI and it will work fine. The mediainfo file below shows the file MeGUI kicks out when I have this issue. Any ideas on how to prevent this from happening? It seems to happen at random. I wish there was a way to change the header because if this happens I have to start from the beginning. Thanks

General
Complete name : G:\SAMPLEMOVIE.264
Format : AVC
Format/Info : Advanced Video Codec
File size : 7.22 GiB

Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Bit rate : 8 529 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 2.35
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.172
Writing library : x264 core 65 r1028M 83baa7f
Encoding settings : cabac=1 / ref=3 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=umh / subme=7 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=6 / nr=0 / decimate=1 / mbaff=0 / bframes=2 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / keyint=14 / keyint_min=2 / scenecut=40(pre) / rc=2pass / bitrate=8529 / ratetol=1.0 / qcomp=0.50 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=24000 / vbv_bufsize=14475 / ip_ratio=1.10 / pb_ratio=1.10 / aq=1:1.00

Kurtnoise
16th November 2008, 12:26
The type of control is wrong. It should not have any border or appear sculpted (as it does for me - that's merely a global UI preference setting in Windows).

Looking here:

http://megui.svn.sourceforge.net/viewvc/megui/megui/trunk/core/gui/ProgressWindow.cs?revision=817&view=markup

every instance of "TextBox" should be "Label".
you can't unless to change the component itself...and the control is not wrong. It's just disabled.

lithiumus
17th November 2008, 07:02
I recently installed a fresh copy of MEgui, avisynth 2.5, etc. I did all the updates but I noticed that the new copy was not detecting "wrong colorspace". I have another computer with Megui which is fully updated and on an MPG2 video file that I attempt to encode with the long runner Megui install it detects the "wrong colorspace" and asks to correct it with ConvertToYV12().

My fresh copy of Megui does not detect or ask to correct with ConvertToYV12(). How do I enable this detection with my fresh copy of MEgui or where should I look to correct this? Thanks in advance!

Sharktooth
17th November 2008, 16:26
what mpeg2 file? usually mpeg2 files colorspace is already YV12...
also what makes you think megui doesnt "detect" when to add ConvertToYV12()?

elguaxo
17th November 2008, 16:34
what mpeg2 file? usually mpeg2 files colorspace is already YV12...
also what makes you think megui doesnt "detect" when to add ConvertToYV12()?

I get the error when using FFmpegSource even if I add ConvertToYV12() when needed: http://forum.doom9.org/showpost.php?p=1157503&postcount=2483

Sharktooth
17th November 2008, 16:50
before reporting bugs, ensure you're using the latest version. 0.3.0.1015 is way outdated...

lithiumus
17th November 2008, 17:16
what mpeg2 file? usually mpeg2 files colorspace is already YV12...
also what makes you think megui doesnt "detect" when to add ConvertToYV12()?

The MPG2 file was an Extras clip from one of my Blu-rays that I was testing some encoding with and one instance of Megui on PC#1 (been running for months) popped up a "wrong Colorspace" error when I clicked on enqueue so I said "yes" to convert and Megui added "ConvertToYV12()" to the avs script.

I took the same clip and trasferred it to PC#2 where I have a fresh newly installed copy (both were 3009 this weekend) but when I clicked on enqueue, that copy of Megui did not detect a Colorspace error and did not add "ConvertToYV12()" in the avc script.

If what you are saying is correct in that MPEG2 files do not need to be converted to YV12 since they already are, is there a problem with my "older" copy of Megui? Where should I begin to look and troubleshoot?

Sharktooth
17th November 2008, 18:16
that's probably cause of the decoder on your PC#1. the decoder outputs to a different colorspace (maybe it's ffdshow set to RGB32 or something?) and megui reacts telling you to add a ConvertToYV12() to the avs.
probably you can fix it checking the decoder options and set the output correctly.

73ChargerFan
17th November 2008, 19:07
I tried the "add pre-rendering job" but then get an error "no fourcc FFVH" source found.
I installed ffdshow-tryouts, and added a note to the mewiki (http://mewiki.project357.com/wiki/Glossary#Pre-rendering_job) about it.

lithiumus
18th November 2008, 01:01
that's probably cause of the decoder on your PC#1. the decoder outputs to a different colorspace (maybe it's ffdshow set to RGB32 or something?) and megui reacts telling you to add a ConvertToYV12() to the avs.
probably you can fix it checking the decoder options and set the output correctly.

That makes perfect sense. Though I can't see a difference in the settings, that is the only delta between PC#1 and PC#2 so I'll update PC#1's filters. Thanks for the tip.

lithiumus
18th November 2008, 01:16
That makes perfect sense. Though I can't see a difference in the settings, that is the only delta between PC#1 and PC#2 so I'll update PC#1's filters. Thanks for the tip.

Found it. PC#1 had MPEG2 codec disabled so it must have been using the system default and it outputing RGB I guess. I enabled it and all is good! Thanks again.

sapsa
19th November 2008, 01:42
I encoded about 20 avi files from FRAPS, and one problem was:
When megui was trying to encode avi to h264 he made stat.temp file and when he put data there and try to rename it to .stat NOD32 pop up with invection:
"s t a t s . t e m p H T M L / T r o j a n D o w n l o a d e r . A g e n t . N A G t r o j a n "
I was forced to disable it for that time, any future solution for this?

Sharktooth
19th November 2008, 01:46
it's a NOD32 problem. contact the customer support and report the problem.
we cant do anything about that (and btw it's not related to megui in any way - maybe x264...)

MrVideo
19th November 2008, 16:59
if your monitor calibration is excellent why i can see it even in your screenshot?
... i repeat myself ... calibrate your monitor/LCD panel/whatever ...
and maybe, enable ClearType...

I am going to be blunt: that is just plain arrogant.

You can't calibrate a monitor and make grey text turn dark/black without totally screwing up the image on the screen.

The text is grey. It is wrong. It should be black, just like the text description on the left, as pointed out in followup replies to this particular posting.

What have you got against fixing the problem?

And yes, we can "see" the text, but can it be seen easily? No!!!

MrVideo
19th November 2008, 17:06
What is the latest on the detection of 16:9 HD video being detected as 16:9 HD video?

1080i video is still be detected as PAL. 1.778 (industry standard is 1.78) is not in the dropdown list.

If I manually set it to 1.778, the next 1080i that I bring in, during the same session, will result in it still being detected as PAL, but the dropdown list now has TWO 1.778 entries in the list.

Lilien
19th November 2008, 18:24
MEGui is no longer working for me. :confused:
If I start the encoding process (XVID or x264, this does not matter)
it is immediately finished with the status "error" (in the first pass),
but there is no further helpful information in the logfile.

[Information] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.0.3010
--[NoImage] OS : Microsoft Windows XP Home Edition SP3 (5.1.196608.2600)
--[NoImage] Framework used : 2.0 SP1 (2.0.50727.3053)
-[Information] Hardware
--[NoImage] CPU : Intel Pentium III Xeon-Prozessor
-[Information] Log for job1 (video, Test.avs -> )
--[Information] [19.11.2008 15:39:07] Started handling job
--[Information] [19.11.2008 15:39:07] Preprocessing
--[NoImage] Job commandline: "C:\Programme\megui\tools\xvid_encraw\xvid_encraw.exe" -i "D:\Test.avs" -pass1 "D:\Test.stats" -bitrate 1000 -kboost 100 -chigh 30 -clow 15 -overhead 0 -turbo -max_key_interval 250 -nopacked -closed_gop -lumimasking -notrellis -imin 1 -pmin 1 -max_bframes 1 -bvhq -bquant_ratio 162 -bquant_offset 0 -bmin 1 -par 16:11 -threads 1
--[Information] [19.11.2008 15:39:08] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
--[Information] [19.11.2008 15:39:08] Job completed


The .avs preview is working fine, so I do not think it is an error
with the input .avs file. I had a look with Filemon on the program,
but there seems to be no problem with loading files or .dll.

Any help would be grateful appreciated!

ThrottleAbuse
21st November 2008, 01:32
Can anyone help me with my question from post #3271? Do you need more info on what settings I was using or how the problem is coming up? Should I be asking this in another thread? Here is a little more info on the process I have been using. I first use AviSynth Script creator. When the window pops up I unclick resize and save the AVS Script. After I do that I sometime have to open the AVS Script in notepad and add borders so the file is 1920:1080. I then save that in notepad then select the standard-HD-DVD profile and then click enquene. A box pops up and warns that my Avisynth Clip does not have mod16 dimensions and is width: 1920 height:1080. This warning comes up no matter what even if the final file comes out with the aspect ratio of 16/9. Is there some setting in the AviSynth Script creator I am missing that will make life easier. Should I be clicking on the new mod10 suggestion box in the script creator? Thanks for any help.

poisondeathray
21st November 2008, 01:50
Can anyone help me with my question from post #3271? Do you need more info on what settings I was using or how the problem is coming up? Should I be asking this in another thread? Here is a little more info on the process I have been using. I first use AviSynth Script creator. When the window pops up I unclick resize and save the AVS Script. After I do that I sometime have to open the AVS Script in notepad and add borders so the file is 1920:1080. I then save that in notepad then select the standard-HD-DVD profile and then click enquene. A box pops up and warns that my Avisynth Clip does not have mod16 dimensions and is width: 1920 height:1080. This warning comes up no matter what even if the final file comes out with the aspect ratio of 16/9. Is there some setting in the AviSynth Script creator I am missing that will make life easier. Should I be clicking on the new mod10 suggestion box in the script creator? Thanks for any help.

One option (if you don't want to spend hours encoding it again) is to specify the DAR in the .mkv container using mkvmergegui

If you do a manual script (ie. not using script creator) and don't use MeGUI_darx = X, MeGUI_dary = Y in the script or --sar x:y , it will assume 1:1 square pixels so DAR = frame aspect ratio. In the case of a 1920x1080 frame, that will be exactly 1920/1080 = 1.778. If you use mod16 resolutions, it will be off a bit because 1088 instead of 1080

ThrottleAbuse
21st November 2008, 02:59
Thanks for the ideas poisendeathray. I am outputting the file in RAWAVC so either I am not following what you are saying or you misunderstood what I am trying to do. I need to have the output file show an aspect ratio of 16/9 because I am putting it into MF6 to burn into a HD DVD.

poisondeathray
21st November 2008, 03:14
Thanks for the ideas poisendeathray. I am outputting the file in RAWAVC so either I am not following what you are saying or you misunderstood what I am trying to do. I need to have the output file show an aspect ratio of 16/9 because I am putting it into MF6 to burn into a HD DVD.

ok so the output is raw avc so you can use that as input? forget the mkvmerge trick then :)

what is mf6?

Display Aspect Ratio = Frame Aspect Ratio x Pixel Aspect Ratio
(Conceptually in MeGUI, pixel aspect ratio is the same thing as sample aspect ratio is the same thing as --sar x:y)

16/9 = 1920/1080 x 1/1

So according to your other post , your output is DAR 2.35? Can you clarify your source format/input? Why are you encoding something to AVC only to encode to VC1 later ?

Assuming your source was your input is 16/9, 1920x1080, no borders, All you have to do is use a manual script uncropped, no --sar, no DAR_X etc.... You don't need to use mod16 (1088) if you don't want to

ThrottleAbuse
21st November 2008, 04:11
MF6= Movie Factory 6

The thing is sometimes the file that is outputted is fine and has the correct display aspect ratio showing of 16/9. Other times is shows 2.35 or whatever the original file aspect ratio was. It is as if when I encode it to the new profile that it doesn't change the aspect ratio value/flag (not sure on what to call it) even though the video is now a showing 1920x1080 in the width and height. I may be off here as I am new to alot of this, but it seems as if the header has the original value in it instead of the value from the new encode. Like I said before it happens at random. I will encode 4 or 5 files then all the sudden this happens.

Here is the mediainfo from the source file.

General
Complete name : C:\SAMPLE.wmv
Format : Windows Media
File size : 7.93 GiB
Duration : 1h 46mn
Overall bit rate mode : Variable
Overall bit rate : 10.6 Mbps
Maximum Overall bit rate : 14.8 Mbps
Encoded date : UTC 2008-11-06 06:41:08.781

Video
Format : VC-1
Format profile : AP@L3
Codec ID : WVC1
Codec ID/Hint : Microsoft
Description of the codec : Windows Media Video 9 Advanced Profile
Duration : 1h 46mn
Bit rate mode : Variable
Bit rate : 9 805 Kbps
Width : 1 920 pixels
Height : 804 pixels
Display aspect ratio : 2.35
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.265
Language : en-us

Audio
Format : WMA3
Format profile : M2
Codec ID : 162
Codec ID/Info : Windows Media Audio 3
Description of the codec : Windows Media Audio 10 Professional - 768 kbps, 48 kHz, 5.1 channel 24 bit 1-pass CBR
Duration : 1h 46mn
Bit rate mode : Constant
Bit rate : 768 Kbps
Channel(s) : 6 channels

vkarthik
21st November 2008, 04:31
I found some references to my problem in some threads here, but the solutions didn't really help me. This is my first post here, and I'm hoping you guys will solve it in no time.

I was using megui for mp4 encoding successfully. Wanted to try ripbot, so installed all that it needed. After that, megui had a number of issues. So I removed everything, installed megui, avisynth and nero aac enc afresh. But this didn't seem to solve the last problem I encountered. The error I can't seem to get rid of is -

--[NoImage] Commandline: C:\Program Files\Media Tools\MeGUI\tools\neroaacenc\neroAacEnc.exe -ignorelength -lc -br 192000 -if - -of "M:\Movies\Carlitos Way\VTS_01_PGC_01_1 T80 3_2ch 448Kbps DELAY 0ms.m4a"
--[Information] [11/20/2008 7:13:27 PM] Encoder process started
--[Error] An error occurred
---[NoImage] Exception message: The pipe has been ended.
---[NoImage] Stacktrace
----[NoImage] at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
----[NoImage] at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
----[NoImage] at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
----[NoImage] at MeGUI.AviSynthAudioEncoder.encode()
---[NoImage] Inner exception: null
--[NoImage] Output from encoder via stderr
---[NoImage] *************************************************************
---[NoImage] * *
---[NoImage] * Nero AAC Encoder *
---[NoImage] * Copyright 2008 Nero AG *
---[NoImage] * All Rights Reserved Worldwide *
---[NoImage] * *
---[NoImage] * Package build date: Sep 17 2008 *
---[NoImage] * Package version: 1.3.3.0 *
---[NoImage] * *
---[NoImage] * See -help for a complete list of available parameters. *
---[NoImage] * *
---[NoImage] *************************************************************
--[NoImage] Output from encoder via stdout: ERROR: could not open AAC encoder



Could someone figure out what is wrong and help me get back to my old encoding routine, please? :confused:

poisondeathray
21st November 2008, 04:32
Throttle, I'm not sure if I'm understanding you correctly

In your example, your source has a 1920x804 frame size which is roughly 2.39 DAR

So if you wanted a full frame (i.e. 1920x1080) to import into your application to make a HDDVD, you would to add borders to preserve the original aspect ratio, otherwise it will be distorted.

AddBorders(0,138,0,138)

because (1080-840)/2 = 138 pixels to the top and bottom

LigH
21st November 2008, 08:22
A user in the german board has issues with MeGUI: The 1st pass for x264 runs, but instead of calling the 2nd pass it just shows an application error (and that the application must be closed).

[Information] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.0.3010
--[NoImage] OS : Microsoft® Windows Vista™ Home Premium SP1 (6.0.65536.6001)
--[NoImage] Framework used : 2.0 SP1 (2.0.50727.1434)
-[Information] Hardware
--[NoImage] CPU : Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz
-[Information] Log for job1 (video, Erementar Gerad Bessere Version.avs -> )
--[Information] [20.11.2008 21:27:29] Started handling job
--[Information] [20.11.2008 21:27:29] Preprocessing
--[NoImage] Job commandline: "D:\Megui\tools\x264\x264.exe" --pass 1 --bitrate 1000 --stats "D:\Erementar Gerad Bessere Version.stats" --level 4.1 --bframes 3 --b-adapt 2 --direct auto --deblock 1:1 --subme 2 --partitions none --vbv-bufsize 50000 --vbv-maxrate 50000 --me dia --threads auto --thread-input --aq-mode 0 --sar 1:1 --progress --no-psnr --no-ssim --output NUL "D:\Erementar Gerad Bessere Version.avs"
--[Information] [20.11.2008 21:27:30] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
---[NoImage] avis [info]: 1280x800 @ 23.98 fps (814 frames)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 PHADD SSE4.1 Cache64
---[NoImage] x264 [info]: profile Main, level 4.1
---[NoImage]
---[NoImage] x264 [info]: slice I:11 Avg QP:26.36 size: 15598
---[NoImage] x264 [info]: slice P:367 Avg QP:27.35 size: 9173
---[NoImage] x264 [info]: slice B:436 Avg QP:29.33 size: 1200
---[NoImage] x264 [info]: consecutive B-frames: 7.6% 46.1% 41.8% 4.5%
---[NoImage] x264 [info]: mb I I16..4: 78.2% 0.0% 21.8%
---[NoImage] x264 [info]: mb P I16..4: 26.0% 0.0% 0.0% P16..4: 22.1% 0.0% 0.0% 0.0% 0.0% skip:51.9%
---[NoImage] x264 [info]: mb B I16..4: 1.4% 0.0% 0.0% B16..8: 7.1% 0.0% 0.0% direct: 2.7% skip:88.7% L0:44.2% L1:48.5% BI: 7.3%
---[NoImage] x264 [info]: final ratefactor: 27.16
---[NoImage] x264 [info]: direct mvs spatial:90.1% temporal:9.9%
---[NoImage] x264 [info]: kb/s:957.0
---[NoImage] encoded 814 frames, 13.39 fps, 957.22 kb/s
--[Information] [20.11.2008 21:30:33] Job completed

The log looks almost like a second pass was never even tried. Could it be a timing issue between processes on a Quad-Core CPU?

Thread in the german doom9/Gleitz board (http://forum.gleitz.info/showthread.php?t=38879)

ankurs
21st November 2008, 11:52
http://i36.tinypic.com/2nroa6c.jpg

help anyone ?

i had different versions of dgdecode.dll lying around on the hdd , searched , removed all the dll's , downloaded neuron's latest dgindex build , placed in megui , gknot , hc etc (w.e needed it ) , placed the dgdecode.dll in the plugins directory , made d2v all over again , now i only have the same and ONE version of dgindex on my grid , still the same error ?

this happens when i try loading the the d2v in megui to script it ..


and yeah the d2v opens and works all fine in vdub(loaded through a script manually ) and gknot ..

ankurs
21st November 2008, 15:06
^

anyone ?

Sharktooth
21st November 2008, 15:26
@ankurs: open the avs in a media player and look at the error.

@ligh: i've updated x264 to a newer build. see if it still happens.

@vkarthik: ensure megui (and nero encoder) can WRITE to the output folder.

@Lilien: try reinstalling megui from scratch (uninstall and reinstall).

@MrVideo: i dont know why you have problems with HD videos but sincerely, i dont understand why you care about AR when you dont need to singnal the AR or use 1:1...

LigH
21st November 2008, 16:13
Seems that "a heap of DLLs in the plugins directory" is a quite probable reason for the reported crashing. But I will tell about it. Thanks, Sharktooth...

ankurs
21st November 2008, 17:05
@ankurs: open the avs in a media player and look at the error.

@ligh: i've updated x264 to a newer build. see if it still happens.

@vkarthik: ensure megui (and nero encoder) can WRITE to the output folder.

@Lilien: try reinstalling megui from scratch (uninstall and reinstall).

@MrVideo: i dont know why you have problems with HD videos but sincerely, i dont understand why you care about AR when you dont need to singnal the AR or use 1:1...

well the d2v loads all fine in gknot , in megui same error .. when i open the script in media player it works all fine , all im doing in the script is just loading the d2v , thats it .

any help ?

vkarthik
21st November 2008, 17:16
@vkarthik: ensure megui (and nero encoder) can WRITE to the output folder.


Yes they can. I just tried to encoder a TV show DVD and it converted fine to 264 and aac. I'm not sure what is special with the other movie.

ThrottleAbuse
22nd November 2008, 05:59
Throttle, I'm not sure if I'm understanding you correctly

In your example, your source has a 1920x804 frame size which is roughly 2.39 DAR

So if you wanted a full frame (i.e. 1920x1080) to import into your application to make a HDDVD, you would to add borders to preserve the original aspect ratio, otherwise it will be distorted.

AddBorders(0,138,0,138)

because (1080-840)/2 = 138 pixels to the top and bottom

That is what I have been doing. And that seems to work fine except the flag for the aspect ratio stays at the original 2.35 instead of saying 16/9 which is what MF6 needs to make the HDDVD_TS folders. I thought it may be a problem with MeGUI or with the standard-HD-DVD profile.

poisondeathray
22nd November 2008, 16:35
That is what I have been doing. And that seems to work fine except the flag for the aspect ratio stays at the original 2.35 instead of saying 16/9 which is what MF6 needs to make the HDDVD_TS folders. I thought it may be a problem with MeGUI or with the standard-HD-DVD profile.


Perhaps you could open your raw avc stream (the one with the borders added) in h264info and change that information to 16/9, then import into MF6? I think this should "re-write" that information (but not re-encode)

ThrottleAbuse
23rd November 2008, 09:01
I have tried to do that with h264info. If I set the aspect ratio to 16/9 on that 2.35 file it ends up flagged as 3.25 or something crazy which won't work. I wish I could figure this out as over last night and today I did to encodes that ended up with the wrong aspect ratio. SUCKS.

poisondeathray
23rd November 2008, 16:32
I have tried to do that with h264info. If I set the aspect ratio to 16/9 on that 2.35 file it ends up flagged as 3.25 or something crazy which won't work. I wish I could figure this out as over last night and today I did to encodes that ended up with the wrong aspect ratio. SUCKS.

There shouldn't be any flags or aspect ratio weirdness if you don't use the avisynth creator, or --sar.

I tested a sample 1920x800, added borders, used the same encoding "standalone HD-DVD" profile in MeGUI. Using a stream analyser on a raw output it was 30x17(1:1) which is identical to retail blu-ray's. Unless there is something up with the HD-DVD spec that is different than blu-ray (in regards to aspect ratio)?

Perhaps something is up with your MF6 software? or settings?

Also, do your wmv input files have square pixels? That would skew the calculation, because all blu-ray / hd-dvd is 1:1 (I think). You would have to compensate for this, because avisynth assumes 1:1

Also, consider testing on a shorter clip instead of the full length of the movie (just use Trim(0,100) in avisynth for the 1st 100 frames), so you don't waste hours of encoding on each "test run"

ThrottleAbuse
23rd November 2008, 18:52
I don't follow you on not using avisynth creator. If I look in MeGUI at the x264 configuration it doesn't have --sar anywhere in the settings. The thing is the encoded clip comes out with the proper aspect ratio of 1920:1080 its just the flag that needs to say 16/9 will say 2.35 or whatever the original file was even though it added boarders. Like I said before I can create a AVS script and run and encode and not have it work then use the exact same AVS script and all the same settings and run it again and it will show up flagged correctly. Absolutely no changes and it will show up with the correct flag of 16/9. That is what is so frustrating.

poisondeathray
23rd November 2008, 19:23
I don't follow you on not using avisynth creator. If I look in MeGUI at the x264 configuration it doesn't have --sar anywhere in the settings. The thing is the encoded clip comes out with the proper aspect ratio of 1920:1080 its just the flag that needs to say 16/9 will say 2.35 or whatever the original file was even though it added boarders. Like I said before I can create a AVS script and run and encode and not have it work then use the exact same AVS script and all the same settings and run it again and it will show up flagged correctly. Absolutely no changes and it will show up with the correct flag of 16/9. That is what is so frustrating.

The problem with avisynth creator is that you have to uncheckmark all the default options like resize, anamorphic, etc... otherwise it sends the info through. If you manually did a script you avoid all this completely, so it's 1 less thing to worry about

The --sar is not in the gui, it's what you add in the extra command line for the pixel aspect ratio. If you didn't enter it, or did not use MeGUI Dar_X, Dar_Y in the avs script, you should be fine.

The only other suggestion I have is determine what is different between input files that work vs. ones that don't work, because if you used the same MeGUI procedure as you claimed, then that is the only thing that is different. The only thing that comes to my mind is the non-square pixel input I mentioned earlier (avisynth assumes 1:1), and you didn't compensate for it.

Nightshiver
24th November 2008, 21:20
Sharky, I'm having that problem I had last month. Mencoder is crashing, again. I'm going to try a different version. Again.

Edit1: The newest version doesn't work. As a side note, why is it only me who is having this problem with mencoder?
Edit2: build 27305 doesn't work. This is stupid....

ankurs
25th November 2008, 12:05
still no help people ?

relating to this post : http://forum.doom9.org/showpost.php?p=1215502&postcount=3295

buzzqw
25th November 2008, 14:41
check if you have a dgdecode.dll in c:\program files\avisynth25\plugins

.. better.. search all your hard drives for DGDecode.dll and remove ALL

then use the only one bundled/downloaded by megui

BHH

P.S remember to rebuild the d2v project

jamos
25th November 2008, 17:20
I know this is not a Megui question perse, but thought maybe here someone who messes with megui has the answer.

Have a fresh install of Vista Ultimate 64 sp1 with all patches. Installed Megui with all defaults. Of course AVC files load fine in preview from my AVS scripts, but when loading VC-1 mt2s files with AVS scripts I get a timeout error when waiting for graph in avsynth. I am assuming that the default directshow cannot load VC-1 files. So I installed new beta builds of FFDshow and then check the VC1 option on installation. Now the video will load when loading the AVS script but its distorted. So I uninstalled FFDshow and installed MKVsplitter (Haali) latest version, which now loads the VC-1 video fine but when loading a AVC video the AVC video is distorted! Has anyone had luck getting a fliter that loads and works both AVC and VC-1 video files with Vista 64? P.S. using XP 32 bit and MKVsplitter I can load both types and run them no problem but the speed is more than half as slow.

Thanks

poisondeathray
25th November 2008, 17:33
I know this is not a Megui question perse, but thought maybe here someone who messes with megui has the answer.

Have a fresh install of Vista Ultimate 64 sp1 with all patches. Installed Megui with all defaults. Of course AVC files load fine in preview from my AVS scripts, but when loading VC-1 mt2s files with AVS scripts I get a timeout error when waiting for graph in avsynth. I am assuming that the default directshow cannot load VC-1 files. So I installed new beta builds of FFDshow and then check the VC1 option on installation. Now the video will load when loading the AVS script but its distorted. So I uninstalled FFDshow and installed MKVsplitter (Haali) latest version, which now loads the VC-1 video fine but when loading a AVC video the AVC video is distorted! Has anyone had luck getting a fliter that loads and works both AVC and VC-1 video files with Vista 64? P.S. using XP 32 bit and MKVsplitter I can load both types and run them no problem but the speed is more than half as slow.

Thanks

I'm on XP, but I experienced distortion this with certain ffdshow builds using different libavcodec versions. I use WMV Decoder DMO to decode VC-1 content now, it has fewer problems decoding VC-1 in my experience. If your decode is foobar, then the encode will be similarly corrupted. It comes with WMP11 or Windows Media Format SDK 11 if you don't want to install WMP11. You can change the merit of the decoder in graphstudio.

Assuming your playback material is OK, sometimes switching containers "fixes" the corruption. I've experienced both cases where either .mp4 or .mkv had corruption issues on playback , but for some reason muxing into the other container or .m2ts or .ts fixed it.

jamos
25th November 2008, 18:40
I'm on XP, but I experienced distortion this with certain ffdshow builds using different libavcodec versions. I use WMV Decoder DMO to decode VC-1 content now, it has fewer problems decoding VC-1 in my experience. If your decode is foobar, then the encode will be similarly corrupted. It comes with WMP11 or Windows Media Format SDK 11 if you don't want to install WMP11. You can change the merit of the decoder in graphstudio.

Assuming your playback material is OK, sometimes switching containers "fixes" the corruption. I've experienced both cases where either .mp4 or .mkv had corruption issues on playback , but for some reason muxing into the other container or .m2ts or .ts fixed it.


thanks for the reply. I do have WMP11 installed (comes with Vista xp1) do i need the sdk also? because stock MEGUI install will not even decode VC-1 files in Vista 64 (graph never opens). Would love to get this right without having to mess with builds of ffdshow. I have tried switching containers but they are all the same corruption (ie used tsmuxer to change from m2ts to ts etc.)

thanks

Also am not using mkv files these are m2ts files direct from good BD VC-1 sources.

My work around for now is if i need to reencode a VC-1 source I install MKVsplitter, then uninstall it after I am done for the more common AVC sources.

In general what I am doing is taking 1080p sources and reencoding them to 720p AVC-HD using megui and tsmuxer.

Edit: I have found the CCCP 2008-09-21 Codec pack fixed my issue now I can load both AVC and VC-1 sources (as well as MKV) with no issues in Vista 64. Now to get the 64 bit version of Avsynth and the 64 multithread version of x264 working is my next project.

73ChargerFan
25th November 2008, 23:43
I installed AviSynth_080912.exe which seems to have deleted (?) the plug-ins needed to run MeGUI.

MeGUI has the correct path to "C:\Program Files\AviSynth 2.5\plugins", which has only 4 files in it.

I'm still getting errors, and "Force (re)install" doesn't put any files in the plugins directory.

Can the install be repaired?

Edit:
"Force (re)install" downloaded new zip files to the update cache directory, so I sorted by date and unzipped 13 new files to the plugins directory, and things seem okay now.

Shouldn't reinstall have unzipped them, or the update function could have known files were missing?

Sharktooth
26th November 2008, 15:25
the problem is avisynth 2.58 is not supported yet.

Nightshiver
26th November 2008, 15:45
Well, I finally found a fix. mencoder version 27743 works.

jamos
26th November 2008, 22:46
the problem is avisynth 2.58 is not supported yet.

I am using 2.58 with megui and have no issues, so i am not sure what Chargerfan is doing wrong as my plugin dir for 2.58 has all the files 2.57 had. chargerfan you installing 2.58 from here http://sourceforge.net/project/showfiles.php?group_id=57023&package_id=105994&release_id=625750 ? Best way to install megui clean is uninstall avisynth and megui and make sure the directories are deleted. then install avisynth, then install megui again. if you have other codecs messing you up use http://www.cccp-project.net/download.php?type=cccpi the insurgent to tell you what you have and then uninstall those..could be your avisynth install is not in the right place or in many places.

73ChargerFan
26th November 2008, 23:36
MeGUI is working fine for me now, doing mpeg2->x264 & ac3->nero aac transcoding.

I'm using the latest development build of Avisynth 2.58 & ffdshow-tryouts nightly 11-14-2008.

mpeg2 720x480 16/9 , x264/mp4 target always seems to set the AR to 1.5 ??? I fix by muxing in mkvmerge.

jamos - I wanted to try out the latest ripbot264, but it said I didn't have avisynth installed so I grabbed the latest from sourceforge.

citanuL
28th November 2008, 00:10
Is there any way, possibly in MeGUI's "Custom command line", to set "Zone Options" type settings as featured in XviD encoder GUI ?

stony8
28th November 2008, 00:46
can anyone help me on this one? I have no idea what went wrong....

thanks

---------------------------
Fatal error
---------------------------
MeGUI encountered a fatal error and may not be able to proceed. Reason: Value cannot be null.

Parameter name: path1 Source of exception: mscorlib stacktrace: at System.IO.Path.Combine(String path1, String path2)

at MeGUI.OneClickPostProcessor.fillInAudioInformation()

at MeGUI.OneClickPostProcessor.postprocess()

at MeGUI.OneClickPostProcessor.postprocess(MainForm mainForm, Job job)

at MeGUI.core.gui.JobWorker.postprocessJob(Job job)

at MeGUI.core.gui.JobWorker.<>c__DisplayClass8.<UpdateGUIStatus>b__5()

at System.Threading.ThreadHelper.ThreadStart_Context(Object state)

at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

at System.Threading.ThreadHelper.ThreadStart()

Sharktooth
28th November 2008, 04:13
@citanuL: zones options are available in the main form. otherwise you can specify the needed encoder switches/options in the custom commandline box.

@stony8: you didnt specify the audio input.

stony8
28th November 2008, 10:21
@stony8: you didnt specify the audio input.

ehm, I used the oneclick encoder, and there was audio input

however, I fiddled around with the avs. I deleted the <crop> from the avisynth template (avisynth configuration dialog) some time ago. moved it back again, and it worked.

strange, as I cant relate this to audio.


other issue I found: I have ripped a DVD where automatic interlace detection fails. when "automatic deinterlacing" is checked in oneclick encoder advanced config, it will also generate a fatal error.
solution: uncheck! but not a ehhh userfriendly way of telling there something wrong with the rip :)

Sharktooth
28th November 2008, 16:30
yeah.. definatly an unhandled exception.
please report the bug in the megui bugtracker on sourceforge.

Richardw322
28th November 2008, 18:21
I hope someone can help me here, I am a noob when it comes to this stuff. I can transcode MPEG to MKV/x264 with no problem, but I want to try AVI to MKV/x264, and I am having trouble getting started. Do I need to demux the file first? If so, with what? I tried without demuxing and MEGUI doesn't want to transcode the sound (MP3) to AC3. It just errors out. I just need a push to get started.

BTW, as for why I would do this, to learn. I learn best by doing something.

~bT~
28th November 2008, 18:48
I hope someone can help me here, I am a noob when it comes to this stuff. I can transcode MPEG to MKV/x264 with no problem, but I want to try AVI to MKV/x264, and I am having trouble getting started. Do I need to demux the file first? If so, with what? I tried without demuxing and MEGUI doesn't want to transcode the sound (MP3) to AC3. It just errors out. I just need a push to get started.

BTW, as for why I would do this, to learn. I learn best by doing something.

try ripbot264 for that kind of encoding.

Sharktooth
28th November 2008, 19:20
richard, what are the steps or procedure you did to import the avi file?
usually you can open the avi file in the avs creator, remove the audio=false in the avisource filter and feed the avs to both video and audio input and re-encode to whatever format you want.

Richardw322
28th November 2008, 21:47
richard, what are the steps or procedure you did to import the avi file?
usually you can open the avi file in the avs creator, remove the audio=false in the avisource filter and feed the avs to both video and audio input and re-encode to whatever format you want.

That is the step I was missing!! Thank you Sharktooth, I left the audio=false step out. No wonder it threw an error!! I am an idiot (as a friend likes to tell me). Can I do that at the same time and enque both together? Reason I ask is, in the guide I have been using they are 2 separate steps.

I guess it's not that simple. I removed the line and tried to reencode just the audio. (I didn't want to wait for the video to reencode to check the audio.) Now I get an error message "No Compatible ACM codec to decode 0X2000 audio stream to PCM. The audio is AC35.1, and it plays fine in both WMP and MPC-HC.

NiGHTsC
29th November 2008, 00:58
Anyne has an idea why my video is few seconds faster than the audio and the subtitle?
original video is a VOB and when I encode it into a MP4 using MeGUI, the video is always few seconds faster.
Maybe there's some delay info in the VOB file and MeGUI isn't able to read?
I've also tried lmx264GUI from LeiMing and same thing happent.

This is the VOB and MP4 files.
http://nightsc.googlepages.com/DVD2_09.vob
http://nightsc2.googlepages.com/DVD2_09.mp4

and the profile I used in lmx264GUI

@x264.exe --progress --no-psnr --no-ssim --cqm flat --no-fast-pskip --mixed-refs --scenecut 40 -I 250 -i 25 --sar 1:1 --threads auto --nr 0 -f 0:0 -b 2 --direct "temporal" --bime --b-adapt 1 --b-bias 0 --b-pyramid -w --deadzone-inter 21 --deadzone-intra 11 --aq-mode 1 --aq-strength 1 --chroma-qp-offset 0 --direct-8x8 1 --psy-rd 1.0:0.0 -p 1 --stats "I:\lmx264gui-20080925\bin\stats\DVD1_01.vob.stat" -B 2000 --qpmin 10 --qpmax 51 --qpstep 4 --qcomp 0.600000 --ipratio 1.400000 --pbratio 1.300000 -A none -r 1 -m 1 --me dia --ratetol 1.000000 --vbv-init 0.9 -o nul "I:\lmx264gui-20080925\bin\avs\DVD1_01.vob.avs" 2>&1|lputs.exe "I:\lmx264gui-20080925\bin\log\DVD1_01.vob.txt"
@x264.exe --progress --no-psnr --no-ssim --cqm flat --no-fast-pskip --mixed-refs --scenecut 40 -I 250 -i 25 --sar 1:1 --threads auto --nr 0 -f 0:0 -b 2 --direct "temporal" --bime --b-adapt 1 --b-bias 0 --b-pyramid -w --deadzone-inter 21 --deadzone-intra 11 --aq-mode 1 --aq-strength 1 --chroma-qp-offset 0 --direct-8x8 1 --psy-rd 1.0:0.0 -p 3 --stats "I:\lmx264gui-20080925\bin\stats\DVD1_01.vob.stat" -B 2000 --qpmin 10 --qpmax 51 --qpstep 4 --qcomp 0.600000 --ipratio 1.400000 --pbratio 1.300000 -A p8x8,p4x4,b8x8,i4x4 -m 5 --me hex --merange 24 -r 3 --ratetol 1.000000 --vbv-init 0.9 -o "I:\!TENNIS\DVD1_01.mp4" "I:\lmx264gui-20080925\bin\avs\DVD1_01.vob.avs" 2>&1|lputs.exe "I:\lmx264gui-20080925\bin\log\DVD1_01.vob.txt"
@bepipe.exe --script "import(^I:\lmx264gui-20080925\bin\avs\DVD1_01.vob.avs^)" | neroaacenc.exe -if - -of "I:\!TENNIS\DVD1_01.audio.mp4" -ignorelength -br 40000

and MeGUI

--pass 2 --bitrate 490 --stats ".stats" --ref 3 --mixed-refs --no-fast-pskip --bframes 2 --b-pyramid --bime --weightb --trellis 1 --analyse p8x8,b8x8,i4x4,p4x4 --merange 24 --threads auto --thread-input --progress --no-psnr --no-ssim --output "" ""


Thank you.

nok32
29th November 2008, 03:00
hi,
first post. i have been using megui very successfully to encode x264 with the HQ CQ preset, until i attempted a late 1960s era avant-garde film with a high grain. the encoding time and end filesize almost tripled. is the best solution for this and similar films to just use a 2-pass encode and set a max filesize? i am shooting for something in the 1gb range, and the CQ setting of 22 has generally been fine for delivering that filesize. my next attempt will use a higher 'grain filter' setting and then probably a 2-pass encode. any other suggestions on dealing with this type of film?
thanks!

Kurtnoise
29th November 2008, 07:45
Anyne has an idea why my video is few seconds faster than the audio and the subtitle?
original video is a VOB and when I encode it into a MP4 using MeGUI, the video is always few seconds faster.
Maybe there's some delay info in the VOB file and MeGUI isn't able to read?
I've also tried lmx264GUI from LeiMing and same thing happent.

This is the VOB and MP4 files.
http://nightsc.googlepages.com/DVD2_09.vob
http://nightsc2.googlepages.com/DVD2_09.mp4

you have to deinterlace this first...in the avisynth creator, check "my source is anime", source type: interlaced, field order: top field first, select yadif as deinterlacer.

then, retry an encode & remux.

I got this (http://www.mediafire.com/?ymn4ugzmjtb)...

Kurtnoise
29th November 2008, 07:46
hi,
first post. i have been using megui very successfully to encode x264 with the HQ CQ preset, until i attempted a late 1960s era avant-garde film with a high grain. the encoding time and end filesize almost tripled. is the best solution for this and similar films to just use a 2-pass encode and set a max filesize? i am shooting for something in the 1gb range, and the CQ setting of 22 has generally been fine for deliering that filesize. my next attempt will use a higher 'grain fuleter' setting and then probably a 2-pass encode. any other suggestions on dealing with this type of film?
thanks!
could you upload a vob sample of your source ?

Richardw322
29th November 2008, 17:20
I think I found my problem. I loaded the file into VirtualDub and it threw an error over the audio in the file. "Truncated or invalid compressed audio format detected (16 bytes should be 18) Then when I try to play in Virtual it says "No audio compresser could be found". Funny thing is it plays fine in MPC and WMP. MPC reports it as AC3 5.1. Just my luck to pick a broken file to play with.

NiGHTsC
29th November 2008, 19:04
you have to deinterlace this first...in the avisynth creator, check "my source is anime", source type: interlaced, field order: top field first, select yadif as deinterlacer.

then, retry an encode & remux.

I got this (http://www.mediafire.com/?ymn4ugzmjtb)...
select yadif as deinterlacer.
do you mean this? cause I can't find "yadif" in "Deinterlace"
http://img356.imageshack.us/img356/6549/10640582qd3.jpg
Thanx alot!

~bT~
29th November 2008, 19:07
I think I found my problem. I loaded the file into VirtualDub and it threw an error over the audio in the file. "Truncated or invalid compressed audio format detected (16 bytes should be 18) Then when I try to play in Virtual it says "No audio compresser could be found". Funny thing is it plays fine in MPC and WMP. MPC reports it as AC3 5.1. Just my luck to pick a broken file to play with.
ac3acm codec is what u need.

Kurtnoise
29th November 2008, 19:10
select yadif as deinterlacer.
do you mean this? cause I can't find "yadif" in "Deinterlace"

download it first via the updater.

NiGHTsC
29th November 2008, 19:43
download it first via the updater.
Hm, I just update everything in MeGUI and the video still has the same problem

this is the AVS I used.
DirectShowSource("I:\DVD2_09.vob",fps=29.97000002997,audio=false)
Load_Stdcall_Plugin("C:\Program Files\megui\tools\yadif\yadif.dll")
Yadif(order=1)
#crop
#resize
#denoiseThe profile I used is from SharkTooth, Unrestricted 2pass Anime_Toons Insane

Kurtnoise
29th November 2008, 21:00
you have to create a d2v file (in the d2v creator) instead of loading directly the vob file...

nok32
29th November 2008, 21:13
could you upload a vob sample of your source ?

sure!
http://www.mediafire.com/download.php?z3vewddz2mm
thanks for helping.

NiGHTsC
29th November 2008, 22:04
you have to create a d2v file (in the d2v creator) instead of loading directly the vob file...
hm, d2v...could this be done in a batch?
cause I have at least 10 VOBs to encode, that's why I used AVS and lmx264GUI.

Thanx again.

Taurus
29th November 2008, 23:22
sure!
http://www.mediafire.com/download.php?z3vewddz2mm
thanks for helping.
Pretty noisy and distorted your source.
If you dont care to much on sharpness, try "Heavy Noise" (Convolution3D) in AVS Creator and set "Mmeg2 Deblocking".
You can even try to manually set "cpu=6" in the editor.
Read the DGIndex manual about this switches.
It gets a little blurry this way, but at crf=18 I've got your source down to 33% @full resolution.
Or give other avisynth filters a chance...:p

nok32
30th November 2008, 03:36
thanks taurus,

would convolution3d + crf=18 give better results than spline36 + crf=22? i don't have the convolution3d filter installed, but i am getting about 34% using the 'fast' CQ preset, spline36, heavy filter and deblocking.

i am wondering if a 2-pass encode might not be better for such grainy film, though. any advice on CQ vs. 2-pass, when it comes to this sort of film?

Kurtnoise
30th November 2008, 08:00
hm, d2v...could this be done in a batch?

check the box "on completion load all files" if those files are the same movie...

Taurus
30th November 2008, 12:50
would convolution3d + crf=18 give better results than spline36 + crf=22? i don't have the convolution3d filter installed, but i am getting about 34% using the 'fast' CQ preset, spline36, heavy filter and deblocking.

Heavy Noise = convolution3d("movielq")
Spline36 is just a resizer
I'm not into old scratchy films, so maybe you can gather some more help in the AviSynth section in this forum?
It was just a shot in the dark from my side.
Try your sample with different settings and see what pleases you most.
And of course the duration of this film matters.
Without further information on the sbject I would say, stay close to 1.5gb on this source.
As a sidenote: Fantasic how x264 works on this grainy, scattered source!

Richardw322
30th November 2008, 17:26
ac3acm codec is what u need.

Thanks for the tip. I became obsessed with hgetting this to work yesterday. After installing the AC3ACM codec, I ran it through VirtualDub, and copied AVI to AVI. The new AVI file went through MEGUI like a champ.

NiGHTsC
1st December 2008, 02:15
check the box "on completion load all files" if those files are the same movie...
It seems that as long I use D2V the video would be fine even without that interlace options in AVS...
but it just can't load files in a batch, unfortunately ><!!
that "on completion load all files" simply load the video into AVS, that's all.

so the conclusion is, if I want to do it with D2V, I have to load videos one by one and with MeGUI until lmx264GUI support D2V?

nok32
1st December 2008, 02:54
Heavy Noise = convolution3d("movielq")
Spline36 is just a resizer
I'm not into old scratchy films, so maybe you can gather some more help in the AviSynth section in this forum?
It was just a shot in the dark from my side.
Try your sample with different settings and see what pleases you most.
And of course the duration of this film matters.
Without further information on the sbject I would say, stay close to 1.5gb on this source.
As a sidenote: Fantasic how x264 works on this grainy, scattered source!

i used the heavy noise filter and the 'balanced' 2-pass preset (@ 1500kbps, 1.5gb total filesize) and the film looks pretty good. i think using CQ is too sensitive to the grain and assumes that it needs a super-high bitrate, so 2-pass turns out to be a better option for older grainier material when filesize is an issue. or at least, that is my n00b conclusion. in any case, i am happy with the results i have. thanks!

MrVideo
1st December 2008, 18:23
@MrVideo: i dont know why you have problems with HD videos but sincerely, i dont understand why you care about AR when you dont need to singnal the AR or use 1:1...

If the selection has no bearing on encoding 1080i to 720p H.264 or 720p MPEG-2 to H.264, then I won't worry about it and ignore that it likes to choose PAL.

I'll just ignore it and do the encoding.

What I, and the other poster, would like fixed is the grayed text in the status GUI. There is nothing wrong with our monitors. Gray text is gray text and there isn't any reason for it to be gray. Please change the status GUI output so that all of the boxes have black text. It will be greatly appreciated.

Thanks.

citanuL
2nd December 2008, 02:18
@citanuL: zones options are available in the main form. otherwise you can specify the needed encoder switches/options in the custom commandline box.

Maybe I wasn't specific enough. For instance, how would I greyscale a 1min portion in the middle of a 3min video? MeGUI doesn't seem to respect those zone settings of my installed XviD. Could you please ellaborate or explain "main form." or point me in direction to find more info on custom commandline box usage.

MrVideo
2nd December 2008, 16:58
If the selection has no bearing on encoding 1080i to 720p H.264 or 720p MPEG-2 to H.264, then I won't worry about it and ignore that it likes to choose PAL.

Turns out the aspect ratio does need to be correctly determined. Here is why. The correct aspect ratio is needed in order for the recommended resize ratio to work.

For example, by default MeGUI thinks that 1080i video is PAL. So, when I turn on resize and put 1280 in the left box and click on recommended, it puts 704 in the other value. Oops.

One must have the correct aspect ratio, so this really does need to be fixed so that other options in the same GUI works correctly.

It knows that it is 1080 HD video, so obviously it is 1.78:1 (industry standard is not 1.778:1). How difficult is it to add 1.78:1 to the main list, and have it automatically detect that ratio?

Snowknight26
3rd December 2008, 01:14
When I open any avs twice (by either dragging/dropping, clicking the ... [browse] button twice and/or using the reset button) in MeGUI then try to add an audio track to the bitrate calculator, MeGUI freezes.

invy
4th December 2008, 04:58
BUG:
When trying to mux into mp4, the damn mp4box thing always generates an error when it reaches 100% and finishes. The resulting file is perfectly OK, but it's damn annoying still because it doesn't advance to the next job in the queue, because I have to click the Microsoft's "Don't Send" box first.

This happens on and off, but mostly "on". It seems to have to do with a certain component that is outdated or something because if it happens at all, it usually happens after using the updater.

~bT~
4th December 2008, 09:56
BUG:
When trying to mux into mp4, the damn mp4box thing always generates an error when it reaches 100% and finishes. The resulting file is perfectly OK, but it's damn annoying still because it doesn't advance to the next job in the queue, because I have to click the Microsoft's "Don't Send" box first.

This happens on and off, but mostly "on". It seems to have to do with a certain component that is outdated or something because if it happens at all, it usually happens after using the updater.it happens due to spaces in the filename.

nurbs
4th December 2008, 15:09
I have spaces in my filenames and that never happended to me.

drewcifer
4th December 2008, 21:35
Anytime I encode from a .ts file (1080i/720p) to .mkv and I run media info it always tells me the audio is longer than the video. It always seems to be in sync if I skip thru the file so I don't understand. Can anyone tell me why it does that? Here is an example:

General
Complete name : U:\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-muxed.mkv
Format : Matroska
File size : 2.07 GiB
Duration : 41mn 23s
Overall bit rate : 7 163 Kbps
Encoded date : UTC 2008-12-04 20:13:12
Writing application : mkvmerge v2.4.0 ('Fumbling Towards Ecstasy') built on Oct 11 2008 20:13:15
Writing library : libebml v0.7.7 + libmatroska v0.8.1

Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Muxing mode : Container profile=Unknown@4.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 41mn 20s
Bit rate : 6 487 Kbps
Nominal bit rate : 6 775 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.307
Writing library : x264 core 65 r1046M 71d34b4
Encoding settings : cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=umh / subme=7 / psy_rd=1.0:0.0 /
mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=2 / deadzone=21,11 / chroma_qp_offset=-4 / threads=6 / nr=0 /
decimate=1 / mbaff=0 / bframes=2 / b_pyramid=1 / b_adapt=2 / b_bias=1 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 /
scenecut=40(pre) / rc=2pass / bitrate=6775 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 /
ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.50
Language : English

Audio
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 41mn 23s
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Rear: L R, LFE
Sampling rate : 48.0 KHz


Maybe the answer is here, but I (and prolly no one else) really don't have time to read 160+ pages.

Thanks in advance...

fields_g
5th December 2008, 01:37
BUG:
When trying to mux into mp4, the damn mp4box thing always generates an error when it reaches 100% and finishes. The resulting file is perfectly OK, but it's damn annoying still because it doesn't advance to the next job in the queue, because I have to click the Microsoft's "Don't Send" box first.

This happens on and off, but mostly "on". It seems to have to do with a certain component that is outdated or something because if it happens at all, it usually happens after using the updater.

You might try this workaround.... Right click on 'My Computer', properties, 'advanced' tab, Error Reporting. Disable error reporting and disable notify me of critical errors.

Really shouldn't have to do this in the first place, but might help you out until we find out what is wrong with megui / your system.

Shropp
5th December 2008, 04:59
I have already transcoded\ 4.1 m2ts and mkv files that need bars added to them

I use AVIsynth
and all I do is addborders (0,140,0,140)

and it works but I just wanna know what the best encoder setting is to convert an outcome of the same quality?
i dont want to loose quality, nor am i concerned about gaining any.

I just want similar sized file same quality as fast as possible
which (pre loaded) encoder settings should i use?, or new scratchpad anything?

invy
6th December 2008, 22:42
You might try this workaround.... Right click on 'My Computer', properties, 'advanced' tab, Error Reporting. Disable error reporting and disable notify me of critical errors.

Really shouldn't have to do this in the first place, but might help you out until we find out what is wrong with megui / your system.
Thanks. I'll do that but, it happens on all 3 of my computers, which made me believe it had to do with a certain megui component that was outdated or something.

And to the other guy, I never use spaces in my file names, so I don't really think it's that.

Rodger
7th December 2008, 00:15
Hi Guys,

I´m really done with my ideas....
I tried everything that came to my mind.

Whatever I encode in XVID comes out as 4:3 video.
Just switching to X264 and everything is fine again!

Any ideas? More Information needed?
Hope It´s just a common user-fault.... :confused:

Nightshiver
7th December 2008, 04:22
Encode with x264.... why would you use XVID anyway?

73ChargerFan
7th December 2008, 05:22
Encode with x264.... why would you use XVID anyway?
Perhaps to use on a DivX compatible dvd player? :devil:

SynchronousArts
9th December 2008, 00:02
I had posted an issue with ProRes sources here:
http://forum.doom9.org/showthread.php?p=1179169#post1179169

There's an update to the QTInput dll from tateu to seems to fix this.
http://forum.doom9.org/showthread.php?p=1221305#post1221305

Thanks to tateu for the updated, fixed dll and to Sharktooth
for helping me with this.

SA

simonhowson
9th December 2008, 15:36
Hi,

I'm trying to encode a Lagarith 1.3.19 compressed AVI file using MeGUI, but when I load the file in the AviSynth Script Creator, MeGUI crashes.

Do I need to have another filter installed to get this to work?

I also tried loading the same file as an uncompressed AVI (exported from Nero Vision) but the same thing happens, MeGUI crashes.

I installed XviD, but that didn't work.

n3vv
10th December 2008, 09:21
hi

when i use textsub("txt.ssa"), megui takes instantly 50%CPU, enconding works, but if i want to close the video preview window, megu crashes. it does not happen without using textsub

simonhowson
10th December 2008, 12:38
Hi,

I'm trying to encode a Lagarith 1.3.19 compressed AVI file using MeGUI, but when I load the file in the AviSynth Script Creator, MeGUI crashes.

Do I need to have another filter installed to get this to work?

I also tried loading the same file as an uncompressed AVI (exported from Nero Vision) but the same thing happens, MeGUI crashes.

I installed XviD, but that didn't work.

I found an old thread saying Microsoft Groove can cause AVIs to not load on Vista. I uninstalled it, and now it works!

Sharktooth
10th December 2008, 17:27
@n3vv: i use textsub regularly and it does not crash on my side.
check your filter version, ensure it is the latest one.

HaraldBluetooth
10th December 2008, 19:47
Is it true, that MeGui/x264.exe/xvid_encraw.exe don't work with my rather old 3.2 GHz Pentium 4 Northwood, stepping 9, Rev. D1 HyperThreading processor, if I set the "Threads" parameter to 0 (=Auto) or 2 in the configuration.

I have tried for several days now to downsize a 720p x264 video and every time the encoding has finished before it really was done.

Then finally I tried to set the Threads parameter to 1 and the encoding finished without error. With this parameter the CPU only reaches an average of 60-70%.

I've logs and other further details if it should be necessary.

Sharktooth
10th December 2008, 21:09
dunno where you heard it... but no it's not true.
probably you have a CPU overheating problem.

HaraldBluetooth
10th December 2008, 22:53
no I havn't heard that - but my cpu is under 50 degree celtius under full load - so I doubt that it's a heating problem. I've only this problem when the threads parameter is set to auto and 2 - and I get a System/Application error:

Faulting application x264.exe, version 0.0.0.0, faulting module x264.exe, version 0.0.0.0, fault address 0x000faf5c.

I've tried to uninstall MeGui and reinstall again without luck.

MeGUI Version : 0.3.0.3011
OS : Microsoft Windows XP Professional SP3 (5.1.196608.2600) Danish version
Framework used : 2.0 SP1 (2.0.50727.1433)

Any other suggestions?

HaraldBluetooth
10th December 2008, 23:16
Here you can see one of the logs:

[Information] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.0.3011
--[NoImage] OS : Microsoft Windows XP Professional SP3 (5.1.196608.2600)
--[NoImage] Framework used : 2.0 SP1 (2.0.50727.1433)
-[Information] Hardware
--[NoImage] CPU : Intel(R) Pentium(R) 4 CPU 3.20GHz
-[Information] AutoEncode job generation log
--[NoImage] Split Size : null
--[Information] Eliminating duplicate filenames
---[NoImage] Video output file: R:\Temp\MeGui\On.the.Waterfront.1954.MeGui cq19 x264.264
---[NoImage] Muxed output file: R:\Temp\MeGui\On.the.Waterfront.1954.MeGui cq19 x264-muxed.mp4
---[NoImage] Encodable audio stream 0: R:\Temp\MeGui\On.the.Waterfront.1954.MeGui cq19 aac.m4a
-[Information] Log for job1 (audio, On.the.Waterfront.1954.HDTV.720p.x264-iLL.mkv -> On.the.Waterfront.1954.MeGui cq19 aac.m4a)
--[Information] [10-12-2008 12:14:23] Started handling job
--[Information] [10-12-2008 12:14:23] Preprocessing
--[NoImage] Avisynth script
---[NoImage] DirectShowSource("R:\Temp\MeGui\On.the.Waterfront.1954.HDTV.720p.x264-iLL.mkv")
---[NoImage] EnsureVBRMP3Sync()
---[NoImage] ConvertAudioToFloat()
---[NoImage] Normalize()
---[NoImage] ConvertAudioTo16bit()
---[NoImage] return last
--[NoImage] Commandline used: -ignorelength -lc -br 192000 -if - -of "{0}"
--[Information] [10-12-2008 12:14:23] Encoding started
--[Information] [10-12-2008 12:14:23] Encode thread started
--[Information] [10-12-2008 12:14:23] Avisynth script environment opened
--[Information] [10-12-2008 12:14:24] Script loaded
--[Information] Input
---[NoImage] Channels: 2
---[NoImage] Bits per sample: 16
---[NoImage] Sample rate: 48000
--[NoImage] Commandline: C:\Programmer\megui\tools\NeroAAC\neroAacEnc.exe -ignorelength -lc -br 192000 -if
- -of "R:\Temp\MeGui\On.the.Waterfront.1954.MeGui cq19 aac.m4a"
--[Information] [10-12-2008 12:14:24] Encoder process started
--[NoImage] Output from encoder via stderr
---[NoImage] *************************************************************
---[NoImage] * *
---[NoImage] * Nero AAC Encoder *
---[NoImage] * Copyright 2008 Nero AG *
---[NoImage] * All Rights Reserved Worldwide *
---[NoImage] * *
---[NoImage] * Package build date: Sep 17 2008 *
---[NoImage] * Package version: 1.3.3.0 *
---[NoImage] * *
---[NoImage] * See -help for a complete list of available parameters. *
---[NoImage] * *
---[NoImage] *************************************************************
--[Information] [10-12-2008 12:22:47] Postprocessing
---[Information] Deleting intermediate files
--[Information] [10-12-2008 12:22:47] Job completed
-[Information] Log for job2 (video, On.the.Waterfront.1954.HDTV.720p.x264-iLL.avs -> On.the.Waterfront.1954.MeGui cq19 x264.264)
--[Information] [10-12-2008 12:22:47] Started handling job
--[Information] [10-12-2008 12:22:47] Preprocessing
--[NoImage] Job commandline: "C:\Programmer\megui\tools\x264\x264 revision1046.exe" --crf 19.0 --ref 3 --bframes 16 --deblock -1:-1 --subme 5 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --threads 2 --thread-input --sar 1:1 --progress --no-psnr --no-ssim --
--output "R:\Temp\MeGui\On.the.Waterfront.1954.MeGui cq19 x264.264" "R:\Temp\MeGui\On.the.Waterfront.1954.HDTV.720p.x264-iLL.avs"
--[Information] [10-12-2008 12:22:48] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
---[NoImage] avis [info]: 704x400 @ 23.98 fps (154970 frames)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2 Cache64
---[NoImage] x264 [info]: profile High, level 3.0
--[Information] [10-12-2008 12:35:45] Job completed

As you can see the under the CPU capabilities, there is written MMX2 and to my knowledge my CPU only supports MMX, not MMX2 - could that be the unknown factor??

Dark Shikari
10th December 2008, 23:22
As you can see the under the CPU capabilities, there is written MMX2 and to my knowledge my CPU only supports MMX, not MMX2 - could that be the unknown factor??A Pentium 4 without MMX2 would be quite an amazing artifact... ;)

HaraldBluetooth
11th December 2008, 01:21
It could be that I'm wrong - you should be the expert;) - I'm just a noviceguy with an old processor.

Here som data from VCPUID:

[ WCPUID Version 3.3 (c) 1996-2004 By H.Oda! ]

Processor #1 : Intel Pentium 4 / 5DB9D9DE
Platform : Socket478 (mPGA478 Socket)
Vendor String : GenuineIntel
CPU Type : Original OEM Processor (0)
Family : 15 (0)
Model : 2 (0)
Stepping ID : 9 (-)
Brand ID : 9 (-)
APIC : 0
HT Log.CPU Cnt : ----
Name String : Intel(R) Pentium(R) 4 CPU 3.20GHz

Internal Clock : 3192.66 MHz
System Bus : 798.17 MHz QDR
System Clock : 199.54 MHz
Scalable Speed : 200.00 MHz
Multiplier : 16.0

L1 I-Cache : ----
L1 D-Cache : 8K Byte
L1 T-Cache : 12K uOps
L1 Cache : ----
L2 Cache : 512K Byte
L2 Speed : 3192.66 MHz (Full)

MMX Unit : Supported
SSE Unit : Supported
SSE2 Unit : Supported
SSE3 Unit : Not Supported
MMX2 Unit : Not Supported
3DNow! Unit : Not Supported
3DNow!+ Unit : Not Supported

Host Bridge : 8086:2570.02 [Intel 865G/PE/P/GV/848P]
IDE Controller : 8086:24DB.02 [Intel 82801EB (ICH5)]
VGA Device : 10DE:00F5.A2 [NVIDIA GeForce 7800 GS]
Memory Size : 2048M Byte
Memory Clock : ----

OS Version : Windows XP Version 5.1.2600 Service Pack 3
-------------- : -----------------------------------
StdFunc 0 : 00000002 756E6547 6C65746E 49656E69
StdFunc 1 : 00000F29 00020809 00004400 BFEBFBFF
StdFunc 2 : 665B5001 00000000 00000000 007B7040
ExtFunc 0 : 80000004 00000000 00000000 00000000
ExtFunc 1 : 00000000 00000000 00000000 00000000
ExtFunc 2 : 20202020 20202020 20202020 6E492020
ExtFunc 3 : 286C6574 50202952 69746E65 52286D75
ExtFunc 4 : 20342029 20555043 30322E33 007A4847
00000017h : 000A0000 00000000 00000000 00000000
0000001Bh : 00000000 FEE00900 00000000 00000000
0000002Bh : 00000000 0000008E 00000000 00000000
0000002Ch : 00000000 10120010 00000000 00000000
000001A0h : 00000000 00000089 00000000 00000000

##--- Date 12/11/2008, Time 01:16:30 / 2.0.0.4

I could still be wrong:confused:

HaraldBluetooth
11th December 2008, 02:16
Are the resize filters made with MMX2 or SSE2 instructions or something else??

I'm just seeking in the dark of an unknown world for me....

Sharktooth
11th December 2008, 02:54
if x264 crashes is not a megui problem.
you better post your problem in the avc forum.

HaraldBluetooth
11th December 2008, 04:00
Hi Sharktooth - I understand what you are saying - but who identifies the cpu and who is raising the MMX2 flag?? -
and I know you are one of the code gurus in this forum - could you please advise me - if it's not a MeGui problem - do you know which other programs/filters MeGui uses/calls, that could use these MMX2 instructions, because I've also had crashes with xvid_encraw.exe and ffmpeg.exe.

laserfan
11th December 2008, 04:54
Is it true, that MeGui/x264.exe/xvid_encraw.exe don't work with my rather old 3.2 GHz Pentium 4 Northwood, stepping 9, Rev. D1 HyperThreading processor, if I set the "Threads" parameter to 0 (=Auto) or 2 in the configuration.I have that exact CPU and everything you mentioned works. So I'd suspect a system problem first e.g. memory or mobo--are you able to run MemTest86, Prime95 etc. without errors?

HaraldBluetooth
11th December 2008, 07:13
Hi laserfan - that sounds pretty good!

I've reinstalled Windows XP 14 days ago with all drivers, servicepacks updated and I've just got new RAM - I've run Memtest86 without problems.

I don't get errors in other programs, but then again none of them are stretching my system as much as video encoding.

May I ask you about you have downsized a 780p x264 video and what are the cpu capabilities in your log and which filter did you use?

I'll give Prime95 a try.

n3vv
11th December 2008, 13:42
@Sharktooth: i use vsfilter 1.0.1.3, to clarify megui crashes only when i want to close the video preview window, without closing the video preview window I can do everything as usual except that the megui.exe process takes half of the cpu

Sharktooth
11th December 2008, 16:46
Hi Sharktooth - I understand what you are saying - but who identifies the cpu and who is raising the MMX2 flag??
x264. megui doesnt even care about CPU instruction sets.
and I know you are one of the code gurus in this forum - could you please advise me - if it's not a MeGui problem - do you know which other programs/filters MeGui uses/calls, that could use these MMX2 instructions, because I've also had crashes with xvid_encraw.exe and ffmpeg.exe.
i guess xvid_encraw and ffmpeg crash for the same reason.
however, there is something wrong with your system. you CPU should have MMX2.

P.S.: im not such a code "guru" btw...

n3vv
11th December 2008, 18:07
hey, i was mislead by the project's homepage at sourceforge, it does not have the newest version of the vsfilter, i've found a newer one (1.0.1.5) somewhere else and now everything is fine, thx

Sharktooth
11th December 2008, 18:10
that's why i said "ENSURE it is the latest one..."

Nightshiver
11th December 2008, 21:09
Sharky, I'm still having problems with mencoder. I have no idea why it's just me. The versions/builds I've currently used are:

26924
27770
27323
27811
27305
27743

And none of them work. I had just recently replaced mencoder again with 27770 and for 1 encode, it was fine. But when I tried to do a second one, it crashed. I'm just totally clueless and annoyed at why this is happening. I have also tried uninstalling/re-installing MeGUI also.

I just saw on the sf page that mencoder has finally been updated since October to a brand new December 11 28126 version, and I will try this one. Hope it works....

laserfan
11th December 2008, 21:39
Here you can see one of the logs:

---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2 Cache64
---[NoImage] x264 [info]: profile High, level 3.0
--[Information] [10-12-2008 12:35:45] Job completed

As you can see the under the CPU capabilities, there is written MMX2 and to my knowledge my CPU only supports MMX, not MMX2 - could that be the unknown factor??
My x264 log (for my P4 3.2GHz Northwood) shows the same MMX2.

I suspect your problem is not with the P4 or x264 at all, and if it's not hardware, then either your source or your decoding method is encountering something that aborts.

Sorry I don't use MeGUI so can't help further. But I would try a completely different source.

Another idea is to try RipBot264 on your source to see if you get a crash with it (simpler even than MeGUI).

HaraldBluetooth
12th December 2008, 00:45
Sharktooth - I've investigated a little further about The Mystic Mr. MMX2.

MMX was introduced in 1997 in their Pentium line.

AMD enhanced Intel's MMX with 3DNow! in 1998 and as an answer to that Intel introduced the SSE extension in 1999.

With the introduction of Pentium 4 CPUs in 2001, Intel introduced the SSE2 and SSE3 instruction sets to accelerate
calculations, transactions, media processing, 3D graphics, and games. They also integrated Hyper-threading.

No official sources mention anything about MMX2 in combination with any of Intel's processors.

So I'm not so worried about that anymore, because you can't give instructions to something, that don't exists. It must
be an internal developer term for something else. I've have also seen this term (mis)used in old FFDShow and Mplayer
developer threads, but where this term originally is born, may hang in the balance.

For my crashes I must look somewhere else - it could be the source, hardware related or conflicting software or other things.

I got my source downsized with 1 thread and got my system torture tested with Prime95 without errors, that is really something.

:thanks: to Sharktooth (not such a code "guru" - that was good :D) and laserfan for your kind answers and suggestions.

Dark Shikari
12th December 2008, 01:05
Sharktooth - I've investigated a little further about The Mystic Mr. MMX2.

MMX was introduced in 1997 in their Pentium line.

AMD enhanced Intel's MMX with 3DNow! in 1998 and as an answer to that Intel introduced the SSE extension in 1999.

With the introduction of Pentium 4 CPUs in 2001, Intel introduced the SSE2 and SSE3 instruction sets to accelerate
calculations, transactions, media processing, 3D graphics, and games. They also integrated Hyper-threading.

No official sources mention anything about MMX2 in combination with any of Intel's processors.

So I'm not so worried about that anymore, because you can't give instructions to something, that don't exists. It must
be an internal developer term for something else.MMX2 is also known as MMXEXT, also known as iSSE (Integer SSE).

MMX2 was introduced on the Pentium 3 line of CPUs and is also present on the Athlon K7.

HaraldBluetooth
12th December 2008, 01:37
MMX2 is also known as MMXEXT, also known as iSSE (Integer SSE).

MMX2 was introduced on the Pentium 3 line of CPUs and is also present on the Athlon K7.

Now we are talking - this is the programmers own name/alias for the 19 new MMX instructions, which are a subset of Intel's SSE1 instruction set and not a intel cpu capability as such.

squid_80
12th December 2008, 02:14
It's not strictly made up by programmers, it came from the AMD K7s which featured "AMD Extensions to MMX Instructions" (different from 3DNow). The Pentium 3s had SSE which implied the same capabilities.

HaraldBluetooth
12th December 2008, 02:33
Thanks for the clarification Dark Shikari and squid_80, but it was a little confusing/misleading to a novice as me, that the program writes this MMX2 as a cpu capability in the log, when it really is a subset of the Intel SSE instruction set.

What do farmers know about cucumbers, as we say in Denmark :D

Dark Shikari
12th December 2008, 02:44
Thanks for the clarification Dark Shikari and squid_80, but it was a little confusing/misleading to a novice as me, that the program writes this MMX2 as a cpu capability in the log, when it really is a subset of the Intel SSE instruction set.

What do farmers know about cucumbers, as we say in Denmark :DIt's rather misleading to call it SSE instructions... when it doesn't work on SSE registers.

So most developers use AMD's terminology for it.

Note, by the way, that x264 actually requires MMX2 to run (you can't run it on a pre-MMX2 machine without compiling it with --disable-asm).

HaraldBluetooth
12th December 2008, 03:05
It's rather misleading to call it SSE instructions... when it doesn't work on SSE registers.

So most developers use AMD's terminology for it.

Note, by the way, that x264 actually requires MMX2 to run (you can't run it on a pre-MMX2 machine without compiling it with --disable-asm).

You mean SSE, when you are talking to a guy like me with an old Intel processor.

Dark Shikari
12th December 2008, 03:10
You mean SSE, when you are talking to a guy like me with an old Intel processor.But x264 works on K7, which doesn't have SSE ;)

HaraldBluetooth
12th December 2008, 03:19
Yes ordinary users are from Mars , video developers are from Venus :p

Sharktooth
12th December 2008, 03:34
Sharky, I'm still having problems with mencoder. I have no idea why it's just me. The versions/builds I've currently used are:

26924
27770
27323
27811
27305
27743

And none of them work. I had just recently replaced mencoder again with 27770 and for 1 encode, it was fine. But when I tried to do a second one, it crashed. I'm just totally clueless and annoyed at why this is happening. I have also tried uninstalling/re-installing MeGUI also.

I just saw on the sf page that mencoder has finally been updated since October to a brand new December 11 28126 version, and I will try this one. Hope it works....
dont know what to tell. i included 27770 i the megui autoupdate and, as the previous version, works here.
without the possibility to reproduce the crash i can do almost nothing.
im sorry but you have try to debug the crash on your side.
or, if you find a working recent version, tell me and i will include it in the megui autoupdate.

chros
15th December 2008, 12:12
Is it possible that the update servers are down ?

I have a fresh install from sf.net, and I couldn't update megui (3.0.3009) ...

Thanks

Kurtnoise
15th December 2008, 15:46
yes, it's down...just wait a couple of hours.

SacredCultivator
15th December 2008, 16:44
Sorry to linkback here but in my Thread Here (http://forum.doom9.org/showthread.php?t=143501), people were saying that it was x264's doing... So I thought I would post it in this thread to see if I can get more opinions on this. As I'm trying to stic with Single-Pass Constant Quality encoding in a .mp4 container. And was wanting to try to get the Subtitles (.ass) to display as clearly as possible in the video.

A few people there mentioned that it had to do with x264 dev. and someone else PM'ed me about this so I thought I would be curious and ask.

Thanks.

Sharktooth
15th December 2008, 17:43
are you sure you linked the correct thread?!?

SacredCultivator
15th December 2008, 17:45
Ah, sorry about that, link fixed.

-Link (http://forum.doom9.org/showthread.php?t=143501)

Sharktooth
15th December 2008, 18:14
pixelation around subs is probably due to AQ. lower the Adaptive Quant. strength or disable it and see if it gets better.
however, yes, it is related to x264, not the gui.

SacredCultivator
15th December 2008, 18:21
@Sharktooth: Okay I'll post back results with it lowered from 1.0 to .05, and another for Disabled.

Oh btw, should I have the Deblocking enabled at 0,0? Or disabled?

Sharktooth
15th December 2008, 18:31
deblockin should be ALWAYS enabled in h.264. it's an inloop deblocking that's different than ASP (xvid, divx, etc...) deblocking.

SacredCultivator
15th December 2008, 18:35
Oh alrights, but for general purposes, 0,0 usually does the job right? As I'm not too familiar with what the + / - values do.

Sharktooth
15th December 2008, 19:13
0,0 is the default value. so it means it is ok for general purpouses.
i personally prefer -1,-1 or -2,-1... but that's a matter of taste.

SacredCultivator
15th December 2008, 19:17
Okay, I shall try that out along with disabling AQ. And will post back.

---
EDIT:
Okays finished and I have to admit, this definitely helped greatly, as the subs look quite seamless in the video... Although the filesize has increased by roughly 30MB's, so gonna try again with a .5 AQ and see what that does.

(Mind I communicate withy ou via MSN? {Added you})

krosswindz
15th December 2008, 21:02
I just upgraded my MeGUI to the latest version and I started to notice this error. Not sure if this is an xvid_encraw or MeGUI issue.

http://forum.doom9.org/showpost.php?p=1224368&postcount=417

Sharktooth
16th December 2008, 02:57
Okay, I shall try that out along with disabling AQ. And will post back.

---
EDIT:
Okays finished and I have to admit, this definitely helped greatly, as the subs look quite seamless in the video... Although the filesize has increased by roughly 30MB's, so gonna try again with a .5 AQ and see what that does.

(Mind I communicate withy ou via MSN? {Added you})
i tend to not use IMs lately.

Sharktooth
16th December 2008, 02:57
I just upgraded my MeGUI to the latest version and I started to notice this error. Not sure if this is an xvid_encraw or MeGUI issue.

http://forum.doom9.org/showpost.php?p=1224368&postcount=417
it's the xvid core that's crashing. let's continue on the other thread.

SacredCultivator
16th December 2008, 03:06
@Sharktooth: That's fine, as I found sorta a balance between the two (clear subs + quality).

But I was doing a few 'final' encodes to finalize my new settings and couldn't help but ask...

Apart from Encoding Time, do the number of:
Number of Reference Frames: (I use 5), and I tried 16, but not too sure what benefits that brings.
Number of B-Frames: (I use 5), and I tried 16, but again same as before.
^Basically not sure if making it any higher is worth it

And I'm just gonna leave the AQ at .5, trellis at 2, Psy-RD Stength at 1, and Psy-Trellis Strength at 0

(Not too sure if the M.E. Range matters much, but using 32.)

Sharktooth
16th December 2008, 03:14
"Apart from Encoding Time, do the number of: blah blah"... what? what's the question?

SacredCultivator
16th December 2008, 03:17
Oh sorry misworded it... Basically for the Ref. Frames/B-Frames, if I'm using a setting of 5, if I changed to anythign higher, is there much 'use' of it as I know anything higher just increases encoding time.

Sharktooth
16th December 2008, 03:38
anything higher increases encoding time AND compression (that usually means also quality).
the problem is the quality increase is NOT proportional to the time increase.
at some point, to obtain a 1% more quality it will take something like some hundreds % encoding time...

SacredCultivator
16th December 2008, 03:42
Gotcha, then I'll just leave the Ref at 5, and B-Frames at 4 then.

Sharktooth
16th December 2008, 03:46
good choice :)

carlo_0000
17th December 2008, 00:40
hello

i udate megui to 3.0.3012

but sins i got an error with D2V project creator

"megui cannot find audio track information, audio tracks selection will be disable"

what's wrong ?, i tested more video's so it s not my input video what as a problem

does i need to update AviSynth 2.5 or something else ?
i m under vista 64

Sharktooth
17th December 2008, 04:43
i cant check it right now, but it sounds weird.
ill have a look at it tomorrow.

Kurtnoise
17th December 2008, 09:18
hello

i udate megui to 3.0.3012

but sins i got an error with D2V project creator

"megui cannot find audio track information, audio tracks selection will be disable"

what's wrong ?, i tested more video's so it s not my input video what as a problem

what kind of video files did you try ? vob ? mpg ? ts ?

Sharktooth
17th December 2008, 15:35
i assumed it was a dvd source... if not, then that message has a meaning...

dbzj14
18th December 2008, 15:14
I am having a problem with the video's I encode with MeGUI. The encodes I produce look fine, but they take forever to load in vlc or any other media player. Am I doing something wrong in the encoding that makes my encodes take 15+ seconds to load videos 22 minutes long? I'll compare my encode to someone else's of the same episode and their's will load instantly while mine just sits there for a minute. Any help would be greatly appreciated.

Sharktooth
18th December 2008, 15:17
no idea, and pretty weird. just compare the settings and x264 versions used from the other encodes and yours.

nurbs
18th December 2008, 15:57
mkvs produced by x264 take long to load, but since you probably mux them with audio later i doubt that is the problem.

Sharktooth
18th December 2008, 16:21
infact. maybe the problem is mkvmerge. ill update it ASAP.

nurbs
18th December 2008, 16:30
Just to clarify, the mkvs x264.exe outputs take long to load. IIRC akupenguin posted that it has something to do with them being written on the fly, so they are somewhat different from those produced by mkvmerge. Since audio is muxed anyway later this is usually not a problem. I don't have long load times if I mux them with megui.

tfa
18th December 2008, 16:34
mkvs produced by x264 take long to load, but since you probably mux them with audio later i doubt that is the problem.

I've noticed this too. If i encode a video to x264 and set megui to make it an mkv without any audio, the video often takes forever to load and seek. As soon as the mkv is remuxed with the audio, it works fine.

Sharktooth
18th December 2008, 16:56
that's why, in that case, the output comes directly from x264. while if you add an audio track, then megui invokes mkvmerge to remux.
ok, i think we've got a winner then... there's some mkv output problem in x264.

squid_80
18th December 2008, 17:48
It's not really a bug, the mkv files are spec compliant but they don't have complete size or seek info (I forget what the proper name is for matroska). xvid_encraw's output mkv files are similar.

Sharktooth
18th December 2008, 17:54
ok. so i assume it's better to ALWAYS remux with mkvmerge.

TheTooleMan
19th December 2008, 03:27
I just spent a couple of hours trying to get MeGUI to run a script with the greyscale option turned on. The greyscale checkbox is sitting plain as day on the Xvid configuration dialog, but I finally figured out that checking that box was causing my jobs to fail. "Grey" is not on the list of options that dumps out in the "standard error stream" in the log. So what's it doing in the configuration dialog? If that's a part of MeGUI, and not coming from Xvid, then could it either be removed or (preferably) turned on?

I found in the closed "MeGUI bugs" thread a couple of references to the missing greyscale parameter dating back to 2006, so I'd say it's about time to address this one. (Say, why is that "bugs" thread closed - have all the bugs been fixed? :rolleyes: )

I also found the entries in the "xvid_encraw - Patched with AviSynth input support" forum that describe how to use zones for greyscale, but it looks like a convoluted work-around. Could we just have a working checkbox and a parameter that works instead?

Kurtnoise
19th December 2008, 08:44
explain in what it fails your jobs...because command lines are not dumped to the stderr.

Capsbackup
19th December 2008, 14:54
I recently tried to reencode a Blu-Ray .m2ts to .x264 to fit on a BD-5 disc with MeGui and the AVCHD-standalone .x264 profile. However, I forgot to change the container setting to RAWAVC so it encoded with the default .mp4 setting. Bummer!! Can I convert this .mp4 to .x264 without reencoding and not screw it up? It takes quite some time for a 2-pass encoding. If I have to reencode, can I perform just the 2ND pass since I have the .stats file that was generated from MeGui? Any help or guidance will be much appreciated.

Kurtnoise
19th December 2008, 15:00
just extract the raw stream from the mp4 within yamb...

Capsbackup
19th December 2008, 15:33
Thanks Kurtnoise13, saved me hours!! I don't know how I missed your program, but I am very greatful. Great forum, great members. I will keep learning with all your help.

TheTooleMan
19th December 2008, 17:20
explain in what it fails your jobs...because command lines are not dumped to the stderr.
I presume you're talking to me... I never saw a forum organized like this one.

This is part of the log:

--[NoImage] Job commandline: "C:\Program Files\megui\tools\xvid_encraw\xvid_encraw.exe" -i "C:\Users\My Stuff\Videos\Nveexport.avs" -pass1 "C:\Users\My Stuff\AppData\Roaming\MeGUI\stats" -bitrate 1256 -kboost 100 -chigh 30 -clow 15 -overhead 0 -turbo -max_key_interval 250 -nopacked -vhqmode 4 -qtype 1 -closed_gop -lumimasking -interlaced 1 -grey -notrellis -imin 1 -pmin 1 -max_bframes 1 -bvhq -bquant_ratio 162 -bquant_offset 0 -bmin 1 -threads 4
--[Information] [12/18/2008 7:30:27 PM] Encoding started
--[Error] An error occurred: Usage : xvid_encraw [OPTIONS]
--[NoImage] Standard output stream: xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003
--[NoImage] Standard error stream
---[NoImage] xvid_encraw built at 10:22:53 on Aug 31 2007
---[NoImage] Input options:
---[NoImage] -i string : input filename (stdin)
---[NoImage] -type integer : input data type (yuv=0, pgm=1, avi/avs=2)
---[NoImage] -w integer : frame width ([1.2048])
---[NoImage] -h integer : frame height ([1.2048])
---[NoImage] -frames integer : number of frames to encode
---[NoImage] Output options:
---[NoImage] -dump : save decoder output
---[NoImage] -save : save an Elementary Stream file per frame
---[NoImage] -o string : save an Elementary Stream,
---[NoImage] or AVI file,
---[NoImage] or MKV file,
---[NoImage] based on filename extension
---[NoImage] -avi string : save an AVI file for the complete sequence
---[NoImage] -mkv string : save a MKV file for the complete sequence
---[NoImage] BFrames options:
---[NoImage] -max_bframes integer : max bframes (2)
---[NoImage] -bquant_ratio integer : bframe quantizer ratio (150)
---[NoImage] -bquant_offset integer : bframe quantizer offset (100)
---[NoImage] Rate control options:
---[NoImage] -framerate float : target framerate (25.0)
---[NoImage] -bitrate [integer] : target bitrate (700)
---[NoImage] values <= 10000 are treated as kbit/s
---[NoImage] values > 10000 are treated as bit/s
---[NoImage] -size integer : target size in kilobytes
---[NoImage] -single : single pass mode (default)
---[NoImage] -cq float : single pass constant quantizer
---[NoImage] -pass1 [filename] : twopass mode (first pass)
---[NoImage] -full1pass : perform full first pass
---[NoImage] -pass2 [filename] : twopass mode (2nd pass)
---[NoImage] -altpass2 [filename] : twopass mode (2nd pass alt)
---[NoImage] -zq starting_frame float : bitrate zone; quant
---[NoImage] -zw starting_frame float : bitrate zone; weight
---[NoImage] -zones : see xvid_encraw -help zones
---[NoImage] -max_key_interval integer : maximum keyframe interval (300)
---[NoImage] Single Pass options:
---[NoImage] -reaction integer : reaction delay factor (16)
---[NoImage] -averaging integer : averaging period (100)
---[NoImage] -smoother integer : smoothing buffer (100)
---[NoImage] Second Pass options:
---[NoImage] -kboost integer : I frame boost (10)
---[NoImage] -kthresh integer : I frame reduction threshold (1)
---[NoImage] -kreduction integer : I frame reduction amount (20)
---[NoImage] -ostrength integer : overflow control strength (5)
---[NoImage] -oimprove integer : max overflow improvement (5)
---[NoImage] -odegrade integer : max overflow degradation (5)
---[NoImage] -chigh integer : high bitrate scenes degradation (0)
---[NoImage] -clow integer : low bitrate scenes improvement (0)
---[NoImage] -overhead integer : container frame overhead (24)
---[NoImage] -vbvsize integer : use vbv buffer size
---[NoImage] -vbvmax integer : vbv max bitrate
---[NoImage] -vbvpeak integer : vbv peak bitrate over 1 second
---[NoImage] Other options
---[NoImage] -noasm : do not use assembly optmized code
---[NoImage] -turbo : use turbo presets for higher encoding speed
---[NoImage] -quality integer : quality ([0..6]) (6)
---[NoImage] -vhqmode integer : level of R-D optimizations ([0..4]) (1)
---[NoImage] -bvhq : use R-D optimizations for B-frames
---[NoImage] -qpel : use quarter pixel ME
---[NoImage] -gmc : use global motion compensation
---[NoImage] -qtype integer : quantization type (H263:0, MPEG4:1) (0)
---[NoImage] -qmatrix filename : use custom MPEG4 quantization matrix
---[NoImage] -interlaced [integer] : interlaced encoding (BFF:1, TFF:2) (1)
---[NoImage] -nopacked : Disable packed mode
---[NoImage] -noclosed_gop : Disable closed GOP mode
---[NoImage] -lumimasking : use lumimasking algorithm
---[NoImage] -hvs_aq string : use custom adaptive quantisation equation
---[NoImage] -hvs_lmb string : use custom lambda equation
---[NoImage] -stats : print stats about encoded frames
---[NoImage] -ssim [integer] : prints ssim for each frame ([0..4]) (2)
---[NoImage] -ssim_file filename : outputs the ssim stats into a file
---[NoImage] -debug : activates xvidcore internal debugging output
---[NoImage] -vop_debug : print some info directly into encoded frames
---[NoImage] -nochromame : Disable chroma motion estimation
---[NoImage] -notrellis : Disable trellis quantization
---[NoImage] -imin integer : Minimum I Quantizer (1..31) (2)
---[NoImage] -imax integer : Maximum I quantizer (1..31) (31)
---[NoImage] -bmin integer : Minimum B Quantizer (1..31) (2)
---[NoImage] -bmax integer : Maximum B quantizer (1..31) (31)
---[NoImage] -pmin integer : Minimum P Quantizer (1..31) (2)
---[NoImage] -pmax integer : Maximum P quantizer (1..31) (31)
---[NoImage] -drop integer : Frame Drop Ratio (0..100) (0)
---[NoImage] -start integer : Starting frame number
---[NoImage] -threads integer : Number of threads
---[NoImage] -nothreadedinput : Disable threaded input reading
---[NoImage] -progress [integer] : Show progress updates every n frames (10)
---[NoImage] -par integer[:integer] : Set Pixel Aspect Ratio.
---[NoImage] 1 = 1:1
---[NoImage] 2 = 12:11 (4:3 PAL)
---[NoImage] 3 = 10:11 (4:3 NTSC)
---[NoImage] 4 = 16:11 (16:9 PAL)
---[NoImage] 5 = 40:33 (16:9 NTSC)
---[NoImage] other = custom (width:height)
---[NoImage] -help : prints this help message
---[NoImage] -help zones : prints zones help message
---[NoImage] NB: You can define 64 zones repeating the -z[qw] option as needed.
--[Information] [12/18/2008 7:30:29 PM] Job completed

What were you saying about the command line?

You know, I could probably get a lot more done with this tool if it had something besides a link to a non-existent WIKI in the Help menu...

Kurtnoise
19th December 2008, 17:29
I see...it's because -grey command has been dropped with this xvid_encraw build. I'm updating the xvid gui then.

TheTooleMan
19th December 2008, 18:13
I see...it's because -grey command has been dropped with this xvid_encraw build. I'm updating the xvid gui then.
That would help as far as misleading people who want to use the greyscale filter, but why was it dropped? Seems like a perfectly useful and normal function which is now much more difficult to use with the zones workaround. Oh well...

Sharktooth
19th December 2008, 19:46
correct word would be "useless". just ensure you convert your source to greyscale before encoding.
colors wont be encoded if no color information is found on the source... the greyscale option, just drops color info...

carlo_0000
19th December 2008, 22:56
what kind of video files did you try ? vob ? mpg ? ts ?

all of them, there was probably something wrong during the last update

but i resolve the problem by copying the megui directory from windows xp to vista megui's directory

pcjco04
19th December 2008, 23:24
Using 0.3.0.3012 , I found the following crash :

When the bitrate calculator computes a very high bitrate (let's say 139536 for example) and if you choose to "Copy the calculated bitrate into video settings", then you cannot enter the current encoder config anymore :


MeGUI encountered a fatal error and may not be able to proceed. Reason: Value of '139536' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
Parameter name: Value Source of exception: System.Windows.Forms stacktrace: at System.Windows.Forms.NumericUpDown.set_Value(Decimal value)
at MeGUI.packages.video.x264.x264ConfigurationPanel.set_Settings(x264Settings value)
at MeGUI.core.gui.ProfileConfigurationWindow`2.set_Settings(TSettings value)
at MeGUI.core.gui.ProfileConfigurationWindow`2.videoProfile_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
at System.Windows.Forms.ComboBox.set_SelectedItem(Object value)
at MeGUI.core.gui.ProfileConfigurationWindow`2.set_SelectedProfile(GenericProfile`1 value)
at MeGUI.core.gui.ProfileConfigurationWindow`2.set_Profiles(Tuple`2 value)
at MeGUI.SpecificProfileType`2.ConfigureProfiles()
at MeGUI.core.gui.ConfigableProfilesControl.config_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

flebber
19th December 2008, 23:27
So this is a general query about the one click encoder. I am happily using Megui..and I am happy :), then I thought why am I doing all these manually when I could use the one click encoder. So I tried it again, I hadn't for some time.

Appears to be two things stopping me using the one click encoder when I tried it and I wondered if these features were on the horizon at all.
1) There doesn't seem to be an option to enforce mod16 resizing - this causes some encodes to fail(avisynth script fails and reduces compression).
2) No autocrop.

Is there any chance these will feature on an updated one click encoder ?

Kurtnoise
20th December 2008, 09:15
all of them, there was probably something wrong during the last update

fyi, this part hasn't been modified in the lastest commits...


Using 0.3.0.3012 , I found the following crash :

When the bitrate calculator computes a very high bitrate (let's say 139536 for example) and if you choose to "Copy the calculated bitrate into video settings", then you cannot enter the current encoder config anymore :
as you can see in the bug report, this value seems too high for megui. There are a min/max limit in this part. Probably for encoders...

@flebber: post your features requests on SF...

daWsOn_s
20th December 2008, 23:36
mp4 container now supports ac3 tracks?

Kurtnoise
21st December 2008, 10:29
yes...read the MP4 FAQ. :)

MrVideo
22nd December 2008, 04:16
Whe I try and go to the wiki help via the Help menu in megui, I basically get a page not found.

It seems that the built in link is bad and needs updating.

EDIT: It looks like MeWiki is down, as the error is: 502 Bad Gateway
The error occur no matter how you try and get there.

MrVideo
22nd December 2008, 04:25
Where can I find the commandline instruction to meGUI?

If it is the wiki user guide that contains the info, then I'll need a valid link, as explained above, the link within meGUI is broken.

I have a bunch of transport stream MPEG-2 files that fit a particular file size. Ultimately these files have some editing done and then they are converted to H.264 files and placed into MKV containers.

I have a script that runs a VBScript to control VideoReDo to do the editing. I then run dgindex to create the D2V file and edit a template AVS file to create the AVS script. The last piece in the auto-chain is to get meGUI to automatically encode and then MKV package the MP4 and MP2 files.

Sharktooth
22nd December 2008, 04:51
megui is a GUI and has no commandline options hence it cant be controlled using the commandline.
if you want to use the commandline then use the necessary tools directly... you dont need a GUI.

MrVideo
22nd December 2008, 05:22
if you want to use the commandline then use the necessary tools directly... you dont need a GUI.

I have no idea what meGUI is using to do what I do via the GUI.

Is there a way to get meGUI to spit out what it uses? I can then use that as a template to do the H.264 encoding and then the MKV muxing.

MrVideo
22nd December 2008, 06:01
Is there a way to get meGUI to spit out what it uses? I can then use that as a template to do the H.264 encoding and then the MKV muxing.

D'Oh! Found it in the log. Damn those are long command lines :D

Kurtnoise
22nd December 2008, 09:25
If it is the wiki user guide that contains the info, then I'll need a valid link, as explained above, the link within meGUI is broken.
the wiki link works for me...

MrVideo
22nd December 2008, 09:31
the wiki link works for me...

Interesting, as pointed out in the posting, I get a "502 Bad Gatreway" error.

Well, I did get the error. The problem has been fixed, as the site now works.

tebasuna51
22nd December 2008, 13:45
Interesting, as pointed out in the posting, I get a "502 Bad Gatreway" error.

Well, I did get the error. The problem has been fixed, as the site now works.

Using this link:
http://mewiki.project357.com/

I get now:
502 Bad Gateway
nginx/0.6.32

Kurtnoise
22nd December 2008, 13:58
Yes, me too. I asked to Sharktooth to enable the wiki on SF to create a mirror...

JohnnyFu
23rd December 2008, 00:12
Hi,

I'm looking for a Sony NWZ-A Series Walkman compatible MeGui Profile. Is there any profile compilation I might have missed while searching the internet?

I already played with MeGui but I totally failed, I think I screwed it up with AviSynth since my Audio enque fails and Mp4Muxer doesn't mux anything at all :)

Sony NWZ-A Series Video Specs:
File Formats : .mp4.m4v
Codec: AVC (H.264/AVC)
Profile: Baseline Profile Level: Max. 1.3, Bit rate: Max. 768kbps
MPEG-4 Profile: Simple Profile, Bit rate: Max. 2500kbps

Audio, AAC-LC:
Channel number: Max. 2 channels
Sampling frequency *: 24/32/44.1/48kHz
Bit rate: Max. 288kbps per 1 channel
File size: Max. 2GB

any help would me much appreciated!
Johnny

p.s. Sony has a great audio player with the NWZ-828 but when it comes to video this thing is nothing for rookies like me. I spend hours with converter tools but not a single one worked. I know it must work with MeGui, there are people on the internet who successfully converted their Sony NWZ videos with MeGUI.

Sharktooth
23rd December 2008, 03:44
@kurtnoise: i enabled the wiki but i have no idea how it works...

pcjco04
23rd December 2008, 10:52
as you can see in the bug report, this value seems too high for megui. There are a min/max limit in this part. Probably for encoders...
I knew that, I just report it for the developers. Maybe a check could be done, either when the calculator puts its bitrate value in the encoder settings, or when encoder settings panel is shown to cap the bitrate to the max allowable value.

In v0.3.1.1001, I found another problem using the "One click Encoder" with source type that cannot be detected using default settings :

If I have a video where source type cannot be detected (I tested in the AVS Script Creator using the tool to analyse the source type and it returns a window saying that it cannot detect the source), then the job created with the "One Click Encoder" will make MeGUI vanished after the audio encoding.
If I uncheck "Automatic Deinterlacing" in my One Click profile or if I change the source detector settings so that it can be detected (analyse 10% instead of 1% percent for example), then the One Click Encoder jobs are all created and processed.

flebber
24th December 2008, 01:05
Not sure if this is meant to happen (It doesn't usually) but I have just updated to version 0.3.1.1001. I have an unexpected result, after using the d2v creator I had 5 jobs in queue to .d2v. After pressing start the d2v creator started but so did the Avisynth script creator.

So I ended up with all the d2v files open in the script creator windows.

http://farm4.static.flickr.com/3249/3131376683_2f9407afff.jpg

TheJohn
25th December 2008, 02:38
As of MeGUI 0.3.1.1001, I've noticed a minor issue with my final mkv files. After updating, and muxing to mkv, when the resulting video is played in VLC, the frame rate is reported as 25.00 under Codec Details. The video is actually 23.976 FPS. For what it's worth, the video and audio play perfectly and is completely in sync.

I had also re-encoded a video that I initially encoded prior to the MeGUI update and VLC once again reports 25.00 FPS as opposed to the video which was encoded prior to the update and correctly lists as 23.976.

To try and further isolate the issue, I downloaded the most recent mkvmerge set of tools from the authors site and remuxed the video. VLC reports a 23.976 frame rate, which is entirely correct.

In summary, VLC reports an incorrect frame rate when the resulting mp4 and ac3 streams are muxed into a mkv from within MeGUI. The video however does play correctly and is in sync. The very same mp4 and ac3 streams muxed with the most recent mkvmerge set of tools do no exhibit this issue.

Kurtnoise
25th December 2008, 09:55
is it better with this build (http://www.mediafire.com/?wzywdmgzdwz) ?

if not, :logfile:

yaous
25th December 2008, 14:20
Job commandline: "C:\Program Files\megui\tools\mkvmerge\mkvmerge.exe" -o "E:\encoding\a-muxed.mkv" --engage keep_bitstream_ar_info --default-duration 1:25fps -d 1 -A -S "E:\encoding\a.mp4" -a 0 -D -S "E:\encoding\a.ac3" --no-clusters-in-meta-seek

i'm using MeGUI 0.3.1.1002 and the same problem..

Kurtnoise
25th December 2008, 16:14
is it better with this build (http://www.mediafire.com/?wzywdmgzdwz) ?

if not, :logfile:
:rolleyes:

yaous
25th December 2008, 17:23
is it better with this build ?

if not,

Job commandline: "C:\Program Files\megui\tools\mkvmerge\mkvmerge.exe" -o "E:\encoding\a-muxed.mkv" --engage keep_bitstream_ar_info --default-duration 1:25fps -d 1 -A -S "E:\encoding\a.mp4" -a 0 -D -S "E:\encoding\a.ac3" --no-clusters-in-meta-seek

that build makes same file reported as 25.00fps
"--default-duration 1:25fps" have nothing to do with this problem?

Kurtnoise
25th December 2008, 17:27
yes, it is...that's why I'm trying to debug it.

Did you use the adaptive muxer or the mkv muxer directly ?

In the muxer, you use video input or muxed input for your mp4 ?

yaous
25th December 2008, 20:35
i'm using video input in mkv muxer

Kurtnoise
25th December 2008, 20:45
ok...that's really strange. So, what kind of value do you have in the fps box when you load your video file ?

if you don't mind, could you upload a sample of your video please ?

yaous
25th December 2008, 22:17
fps was loaded correctly 29.97
and here is sample (http://www.mediafire.com/?bi35tog2wuz)

flebber
25th December 2008, 23:47
Not sure if this is meant to happen (It doesn't usually) but I have just updated to version 0.3.1.1001. I have an unexpected result, after using the d2v creator I had 5 jobs in queue to .d2v. After pressing start the d2v creator started but so did the Avisynth script creator.

So I ended up with all the d2v files open in the script creator windows.

http://farm4.static.flickr.com/3249/3131376683_2f9407afff.jpg

As well as the issue above muxing is not working for me. It has not muxed the video at all and even has the audio file at wrong size and cannot be played by the player at all. The expected size was 21,174 + 3670, but instead I received final size of 3661.

flebber
25th December 2008, 23:55
I updated to 1002 and the muxing appears to be working again. However any file using the d2v creator instantly opens in the avisynth creator still.

Seraphic-
26th December 2008, 05:05
Is there any way to disable ConvertAudioTo16bit() when encoding with NeroAAC 1.3.3.0 using MeGUI? I'm trying to encode a two channel 48kHz - 24BPS audio file, but ConvertAudioTo16bit() keeps getting added changing the file from 24bps to 16bps.
I recall that NeroAAC supports 24bps. Does any know why ConvertAudioTo16bit() keeps getting added? Seems to be no way to disable it.

I'm going to try using BeHappy, but wanted to see if could be done using MeGUI.

Kurtnoise
26th December 2008, 06:51
fps was loaded correctly 29.97
and here is sample (http://www.mediafire.com/?bi35tog2wuz)
Not the mkv but the mp4 I would like...;)

anyway, could you try this build (http://kurtnoise.free.fr/index.php?dir=MeGUI/&file=MeGUI_20081226.zip) ?

Kurtnoise
26th December 2008, 06:52
I'm going to try using BeHappy, but wanted to see if could be done using MeGUI.
not yet...;)

Seraphic-
26th December 2008, 06:54
not yet...;)

So MeGUI will always force add ConvertAudioTo16bit() then if the file is 24bit, correct?

Kurtnoise
26th December 2008, 07:16
not will...for the moment, it adds always ConvertAudioTo16bit(), whatever the bits depth found. That might be different in the next release...;)

yaous
26th December 2008, 07:45
Not the mkv but the mp4 I would like...

anyway, could you try this build ?

Incorrect format for file ./languages/ko.txt on line 1.
Format is "variable name[tab]value"


mp4 sample (http://www.mediafire.com/?ucdsf2xmumz)

Kurtnoise
26th December 2008, 08:58
a link mirror (http://www.mediafire.com/?didwmule1xm)...

Seraphic-
26th December 2008, 09:31
not will...for the moment, it adds always ConvertAudioTo16bit(), whatever the bits depth found. That might be different in the next release...;)

Ah, I see. Sounds good, thanks. :p
Also, could you give any hits as to when the next release might be?

yaous
26th December 2008, 10:00
a link mirror...

that build works fine :thanks:

tebasuna51
26th December 2008, 12:40
not will...for the moment, it adds always ConvertAudioTo16bit(), whatever the bits depth found. That might be different in the next release...;)
Remember you need use a new AvisynthWrapper.dll (http://www.codeplex.com/AvisynthWrapper) and replace call to 'dimzon_avs_init' by 'dimzon_avs_init_2'

Kurtnoise
26th December 2008, 13:22
yep...:)

@Seraphic : no idea...

pcjco04
26th December 2008, 14:42
From time to time, I have some problem with the MeGUI AutoCrop functionality : it cuts wrong parts of the video.
I put a small example there (2.7Mb) : wrongcrop.m2v (http://www.mediafire.com/?sharekey=34d6efe2210e8226d2db6fb9a8902bda).
MeGUI AutoCrop cuts the 26 lines on the top but it shouldn't.

Neillithan
26th December 2008, 15:18
Hi, I use fraps to record videos from my games. Fraps likes to split the video into 4 GB chunks and the chunks are named in a way that makes it impossible to segment them using Avisynth unless I rename them to "video.01.avi" "video.02.avi" etc.

After renaming them either manually or with a batch rename tool, I can then use "SegmentedAviSource()" or "SegmentedDirectShowSource()" to automatically combine the videos into a single video. I have to add this command manually by creating the AviSynth script manually, but it can be a real pain trying to create the AviSynth script automatically using MeGUI's "AviSynthScript Creator".

When loading the first Avi into the AviSynth Script Creator, I get the following script:

AVISource("E:\Program Files\Fraps\_LARGE AVIs\example.01.avi", audio=false)

I must then change it to:

SegmentedAVISource("E:\Program Files\Fraps\_LARGE AVIs\example.avi", audio=true).ConvertToYV12().FadeIn(30).FadeOut(30)

I added the fades, the word segmented, and changed audio=false to audio=true just to point out that all of this has to be added manually. At the moment, I know of no other way to automate these changes from the AviSynth Script Creator GUI.

I am curious if there is an easier way to do this. I want to simplify this process somehow without having to resort to manually modifying the AviSynth script.

Thanks in advance for any help or feedback.

VirtualMe
26th December 2008, 18:44
I have a problem with my audio being out of sync and the FPS of the resulting .mkv file shows up as 25 FPS in both VLC and MediaInfo. I opened the .vob file in MediaInfo and it says it is 29.97 FPS. I used the D2V Creator in MeGUI, selected the .vob file as input, and after it runs it shows the FPS as 23.976 under the Filters tab.

I used DVD Decrypter to rip an episode of Stargate SG-1 (S08E20). I then freshly installed MeGUI and AVISynth, with no other codecs or audio/video programs installed, and used the One-Click encoder to encode it with x264 and 128k MP3 audio.

The audio is slightly off at the beginning of the episode, but gets worse and worse as time goes on.

Anyone know how to fix this?

Kurtnoise
26th December 2008, 19:08
@VirtualMe : use the build linked in the post #3470 from this thread...

@Neillithan : nope...we can't yet do that more easier unfortunately.

@pcjco04 : I'll see what can I do for that...not easy I fear.

VirtualMe
26th December 2008, 19:42
Kurtnoise13: I'm sorry to say, I just tried that build and it did not work for me. Same problem.

pcjco04
26th December 2008, 19:54
@pcjco04 : I'll see what can I do for that...not easy I fear.

I don't know if it can help, but the AutoCrop from GKnot doesn't have the same problem but maybe it is only the sampled frames that are different.

VirtualMe
26th December 2008, 21:51
The problem with audio out of sync and FPS problems, is definitely a problem using .mkv files. I kept all settings in the One-Click Encoder the same, except I changed it to use a .mp4 file, and the audio is perfectly in sync, and VLC now reports the video as 23.976023 instead of 25.

Razorholt
26th December 2008, 22:47
I confirm the out of sync issue with MKV.

Famille_CB
26th December 2008, 22:55
Hello,

I confirm too. I use to encode in 50 fps. When i play the final file the speed is the half (25 fps).
I think the problem come from the intermediate file with the .264 extension, it doesn't give the frame rate to the mkv muxer.

Can you have a look please?

Thank's a lot.

Razorholt
26th December 2008, 23:33
Is 1001 ok?

Razorholt
27th December 2008, 00:00
reinstalled 1001 and got the same issue. I guess I'll go back to v0.3.0.3012 then :)

theclaus
27th December 2008, 04:32
Yup same here. If I use MP4 it works fine. Something must be messed up with mkvmerge.

Kurtnoise
27th December 2008, 04:55
Could you test the build in the #3491 please.

if that fails, send me a vob sample...


edit: the new MediaInfoWrapper.dll is needed too. So, don't forget to overwrite the old one.

Famille_CB
27th December 2008, 09:25
Hello,

I make a quick test on my videos.
I rename the old "megui.exe" and "MediaInfoWrapper.dll"; The problem is the same.

The problem appear when I use the button "AutoEncode". There is an intermediate file for the video with the extension .264, the frame rate is not written in this file and mkvmerge don't know the real frame rate and create the final file with 25 fps.

Dommage.

For information :
I use MEGUI to encode videos send by Adobe Premiere via the debugmode frame server.
I work in 50fps for more fluidity.
Videos are in 1440x1080 (Canon HV20 camcorder), I resize in 1280x720 progressive.

Thank you. I'm ready to test other files if you want.

Kurtnoise
27th December 2008, 09:53
see #3491

7ekno
27th December 2008, 12:00
Hi all :)

I was just wondering if there is a reason that the new MeGUI builds (0.3.1.xxxx) only pass -threads 1 to xvid-encraw?!?

It doesn't matter if I set Threads to 0, 1, 2, 3, 4 or 5 in the XviD profile, MeGUI only ever passes -threads 1 on the commandline to XviD (based on log-file output) ... I use the "Auto-Encode" button so that I can mux in audio (if that makes a difference, maybe it's being reset somewhere in the Autoencode module) ...

Is this by design (because XviD isn't inheretly mutli-threaded), or has it been overlooked in the MeGUI 0.3.1.xxxx builds?!?

Thanks for any responses,
7

Kurtnoise
27th December 2008, 14:50
Hello,

I make a quick test on my videos.
I rename the old "megui.exe" and "MediaInfoWrapper.dll"; The problem is the same.

The problem appear when I use the button "AutoEncode". There is an intermediate file for the video with the extension .264, the frame rate is not written in this file and mkvmerge don't know the real frame rate and create the final file with 25 fps.

Dommage.

For information :
I use MEGUI to encode videos send by Adobe Premiere via the debugmode frame server.
I work in 50fps for more fluidity.
Videos are in 1440x1080 (Canon HV20 camcorder), I resize in 1280x720 progressive.

Thank you. I'm ready to test other files if you want.
Finally, I think I fixed the problem...test me (http://www.mediafire.com/?n3gnyuq0n2y).

As I said earlier, don't forget to overwrite MediaInfoWrapper.dll too. :)

Kurtnoise
27th December 2008, 14:51
Is this by design (because XviD isn't inheretly mutli-threaded), or has it been overlooked in the MeGUI 0.3.1.xxxx builds?!?

mmmh, maybe it's a bug. I'll check it out.

mat8035
27th December 2008, 17:19
I just updated to 1003 and now the D2V creator is broken :( It doesn't demux audio files and the AVISynth script creator can't open it.

VirtualMe
27th December 2008, 17:24
Finally, I think I fixed the problem...test me (http://www.mediafire.com/?n3gnyuq0n2y).

As I said earlier, don't forget to overwrite MediaInfoWrapper.dll too. :)

This worked for me. Thanks Kurtnoise13!

sh0dan
27th December 2008, 17:29
In 1003 the mp4 muxer seems broken. I get a Method not found exception: "System.String MediaInfoWrapper.AudioTrack.get_Format()" cannot be found. Caller is in MeGUI.VideoUtil.getFlagFromAACStream(String, int).

It seems like you forgot to update MediaInfoWrapper.dll, or include the latest version. File version is "0.7.8.0"

Edit: Sorry - apparently it is the same error as above. Installing "MeGUI_20081227-2.zip" helped.

mat8035
27th December 2008, 17:38
In 1003 the mp4 muxer seems broken. I get a Method not found exception: "System.String MediaInfoWrapper.AudioTrack.get_Format()" cannot be found. Caller is in MeGUI.VideoUtil.getFlagFromAACStream(String, int).

It seems like you forgot to update MediaInfoWrapper.dll, or include the latest version. File version is "0.7.8.0"

Edit: Sorry - apparently it is the same error as above. Installing "MeGUI_20081227-2.zip" helped.

This fix works for me as well. Appears to be a problem with 1003 core.

Famille_CB
27th December 2008, 18:42
Hello,

Description of my problem:
The video to be encoded is at 50 fps. But when I play the MeGui encoded file, all the frames are played at 25 fps (half speed).
There is a slow down of 50% of my video.
Before the version 3.1.1002 every thing was OK.

I overwrite the 2 files in the zip file "MeGUI_20081227-2.zip" in the directory of MEGui. I recode my video : The problem is present.
I make the update to 3.1.1003. I recode my video : The problem is still there.

Can you help me. I'm ready to help you, I don't know how but...

I joint a description of the encoded file.

Thank's a lot.

Kurtnoise
27th December 2008, 20:11
sorry...my bad. I hope it's ok now.

*click me (http://www.mediafire.com/?kmimgh0mmqm)* / mirror (http://www.2shared.com/file/4530947/3d139b7f/MeGUI_20081227-3.html)

Famille_CB
27th December 2008, 22:23
Hello,

Every thing is OK now.
Good job.

Thank's a lot.

floz23
27th December 2008, 23:45
Yeah, I just upgraded to .1003 and got the same "AudioTrack" bug. Installed your update... works fine now.

I'll just wait 'till the next version after .1003 to upgrade again.