View Full Version : MeGUI: General Questions and Troubleshooting Thread


Pages : 1 2 3 4 5 6 [7] 8 9 10

LigH
3rd January 2011, 10:04
Is 0.3.5.0 still the last "stable" build? If so ... that would be "ancient" already.

Zathor
3rd January 2011, 10:50
Yes.

There are still 3 things on my todo list before a new stable build can be released.

Lighto
5th January 2011, 00:27
Yes.

There are still 3 things on my todo list before a new stable build can be released.

Is it possible to share the to-do list?
I am curious about what expect.:p

Zathor
5th January 2011, 18:45
The short term goals are achieved with the recent build. We have to wait a few days if there are any errors and then we may have a new "stable" build.

disklib
6th January 2011, 02:42
I just reviewed my saved presets and was surprised to see that the command lines for them now contain a parameter (--qpmin 10) that wasn't there when I made them.

Since I wanted to export them in anticipation of an OS reinstall I thought I'd try recreating them. My base settings are pretty simple:
in the x264 config dialog...
1 - "load defaults"
2 - change Presets slider to "Slow"
3 - change Tunings drop-down to "Film" (or "Animation")
4 - change Quality spinner to "17.0"

My orig setting (6 months ago) had the following command line:
program --preset slow --tune film --crf 17.0 --output "output" "input"

That same preset viewed in the current (1903) version of MeGUI:
program --preset slow --tune film --crf 17.0 --qpmin 10 --output "output" "input"

Recreating the same settings from scratch in the current version:
program --preset slow --tune film --crf 17.0 --ref 3 --output "output" "input"


When I try the same for my "Animation" tuned variant I get:
program --preset slow --tune animation --crf 17.0 --output "output" "input"

If I change the tuning for the above to "Film" I get:
program --preset slow --tune film --crf 17.0 --ref 3 --output "output" "input"

If I change the tuning back to "Animation" I get:
program --preset slow --tune animation --crf 17.0 --ref 6 --output "output" "input"


Seems like something is going wrong here. Does anyone have any insight into this? For reference the MeGUI 1903 Updater is showing "All files are up to date" as I post this.

Thanks

GG-Xtreme
6th January 2011, 09:04
I did not know about this thread at the time I posted, but I'm having a couple of odd problems with MeGUI:

'Unable to render file' with a VFR h.264 MKV (plays fine in MPC and latest version of ffdshow installed) http://forum.doom9.org/showthread.php?t=158931

Seeking/playback problems in all MP4's encoded through MeGUI (mostly default settings): http://forum.doom9.org/showthread.php?t=158930

Zathor
8th January 2011, 18:10
I just reviewed my saved presets and was surprised to see that the command lines for them now contain a parameter (--qpmin 10) that wasn't there when I made them.
x264 changed the default value of qpmin from 10 to 0 and therefore you see your old value 10 in the command line as this is not a default value anymore.

The ref/bframes handling with tune animation should be fixed in 1905.

disklib
9th January 2011, 00:46
So in general, if I'm only adjusting preset/tuning/quality then my command line should be:
program --preset XXX --tune XXX --crf XX.X --output "output" "input" ?

And if I ever see any individual parameters in there, such as "--ref X", that indicates a change in x264, which means I should recreate my saved preset from scratch?

Zathor
9th January 2011, 22:37
So in general, if I'm only adjusting preset/tuning/quality then my command line should be:
program --preset XXX --tune XXX --crf XX.X --output "output" "input" ? Yes

And if I ever see any individual parameters in there, such as "--ref X", that indicates a change in x264, which means I should recreate my saved preset from scratch? Yes - or MeGUI does not set the command line correctly. I have found at least one other option which will be fixed in the next build.

disklib
9th January 2011, 23:10
OK, I'll try to develop the habit of checking them after updates. If I do find something should I post the observation in this forum?

Zathor
9th January 2011, 23:19
Normally you only need to wait for new x264 profiles in the update window. And of course you can post your findings here.
Btw. trellis, aq-mode and weightp will be fixed in the next release (maybe more to come).

disklib
10th January 2011, 00:49
Thanks for mentioning that. It made me realize that the "load defaults" button is loading the "x264: *scratchpad*" preset. I thought that it was pulling the default info from the installed version of x264. I always install that update when avail but I don't think I was so diligent about updating the "scratchpad".

Don't know the feasibility of it, but if MeGUI could get the defaults directly from x264 that could eliminate the need for a developer (Sharktooth?) to create it manually.

Sharktooth
11th January 2011, 03:53
it's not so easy. x264 defaults may change and the only place where we can "catch" them is the x264 --fullhelp text. to do that we should create a x264 output parser (supposing the x264 fullhelp output will never change "format") and for every option we should grab the default value. some options have no defaults though and also this procedure should be done at every megui startup or x264 update...
just a PITA and not worth the trouble.
some time ago i was playing with something like that. the plan was to parse the --fullhelp output and dynamically create the config dialog form controls at runtime. i never managed to get something working due to the relationships between --preset, --tune, etc options and some other nasty problems with options without a max vaule specified...
btw default button does not load the scrathpad preset. it's just the scratchpad that starts with the default vaules ;)

disklib
12th January 2011, 06:33
Oooh, that last line messed me up again (just when I thought I was getting a grip on this). So the default values are stored in the MeGUI "core" component then?

It's probably better to ask you this...

If I'm making the 2 saved presets that I described in post #6007 (x264 default + preset/tuning/quality tweaks), what maintenance do I need to perform to keep them in proper working order?

As of my previous post I would've said always install the core/x264/preset updates when they are available. Then load my presets in the x264 config dialog and check their command lines for anomalies. If there are any then the preset should be made again from scratch, if not then it's still valid and can continue to be used as is.

How close is that?

hajj_3
12th January 2011, 12:22
the x264 changelog for the latest version is very big and different, does that mean we are getting a new stable build of megui soon? Its a shame so many people are using builds that are 4 months old.

Lyle_JP
12th January 2011, 21:50
the x264 changelog for the latest version is very big and different, does that mean we are getting a new stable build of megui soon? Its a shame so many people are using builds that are 4 months old.

The vast majority of changes to the x264 code lately have been for 10-bit encoding, which I'm guessing less than 1% of us are using.

Zathor
13th January 2011, 06:36
the x264 changelog for the latest version is very big and different, does that mean we are getting a new stable build of megui soon? Its a shame so many people are using builds that are 4 months old.
The x264 changes are not related to publishing a new MeGUI stable build.

So the default values are stored in the MeGUI "core" component then?
Yes. MeGUI has to know which values are the default values otherwise you would have all settings in the command line.

As of my previous post I would've said always install the core/x264/preset updates when they are available. Then load my presets in the x264 config dialog and check their command lines for anomalies. If there are any then the preset should be made again from scratch, if not then it's still valid and can continue to be used as is. How close is that?
You can do it that way. In most cases the command line should not change - only when there is a new default value of a setting (or a bug in the MeGUI command line creation).

AiDz0r
20th February 2011, 05:39
Hi guys, I want to ask a general question: I'm a beginner I used to do video editing, but its been 2 years I haven't and i forgot everything i used to do it in MeGUI.
My question is;Which encoding type should i begin with, for encoding movies that involves "3D animation (3DsMax, Maya + Aftereffects), Games (Counter-Strike)" and so on. I'm about to start movie production as a professional editor. I would like some suggestions path/direction so I could would proceed with that way, Thanks everyone.

Regards,
-Sly.

Sharktooth
20th February 2011, 15:01
definatly h.264. megui comes with x264 (as h.264 encoder) that is extremely efficient. you can mux your encoded h.264 stream into MP4 or MKV container. Also, megui comes with x264 Blu-Ray presets so that you can create blu-ray compatible video streams.

AiDz0r
21st February 2011, 06:55
So my best start would be MeGUI. Are there any extra command lines i have to put when encoding video games, I don't care how big it will be. I'm actually looking about 100mb per minute.

LigH
21st February 2011, 09:30
AiDz0r: Neither your user title nor your signature render correctly for me with any browser I have installed. But they stretch your posts and make the page scroll horizontally.

Sharktooth
21st February 2011, 14:08
AiDz0r, as per forum rules there is no best. MeGUI as well as other GUIs are a matter of personal taste. Use what you like more. However, MeGUI supports almost all x264 commandline options, so no need to specify extra commandline options. I'd start playing with presets and tunings.

Whimick
21st February 2011, 18:10
Hi All

Has any one having the problem with MEGUI (32) not updating?

My copy has not updated for several weeks.

Is there a fix for this problem I have.

Many Thanks

Whimick

b66pak
21st February 2011, 20:22
go to settings an change the update server from the drop list...
_

Whimick
22nd February 2011, 13:48
Thank B66pack,

It worked

regards Whimick

sillKotscha
28th February 2011, 14:49
Unlike earlier (before the reinstall of windows 7 and with MeGUI 0.3.1.1056) the audio preprocessing takes a very long time. When the audio encoding begins it shows Preprocessing... ***PLEASE WAIT*** for well over 10 minutes before the encoding actually begins.

here too ...

Windows 7 / SP1
MeGUI 1981

preprocessing took about 25 min before audio encoding started.

only tested with AAC encoding (Winamp & Nero)

still a known issue?

tebasuna51
28th February 2011, 16:01
...
preprocessing took about 25 min before audio encoding started.
...
still a known issue?

If you check the Normalize option we need 2 pass to do the job:
1st pass (preprocessing) to know the max volume value.
2nd pass (encode) to encode the audio with the max volume allowed.

Zathor
28th February 2011, 16:07
sillKotscha: Please post the log. I assume that you have preprocessing activated.

hxhxd
1st March 2011, 03:30
Hello, I found a problem about the interface. Check the attachment. The interface is ugly while DPI is set to 120.

Zathor
1st March 2011, 06:32
The interface is in general ugly. Unless we find a good GUI designer this is the way it is. :(

LigH
1st March 2011, 08:28
I don't mind functional and simple UIs (there is software where you miss the features over all the UI effects) ... but the squeezed edit lines and buttons are funny. Do they have too many resizer anchors?

nhope
1st March 2011, 15:10
If I'm running MeGUI 1911 (32-bit) under 64-bit Windows, will MeGUI automatically use the 64-bit version of x264 that I see it has downloaded to C:\Program Files\MeGUI\tools\x264\x264_64.exe or do I need to somehow tell it specifically to use that rather than the 32-bit version. If so, how would I do that? thanks

Lighto
1st March 2011, 15:58
If I'm running MeGUI 1911 (32-bit) under 64-bit Windows, will MeGUI automatically use the 64-bit version of x264 that I see it has downloaded to C:\Program Files\MeGUI\tools\x264\x264_64.exe or do I need to somehow tell it specifically to use that rather than the 32-bit version. If so, how would I do that? thanks

http://i51.tinypic.com/2afbh5h.jpg

Tuik
1st March 2011, 16:15
If I'm running MeGUI 1911 (32-bit) under 64-bit Windows, will MeGUI automatically use the 64-bit version of x264 that I see it has downloaded to C:\Program Files\MeGUI\tools\x264\x264_64.exe or do I need to somehow tell it specifically to use that rather than the 32-bit version. If so, how would I do that? thanks

http://img8.imageshack.us/img8/2585/capturarbp.png

nhope
1st March 2011, 16:51
@ Lighto & Tuik - Thanks very much. I missed that because it's greyed out here in 32-bit XP. I'm writing a tutorial and want to mention 64-bit mode. By the way, is there any official, current 64-bit version of MeGUI?

Lighto
1st March 2011, 18:03
@ Lighto & Tuik - Thanks very much. I missed that because it's greyed out here in 32-bit XP. I'm writing a tutorial and want to mention 64-bit mode. By the way, is there any official, current 64-bit version of MeGUI?

http://forum.doom9.org/showthread.php?t=153904
Not very sure of the details.
AFAIK, one is required to use all 64bit filters in their work flow when using the 64bit version of MeGUI.

nhope
4th March 2011, 20:38
This YouTube video (http://www.youtube.com/watch?v=eegM_TSE1x0) was rendered with x264 in MeGUI following this tutorial (http://www.bubblevision.com/underwater-video/Vegas-YouTube-Vimeo.htm) precisely. Does anyone have any idea why the levels in the first couple of seconds are wrong? Are there any x264 or MeGUI settings that affect that? No problem with offline playback of the file in VLC.

rapscallion
4th March 2011, 20:42
The interface is ugly while DPI is set to 120.

Uh, duh....don't set the dpi to 120.

johnmeyer
4th March 2011, 20:49
The first three seconds of an x.264 MP4 created with MeGUI 1911 and uploaded today to YouTube has its levels completely screwed up:

Nutcracker Highlights (http://www.youtube.com/watch?v=eegM_TSE1x0)

It will only take about five seconds of your time to see the problem. You will note that the levels return to normal at exactly the first scene transition which makes me think something is wrong in the way the initial GOP is formed.

However, the MP4 plays perfectly on my computer using the VLC media player.

Here are the video settings used:

program --profile main --level 3.1
--crf 19.2 --deblock -2:-1 --keyint 300
--min-keyint 29 --bframes 2 --b-pyramid none
--no-weightb --ref 2 --weightp 0
--qpmin 3 --subme 6 --trellis 0
--no-mixed-refs
--output "output" "input"

I'm using the LAME MP3-128ABR preset for the video.

I got these video settings from an excellent MeGUI tutorial, but am wondering if any of the changes from default could be causing the problem. I think the following is an accurate summary of the changes from the x.264 scratchpad defaults:

GOP size increased from 250 to 300
Min GOP size increased from 25 to 29
Weighted prediction for B-frame unchecked
Number of B-frames decreased from 3 to 2
B-Pyramid changed from Normal to Disabled
Number of Reference Frames changed from 3 to 2
P-frame Weighted Prediction changed from Smart to Disabled
Min in Quantizers changed from 0 to 3

Any help would be appreciated.

Thanks!

[edit] I just noted that while I was posting, Nick (who wrote the tutorial) posted about the same subject:

http://forum.doom9.org/showthread.php?p=1482275#post1482275

This isn't exactly a double or cross-post, since we are two different people, and since I am providing a lot more detail, I'll keep my post. I just wanted everyone to make the connection between the two posts.[end edit]

poisondeathray
4th March 2011, 20:57
nick & john - it's a youtube issue if exported file plays fine locally?

Have you tried other container like mkv ? I've had problems uploading mp4's to youtube before, but same video in mkv worked fine

johnmeyer
4th March 2011, 21:02
I have not tried another container, although I did delete the video after I discovered the problem, and then re-uploaded the same MP4. I thought maybe it was a one-time problem. However, YouTube did the same thing.

I've uploaded over 100 videos to YouTube, but up until now I've been using the MainConcept MP4 codec included with Sony Vegas. Someone suggested that I used MeGUI and indeed I was able to get much better results using MeGUI, at least when viewed in VLC.

poisondeathray
4th March 2011, 21:08
It's happening to other people too (myself included), and mkv seems to fix it

D.S. says "youtube has a broken mp4 demuxer"
http://doom10.org/index.php?topic=1343.0

I suspect the problem is with mp4box wrapped video and incompatiblity with youtube splitter, because L-smash wrapped videos seem to work (as do other multiplexers like mainconcepts in adobe media encoder, vegas etc...)

johnmeyer
5th March 2011, 03:02
Found the problem. It had nothing to do with the container format, but instead was all related to the audio codec. The LAME and FAAC support is, I think, somewhat sketchy. However, the Nero AAC codec, once installed, worked perfectly, and all the various problems and gremlins I was having completely disappeared.

QBhd
5th March 2011, 04:18
Since updating from 0.3.5.0 to 1911 I have found a problem. When using AutoEncode and selecting M2TS the outout is roughly 3% oversized when selecting a specific target media size (eg single or dual layer DVD). I was wondering if anyone else has found this problem?

QB

ps... be nice, this is my first post. Surely it will not be my last... Great site that I have been lurking on for quite some time.

Zathor
5th March 2011, 13:30
When using AutoEncode and selecting M2TS the outout is roughly 3% oversized when selecting a specific target media size (eg single or dual layer DVD).
Before the change in MeGUI the calculation was based upon a 6% general overhead calculation. This has been replaced with a more exact calculation. But sadly it is only more accurate for some audio tracks (e.g. high bitrate AC3). As soon as the following discussion comes to an end I will replace the current calculation with this one:
http://forum.doom9.org/showthread.php?t=158828

Vorkey
5th March 2011, 15:29
I was using MeGUI and it was all working fine and then I formated my computer and reinstalled everything and now everytime I try to select an Input file in File Indexer I get this error message.

http://i54.tinypic.com/2jca5hx.jpg

No idea what the problem is.

:confused:

Vorkey
5th March 2011, 19:30
OK I'm going to take this issue to the bugs thread because I think its more appropriate in there.

nhope
5th March 2011, 21:19
I am sending MeGUI YV12 conformed to [16,235] levels. The preview window is expanding this out to [0,255]. I have verified this by sending it a full screen 16-235 gradient, taking png screengrabs and viewing them in Vegas Pro's histogram scope. Is this normal behaviour? Is it configurable? The final x264 muxed in mp4 is coming out correctly at [16,235].

poisondeathray
5th March 2011, 21:31
I am sending MeGUI YV12 conformed to [16,235] levels. The preview window is expanding this out to [0,255]. I have verified this by sending it a full screen 16-235 gradient, taking png screengrabs and viewing them in Vegas Pro's histogram scope. Is this normal behaviour? Is it configurable? The final x264 muxed in mp4 is coming out correctly at [16,235].

Can you be more specific?

When you say [16,235] as input do you mean Y' ?

When you say [0,255] do you mean RGB 0,0,0 - 255,255,255 ?

This is correct behaviour for Rec601 or 709 conversions

nhope
5th March 2011, 23:06
My method is exactly as in my tutorial (http://www.bubblevision.com/underwater-video/Vegas-YouTube-Vimeo.htm). I am mapping video in Vegas to RGB 16,16,16 - 235,235,235 because the browser's Flash Player will do a [16-235] to [0,255] conversion when it plays videos from YouTube, Vimeo, JWPlayer etc.. I want to maintain the original levels without clipping. I frameserve to AviSynth in RGB24. In the AviSynth script I use the line ConvertToYV12(matrix="PC.709") to maintain the levels and allow the filters to work. But MeGUI's preview is expanding that out to full range 0-255. It's not a problem really because the mp4 has the correct levels, but I'm wondering why it's happening.

QBhd
5th March 2011, 23:59
Before the change in MeGUI the calculation was based upon a 6% general overhead calculation. This has been replaced with a more exact calculation. But sadly it is only more accurate for some audio tracks (e.g. high bitrate AC3). As soon as the following discussion comes to an end I will replace the current calculation with this one:
http://forum.doom9.org/showthread.php?t=158828

Is there a way for me to use the calculator from 0.3.5.0 in 1911? Is there any files that I can copy from the old into the new to revert it back?

QB

poisondeathray
6th March 2011, 00:06
My method is exactly as in my tutorial (http://www.bubblevision.com/underwater-video/Vegas-YouTube-Vimeo.htm). I am mapping video in Vegas to RGB 16,16,16 - 235,235,235 because the browser's Flash Player will do a [16-235] to [0,255] conversion when it plays videos from YouTube, Vimeo, JWPlayer etc.. I want to maintain the original levels without clipping. I frameserve to AviSynth in RGB24. In the AviSynth script I use the line ConvertToYV12(matrix="PC.709") to maintain the levels and allow the filters to work. But MeGUI's preview is expanding that out to full range 0-255. It's not a problem really because the mp4 has the correct levels, but I'm wondering why it's happening.



It's because the megui preview is using a Rec601 matrix for the preview. This is a normal industry standard for SD and what flash uses, including youtube (actually youtube uses Rec709 to convert YV12 material to RGB for display). Remember, you 're not looking at YV12 directly , you 're looking at the RGB converted representation of it.

If you want to view Y'CbCr data with a full range matrix use ConvertToRGB(matrix="Pc.709") temporarily, but comment it out when you do the actual encoding.

The reason the export mp4 has the correct levels is because Y'CbCr is passed through untouched. Input levels = Output levels

If you want to recover "superbrights" and "superdarks" in your original clip, you actually don't want to use studio RGB. Studio RGB means Y' 16-235 gets mapped to RGB 16,16,16 - 235,235,235. This means you've lost Y' <16, Y' >235. You actually want to do a full range conversion , ie. Y' 0-255 => RGB 0,0,0 - 255,255,255.



* as an aside you can actually use full range Y'CbCr and decode using full range if you use your own hosting. This means Y' 0-255 is decoded to RGB 0,0,0 - 255,255,255. This means you get less banding along gradients. Flash supports full range flag by x264.

nhope
8th March 2011, 09:23
It's because the megui preview is using a Rec601 matrix for the preview.

That explains it. Thanks!

The rest of my workflow is all about retaining superwhites and superblacks. I'm "squeezing" the levels range in Vegas Pro because the browser's Flash Player will "stretch" the levels of the video that YouTube deliver. If the uploaded levels aren't squeezed, the superwhites and superblacks get clipped when viewed on YouTube/Vimeo etc..

Tuik
8th March 2011, 23:36
Why xvid version got downgraded from 1.3.0 to 1.2.2 on the last update?

Zathor
9th March 2011, 06:35
Why xvid version got downgraded from 1.3.0 to 1.2.2 on the last update?
http://forum.doom9.org/showthread.php?t=139475

nhope
9th March 2011, 12:25
One more thing, poisondeathray...

actually youtube uses Rec709 to convert YV12 material to RGB for display

Do you know if it does this for video <1280 px wide, rather than Rec601?

rapscallion
9th March 2011, 22:25
Before the change in MeGUI the calculation was based upon a 6% general overhead calculation. This has been replaced with a more exact calculation. But sadly it is only more accurate for some audio tracks (e.g. high bitrate AC3). As soon as the following discussion comes to an end I will replace the current calculation with this one:
http://forum.doom9.org/showthread.php?t=158828

I have found the BR calculator tool pretty accurate for bd-5/9 and bd-25 (~95% in Imgburn), up until a few builds ago.

In fact I would add 200-300 kbps to the br resulting ~98%.(= to ~4% overhead)

Now the br actual calculated br is too high and oversizes for all 3, as mentioned by Zathor.

I find that if I add 5min to the time of the movie (ie 1h 58m, enter 2h 03m) or deduct 4%, it's back on course ~98%.
This is fine until the new build/calculator.

poisondeathray
9th March 2011, 22:27
Do you know if it does this for video <1280 px wide, rather than Rec601?

I tested it a few months ago, and it was independent of resolution . Even the SD vids got Rec709 treatment. It may have changed

Limon336
10th March 2011, 10:14
Hello :)

I Have a weird issue,
I install two days ago the lastests upgrade for Megui,and since , when a launch a X264 encode, it crashes.
the most weird that it crashes when a move a Window from my Desktop ! If I don't do this , it works fine !

I Have a X64 Windows 7 , a Q9550 Quad Core and 4 Gb Ram

Anyone as an idea ?

Thx,

invy
11th March 2011, 00:43
Hi

Can someone tell me why encoding high res (1080(i)) video is very low FPS for me? But that's not my main concern actually. It's the fact that it only is using up about 30% of my CPU usage when encoding!

My encoding setting is as follows:

Field deinterlace
No crop
Resize ~ 720x400 res
Lanczos4 sharp resize filter
NO change of video FPS (29.97 fps)

x264: DXVA hi def video profile, target filesize @ medium/fast setting, 1300 kbps

I only get about 26 to 28 fps when I use anywhere from medium-fast-faster-very fast profiles. However, if I encode two 1080i videos simultaneously, they both are going about 26 fps, and my cpu usage is still at about 70%.

Is there a speed setting or something else i'm missing here? I want the video encoding to take full advantage of my cpu usage but it's not doing so.

bazz
11th March 2011, 20:40
please can someone help, megui keeps crashing
Problem signature:
Problem Event Name: BEX
Application Name: MeGUI.exe
Application Version: 1.0.1911.0
Application Timestamp: 4d330b03
Fault Module Name: DirectShowSource.dll_unloaded
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 494eb91d
Exception Offset: 005d8a1b
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 2057
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

more info on this post,

http://forum.doom9.org/showthread.php?t=160006

im desperate to get some encoding done, theres always a problem with directsource.dll or avswrapper.dll

im using Win7X64

Sharktooth
12th March 2011, 14:56
reinstall avisynth.

dvdboy
13th March 2011, 19:31
For some reason, MeGUI isn't liking the qp file I'm trying to feed it to force I frames for Blu-ray chapters.

The error I'm recieving is:

--[Error] An error occurred: x264 [error]: can't parse qpfile for frame 0

My QP file is saved as a text file and looks like this:


240 K -1
480 K -1
720 K -1
960 K -1
1200 K -1
1440 K -1
1680 K -1


I've never used QP Files before, so I'm assuming I'm doing something stupid.

Thanks

Music Fan
13th March 2011, 21:39
I believe you have to add this as the first line ;
0 I -1
It works with an I in place of the K, I don't know what means the K in your file.

Zathor
13th March 2011, 21:43
I don't know what means the K in your file.
K=<I or i> depending on open-gop setting (x264 --fullhelp)

dvdboy
13th March 2011, 22:46
Thanks Guys, I had originally used I, but then saw K for Keyframe used in this guide:

http://sites.google.com/site/x264bluray/advanced-features/chapters

Hmm, it's still not working. I've uploaded the file here: http://www.sendspace.com/file/1x59ki

Sorry for being dumb, is there supposed to be a header or is it just a pure text file as described above?

Hmm, and this file DOES work: http://www.sendspace.com/file/7m8h9y

I can't see the difference...

bazz
14th March 2011, 10:41
sharktooth ive tried reinstalling avisynth, megui and windows

no matter what my script is, if i have more than what Megui loads i get crashes, heres the latest 2

Problem signature:
Problem Event Name: BEX
Application Name: megui.exe
Application Version: 1.0.1989.0
Application Timestamp: 4d739f81
Fault Module Name: DirectShowSource.dll_unloaded
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 494eb91d
Exception Offset: 04b38a1b
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 2057
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Problem signature:
Problem Event Name: APPCRASH
Application Name: MeGUI.exe
Application Version: 1.0.1989.0
Application Timestamp: 4d739f81
Fault Module Name: KERNELBASE.dll
Fault Module Version: 6.1.7601.17514
Fault Module Timestamp: 4ce7bafa
Exception Code: 80000003
Exception Offset: 000122a1
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 2057
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789


and the script i was using,
( i had crashes, then encoded a mkv to xvid with this script
successfully
then crashed again halfway through the next movie encode)

Import("C:\Program Files (x86)\AviSynth 2.5\plugins\SeeSaw.avs")


DirectShowSource("D:\Narnia 720\avs720-thevoyageofthedawn.mkv", fps=23.976, audio=false, convertfps=true).AssumeFPS(24000,1001)

#deinterlace

#crop

Spline36Resize(608,336) # Spline36 (Neutral)

ConvertToYV12()


a= last
b=a. fft3dGPU(mode=1,precision=2, sigma=1.25, bt=4, bw=32, bh=32, ow=16, oh=16)

fluxsmoothT(3)

SeeSaw(a,b, NRlimit=3, NRlimit2=4, Sstr=1.5, Slimit=5, Spower=5, Sdamplo=6, Szp=16)

error shows either Directshowsource.dll or Megui?

please help me figure this out Sharktooth

Sharktooth
14th March 2011, 21:46
you should look at the fault module. the second crash is not a good sign (kernelbase.dll) ...
fft3dGPU could be the culprit.

Karl Beem
14th March 2011, 23:18
The job that ran just fine yesterday now errors. The log says run update detection to resolve the error. This does nothing, everything is up to date. What's going on?

Sharktooth
15th March 2011, 02:31
CPU/GPU overheating?

Zathor
15th March 2011, 11:41
The job that ran just fine yesterday now errors. :logfile:

Karl Beem
15th March 2011, 21:19
:logfile:

Curious. The problem was that the .avs file didn't exist - I misnamed it.

DVDBob
18th March 2011, 02:59
Hello.

MeGUI has always worked, but now i have problems with YV12 codec after I have installed windows on new.

I installed the same programs again, which I had on my old windows installation.

LigH
18th March 2011, 08:19
Often you do not only have to install something, but also to configure it.

Check e.g. ffdshow's VFW Configuration (Decoder) if "Raw Video" conversion is enabled, at least for planar YUV.

DVDBob
18th March 2011, 13:08
I've tried to sit Raw Video two, YV12, All YUV and All Supported.

But I still can not get it to work.

bazz
22nd March 2011, 19:34
MeGUI seems to be behaving itself at the minute, thanks for the replies Sharktooth!

another problem if anyone can help please?
most of the time when using Lame CBR over128KBps in MeGUI
i still get only Mp3 128KBps.
what i mean is i can set it to 160Kbs but i find the output is 128Kbps

96, 112, 128 all work fine , go over 128Kbps and it doesnt work , it always outputs at 128Kbps

VBR, ABR , any configuration works a treat, but constant over 128Kbps will only output at 128Kbps

can anyone explain this?

tebasuna51
23rd March 2011, 01:11
...
VBR, ABR , any configuration works a treat, but constant over 128Kbps will only output at 128Kbps...
I can't reproduce your problem, work fine for me.

Please put the log file.

bokaal
23rd March 2011, 13:01
When creating an AviSynth script using the 'AviSynth script creator', I always make the following steps:
* hit 'auto crop'
* check 'resize' and 'suggest resolution (mod16)'
* hit 'analyse' on the 'filters' tab

Can these steps be automated, i.e. that they are automatically performed when a .d2v is loaded?

My current workflow is to use the 'File indexer' to create a d2v, which is automatically loaded in the avisynth script creator. It would be nice if especially the analysis would start immediately, since it takes some time before it's done. That way I do not need to monitor the file indexer to see when it's ready in order to push those buttons, I could rather leave it and check the settings when it's done.

Zathor
23rd March 2011, 14:11
Please try the One-Click tool. It can do everything you require automatically. You only need to setup the tasks once, save it as a profile and afterwards need only to select the input file (vob?) and click on "go".

kalehrl
23rd March 2011, 15:01
I get this error when running 'analyse' in 'avisynth script creator'.

beto
25th March 2011, 21:26
I have a question. I am encoding a DVD video in MeGui to AVC with x264. The original video is 720x480 16:9 NTSC and I want to keep the original resolution of 720x480.

Question is: what is the best avs script option (qualitywise) from the 2 below?

Script 1 has no filters/resizers involved (except colour correction) so it seems to be the best option, but I may be wrong. Is this a good idea? Am I missing something?

Script 2 is created using "Clever (TM) Anamorphic Encoding" in MeGui. It resizes the encoded video to the same size of the original movie (720x480). That does not make much sense to me since I always heard that resizing degrades quality.
In this case I am not sure and I do not know why MeGui is trying to resize to the same original size (?????). Does this resize to the same size degrade quality further in comparison to Script 1? Should I use this instead of Script 1?

Any help is appreciated.

Thanks in advance.

Script 1
LoadPlugin("C:\Program Files\megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\Users\beto\Desktop\Filmes\dvd_zeca\VIDEO_TS\VTS_02_1.d2v", info=3)
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
#deinterlace
#crop
#resize
#denoise

Script 2
# Set DAR in encoder to 175 : 96. The following line is for automatic signalling
global MeGUI_darx = 175
global MeGUI_dary = 96
LoadPlugin("C:\Program Files\megui\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\Users\beto\Desktop\Filmes\dvd_zeca\VIDEO_TS\VTS_02_1.d2v", info=3)
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
#deinterlace
#crop
Spline36Resize(720,480) # Spline36 (Neutral)
LoadPlugin("C:\Program Files\megui\tools\avisynth_plugin\UnDot.dll")
Undot() # Minimal Noise

Amateur
26th March 2011, 01:41
been having recent problems with MeGUI lately. for some reason now when it encodes, it will all of a sudden get "process exits with error code 1073741676". i am encoding a 20 minute episode of a tv show and it won't show me that error until about 3 hours after the encoding has already started. i tried to find a glitch in the vob but don't see any. i re-extracted the vob to a different location with no luck. what's the reason for this error?

script being used is:
LoadPlugin("C:\Program Files (x86)\MeGUI\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("E:\The Tick - Season 1 - Complete\e5\VTS_01_1.d2v", cpu=4, info=3)
LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
Load_Stdcall_Plugin("C:\Program Files (x86)\MeGUI\tools\yadif\yadif.dll")

Yadif(Mode=1)
SRestore()

dfmderainbow()

removegrain(mode=1)

crop( 12, 2, -12, -2)
LanczosResize(640,480)

input=last.ConvertToYV12()
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\DustV5.dll")
ConvertToYUY2().PixieDust().ConvertToYV12()
Repair(last,input)

edeen(3,6,7,2,2)
dfttest()

Spline36Resize(last.width*2,last.height*2)
FastLineDarken(strength=150,luma_cap=225,thinning=0)
aWarpSharp2(thresh=160, blur=3, type=0, depth=8, chroma=4)
aWarpSharp2(thresh=160, blur=3, type=0, depth=8, chroma=4)
Spline36Resize(last.width/2,last.height/2)

lsfmod(strength=200)

maa()

Lighto
26th March 2011, 03:09
I get this error when running 'analyse' in 'avisynth script creator'.

Is your source by any chance a AVC/H264 .ts?

Floatingshed
27th March 2011, 22:09
the most weird that it crashes when a move a Window from my Desktop !
,

I have been having the same problem. Any attempt to move or minimise any of the windows (main or worker) and everything goes white and freezes. Sometimes it recovers but usually not and if it does the encodes will usually error some hours later.

I recently had another bout of self-deleting profiles, everything vanished except the scratchpads.

I really like MeGUI but it can be flaky.

LigH
28th March 2011, 08:01
@ beto:

AviSynth will recognise that there is no change in the clip dimensions, and will do no resizing, no interpolation.

Using the C.A.E. may be necessary though, to have MeGUI signal the anamorphic aspect ration in the final container correctly.
__

P.S.:

http://cosgan.de/images/smilie/musik/n015.gif

Revision 2000!

beto
28th March 2011, 20:34
@ beto:

AviSynth will recognise that there is no change in the clip dimensions, and will do no resizing, no interpolation.

Using the C.A.E. may be necessary though, to have MeGUI signal the anamorphic aspect ration in the final container correctly.
__

P.S.:

http://cosgan.de/images/smilie/musik/n015.gif

Revision 2000!

Thank you very much LigH for the concise and precise response. Cheers.

DalienX
30th March 2011, 09:52
Wow, long thread.
Ok I ran a search and read heaps of pages, but couldn't find my issue.

I've been using megui's one click encoder to convert my dvds to mkv.
However with the current dvd i'm trying to convert i'm getting a weird audio sync issue.
When i play back the mkv the audio is about 500ms behind the video.
I've tried multiple audio settings and profiles and even tried preserving the original audio, but every time the audio is out of sync.

mcwups1
30th March 2011, 17:41
Something is wrong with the audio encoding for AAC. I haven't changed anything, but since the last update, I cannot encode audio without getting this error....

http://i142.photobucket.com/albums/r89/mcwups1/Capture-6.jpg

Now, if I take the audio file (AC3, or any audio file for that matter) and place it in Nero's Audio Encoder using Nero 9, it encodes just fine. So, I'm guessing it has to be something with MeGui.

Music Fan
30th March 2011, 17:46
I also had a weird bug with MeGui trying to encode waves in aac, so I re-started MeGui, the jobs were still there, I changed their status from "error" to "waiting", I clicked on start and everything went fine, I don't even try to understand what happened.

Lighto
30th March 2011, 18:33
Something is wrong with the audio encoding for AAC. I haven't changed anything, but since the last update, I cannot encode audio without getting this error....

http://i142.photobucket.com/albums/r89/mcwups1/Capture-6.jpg

Now, if I take the audio file (AC3, or any audio file for that matter) and place it in Nero's Audio Encoder using Nero 9, it encodes just fine. So, I'm guessing it has to be something with MeGui.

Why version of MeGUI are you running?
There was a similar problem but was fixed in one of the recent svn.

mcwups1
30th March 2011, 19:41
http://i142.photobucket.com/albums/r89/mcwups1/Capture-7.jpg

mcwups1
30th March 2011, 19:42
I also had a weird bug with MeGui trying to encode waves in aac, so I re-started MeGui, the jobs were still there, I changed their status from "error" to "waiting", I clicked on start and everything went fine, I don't even try to understand what happened.

That's happened with me too, but not this time.

Zathor
30th March 2011, 20:20
Please post the complete log

Lyle_JP
30th March 2011, 23:54
Something is wrong with the audio encoding for AAC. I haven't changed anything, but since the last update, I cannot encode audio without getting this error....

http://i142.photobucket.com/albums/r89/mcwups1/Capture-6.jpg

Now, if I take the audio file (AC3, or any audio file for that matter) and place it in Nero's Audio Encoder using Nero 9, it encodes just fine. So, I'm guessing it has to be something with MeGui.

It's the 1.5.4.0 version of the Nero AAC encoder. "The pipe has been ended" error only happens with some audio streams (and there's no rhyme or reason to it) and usually only happens with 5.1 encodes, but it's always fixed by reverting to 1.3.3.0.

mcwups1
31st March 2011, 00:38
[Error] Log
-[Information] Versions
--[Information] [3/30/2011 7:26:14 PM] MeGUI Version : 2002 (svn)
--[Information] [3/30/2011 7:26:14 PM] OS : Windows Seven Premium Edition x64 SP1 (6.1.65536.7601)
--[Information] [3/30/2011 7:26:14 PM] Latest .Net Framework installed : 4.0 (4.0.30319)
--[Information] [3/30/2011 7:26:14 PM] Avisynth Version : 2.6.0.1 (9/27/2009 8:39:26 AM)
-[Information] Update detection
--[Information] [3/30/2011 7:26:14 PM] Connecting to server: http://megui.org/auto/
--[Information] [3/30/2011 7:26:15 PM] All files are up to date
-[Error] Log for job2 (audio, T2_Audio - 5.1 channels.ac3 -> T2_Audio - 5.1 channels.mp4)
--[Information] [3/30/2011 7:26:22 PM] Started handling job
--[Information] [3/30/2011 7:26:22 PM] Preprocessing
--[Information] [3/30/2011 7:26:23 PM] Avisynth script
---[NoImage] LoadPlugin("C:\Program Files (x86)\megui\tools\avisynth_plugin\NicAudio.dll")
---[NoImage] NicAc3Source("C:\Users\\T2_Audio - 5.1 channels.ac3")
---[NoImage] Normalize()
---[NoImage] return last
--[Information] [3/30/2011 7:26:23 PM] Commandline used: -ignorelength -lc -br 192000 -if - -of "{0}"
--[Information] [3/30/2011 7:26:23 PM] Encoding started
--[Information] [3/30/2011 7:26:23 PM] Avisynth script environment opened
--[Information] [3/30/2011 7:26:23 PM] Script loaded
--[Information] Output Decoder
---[Information] [3/30/2011 7:26:23 PM] Channels: 6
---[Information] [3/30/2011 7:26:23 PM] Bits per sample: 32
---[Information] [3/30/2011 7:26:23 PM] Sample rate: 48000
--[Information] [3/30/2011 7:26:23 PM] Commandline: C:\Program Files (x86)\megui\tools\NeroAACCodec-1.5.1\win32\neroAacEnc.exe -ignorelength -lc -br 192000 -if - -of "C:\Users\\T2_Audio - 5.1 channels.mp4"
--[Information] [3/30/2011 7:26:23 PM] Encoder process started
--[Error] [3/30/2011 7:31:03 PM] An error occurred
---[Error] [3/30/2011 7:31:03 PM] Exception message: The pipe has been ended.
---[Error] [3/30/2011 7:31:03 PM] 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()
---[Error] [3/30/2011 7:31:03 PM] Inner exception: null
--[Information] [3/30/2011 7:31:03 PM] Output from encoder via stderr
---[NoImage] *************************************************************
---[NoImage] * *
---[NoImage] * Nero AAC Encoder *
---[NoImage] * Copyright 2009 Nero AG *
---[NoImage] * All Rights Reserved Worldwide *
---[NoImage] * *
---[NoImage] * Package build date: Feb 18 2010 *
---[NoImage] * Package version: 1.5.4.0 *
---[NoImage] * *
---[NoImage] * See -help for a complete list of available parameters. *
---[NoImage] * *
---[NoImage] *************************************************************
--[Information] [3/30/2011 7:31:03 PM] Output from encoder via stdout: ERROR: error while encoding frame
--[Information] [3/30/2011 7:31:03 PM] Job completed

Hope this is right....

Lighto
31st March 2011, 02:54
Just encoded a .ac3 without problems...
[Information] Log
-[Information] Versions
--[Information] [31/3/2011 1:23:00 AM] MeGUI Version : 2002 (svn)
--[Information] [31/3/2011 1:23:00 AM] OS : Windows Seven Ultimate Edition x64 SP1 (6.1.65536.7601)
--[Information] [31/3/2011 1:23:01 AM] Latest .Net Framework installed : 3.5 (3.5.30729.5420)
--[Information] [31/3/2011 1:23:01 AM] Avisynth Version : 2.5.8.5 (21/12/2008 9:46:54 PM)
-[Information] Update detection
--[Information] [31/3/2011 1:23:01 AM] Connecting to server: http://megui.org/auto/
--[Information] [31/3/2011 1:23:03 AM] All files are up to date
-[Information] Log for job4 (audio, Taiyo no Uta_track2.ac3 -> Taiyo no Uta_track2.mp4)
--[Information] [31/3/2011 9:39:36 AM] Started handling job
--[Information] [31/3/2011 9:39:36 AM] Preprocessing
--[Information] [31/3/2011 9:39:37 AM] Avisynth script
---[NoImage] LoadPlugin("E:\Video Tools\MeGUI_1989_x86\tools\avisynth_plugin\NicAudio.dll")
---[NoImage] NicAc3Source("C:\Users\Lighto\Desktop\Taiyo no Uta_track2.ac3")
---[NoImage] Normalize()
---[NoImage] return last
--[Information] [31/3/2011 9:39:37 AM] Commandline used: -ignorelength -lc -br 192000 -if - -of "{0}"
--[Information] [31/3/2011 9:39:37 AM] Encoding started
--[Information] [31/3/2011 9:39:37 AM] Avisynth script environment opened
--[Information] [31/3/2011 9:39:37 AM] Script loaded
--[Information] Output Decoder
---[Information] [31/3/2011 9:39:37 AM] Channels: 6
---[Information] [31/3/2011 9:39:37 AM] Bits per sample: 32
---[Information] [31/3/2011 9:39:37 AM] Sample rate: 48000
--[Information] [31/3/2011 9:39:37 AM] Commandline: E:\Video Tools\MeGUI_1989_x86\tools\neroaacenc\neroaacenc.exe -ignorelength -lc -br 192000 -if - -of "D:\OUTPUT\Taiyo no Uta_track2.mp4"
--[Information] [31/3/2011 9:39:37 AM] Encoder process started
--[Information] [31/3/2011 9:51:36 AM] Output from encoder via stderr
---[NoImage] *************************************************************
---[NoImage] * *
---[NoImage] * Nero AAC Encoder *
---[NoImage] * Copyright 2009 Nero AG *
---[NoImage] * All Rights Reserved Worldwide *
---[NoImage] * *
---[NoImage] * Package build date: Feb 18 2010 *
---[NoImage] * Package version: 1.5.4.0 *
---[NoImage] * *
---[NoImage] * See -help for a complete list of available parameters. *
---[NoImage] * *
---[NoImage] *************************************************************
--[Information] [31/3/2011 9:51:36 AM] Postprocessing
---[Information] Deleting intermediate files
--[Information] [31/3/2011 9:51:36 AM] Job completed

Maybe you could post a sample of your .ac3?

magnetite
6th April 2011, 21:21
I was wondering if there was a way to add multiple files at once or add a folder?

I have over 1000 jobs to convert, and adding a folder instead of each file individually would be faster. Not sure whether MeGUI has this option or not.

I am currently using the One Click Encoder to do the jobs.

With other programs I am able to do this, but due to what I'm trying to do, I can only use MeGUI for this because I'm using scripts alongside the files I'm converting.

AiDz0r
12th April 2011, 05:30
AiDz0r, as per forum rules there is no best. MeGUI as well as other GUIs are a matter of personal taste. Use what you like more. However, MeGUI supports almost all x264 commandline options, so no need to specify extra commandline options. I'd start playing with presets and tunings.

I sometimes forget about the rules, im sorry about that, ill try not to say it again, however, you are correct, to begin with playing around with the presets and tuning, though, I've heard and remember from years ago, that there was a commandline or preset, specifically for Video-games, Anime, and CG as separate for each. I exactly remember that there were commandlines only if you render CG or VideoGames and Anime. I actually want to know if anyone would able to share and help me out, because I know the GUI is not enough for advance tuning, I wouldn't care less about the tuning but things change once you join organizations and put extra effort in movie making in Video Games.

I also remember that there's a website, full of x264 encoding commandline and examples, I just can't find it anymore, and one last thing. If suggested to encode for CG and Video games which one would show fine (sharp), in H264 on a Mp4 container, X264 on a Mp4 container, or XViD on avi container, because I remember something like fBlock or something not too sure, that appears when fast motions occurs and the video quality just lowers really bad, I need to know as much, because I forgot it all. I know its my duty to learn but I would like a guidance and path for me lead and go along with, after that I would do the rest, If i didn't need help I wouldn't be here in the first place, I need to be fast as I could. Thank you.

*Edit*: oh and forgot to mention, where exactly can I get the latest X264 encoding (or CLI) not too sure, sorry for the lack of knowledge, I'll get better asap

Regards,

-Sly

flebber
12th April 2011, 08:19
@AIdzor.

http://mewiki.project357.com/wiki/X264_Settings

AnonCrow
12th April 2011, 11:29
H264 on a Mp4 container, X264 on a Mp4 container, or XViD

Slightly off-topic, but there are no such things as H264 or X264 -
there is H.264 (video compression standard) and then there is x264 ,
which is one of many implementations of an encoder that
encode videos into an H.264 compatible format.



in Megui directory /tools/x264/, run one of
x264 --(help|longhelp|fullhelp) in a console.

The different tunings for x264 are available in MeGui in
x264 encoder config / main / tunings (top right) , and
any options not found in the GUI can be entered in the Misc tab

Pulp Catalyst
14th April 2011, 01:37
1st time using megui, tried before but.... the way it worked was quite daunting, but this time i said get in and learn it,

been following guides and stuff,

however i noticed that Megui has the low CPU Utilization for Xvid encoding (also noticed it uses encraw)

60% (tripple core AMD)

although other programs i have tried averages around 70%, those same programs using the new Xvid 1.3.1 averages around 80-85% (1.3.1 really has increased the efficiency of multi-threading....YES!!!) but MeGUI still only uses 60%, can someone please advise?

kalehrl
14th April 2011, 12:07
In xvid settings window put the approptiate number od cores (3 in your case) in Threads.

rapscallion
14th April 2011, 23:42
Re encoding a 1080i/29.970 fps source for the first time and wondering what fps I should enter in the avisynth script.

If I put fps=30000/1001 (29.970029), Megui log shows @ 2500000/86207 fps, which= 28.999965 fps

What is the correct/exact fps that I should enter?
If I use 29.970, Megui log shows @ 10000000/333667, which=29.97.

tebasuna51
15th April 2011, 00:45
AssumeFps(30000, 1001)

rapscallion
15th April 2011, 01:08
AssumeFps(30000, 1001)

Thanks , however, per my post, when I do that, Megui log shows 28.999965 fps.
Which, of course is wrong. When muxed to a *.m2ts, via Tsmuxer, result is 29.00 fps, according to Mediainfo.

Edit : Correction. Actually I used that in the Directshow line. Using it as intended worked fine.

LigH
15th April 2011, 07:38
Sounds like a confusion of numeric conversions, like the english notation (decimal dot) vs. the german notation (decimal comma) or similar... ?!?

Music Fan
15th April 2011, 08:15
@ rapscallion : what does Virtual Dub show when you open your script in it ? See file, file information.
If it's not 29.97 while it should be, you can try to put the fps in the first line of your script, like that ;
directshowsource("file", fps=29.97)
It forces the framerate.
It's generally used with wmv files, and is especially useful for those with variable framerate (nevertheless very rare).
Or you can try that ;
directshowsource("file", convertfps=true)
Open your script in Virtual Dub before specifying the fps, see which fps is detected in file information, then try these scripts and see if there is a difference. Also check the duration of the file in file information.
But in my opinion, you video is well encoded and the problem comes from the container or Mediainfo.

tebasuna51
15th April 2011, 11:49
Thanks , however, per my post, when I do that, Megui log shows 28.999965 fps.
Which, of course is wrong. When muxed to a *.m2ts, via Tsmuxer, result is 29.00 fps, according to Mediainfo.
Please put your full (avs included) Megui log.

rapscallion
15th April 2011, 15:11
[Information] Log
-[Information] Versions
--[Information] [4/14/2011 5:34:45 PM] MeGUI Version : 2006 (svn)
--[Information] [4/14/2011 5:34:45 PM] OS : Windows XP Professional x86 SP3 (5.1.196608.2600)
--[Information] [4/14/2011 5:34:45 PM] Latest .Net Framework installed : 3.5 (3.5.30729.01)
--[Information] [4/14/2011 5:34:45 PM] Avisynth Version : 2.5.8.5 (12/21/2008 9:46:54 PM)
-[Information] Update detection
--[Information] [4/14/2011 5:34:45 PM] Connecting to server: http://megui.xvidvideo.ru/auto/
--[Information] [4/14/2011 5:34:45 PM] All files are up to date
-[Information] Log for job1 (video, hit_test.avs -> )
--[Information] [4/14/2011 5:36:43 PM] Started handling job
--[Information] [4/14/2011 5:36:43 PM] Preprocessing
--[Information] [4/14/2011 5:36:43 PM] Avisynth input script: DirectShowSource("D:\BD-Test\hit man\hi_test.m2ts",fps=30000/1001,audio=false)--[Information] [4/14/2011 5:36:43 PM] Job commandline: "C:\Dvd_rw\Megui3.2\tools\x264\x264.exe" --preset faster --pass 1 --bitrate 35000 --stats "D:\BD-Test\hit man\hit_test.stats" --open-gop bluray --tff --subme 7 --pic-struc --level 4.1 --bframes 3 --ref 4 --slices 4 --aud --nal-hrd vbr --b-pyramid strict --keyint 30 --min-keyint 3 --vbv-bufsize 30000 --vbv-maxrate 40000 --weightp 0 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --output NUL "C:\br avs\hit_test.avs"
--[Information] [4/14/2011 5:36:43 PM] Encoding started
--[Information] [4/14/2011 5:39:05 PM] Standard output stream
--[Information] [4/14/2011 5:39:05 PM] Standard error stream
---[NoImage] avs [info]: 1920x1080i 1:1 @ 2500000/86207 fps (cfr)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
---[NoImage] x264 [info]: profile Main, level 4.1
---[NoImage]
---[NoImage] x264 [info]: frame I:72 Avg QP:13.14 size:314224
---[NoImage] x264 [info]: frame P:1470 Avg QP:16.47 size:152934
---[NoImage] x264 [info]: frame B:197 Avg QP:15.12 size: 93306
---[NoImage] x264 [info]: consecutive B-frames: 79.0% 17.6% 0.2% 3.2%
---[NoImage] x264 [info]: mb I I16..4: 45.8% 0.0% 54.2%
---[NoImage] x264 [info]: mb P I16..4: 51.2% 0.0% 0.0% P16..4: 47.2% 0.0% 0.0% 0.0% 0.0% skip: 1.7%
---[NoImage] x264 [info]: mb B I16..4: 15.6% 0.0% 0.0% B16..8: 45.6% 0.0% 0.0% direct:13.8% skip:25.1% L0:27.5% L1:21.5% BI:50.9%
---[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 95.2% 80.3% 51.5% inter: 64.4% 57.2% 24.2%
---[NoImage] x264 [info]: i16 v,h,dc,p: 7% 13% 71% 9%
---[NoImage] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 9% 25% 28% 4% 9% 4% 8% 4% 10%
---[NoImage] x264 [info]: i8c dc,h,v,p: 47% 34% 14% 6%
---[NoImage] x264 [info]: kb/s:35462.73
---[NoImage] encoded 1739 frames, 12.24 fps, 35462.73 kb/s
--[Information] [4/14/2011 5:39:05 PM] Postprocessing
---[Information] Deleting intermediate files
--[Information] [4/14/2011 5:39:05 PM] Job completed
-[Information] Log for job2 (video, hit_test.avs -> hit_test.264)
--[Information] [4/14/2011 5:39:05 PM] Started handling job
--[Information] [4/14/2011 5:39:05 PM] Preprocessing
--[Information] [4/14/2011 5:39:05 PM] Avisynth input script: DirectShowSource("D:\BD-Test\hit man\hi_test.m2ts",fps=30000/1001,audio=false)
--[Information] [4/14/2011 5:39:06 PM] Job commandline: "C:\Dvd_rw\Megui3.2\tools\x264\x264.exe" --preset faster --pass 2 --bitrate 35000 --stats "D:\BD-Test\hit man\hit_test.stats" --open-gop bluray --tff --subme 7 --pic-struc --level 4.1 --bframes 3 --ref 4 --slices 4 --aud --nal-hrd vbr --b-pyramid strict --keyint 30 --min-keyint 3 --vbv-bufsize 30000 --vbv-maxrate 40000 --weightp 0 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --output "D:\BD-Test\hit man\hit_test.264" "C:\br avs\hit_test.avs"
--[Information] [4/14/2011 5:39:06 PM] Encoding started
--[Information] [4/14/2011 5:48:06 PM] Standard output stream
--[Information] [4/14/2011 5:48:06 PM] Standard error stream
---[NoImage] avs [info]: 1920x1080i 1:1 @ 2500000/86207 fps (cfr)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
---[NoImage] x264 [info]: profile High, level 4.1
---[NoImage]
---[NoImage] x264 [info]: frame I:72 Avg QP:14.99 size:255457
---[NoImage] x264 [info]: frame P:1470 Avg QP:16.74 size:155994
---[NoImage] x264 [info]: frame B:197 Avg QP:17.52 size: 95218
---[NoImage] x264 [info]: consecutive B-frames: 79.0% 17.6% 0.2% 3.2%
---[NoImage] x264 [info]: mb I I16..4: 11.7% 76.4% 11.9%
---[NoImage] x264 [info]: mb P I16..4: 1.6% 22.3% 2.0% P16..4: 47.1% 18.7% 6.2% 0.0% 0.0% skip: 2.0%
---[NoImage] x264 [info]: mb B I16..4: 0.2% 4.5% 0.3% B16..8: 40.0% 16.5% 4.2% direct: 7.7% skip:26.6% L0:49.7% L1:33.3% BI:17.1%
---[NoImage] x264 [info]: 8x8 transform intra:84.7% inter:48.4%
---[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 92.7% 88.6% 66.1% inter: 68.9% 65.5% 27.6%
---[NoImage] x264 [info]: i16 v,h,dc,p: 22% 28% 38% 11%
---[NoImage] x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 5% 15% 51% 4% 4% 3% 6% 4% 8%
---[NoImage] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 20% 33% 6% 7% 4% 8% 4% 8%
---[NoImage] x264 [info]: i8c dc,h,v,p: 49% 33% 12% 7%
---[NoImage] x264 [info]: ref P L0: 37.4% 25.4% 14.2% 10.2% 6.8% 6.0%
---[NoImage] x264 [info]: ref B L0: 52.0% 28.0% 11.4% 8.6%
---[NoImage] x264 [info]: ref B L1: 69.0% 31.0% 0.0% 0.0%
---[NoImage] x264 [info]: kb/s:35548.71
---[NoImage] encoded 1739 frames, 3.22 fps, 35548.71 kb/s
--[Information] Final statistics
---[Information] [4/14/2011 5:48:07 PM] Video Bitrate Desired: 35000 kbit/s
---[Information] [4/14/2011 5:48:07 PM] Video Bitrate Obtained (approximate): 35548 kbit/s
--[Information] [4/14/2011 5:48:07 PM] Postprocessing
---[Information] Deleting intermediate files
----[Information] [4/14/2011 5:48:07 PM] Successfully deleted D:\BD-Test\hit man\hit_test.stats
----[Information] [4/14/2011 5:48:07 PM] Successfully deleted D:\BD-Test\hit man\hit_test.stats.mbtree
--[Information] [4/14/2011 5:48:07 PM] Job completed

Music Fan
15th April 2011, 15:14
@ rapscallion : did you see my message ? Try what I explained before encoding.
If the framerate and the duration are good in Virtual Dub, you will be sure that your script is good. MeGui won't change the fps.

rapscallion
15th April 2011, 16:19
@music fan
Yes, and thank you for the response, however my keyboard was not working on the pc I was using this morning.
So, all I could do was cut and paste.

It seems to make no difference whether I use 29.97, 29.970 or 29.970029. VD indicated 29.970 .
If I enter 30000/1001 in the Directshow line, VD shows 29.000, just as Mediainfo and the Megui log does.

Running the script w/o fps, VD indicated 1387.347 fps. Now that's bizarre !

Bottom line: I started the op looking for the exact # to enter, because 23.976 fps is actaully a longer, floating point figure.
So, I wanted to be sure what # to use for 29.97 fps. It would appear that 29.970 fps is correct ?

poisondeathray
15th April 2011, 16:23
Sorry

rapscallion
15th April 2011, 16:33
Try assumefps(30000,1001) , instead of specifying in directshowsource

Using that works fine as well, 29.970 fps.
Both methods totally acceptable I assume ?

poisondeathray
15th April 2011, 16:34
^ heh I did a ninja edit and deleted my message. I see now above that you already tried that

I don't know what is going on

The exact # for 23.976 is (24000,1001)
and for 29.97 is (30000,1001)

poisondeathray
15th April 2011, 16:48
@It seems to make no difference whether I use 29.97, 29.970 or 29.970029. VD indicated 29.970 .
If I enter 30000/1001, VD shows 29.000, just as Mediainfo and the Megui log does.

Running the script w/o fps, VD indicated 1387.347 fps. Now that's bizarre !


This means you directshow filters are "seeing" the file as 1387.347


If vdub "sees" the avs correctly as 29.97 , there must be some sort of communication error between avs=>x264 , because avs=>vdub appears to work ok

As temporary workaround, you can specify the fps in the x264 commandline box --fps 30000/1001

You can try redownloading megui or re-install avisynth too

Music Fan
15th April 2011, 17:03
It seems to make no difference whether I use 29.97, 29.970 or 29.970029. VD indicated 29.970 .
If I enter 30000/1001, VD shows 29.000, just as Mediainfo and the Megui log does.

Running the script w/o fps, VD indicated 1387.347 fps.
So write 29.97, that's the best thing to do with this file.
Except if it's actually 23.976 hard pulldowned.

Using that works fine as well, 29.970 fps.
Both methods totally acceptable I assume ?
Not always, assumefps can be problematic if the framerate is not clearly identified when not specified, which is the case of your video. You'd better specify the fps in the first line of the script and if you don't need to accelerate or slow the video, you don't have to add assumefps.

rapscallion
15th April 2011, 17:22
Thanks MF: This is the David Foster and Friends Hitman video ,that was shot in 1080i MBAFF, 29.970 fps for sure.

Music Fan
15th April 2011, 17:31
Ok, so if it has already been correctly de-interlaced (I guess your video is in 29.97p and not 59.94i), you just have to specify the fps in the first line.
Anyway, I'm astonished that Virtual Dub can't see the correct fps when you don't specify it, it looks like a container problem.
A re-encapsulation could maybe solve this.
What are the codec and container of your video ?
And in avisynth, did you open it with directshowsource or another command line ?

tebasuna51
15th April 2011, 18:13
Using that works fine as well, 29.970 fps.
Both methods totally acceptable I assume ?
No, use always:
DirectShowSource("D:\BD-Test\hit man\hi_test.m2ts",audio=false)
AssumeFps(30000, 1001)

Or, of course:
AssumeFps(24000, 1001)
AssumeFps(24)
AssumeFps(25)
...
always exact values when you know.

Music Fan
15th April 2011, 18:51
No, not always, as I explained sooner. Especially when Vdub detects the correct framerate. Or in the case described by rapscallion.
And assumefps can't be used with variable framerate videos. They are rare but it has to be known.

rapscallion
15th April 2011, 20:09
Ok, so if it has already been correctly de-interlaced (I guess your video is in 29.97p and not 59.94i), you just have to specify the fps in the first line.
Anyway, I'm astonished that Virtual Dub can't see the correct fps when you don't specify it, it looks like a container problem.
A re-encapsulation could maybe solve this.
What are the codec and container of your video ?
And in avisynth, did you open it with directshowsource or another command line ?
Video is untouched ( I just cut a 1 min test clip from it) Hasn't been de-interlaced.
Opened in avisynth with "directshowsource".
I also tested the complete video file and VD showed the same 1387.347fps.

Could the fact that it's MBAFF cause the frame rate discrepancy, because I opened another 1080i
video, that's TFF, and VD reported it correctly @29.970fps ?

Here's the info on the 1 min clip.

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Duration : 59s 993ms
Bit rate mode : Variable
Bit rate : 28.3 Mbps
Maximum bit rate : 38.0 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 fps
Standard : NTSC
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : MBAFF
Bits/(Pixel*Frame) : 0.456
Stream size : 202 MiB (96%)
Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

tebasuna51
16th April 2011, 02:36
And assumefps can't be used with variable framerate videos. They are rare but it has to be known.
But AviSynth can't manage vfr, inside must be cfr and use timecodes after in the container.

hello_hello
16th April 2011, 05:53
When I convert a DVD using MeGUI and the x264 encoder and check the media properties using MPC-HC it lists the colours as:

Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

However it's the same regardless of whether I have MeGUI's colour correction option enabled or not and the encodes display on my PC using exactly the same colours (I'm still not sure I've worked out how a PC decides which colours it's going to use) but shouldn't the conversion without colour correction be BT.601? The above example is a PAL DVD if it makes a difference.

I found a fairly old DVD encode and it's colour properties are:

Color primaries : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M

That one just happens to be NTSC and possibly wasn't converted using MeGUI (I can't remember), but isn't it how the colour properties should appear if colour conversion has taken place? And if it is, is there any way to fix the colour properties of all the DVDs I've encoded using MeGUI?

Music Fan
16th April 2011, 08:55
Video is untouched ( I just cut a 1 min test clip from it) Hasn't been de-interlaced.
Opened in avisynth with "directshowsource".
I also tested the complete video file and VD showed the same 1387.347fps.
Ok, and what's the container of your video ?
For AVC, you should extract the h264 stream with TSMuxer if it's in mts (or m2ts), and with MKVextract if it's in MKV.
Then you open it with DGAVCIndex which creates a dga file that you open with the command "AVCSource".
In this case, I believe you need to add assumefps.
Or DSS2 or FFMS2 in place of DGAVCIndex as explained here ;
http://forum.doom9.org/showthread.php?p=1465128#post1465128


Could the fact that it's MBAFF cause the frame rate discrepancy, because I opened another 1080i video, that's TFF, and VD reported it correctly @29.970fps ?
Maybe, I don't know.
When you say TFF, I guess you mean progressive (always in TFF), because TFF can be MBAFF, and as MBAFF means interlaced, and it can be TFF or BFF.
In avisynth, you can specify 29.97 even if it's interlaced. The important thing to know is if you wanna keep it interlaced or not.
If yes, you have to know if it's TFF or BFF (generally TFF) and specify it in MeGui. And also in avisynth but it's not always necessary.
Actually, the fact that the video is in MBAFF doesn't mean necessarily that it's interlaced, because we can encode a progressive source in interlaced. It's rare but possible.
When you open your script in avisynth, you can see easily if it's really interlaced or not.
If it is, the frames are blended, like this ;
http://www.doom9.org/images/Interlace.jpg

To encode in interlaced with MeGui, you have to check encode interlaced in the "frame-type" tab and add --tff or --bff in the custom command line (misc tab).
If the video is not really interlaced, you don't have to de-interlace it even if it's detected as MBAFF. Thus you encode it as progressive.
But you could need nevertheless to make believe to your standalone player that he is playing interlaced video even when you wanna encode in progressive. In this case, don't check encode interlaced but type --fake-interlaced in the custom command line. And maybe --pic-struct.

Music Fan
16th April 2011, 09:08
But AviSynth can't manage vfr, inside must be cfr and use timecodes after in the container.
It can open it ;
http://avisynth.org/mediawiki/VFR
I was thinking especially to wmv (because I needed it one day) ;
http://avisynth.org/mediawiki/VFR#opening_non-avi_vfr_content_in_AviSynth

Lighto
16th April 2011, 10:42
http://i.imgur.com/XGGyN.png
Just wondering, what exactly does "shut down when finished local queue" do?

Does it shut down the worker when the jobs assigned to the worker is all done or does it shut down the machine when the jobs assigned to the worker is all done?

It isn't checked or anything when I clicked it.

tebasuna51
16th April 2011, 11:04
It can open it ;
http://avisynth.org/mediawiki/VFR

Of course, but try to play the avs directly, you play cfr.

You need add the timecodes like http://avisynth.org/mediawiki/VFR say:
Now mux to MKV:
...
Browse for the "timecodes.txt" timecode file

Music Fan
16th April 2011, 12:43
try to play the avs directly, you play cfr.
Of course, I never said that the aim was to keep the vfr, but just to open it and find its good duration.;)

rapscallion
16th April 2011, 15:25
Ok, and what's the container of your video ?
For AVC, you should extract the h264 stream with TSMuxer if it's in mts (or m2ts), and with MKVextract if it's in MKV.
Then you open it with DGAVCIndex which creates a dga file that you open with the command "AVCSource".
In this case, I believe you need to add assumefps.
Or DSS2 or FFMS2 in place of DGAVCIndex as explained here ;
http://forum.doom9.org/showthread.php?p=1465128#post1465128
AVC, as shown in the Mediainfo in the same post you quoted.


Maybe, I don't know.
When you say TFF, I guess you mean progressive (always in TFF), because TFF can be MBAFF, and as MBAFF means interlaced, and it can be TFF or BFF.
In avisynth, you can specify 29.97 even if it's interlaced. The important thing to know is if you wanna keep it interlaced or not.
No, I mean interlaced. Here's part of the mediainfo :

Frame rate : 29.970 fps
Scan type : Interlaced
Scan order : Top Field First



To encode in interlaced with MeGui, you have to check encode interlaced in the "frame-type" tab and add --tff or --bff in the custom command line (misc tab).
Latest Megui build --interlaced has been replaced by --tff/--bff
If the video is not really interlaced, you don't have to de-interlace it even if it's detected as MBAFF. Thus you encode it as progressive.
But you could need nevertheless to make believe to your standalone player that he is playing interlaced video even when you wanna encode in progressive. In this case, don't check encode interlaced but type --fake-interlaced in the custom command line. And maybe --pic-struct.

That brings up an interesting question. If the source is interlaced, will you get the best picture quality by encoding interlaced or progressive?

Thanks for all the helpful info !

tebasuna51
16th April 2011, 16:28
... but just to open it and find its good duration.;)
For what you need its good duration if you have previously the timecodes ;) ?

Music Fan
16th April 2011, 16:40
AVC, as shown in the Mediainfo in the same post you quoted.
AVC is the codec, not the container. What's the extension of your file ? Generally, the extension corresponds to a container, but sometimes it's not the case, that's why Mediainfo is useful ; it shows the container (above in basic mode and tree mode), whatever the extension.

If the source is interlaced, will you get the best picture quality by encoding interlaced or progressive?
I prefer to keep it interlaced because there are two times more images, so it's twice more fluid.
But interlaced encoding demand a little bit more bitrate than progressive for the same quality.
In this case, the de-interlacing will be done in real time by your player or screen, and the fluidity will be kept.
1080i will become 1080p keeping the 60 frames (or actually 59.94). But the quality of this operation is very different from one player to another.
1080i means 540 lines per field.
If you de-interlace with avisynth, you will lose 1 frame on 2 (except if you make "bobbing", but a standalone player won't play 60 frames in 1080p). But this de-interlacing will probably give best results than a real time de-interlacing.

rapscallion
16th April 2011, 18:56
AVC is the codec, not the container. What's the extension of your file ? Generally, the extension corresponds to a container, but sometimes it's not the case, that's why Mediainfo is useful ; it shows the container (above in basic mode and tree mode), whatever the extension.

Oh, sorry, it's a Blu-Ray disc, *.m2ts

Pulp Catalyst
17th April 2011, 00:49
i assumed that Megui was using Xvid 1.3.1 (as it always is updating), obviously i was surprised that it's using a old version of Encraw (2009 version)

now i realised that, i've copied what Xvid4PSP does, (CPU count + 2)

so 5 for me, CPU usage up to 68-72% now, like all the rest of programs, accept for anyone using Xvid 1.3.1 82%+ average (xvid 1.3.1 hint hint) lol

could i update to 1.3.1 (i assume not, which is why it doesn't come with 1.3.1) thought i'll ask.

Zathor
17th April 2011, 12:59
xvid encraw 1.3.x does not support avi/mkv output files larger than 2GB. That is the reason why it has not been updated already. But you can update it yourself if this is no problem for you. In this case you have to set HVS masking to none as the syntax as changed.

Pulp Catalyst
17th April 2011, 21:28
thankyou Zathor, i'll get on it.

soso12
20th April 2011, 10:02
Hello,
I have very often this message like that :

http://thumb.phyrefile.com/s/so/soso12/2011/04/20/300/2011-04-20_104728.png (http://www.phyrefile.com/image/view/fyzW1smkTmetwXDZ)

it do that especially in 1080p not in 720p, i don't know why, if some boby can help me, please !
:thanks:

LigH
21st April 2011, 07:37
This might be related to a 32 bit application addressing at most 2 GB of RAM.

Enforcing 12 threads seems to be quite heavy. What kind of CPU do you use that it has so many cores - an i7 with hyperthreading, reporting 8 cores?

The more threads you use, the more RAM you need. Speed may be high, but quality will be limited.

soso12
21st April 2011, 09:18
Big Thanks LigH, the problem came from the threads, i put 6 threads instead of 12 and now it works fine !
:thanks:

jimmydrac
22nd April 2011, 07:29
Ok. I just put together a Asus p8p67 pro, I7 2600k, and 4 Gigs of pc1600 ram. I have everything at stock settings and hyperthreading enabled. I used x264Benchmark HD v4.0 and it showed my speeds had doubled from my q9550 that it replaced. Also, the benchmark was using between 90 - 99% cpu. The problem is when I go to encode anything in Megui, it only uses 30 - 40% of my cpu. I have tried increasing the thread count (all the way to 16) but nothing. I have also tried using other x264 encoders (Staxrip, Ripbot) but to no avail. Nothing will use more than 30 40 % cpu. I have tried all the things I know. I was using NO FILTERS other than Spline36Resize tdecimate and everything at stock settings. CRF 18 medium preset, tune film. This has me knocking my head off the wall. On my q9550 the cpu always went to 95 - 99 % using MEGUI. I have searched this forum and googled, but can't find anything about this. Also I noticed that the x64 version in Megui no longer works at all. Not sure if the problem is related or not. The file I am using is from my Happauge PVR1212. I am indexing using DGIndexNV. I am not sure if the 2600k is having to wait for the resizer and deinterlacer, or if there is another problem.


I7 2600k Stock Settings
Asus p8p67 Pro
4 Gigs PC 1600 Ram
Win 7 X64 SP1
Shark007 Codec Pack

bazz
22nd April 2011, 14:37
ive just updated to 2008
i see youve add an option to select which audio decoder to use
NicAudio, FFaudiosource or Directshow?
my question is which one is preferable for ac3 / Lame mp3 ?
and ive never tried Nero Dolby Digital II but if theres options which one there is prefered?

thanks

thanatoscy
25th April 2011, 07:22
Good afternoon everybody & Sharktooth, thanks for all the work i have learned a great deal from you and everybody else. It cme to m attention that in the latest svn x264 encoding profiles, under the rate control the Min/Max/Delta Q's are set to 0-69-4 respectively. With Sharktooth's profiles are set to 10-51-4 respectively.

Q1. Is there a reason for this change?
Q2. Can please pretty-please someone explain to me how the Min/Max/Delta settings work? (please do not copy-paste the wiki explanation since it's confusing to me)

Again, thanks a lot

Lighto
25th April 2011, 08:25
Good afternoon everybody & Sharktooth, thanks for all the work i have learned a great deal from you and everybody else. It cme to m attention that in the latest svn x264 encoding profiles, under the rate control the Min/Max/Delta Q's are set to 0-69-4 respectively. With Sharktooth's profiles are set to 10-51-4 respectively.

Q1. Is there a reason for this change?
Q2. Can please pretty-please someone explain to me how the Min/Max/Delta settings work? (please do not copy-paste the wiki explanation since it's confusing to me)

Again, thanks a lot

The default value of qpmax is changed to 69 since x264 rev 1881+.

The QPs above 51 are "fake QPs" for VBV emergency. You can disable VBV emergency entirely by pushing the max down to 51.

Not that sure about Q2.

Zathor
25th April 2011, 21:42
Just curious if MeGUI still auto updates
The last update on the development server was 4 days ago, so it is still being updated. :rolleyes:

it seems to be behind in updating the x264 codec, it is at 1924 but there is a 1937 available now, can I just download and overwrite the 1924 or should MeGUI be doing this?
The reason for not updating x264 is that the syntax has changed. If you are not using --open-gop you can safely update yourself. Otherwise wait for the next MeGUI update (or change/add it in the custom command line).

mariush
26th April 2011, 13:32
A small bug report.... well maybe it's not really a bug but I would say maybe unhandled case

AVI with video xvid and sound pcm 5.1 , and a mp3 sound generated from the 5.1 track.

Megui -> Tools > AVI Muxer -> Video : avi file , Audio : mp3 file -> mux -> muxed avi with 2 audio tracks, the first being the mp3 and the second the original 5.1 sound from the avi.

Shouldn't MeGUI tell the muxer to ignore the audio tracks from the avi file entered at the video section ? Or maybe it should scan the avi entered in the video section and automatically add the sound from that as Audio Track 1 below, with the option for users to delete/disable it.

I basically had to go in Virtualdub to do a direct stream copy on video and then mux this avi with no sound with the mp3 to get the right result.

Lighto
26th April 2011, 17:51
A small bug report.... well maybe it's not really a bug but I would say maybe unhandled case

AVI with video xvid and sound pcm 5.1 , and a mp3 sound generated from the 5.1 track.

Megui -> Tools > AVI Muxer -> Video : avi file , Audio : mp3 file -> mux -> muxed avi with 2 audio tracks, the first being the mp3 and the second the original 5.1 sound from the avi.

Shouldn't MeGUI tell the muxer to ignore the audio tracks from the avi file entered at the video section ? Or maybe it should scan the avi entered in the video section and automatically add the sound from that as Audio Track 1 below, with the option for users to delete/disable it.

I basically had to go in Virtualdub to do a direct stream copy on video and then mux this avi with no sound with the mp3 to get the right result.

AVI-Mux GUI in MeGUI's tools folder will be able to do that.
Nonetheless if you feel that this is a necessary feature, you can make a feature request to the developers.

mozzle
26th April 2011, 23:06
Hi there.

I've recently started backing up my Blu-Rays. The first two went fine and turned out great. My process is as follows:

1. Rip the BD to drive using DVDFab 8 resulting in a single .mt2s file.
2. Open MeGUI and use the File Indexer to index the file and create an AviSynth script.
3. Encode video with MeGUI.

On my third try, when I tried to index an .mt2s file the same way I had previously, the following message appeared after choosing the .mt2s file with the MeGUI File Indexer:

"It is recommended to use a MKV, AVI, MP4 or FLV container to index files with the FFMS2 indexer."

This was the first time I have seen this message. I knew I was using a new version of MeGUI so I went ahead and indexed the file. Upon completion, the AviSynth Script Creator launched but the preview video looked like this: http://img683.imageshack.us/img683/9452/unled1in.jpg

Here's what the script looks like:

LoadPlugin("C:\Program Files\megui\tools\ffms\ffms2.dll")
FFVideoSource("C:\Documents and Settings\My Documents\DVDFab\Temp\MainMovie\THE DARK KNIGHT\BDMV\STREAM\00007.m2ts").AssumeFPS(24000,1001)

And here's the log:

-[Information] Log for job1 (idx, 00007.m2ts -> 00007.m2ts.ffindex)
--[Information] [4/26/2011 5:23:49 PM] Started handling job
--[Information] [4/26/2011 5:23:49 PM] Preprocessing
--[Information] [4/26/2011 5:23:49 PM] Job commandline: "C:\Program Files\megui\tools\ffms\ffmsindex.exe" -t -1 -f
"C:\Documents and Settings\My Documents\DVDFab\Temp\MainMovie\THE DARK KNIGHT\BDMV\STREAM\00007.m2ts"
--[Information] [4/26/2011 5:23:49 PM] Indexing started
--[Information] [4/26/2011 5:53:28 PM] Standard output stream
--[Information] [4/26/2011 5:53:29 PM] Standard error stream
--[Information] [4/26/2011 5:53:37 PM] Postprocessing
---[Information] Deleting intermediate files
--[Information] [4/26/2011 5:53:42 PM] Job completed

I'm not sure what changed or how to avoid this problem in the future. I don't think I'm doing anything differently.

I'm on Windows XP Pro SP3 / Intel Quad 6600 / MeGUI 2009 (svn) - Development Server / AviSynth 2.5.8

Hope this is enough info to get some help. Much appreciated.

Betsy25
27th April 2011, 01:57
Got an error when using the M2TS Muxer.

Log:[Error] Log for job1 (mux, T1_Video - .h264 -> T1_Video - -muxed.m2ts)
-[Information] [27/04/2011 3:28:24] Started handling job
-[Information] [27/04/2011 3:28:24] Preprocessing
-[Information] [27/04/2011 3:28:24] mux script
--[NoImage] MUXOPT --no-pcr-on-video-pid --new-audio-pes --avchd --vbr --vbv-len=500 --split-size 4096MB
--[NoImage] V_MPEG4/ISO/AVC, "O:\Other DVD\Das Leben Der Anderen (2006)\T1_Video - .h264", fps=24.0 ,
insertSEI, contSPS
--[NoImage] A_AC3, "O:\Other DVD\Das Leben Der Anderen (2006)\T2_Audio - German.ac3", lang=ger
--[NoImage] S_TEXT/UTF8, "O:\Other DVD\Das Leben Der Anderen (2006)\TLoO(2006).srt", video-width=1280,
video-height=540, fps=24.0
-[Information] [27/04/2011 3:28:24] Job commandline: "C:\Program Files\MeGUI\tools\tsmuxer\tsmuxer.exe"

"O:\Other DVD\Das Leben Der Anderen (2006)\T1_Video - -muxed.meta"
"O:\Other DVD\Das Leben Der Anderen (2006)\T1_Video - -muxed"
-[Information] [27/04/2011 3:28:24] Muxing started
-[Error] [27/04/2011 3:28:30] Process exits with error code: -1073741811
-[Information] [27/04/2011 3:28:30] Standard output stream: SmartLabs tsMuxeR.
Version 1.10.6 http://www.smlabs.net
-[Information] [27/04/2011 3:28:30] Standard error stream
-[Information] [27/04/2011 3:28:30] Job completed


Error ONLY occurs when the option --split-size is set.

... when using the TsMuxerGUI.EXE directly, it inserts :
--split-size=4GB
...while MeGUI inserts...
--split-size 4096MB
into the .meta file. (Notice the missing = sign)

Zathor
27th April 2011, 06:09
1. Rip the BD to drive using DVDFab 8 resulting in a single .mt2s file.
2. Open MeGUI and use the File Indexer to index the file and create an AviSynth script.
3. Encode video with MeGUI.
I recommend to replace step 1 with the "HD Streams Extractor" tool in MeGUI which invokes eac3to to create a mkv file. This is usually better indexed by ffms than a m2ts file.

Got an error when using the M2TS Muxer.
Thanks, will have a look at it.

mozzle
27th April 2011, 06:41
Zathor - "I recommend to replace step 1 with the "HD Streams Extractor" tool in MeGUI which invokes eac3to to create a mkv file. This is usually better indexed by ffms than a m2ts file."


Thanks for the reply, Zathor.

I assume you mean replace step 2?

I tried it and got the buzzer. Here's the log:

[Error] Log
-[Information] Versions
--[Information] [4/26/2011 10:40:04 PM] MeGUI Version : 2009 (svn)
--[Information] [4/26/2011 10:40:04 PM] OS : Windows XP Professional x86 SP3 (5.1.196608.2600)
--[Information] [4/26/2011 10:40:04 PM] Latest .Net Framework installed : 3.5 (3.5.30729.01)
--[Information] [4/26/2011 10:40:04 PM] Avisynth Version : 2.5.8.5 (12/21/2008 9:46:54 PM)
-[Information] Update detection
--[Information] [4/26/2011 10:40:04 PM] Connecting to server: http://megui.org/auto/
--[Information] [4/26/2011 10:40:05 PM] All files are up to date
-[Error] Log for job3 (ext, 00007.m2ts -> xxx)
--[Information] [4/26/2011 10:40:20 PM] Started handling job
--[Information] [4/26/2011 10:40:20 PM] Preprocessing
--[Information] [4/26/2011 10:40:20 PM] Job commandline:
"C:\Program Files\megui\tools\eac3to\eac3to.exe" "C:\Documents and Settings\My Documents\DVDFab\Temp\MainMovie\THE DARK KNIGHT\BDMV\STREAM\00007.m2ts"
1:"C:\Documents and Settings\My Documents\DVDFab\Temp\MainMovie\THE DARK KNIGHT\BDMV\STREAM\T1_Chapter - .txt"
2:"C:\Documents and Settings\My Documents\DVDFab\Temp\MainMovie\THE DARK KNIGHT\BDMV\STREAM\T2_Video - .mkv"
3:"C:\Documents and Settings\My Documents\DVDFab\Temp\MainMovie\THE DARK KNIGHT\BDMV\STREAM\T3_Audio - English.ac3" -progressnumbers
--[Information] [4/26/2011 10:40:20 PM] Extracting started
--[Error] [4/26/2011 10:40:24 PM] Process exits with error code: 1
--[Information] [4/26/2011 10:40:24 PM] Standard output stream
---[NoImage] M2TS, 1 video track, 1 audio track, 2:32:13, 24p /1.001
---[NoImage] 1: Chapters, 39 chapters
---[NoImage] 2: VC-1, 1080p24 /1.001 (16:9)
---[NoImage] 3: AC3, English, 5.1 channels, 640kbps, 48kHz
---[NoImage] Creating file "C:\Documents and Settings\My Documents\DVDFab\Temp\MainMovie\THE DARK KNIGHT\BDMV\STREAM\T1_Chapter - .txt"...
---[NoImage] a03 Extracting audio track number 3...
---[NoImage] v02 Extracting video track number 2...
---[NoImage] v02 Muxing video to Matroska...
---[NoImage] v02
---[NoImage]
--[Information] [4/26/2011 10:40:24 PM] Standard error stream
--[Information] [4/26/2011 10:40:24 PM] Job completed

I attempted to extract with the default settings: MKV and AC3.

:mad:

EDIT: Okay, updated to the latest Haali Media Splitter and tried it again. It didn't buzz me the first two seconds and it's churning...so I'm hopeful.

EDIT 2: Okay, after updating Haali Media Splitter, results were much better, but there is still a problem. There are frames with problems, as seen here:

http://img15.imageshack.us/img15/298/unled1sp.jpg

What do I need to do to avoid this?

EDIT 3: Did a test encode and it looked fine. There weren't any artifacts as seen in the preview window in both MeGUI and AVSP. I don't know what the hell is going on.

:confused:

forum king
2nd May 2011, 05:36
hey folks !!
long time :)
well i have again hit a very very strange problem .
my megui is encoding well but since past 1 week i have noticed that the encoding itself stops out of the blue (not always ) either during first pass just at the beginning or just at the start of 2nd pass.
the error that is shown in the log is

Calling setup of processor failed with error 'The file C:\Documents and Settings\LOLOL\Desktop\parteh.avs cannot be opened.
DirectShowSource couldnt open file .........
No combination of filters coul;d be found to render the stream

and the same jobs when put in waiting again they encode flawlessly after hitting start :P
I have used 1911 as well as 2008 versions , same thing happens off and on in both.

Its kinna strange as if megui has become moody and all.
any advises .:)

LigH
2nd May 2011, 07:48
Don't blame MeGUI, it is not the reason.

Blame your DirectShow system. Maybe blame yourself for installing a "Codec Pack" which ruined it.

DirectShowSource is the most unreliable way to open any media file, if there is an alternative native AviSynth source plugin available.

jmac698
3rd May 2011, 13:47
I'm wondering how to automate conversions with megui. I have to use a custom script because of cropping and anamorphic sizing. Then I have to add the audio step, and wait for them to finish, then add the muxing step, because I don't know what filenames it's going to end up with.
I wish there was someway to automate an anamorphic encode.
I have to use mpeg matrix, I find h263 looks awful. Doesn't anyone think so??

LigH
4th May 2011, 08:43
The H.263 quantization doesn't look worse "per se". I believe people encoding cartoons often prefer it because it may look less blocky in very low detail parts.

To encode anamorphically with the MeGUI, you need to have specific aspect ratio related variables included, as they appear when you generate a script with the "Clever Anamorphic" feature enabled in the AVS Script Creator.

Lighto
4th May 2011, 12:48
MeGUI crashes when I close the video player used to preview a .avs that includes QTGMC().


Problem signature:
Problem Event Name: APPCRASH
Application Name: MeGUI.exe
Application Version: 1.0.2009.0
Application Timestamp: 4db14c2d
Fault Module Name: mvtools2.dll_unloaded
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4d8653b7
Exception Code: c0000005
Exception Offset: 1015803b
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 18441
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt


Is this due to a broken avisynth filter or does the problem lies with the video player?
:thanks:

thegame
5th May 2011, 17:54
Does anyone know roughly how long it will be before MeGUI finally updates to the latest x264 build? program has been stuck at build 1924, and latest is build 1947.

Thanks

Zathor
5th May 2011, 17:59
Does anyone know roughly how long it will be before MeGUI finally updates to the latest x264 build? program has been stuck at build 1924, and latest is build 1947.

Thanks

Rule #11: you shall not cross post: :)
http://forum.doom9.org/showpost.php?p=1498477&postcount=2041

thegame
5th May 2011, 18:15
OK, sorry about that, I forgot to go back and delete it when I realized I posted in the wrong thread.

Zathor
5th May 2011, 22:39
That's no problem at all. I have answered your other posting.

bazz
7th May 2011, 11:02
i commented a while ago about MeGUI trouble with mp3 CBR above 128kbps only given 128kbps.
it stopped for a little while now its happening again , VBR -no problems
CBR under 128kbps -no problems but if i try to encode 144 kbps or above i only end up with 128kbps
how can i debug this for you sharktooth mate
the logs dont show the problem?

forum king
7th May 2011, 18:38
Don't blame MeGUI, it is not the reason.

Blame your DirectShow system. Maybe blame yourself for installing a "Codec Pack" which ruined it.

DirectShowSource is the most unreliable way to open any media file, if there is an alternative native AviSynth source plugin available.
i am sorry mate ,
could you please elaborate what i should actually do , if you dont mind.
all i have done is install avisynth
klite
megui
and things have been working great , this issue of random stoppage and error in starting jobs has started from past 10 days only.

rergards

Zathor
8th May 2011, 01:37
You can try it without DirectShowSource if possible with the file indexer tool.

tebasuna51
8th May 2011, 09:40
i commented a while ago about MeGUI trouble with mp3 CBR above 128kbps only given 128kbps.
CBR under 128kbps -no problems but if i try to encode 144 kbps or above i only end up with 128kbps...?
144 kbps is not allowed.
You can use only this discrete bitrates (kbps):
32 40 48 56 64 80 96 112 128 160 192 224 256 320

Zathor
8th May 2011, 17:03
Thanks, changed it.

forum king
8th May 2011, 20:22
You can try it without DirectShowSource if possible with the file indexer tool.
could u pl explain mate ,
all i do atm , is just make a simple script with megui
which has avisource , in line 1 for avi sources
and directshowsource in line one for mkv sources

how can i avoid using directshow.
regards

Zathor
8th May 2011, 21:36
MeGUI crashes when I close the video player used to preview a .avs that includes QTGMC().

Problem signature:
Fault Module Name: mvtools2.dll_unloaded


Is this due to a broken avisynth filter or does the problem lies with the video player?
I assume it is the filter.

how can i avoid using directshow
Open "Tools\File Indexer", select your input file and click on "Queue". Process the job and the Avisynth Script Creator will open without DirectShowSource - save the script. Give it a try :)

Poutnik
20th May 2011, 06:39
Is it normal, that MeGUI ( 2008 SVN ) has 160 threads and working set/private bytes 528/638 MB, being idle ?

With above memory characteristics
I had 1 SD AVS ( with FFT3DGPU ) encoding to mp4/h264/aac in progress, and the 2nd in waiting.
vfw4x264 had 299/479 MB, x264_64 had 106/120 MB.

I used 2 workers, the 2nd one for audio only.
For both WAV to M4A encoding was already done.

Edit:After the first encoding finished and the 2nd started, there was 168 threads and 541/650 MBs.
Is possible threads are not going to get closed while MeGUI is used for serie of encodings,
causing memory leaks ?

I mention it as MeGUI crashed for me recently 1-2 time at next encoding preparation for some memory reasons,
while other encoding was in progress ( not remember exact error )
Note that once I noticed at crashing either working set or private bytes near 1.5-1.6 GB.

Note that I use stable updates only settings.

I have Vista64 HPremium SP2, 6 GB RAM, used both MeGUI and Avisynth 32bit.

LoRd_MuldeR
20th May 2011, 17:16
Keep in mind that MeGUI is a .NET application. So the process has to load the .NET runtime/libraries and stuff, which will certainly occupy more memory than a plain C/C++ application. Also .NET, just like Java, uses Garbage Collection, which means that the program doesn't explicitly free any memory. The runtime cleans unreferenced objects from the memory when it thinks that it is time to free some memory...

Poutnik
21st May 2011, 08:20
I see, being aware MeGUI is .NET application.
Not being expert in the topic, I would say closing threads is not part of garbage collection, but I can be wrong.

I cannot help myself, 169 threads seems suspicious to me even for .NET, especially if seems to be increasing in time, together with memory.

After start, my MeGUI has 6 threads. and 25/37 MB memory footprint.
I have started another encoding with the same parameters as previous ones.
MeGUI has now about 60 threads and 200 memory footprint.
they does not seem to get released when finished, rather increase slightly.

Looks like, over the time,
either MeGUI forgets to close threads from done jobs/activities and .NET garbage collection waits to MeGUI to close them.
either all stuff is matter of GC itself and GC "forgets to work", having good opportunity with MeGUI idle for long time.

Groucho2004
21st May 2011, 11:39
You might want to check out Process Explorer (http://technet.microsoft.com/en-gb/sysinternals/bb896653).

Poutnik
21st May 2011, 18:39
thank you for the tip, but I use PE all the time.
It was PE what provided me thread numbers, Working set and Private bytes.

MeGUI after 4 encoding, being idle with jobs finished and cleared from list
ended with near 230 threads, 600 MB Working set and 750 MB Private bytes.

I may have a look at MeGUI developer versions, if they have the same issue.

goldensun87
21st May 2011, 19:10
I've been encoding movies to H.264 for a while now, but I was wondering, what is the minimum bits/pixel ratio at which H.264 retains most of the original quality of the DVD video?

nurbs
21st May 2011, 20:04
There is no answer to that. The number of bit/pixel you need depends on your settings and the video.

LoRd_MuldeR
22nd May 2011, 00:20
I've been encoding movies to H.264 for a while now, but I was wondering, what is the minimum bits/pixel ratio at which H.264 retains most of the original quality of the DVD video?

The "bits per pixel" ratio is not useful as a quality predictor, because it completely leaves out the "complexity" (or "compressibility") of the individual source video.

Instead of relying on dubious bits/pixel ratios you might read somewhere, you should better use x264's excellent CRF mode. Something like CRF=18 will certainly retain good quality.

You can then successively increase the CRF value in order to find the maximum CRF value that still retains "acceptable" quality for your eyes...

AiDz0r
22nd May 2011, 05:15
Where exactly can i get the Latest MeGUI with the latest x264 CLI, that supports Windows 7 x64 bit. When i search, I see too many links here and there, I'm afraid i'm going to get an outdated version.

edit: I found x264 in videolan.org, x264.nl (with 3 options of different type), Mencoder and on MeGUI ftp. Which version is the most stable/updated for MeGUI and that is completable with 64 bit. Thanks.

LoRd_MuldeR
22nd May 2011, 11:31
Where exactly can i get the Latest MeGUI with the latest x264 CLI, that supports Windows 7 x64 bit. When i search, I see too many links here and there, I'm afraid i'm going to get an outdated version.

You can download MeGUI on the official web-site:
http://sourceforge.net/projects/megui/files/megui-stable/

It will run on any Windows version, as long as a suitable version of the .NET Framework is installed. And you shouldn't need to update any of the CLI tools manually, as MeGUI has an auto-update wizard. You can switch between "stable" and "development" updates in the MeGUI settings - whatever you prefer. Last but not least you can enable "64-Bit mode" for x264 in the MeGUI settings too...

Rat Killer
27th May 2011, 22:43
Can anyone tell me what real difference I am supposed to see between using these two methods for indexing and frameserving? I see about a 3% faster encode for dgindexnv but really cannot tell any difference in the end result.

Is it really all about that 3%?

Lately my dgindexnv install is having licence issues which I really do not understand, some days it works, some it reports invalid licence with no change in the machine other than the laptop's physical location and network address. If I only give up 3% to forget about it....well it was not that expensive.

Lyle_JP
27th May 2011, 23:54
Can anyone tell me what real difference I am supposed to see between using these two methods for indexing and frameserving? I see about a 3% faster encode for dgindexnv but really cannot tell any difference in the end result.

Is it really all about that 3%?

Lately my dgindexnv install is having licence issues which I really do not understand, some days it works, some it reports invalid licence with no change in the machine other than the laptop's physical location and network address. If I only give up 3% to forget about it....well it was not that expensive.

DGIndexNV can handle interlaced VC-1. I don't know if FFMSindex can. So DGIndexNV is useful to keep. Drop a line to Neuron2 if you're having technical issues.

LigH
29th May 2011, 07:05
All released decoders should be working exact enough to reproduce content bit-exact as the reference decoder does, no matter which speed enhancement tricks they use (SIMD or hardware chipsets).

I remember the times of FlasK / Xmpeg when some of the many iDCT functions for the MPEG2 decoder they contained tried to favour speed over accuracy, and they contained test units to compare an iDCT plugin with the reference and report possible differences, even though they may have been as little as at most one bit in many cases – but some failed even visibly for one or another macroblock.

Well, the iDCT was not even the smallest bottleneck in the whole MPEG2 decoding algorithm, and decoding MPEG4-AVC or VC-1 is even a whole different magnitude.

pancserzso
1st June 2011, 16:20
What is the recommended h264 setting or profile for Youtube?

I am trying to upload a video to Youtube in 1080p and I was using the DXVA profile, but it produces stuttering playback in Youtube! So maybe DXVA not the good profile for it. But then what is the recommended one?

Floatingshed
2nd June 2011, 13:59
MeGUI reports an error if any items in the avs script are located on network drives if that drive has not recently been accessed by another application! What's going on there?

Alex_080
3rd June 2011, 08:21
hi Friends
I new to megui. I want to know is it possible to encode a particular portion of a video..mean i want to encode first 15min from 20min video.
Please help.

Lighto
3rd June 2011, 13:21
hi Friends
I new to megui. I want to know is it possible to encode a particular portion of a video..mean i want to encode first 15min from 20min video.
Please help.

Use AVS Cutter.
http://www.digital-digest.com/articles/MeGUI_H.264_Conversion_Guide_page7.html

Alex_080
3rd June 2011, 16:36
Use AVS Cutter.
http://www.digital-digest.com/articles/MeGUI_H.264_Conversion_Guide_page7.html
thanks bro. :)

bazz
6th June 2011, 00:05
ive just updated my MeGUI to 2028, when opening a 720p mkv file
with AVS script creator it now ask which way i want to open the file?
oneclick encoder(i dont like) fileindexer or directshowsource
which one is the better to use on an mkv?

thanks

AMED
6th June 2011, 00:06
Use the file indexer.

rapscallion
6th June 2011, 22:58
Just curious. If I demux the VC-1 /MP2 video stream, from an early BD, and then re encode the resulting *.m2ts stream w/Megui (using same or higher br as original) will the resulting x264 AVC/MP4 be of higher quality that the original VC-1 ? Logically I would think so, however.....

AMED
6th June 2011, 23:06
the quality will be worse since your using lossy encoding. but i suppose it all depends if your eyes can pick up on it.

rapscallion
6th June 2011, 23:28
Thanks Amed...wishful thinking on my part :)

LigH
7th June 2011, 08:27
There is usually a difference between "objective quality" (what can be measured or calculated by a computer) and "subjective quality" (what is recognised by a human).

Regarding objective quality, any kind of difference to the original video is defined as quality loss.

Regarding subjective quality, this different result may look more or less annoying to one viewer or another.

"A matter of taste" can't be calculated a priori. "ABX tests" may collect statistics about a number of viewers, but their relevance depends on the selection of test persons. Technical metrics may be similar, but hardly close to a subjective "feeling of quality".

pereant
8th June 2011, 11:19
Hi everyone,

I'm running the latest megui on windows xp, Intel Core 2 Duo Mobile T7200 and very impressed so far.

Since i am trying to rip a mostly very grainy and partially interlaced source, and the mind boggles at how to get good results on this, i was wondering if i could use different (better) filters than the ones the avisynth plugin already offers.
On my search i stumbled upon QTGMC (http://forum.doom9.org/showthread.php?t=156028) and i was also wondering if i could use this inside the avisynth plugin of megui. Is that possible and how to without messing it all up?
Secondly, it says it works better with the MT version of Avisynth. Is it possible to manually upgrade the avisynth plugin for Multithreading support?

Thanks in advance - i'm having much time on my hands ;)

LigH
8th June 2011, 11:57
Your opinion makes me confused ... AviSynth plugin? MeGUI is just a user interface to create an AviSynth script. The AviSynth frameserver is the engine the conversion is based on, MeGUI is just a tool to hande it easier.

Of course you can use TGMC or QTGMC in the AviSynth script MeGUI creates and uses to deliver the decoded video filtered to the encoder. At least if you edit its import and call manually into the script source. I am not sure if that can be simplified via the GUI, don't know MeGUI at such a level of detail...

pereant
8th June 2011, 12:07
Thanks for the explanation! The fog has lifted. i will give it a try.

:)

Groucho2004
8th June 2011, 12:14
Secondly, it says it works better with the MT version of Avisynth.

I highly doubt that this wording is used. Using a MT version of Avisynth will run it faster on a multi core CPU.

However, the MT hack of Avisynth (no offense to the guys who developed it) is rather buggy.

Also, MT or not, you will probably be very unhappy with QTGMC's speed on your T7200.

pereant
8th June 2011, 12:49
Also, MT or not, you will probably be very unhappy with QTGMC's speed on your T7200.

Can you recommend a different deinterlacer than QTGMC that would suit my cpu?

My issue is that the film source is, firstly, horrible grainy and i cannot compress it to a reasonable size without getting a completely blurred video.
Secondly, it is partially interlaced and the yadif method did not work on some parts of the film. Apart from that yadif worked best.

Cheers Groucho

Groucho2004
8th June 2011, 13:02
Can you recommend a different deinterlacer than QTGMC that would suit my cpu?

My issue is that the film source is, firstly, horrible grainy and i cannot compress it to a reasonable size without getting a completely blurred video.
Secondly, it is partially interlaced and the yadif method did not work on some parts of the film. Apart from that yadif worked best.

Cheers Groucho

I don't have much experience with de-interlacers because I usually deal with progressive material.

Your best bet to get some good advice for your source is to post a sample clip in the Avisynth Usage forum and describe the issues you have.

MrVideo
8th June 2011, 13:13
Secondly, it is partially interlaced and the yadif method did not work on some parts of the film. Apart from that yadif worked best.

What is the source of the video and what are the dimensions of the video? What is the frame rate?

I ask because professionally produced videos for DVD cannot be partially interlaced and partially progressive. It is one or the other.

There can be situations, more so with 25 fps sources, where there is true video source, which is interlaced, so motion results in different video content in each field, along with film that was transferred to 25 fps video. When film is transferred to 25 fps video, it looks as if it were progressive when you do a still frame, because the same film frame is scanned for both interlaced fields.

It doesn't work out that well with 29.97 sourced video. When film is transferred, to video, the 2:3 pulldown makes it look like there are three progressive frames, followed by two interlaced frames, when in fact all of the frames are interlaced.

So, to have someone on this thread to be able to help, it would nice to know exactly what you have.

IMHO, it is never good to deinterlace, unless the device that you are recoding the video for requires progressive video. Otherwise, if it is for video playback on a computer, best to leave the interlacing alone. Why? Because deinterlacing reduces spatial, i.e., time, information.

If someone is running across the screen and it takes five seconds to do that, at 59.94 fields/sec, there would be 300 images of the runner moving across the screen. Deinterlace and you reduce the spatial time to 150 images of the runner.

Sure, there are supposed to be methods to try and reduce spatial loss, but unless there is an absolute reason for doing so, I'm a firm believer in leaving interlaced video as interlaced video.

The exception, sortof, is when 29.97 video is reverse telecined to 23.976. In that case, the result is progressive video, but deinterlacing is not used to achieve the result.

Sorry about the long winded posting.

pereant
8th June 2011, 15:01
Sorry about the long winded posting.
How could you worry?! Your opinion is very much appreciated!

The source is a "semi" professional DVD ;)

Format : MPEG Video
Format version : Version 2
Duration : 1h 8mn
Bit rate mode : Variable
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate : 29.970 fps
Standard : NTSC

in terms of your statement about to not de-interlace the film, i have to admit, i never thought about that. I would prefer progressive if the result is comparable to the source otherwise ...
so, If i would leave it like it is, i humbly dare to ask: wouldn't the film be more detailed and the compressibility might suffer from it?

On a second thought, the latter is a moot question.

LigH
8th June 2011, 15:58
Yadif is a quite fast but not very smart deinterlacer, it may fail and introduce fake textures.

TDeint is one of the smarter deinterlacers with a good speed, not perfect, but a bit safer than Yadif.

If you have NTSC, always check first if it is 3:2 Pulldown = Telecine instead of interlacing; in that case, IVTC can make it progressive (more or less) losslessly. PAL does not use 3:2 Pulldown.

pereant
8th June 2011, 16:03
Your best bet to get some good advice for your source is to post a sample clip in the Avisynth Usage forum and describe the issues you have.

Overlooked your reply. Good advice.

Thanks

pancserzso
8th June 2011, 19:13
Can someone help me with this ImageSource issue? Whenever I use ImageSource in an AVS file, no MeGUI version opens it after 1911! Can someone help me? I have Avisynth 2.58 installed and I use Windows 7 64-bit.

MrVideo
8th June 2011, 20:50
The source is a "semi" professional DVD ;)

The "semi" professional kinda worries me, because LigH's question was my next question. What about 2:3 pulldown? After taking Groucho2004's advice and posting a sample, please provide a link here to that posting.

This I gotta see.

rapscallion
8th June 2011, 21:05
If you have NTSC, always check first if it is 3:2 Pulldown = Telecine instead of interlacing; in that case, IVTC can make it progressive (more or less) losslessly. PAL does not use 3:2 Pulldown.
May I ask, how do you check that ?

MrVideo
8th June 2011, 21:50
May I ask, how do you check that ?

Visually. No really, that is how I find the cadence locations when editing.

When using a video editor, like VideoReDo, you step through the frames in any area that has action. If the video has 2:3 (technically it is 2:3, not 3:2) pulldown, you'll see three frames that have no interlacing artifacts and then two frames that do (a double image in the single frame).

If that pattern is there, it has 2:3 pulldown. If you see anything else, i.e., every frame within the action is double imaged and/or blended (25 fps material converted to 29.97 fps or film transferred to 29.97 that was not 2:3 converted), then it doesn't have 2:3 material.

magnetite
8th June 2011, 23:23
I have a question about MeGUI's quality settings. What settings determine the quality of your video aside from a low CRF value (eg. I'm using CRF 14)?

pereant
8th June 2011, 23:35
After taking Groucho2004's advice and posting a sample, please provide a link here to that posting.

This I gotta see.

I've started a new thread as suggested: http://forum.doom9.org/showthread.php?p=1506819
Thanks for all ! You're great helpful people :)

LigH
9th June 2011, 08:49
@ rapscallion:

The AVS Script Creator has an automatic interlacing tester (Filters: Deinterlacing – Analyze...); but no automatic detection will ever be as smart as your brain.


@ magnetite:

In general, there are two groups of factors which are related to the video quality (or, more exactly: the amount of quality loss compared to the original video source):

a (major): Quantization, bitrate, filesize. CRF 14 could already be considered "archive grade accuracy", many people would already be satisfied with CRF 18.

b (minor): Encoding efficiency, redundancy removal efforts. May reduce the size by permilles, maybe even percents, when comparing videos with a constant quantization. Almost only interesting if the resulting filesize is limited, and the quantization is a result of the bitrate distribution, not the other way round. If reliably low quality loss is more important than limited file sizes, don't tweak your encoder too much; especially "psychovisual enhancements" are made for reducing the annoyance of already perceptive loss (tweaking "subjective quality"), but non-perceptive loss does not need that (already has good "objective quality" = small measurable difference).

It's like racing cars: Spoilers (b) are no substitute for more cylinder capacity (a).

Music Fan
9th June 2011, 09:07
Concerning the de-interlacing of Ntsc dvd movies, we can add another solution : when it's soft-pulldown (like most of movies on Ntsc dvd), we can remove the pulldown with TSMuxer (check "remove pulldown").
You'll get a progressive mpeg-2 file in 23.976 fps rid of 3:2 pulldown, without re-encoding of course.
Then you open it in Avisynth or MeGui which won't have to de-interlace it.
We can see if the pulldown is soft or hard with GSpot. Two examples gathered in same picture ;

http://img139.imageshack.us/img139/4346/gspotht9.jpg

Above : hard pulldown or video source
Below : movie source with soft pulldown.

MrVideo
9th June 2011, 09:18
when it's soft-pulldown (like most of movies on Ntsc dvd), we can remove the pulldown with TSMuxer (check "remove pulldown").

I forgot all about that. Good point. The DVD player is doing the 2:3 pulldown. The original encoding is a lot nicer as well, as they could actually encode at a higher bitrate, since there are less frames, or they can add more content per layer.

Music Fan
9th June 2011, 09:41
Actually, if we remove pulldown, I don't know what happens if we wanna keep the subtitles, because I wonder if their timecode is in 23.976 fps or 29.97 fps.
Anyway, if it's in 29.97 fps, it's not a huge problem because we can convert the subtitles timecode from 29.97 to 23.976 fps with several programs, but it's important to do to keep the sync between video and subtitles when we encode the video in 23.976 fps (whatever the de-interlacing method).

flebber
9th June 2011, 12:17
Is there an option in megui oneclick to force it to use ffms instead of dgi? I am using mkv input so I can use ffms.

pereant
9th June 2011, 12:48
Is there an option in megui oneclick to force it to use ffms instead of dgi? I am using mkv input so I can use ffms.

Doesn't it use ffmsindex on mkv files automatically?

If you load a mkv file manually with the file indexer GUI it chooses ffmsindex and dgindex is greyed out.

I'm a clueless individual though - just trying to provoke minds ;)

flebber
9th June 2011, 13:11
yeah the file indexer gets it right and uses ffms.

raj1402
9th June 2011, 13:50
for dvdrip whats the correct frame rate

29.970 or 25fps or 23.976fps

Music Fan
9th June 2011, 13:55
It depends on the dvd. You can analyze files with MediaInfo or GSpot.

Zathor
9th June 2011, 14:52
Is there an option in megui oneclick to force it to use ffms instead of dgi? I am using mkv input so I can use ffms. The only way to force using ffms when dgi is available is renaming/delecting your license.txt file.

magnetite
9th June 2011, 20:33
@ LigH

Oh okay. Another thing I wanted to mention is that this video was 24 FPS but it's been run through Interframe so it's 60 FPS. With more information in the file I would assume that CRF 14 would be good for a 24 FPS source, but since it's 60 FPS that it might need a lower value to be similar to the source.

LigH
10th June 2011, 07:20
Current x264 versions already respect the frame rate in their calculation of acceptable loss (to indirectly support variable frame rates too): The longer you can see each frame, the less loss is acceptable for a given rate factor.

Inspector.Gadget
10th June 2011, 20:30
Actually, if we remove pulldown, I don't know what happens if we wanna keep the subtitles, because I wonder if their timecode is in 23.976 fps or 29.97 fps.
Anyway, if it's in 29.97 fps, it's not a huge problem because we can convert the subtitles timecode from 29.97 to 23.976 fps with several programs, but it's important to do to keep the sync between video and subtitles when we encode the video in 23.976 fps (whatever the de-interlacing method).

It shouldn't matter. Unlike PAL speedup, NTSC pulldown doesn't change the play time of the video, so subs should always be in sync.

Edit: Also for pulldown removal DGPulldown works well. The caveat of course when removing pulldown is to always make sure DGIndex reports 100% FILM so you don't create sync problems. GSpot will display 3:2 pulldown if some number of flags are found, not if the content is all only film, so it's not a reliable guide.

bamsebo
10th June 2011, 22:25
I have an h264 1920x1080i25 broadcast ts that I am trying to re-encode using MeGui and x264.

however I am seeing some odd artefacts when playing back the avs script even before encoding. I have tried various deinterlacing options without any luck.

http://img221.imageshack.us/img221/4919/vlcsnap00006r.png (http://imageshack.us/photo/my-images/221/vlcsnap00006r.png/)

Uploaded with ImageShack.us (http://imageshack.us)

any help would be appreciated.
thanks Barry
Playing the original ts file doesnt show any artefacts

rapscallion
10th June 2011, 23:04
Concerning the de-interlacing of Ntsc dvd movies, we can add another solution : when it's soft-pulldown (like most of movies on Ntsc dvd), we can remove the pulldown with TSMuxer (check "remove pulldown"). You'll get a progressive mpeg-2 file in 23.976 fps rid of 3:2 pulldown, without re-encoding of course.
Then you open it in Avisynth or MeGui which won't have to de-interlace it.
We can see if the pulldown is soft or hard with GSpot. Two examples gathered in same picture ;

.
Is it correct that if we load a 1080i *.m2ts file into Tsmuxer and the "remove pulldown" box is greyed out, that we can then use Megui to encode progressive, rather than interlaced ?

I have to admit that this interlaced stuff really makes my head hurt.

flebber
10th June 2011, 23:06
The only way to force using ffms when dgi is available is renaming/delecting your license.txt file.

That did the trick, just what I wanted FFMS with oneclick. Thank you.

Music Fan
11th June 2011, 06:43
It shouldn't matter. Unlike PAL speedup, NTSC pulldown doesn't change the play time of the video, so subs should always be in sync.
Right. But I guess a player could be lost with two different timecodes ; one in 23.976 fps for the video and the other in 29.97 fps for the subtitles.

Also for pulldown removal DGPulldown works well. The caveat of course when removing pulldown is to always make sure DGIndex reports 100% FILM so you don't create sync problems.
I believe DGPulldown only works with avisynth, which re-encode the video.
TSMuxer can open a mpeg file, remove its pulldown and export it in mpeg, without re-encoding.
Then you can re-encode it (without thinking to the de-interlacing method) or play it in 23.976 fps, in a TS or MKV container. It's useful for people whose player can't make reverse pulldown but can send 23.976 fps when there is no pulldown.

GSpot will display 3:2 pulldown if some number of flags are found, not if the content is all only film, so it's not a reliable guide.
Yeah, for some exotic files, but for a movie on Ntsc dvd, it's generally entirely in 23.976 fps with a pulldown flag.
But of course, we should always verify it with Virtual Dub (for example) with a short extract of the movie before re-encoding it (before and after using TSMuxer).

Music Fan
11th June 2011, 07:00
Is it correct that if we load a 1080i *.m2ts file into Tsmuxer and the "remove pulldown" box is greyed out, that we can then use Megui to encode progressive, rather than interlaced ?
No, the pulldown flag in mpeg is used on dvd, which can't be in 1080 lines.
Unless the 1080i mpeg file comes from US HDTV, but I don't know if then can send soft pulldowned video or only hard pulldowned.
And on Blu-ray, I believe there is no 3:2 pulldown flag, or there is a different kind of flag.
If it's a hard pulldowned movie source, you can't just encode it in 60 hz without de-interlacing it. You have to de-interlace it in 23.976 fps.
If it's a video source, there is no pulldown, so you keep it interlaced or not, as you want.
And if it's a mix of movie and video sources, that won't be simple.:D
When you wanna re-encode a file, the first thing to do is to know where it comes from. It's half the work and will help you to encode it correctly. But of course, you also have to look at it carefully and analyze it with Media info and Gspot.

rapscallion
11th June 2011, 15:27
Thanks Music Fan! I had a feeling it wasn't going to be simple.

The video is a retail BD of a concert from broadcast tv, called David Foster- Hitman Returns.

Media Info :
Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Duration : 2h 22mn
Bit rate mode : Variable
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 fps
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Interlaced
Scan order : Top Field First


Single stream @ 37gb, and as you can see, MI shows "interlaced, TFF, @29.70fps". However, when I load it into Virtual Dub and advance frame by frame, I don't see any interlacing whether I set Preview Mode to "progressive" or "Bob TFF".

Music Fan
11th June 2011, 15:56
It's weird, I guess this show has been filmed in interlaced.
In progressive mode in Virtual Dub, you should see blended frames in the moving parts.

rapscallion
11th June 2011, 16:25
It's weird, I guess this show has been filmed in interlaced.
In progressive mode in Virtual Dub, you should see blended frames in the moving parts.
....and, I don't.

Zathor
11th June 2011, 16:48
Can someone help me with this ImageSource issue? Whenever I use ImageSource in an AVS file, no MeGUI version opens it after 1911! Can someone help me? I have Avisynth 2.58 installed and I use Windows 7 64-bit.

Post some example image files. I have tested this with a simple script and it does work in MeGUI 2031.

ImageSource("d:\megui_icon%d.png", 1, 2, 25)
ConvertToYV12()

MrVideo
11th June 2011, 16:53
It's weird, I guess this show has been filmed in interlaced.
In progressive mode in Virtual Dub, you should see blended frames in the moving parts.

First off, you can't film with video. I have no clue how you put film into a video camera. :D

Nothing stops them from recording @ 29.97 progressive, but dumping it out at 59.94 fields/sec interlaced for Blu-ray, which they have to, because 1080p29.97 doesn't exist as a Blu-ray format.

Same thing with Doctor Who. They shoot it 1080p25, but because 1080p25 is not a Blu-ray format, it is converted to 1080i25, so you do not see any interlacing artifacts.

Music Fan
11th June 2011, 17:03
First off, you can't film with video. I have no clue how you put film into a video camera. :D.
What word should we use in place of "film" ? In french we say "filmer" for both interlaced and progressive (cinema) cameras.

Nothing stops them from recording @ 29.97 progressive, but dumping it out at 59.94 fields/sec interlaced for Blu-ray, which they have to, because 1080p29.97 doesn't exist as a Blu-ray format.

Same thing with Doctor Who. They shoot it 1080p25, but because 1080p25 is not a Blu-ray format, it is converted to 1080i25, so you do not see any interlacing artifacts.
Yes, and it can be encoded with the "fake interlaced" AVC's option.

MrVideo
11th June 2011, 17:13
What word should we use in place of "film" ? In french we say "filmer" for both interlaced and progressive (cinema) cameras.

Two words, for starters, captured and recorded, with recorded being the better one. You can't really use "taped" these days either, as a lot of stuff is recorded onto hard drives, or other removable media.

Yes, and it can be encoded with the "fake interlaced" AVC's option.

There is that.

Inspector.Gadget
12th June 2011, 01:45
I believe DGPulldown only works with avisynth, which re-encode the video.

No, it's a standalone app that doesn't have any connection to DGIndex. All it does is take in MPEG-2 with 3:2 flags and spit out the same stream without the flags, no re-encoding.

Yeah, for some exotic files, but for a movie on Ntsc dvd, it's generally entirely in 23.976 fps with a pulldown flag.

If only this were the case :) . Studio intros and similar encoded in the same title are often hard-telecined or true interlaced or even 30p encoded as interlaced. You're right, though, in that newer DVDs (last 5 years or so) seem to be eliminating that pathological behavior.

any help would be appreciated.
thanks Barry
Playing the original ts file doesnt show any artefacts

That looks like DGAVCIndex failing on an interlaced H.264 stream because it's built on an old version of FFMPEG and doesn't handle all types of H.264 interlaced content. Try re-muxing to MKV and using FFMSIndex instead. Alternately, that may be a transmission error in your stream and the decoder in your player is helpful enough to conceal errors by dropping/duplicating frames.

Music Fan
12th June 2011, 07:11
No, it's a standalone app that doesn't have any connection to DGIndex.
Ok, I was thinking to DGIndex.
Are you sure that DGPulldown can remove pulldown and not only add it ?
Because I don't see "remove pulldown" option on this picture ;
http://neuron2.net/dgpulldown/dgpulldown.html

Inspector.Gadget
12th June 2011, 18:16
Music Fan: See the DGPulldown.txt file that's packed with the program:

Note that if the custom rate conversion is selected, and if the source rate is
specified as equal to the destination rate, then all pulldown is removed and the
stream is flagged as having a rate equal to the specified destination rate.

So set both to be 23.976 and get an output file with all pulldown flags removed.

Music Fan
13th June 2011, 08:15
Ok, thanks.

rapscallion
13th June 2011, 17:45
@Music Fan

Re my previous interlacing posts. Could you please download this 1 min vid clip (250 MB) and tell me if it's truly interlaced or not :

http://www.megaupload.com/?d=AIEUM1DS

I can't get any info via Gspot and, as I mentioned, I don't see any blending in VD. Maybe I just don't know what to look for, but would sure appreciate your taking a look at it for me. Thanks

Music Fan
14th June 2011, 09:29
It's interlaced ! We can see it clearly in Virtual Dub on the pianist and singer's hands.
So you can keep it interlaced or de-interlace it if you want.

bamsebo
14th June 2011, 10:34
@Music Fan

Re my previous interlacing posts. Could you please download this 1 min vid clip (250 MB) and tell me if it's truly interlaced or not :

http://www.megaupload.com/?d=AIEUM1DS

I can't get any info via Gspot and, as I mentioned, I don't see any blending in VD. Maybe I just don't know what to look for, but would sure appreciate your taking a look at it for me. Thanks
mediainfo:

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Codec ID : 27
Duration : 59s 993ms
Bit rate mode : Variable
Bit rate : 28.7 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.461
Stream size : 205 MiB (81%)

Music Fan
14th June 2011, 10:43
@ bamsebo : as said above, mediainfo is not enough to be sure that the video is really interlaced.

LigH
14th June 2011, 14:06
"Interlaced encoding" is not equal to "interlaced content".

Even though a video may be encoded in interlaced mode (both fields more or less independently), it may or may not be combed (the fields having a regular timing difference).

The only way to tell for sure is to watch the video field-wise and check if the motion is progressing constantly from field to field without interruptions or blending ghost.

rapscallion
14th June 2011, 15:16
Thanks Music Fan !!

@bamsebo: also, see my post on the previous page, # 6226

@LigH -exactly why I needed some help, and I thank all for the responses.

GG-Xtreme
16th June 2011, 04:24
Sorry, didn't see this thread when I posted. This is my question:
http://forum.doom9.org/showthread.php?t=161630

namus
17th June 2011, 21:40
I am not sure whether this is a DGIndex or meGUI problem. But I am asking anyway. I can upload samples if needed.

I have a very strange source (DVD9). DGIndex preview informs me it is NTSC interlaced (fps 29.97) and last line of my d2v file says 100% VIDEO. But while going through frame by frame, it does not look like a interlaced video at all, i.e. there is no field line visible even during motion. Rather, I find a duplicate frame in every 6th frame. So it must be some kind of 3:2 pull down, but with all progressive frames. It is not even usual cycle of 5, but 6. But then why does DGindex say it is interlaced?!

What is even more strange that meGUI automatic detection of source type fails with the d2v file. It just gives me the error that it "cannot detect the source type"! This is the first time I have encountered such a message from meGUI.

So what is the right approach? I can always use decimate(6) to manually remove the duplicate 6th frame and forget about interlacing, which is actually not there. But is that really correct, or am I missing something. Is there a possibility of making a mistake by manual decimate?

Thanks in advance! :)

MrVideo
17th June 2011, 23:03
I have a very strange source (DVD9). DGIndex preview informs me it is NTSC interlaced (fps 29.97) and last line of my d2v file says 100% VIDEO. But while going through frame by frame, it does not look like a interlaced video at all, i.e. there is no field line visible even during motion. Rather, I find a duplicate frame in every 6th frame. So it must be some kind of 3:2 pull down, but with all progressive frames. It is not even usual cycle of 5, but 6. But then why does DGindex say it is interlaced?!

What are you using to view the video and step thru it frame-by-frame? Lots of programs only show you a field and not the complete frame. As a result, it looks progressive. Plus, in that mode, it should be a duplicate frame every 5th frame, not 6th. 2:3 pulldown results in the pattern starting over every 5 frames, hence 2:3 pulldown.

Using a program, like the VideoReDo editor, will show you frames, not fields.

namus
18th June 2011, 00:56
What are you using to view the video and step thru it frame-by-frame? Lots of programs only show you a field and not the complete frame. As a result, it looks progressive. Plus, in that mode, it should be a duplicate frame every 5th frame, not 6th. 2:3 pulldown results in the pattern starting over every 5 frames, hence 2:3 pulldown.


I used two methods:
1. Loaded the VOB files in DGIndex and moved frame by frame. There was no visible interlacing in any frame.

2. Then I saved the d2v file (using Honor pulldown flag in DGIndex) and loaded in a simple avisynth script and viewed in Virtualdub and moved frame by frame.

In both cases I did not see any interlacing (field lines). But I found duplicate frames at every 6th frame (NOT 5th).

Is it possible that I am encountering some PAL to NTSC converted DVD with progressive frames? This thread discusses such a possibility: http://forum.doom9.org/showthread.php?t=42692 :


If it was telecined from a PAL (25fps) master, as you seem to be saying, then add this to your script:

Telecide(Guide=3)
Decimate(6)


If this is the case for me, I have three questions:

1. Do I use Telecide even if I don't "see" any interlacing? Or just Decimate(6) should be fine?

2. If there is no interlacing, why DGIndex thinks it to be interlaced?

3. Why MeGUI fails to detect the source (may be relevant question for this thread)?

MrVideo
18th June 2011, 02:09
1. Loaded the VOB files in DGIndex and moved frame by frame. There was no visible interlacing in any frame.[quote]

DGIndex has a viewer? I wouldn't know, since I do all viewing and editing with VideoReDo.

[quote]2. Then I saved the d2v file (using Honor pulldown flag in DGIndex) and loaded in a simple avisynth script and viewed in Virtualdub and moved frame by frame.

While I've used Virtualdub, I've only done so with inverse telecine files.

In both cases I did not see any interlacing (field lines). But I found duplicate frames at every 6th frame (NOT 5th).

Just because you don't "see" separate fields, doesn't mean that it isn't interlaced. By definition, both NTSC and PAL are interlaced "analog" formats. If the frame rate is 29.97, it is interlaced. Keep in mind, that you are viewing complete frames. If the complete video frame is from a single frame source, it will "look" as if it is progressive. PAL is the same way, especially when film is transferred to video. A single film frame = a single PAL frame, making it look progressive, when it really isn't. The every 6th frame is worrysome.

Is it possible that I am encountering some PAL to NTSC converted DVD with progressive frames? I've never heard of PAL being converted that way to NTSC, as most standards conversion does blending to avoid that frame jerkiness. It will still be interlaced.

2. If there is no interlacing, why DGIndex thinks it to be interlaced?

Because it is interlaced, as explained above.

Music Fan
18th June 2011, 10:19
The easiest way to see if your video is progressive or not is to open your mpeg or vob file directly in Virtual Dub Mod (without avisynth). Choose "progressive" in the preview field mode to blend the fields without de-interlacing.
You can also do that with Virtual Dub (not Mod) which needs a mpeg filter ("MPEG2.vdplugin" file to put in "C:\Program Files\VirtualDub\plugins32" directory).

MrVideo
18th June 2011, 11:25
The easiest way to see if your video is progressive or not is to open your mpeg or vob file directly in Virtual Dub Mod (without avisynth). Choose "progressive" in the preview field mode to blend the fields without de-interlacing.

I must be missing something here. And just how is blending the fields supposed to give you info as to if it is interlaced or not?

As mentioned above, NTSC analog output is interlaced, it can't be progressive. If the frame rate was 23.976, then the video on the DVD would be progressive, with the DVD player doing to 2:3 into interlaced mode.

Since it is a 29.97 frames/sec video, and because the program said it was interlaced, why is it so hard to be believe that the video isn't interlaced? This is a DVD we are talking about. It is meant for playback on NTSC analog display devices, which are only interlaced.

If you were to watch the current series of Doctor Who, starting with series 1, you'd swear that it was progressive. Yet, the DVD, and OTA broadcast, is interlaced. It is shot progressive, but converted to interlaced for DVD/Blu-ray/OTA. Yet, you can look at each frame, and swear the frames were progressive.

Work with this DVD as is. Don't deinterlace it, as you'll accomplish nothing, other than potentially reducing vertical resolution.

Why does everyone seem to hate interlacing? Don't destroy vertical resolution and spatial information needlessly. If the device you are going to play it on (a handheld of some sort, etc), then you may have no choice, otherwise, leave well enough alone.

Music Fan
18th June 2011, 12:29
I must be missing something here. And just how is blending the fields supposed to give you info as to if it is interlaced or not?
Because you see it of course. Something like that ;
http://www.windowsmoviemakers.net/PapaJohn/54/Interlaced-Versus-Progressive_files/image010.jpg
Two different frames are blended by Virtual Dub. You won't see that if the source is progressive because the fields come from the same frame.

As mentioned above, NTSC analog output is interlaced, it can't be progressive.
As said above, interlaced encoding doesn't mean interlaced content (even if it was originally interlaced, because it could have been de-interlaced, I already saw that). And as dvd doesn't support 29.97p, it has to be encoded in 59.94i.
http://en.wikipedia.org/wiki/Telecine#2:2_pulldown
2:2 pulldown is also used to transfer shows and movies, photographed at 30 frames per second, like Friends and Oklahoma! (1955),[3] to NTSC video, which has 60 Hz scanning rate.
Interlaced encoding of a progressive source doesn't create new frames, it only divides 30 frames in 60 half frames (fields).

Work with this DVD as is. Don't deinterlace it, as you'll accomplish nothing, other than potentially reducing vertical resolution.

Why does everyone seem to hate interlacing? Don't destroy vertical resolution and spatial information needlessly. If the device you are going to play it on (a handheld of some sort, etc), then you may have no choice, otherwise, leave well enough alone.
Encoding in 29.97p won't reduce quality if the file is not "really" interlaced and contain actually 29.97 different frames and not 59.94.
You don't even have to make a simple de-interlacing, you can encode directly your interlaced mpeg file in 29.97p, the encoder will blend the top and bottom fields and it won't be a problem as they come from the same frame.
But this situation is rare, it's generally really interlaced (59.94 different frames).
When it's progressive, we can consider it as a progressive encoding with a flag for the player (like in the soft pulldown system but simpler).
It's like movies on Pal dvd : I don't know if mpeg-2 encoders divide the 25 frames in 50 half frames or if they encode 25 frames with a flag, but it doesn't matter, it won't change the result if you encode it in 25p (in h264 for example).

MrVideo
18th June 2011, 17:26
Two different frames are blended by Virtual Dub. You won't see that if the source is progressive because the fields come from the same frame.

Two different FIELDS, not frames are blended. Doing that would make sense, IFF the program you are using to display the video doesn't show both fields.

As said above, interlaced encoding doesn't mean interlaced content (even if it was originally interlaced, because it could have been de-interlaced, I already saw that). And as dvd doesn't support 29.97p, it has to be encoded in 59.94i.

Technically, interlaced video is interlaced video, period. There is no such thing as "interlaced content." You could have a video of still images, whereas each image stays on the screen for a number of seconds and then rapidly fades from one slide to the next. You'd swear that the video was progressive, because both fields looked the same, until you got to the rapid fade where two fields could look different. Yet, the video is 100% interlaced. As for your note about DVD and 29.97p, I thought that is what I was trying to say.

Also, while not as common as it should be, the value given should be in frames/sec + the frame encoding, in order to avoid confusion as to whether the video is frames or fields per sec. So, instead of 59.94i, it should be 29.97i. While 480i59.94 doesn't exist, 1080i59.94 can (not on Blu-ray though).

Interlaced encoding of a progressive source doesn't create new frames, it only divides 30 frames in 60 half frames (fields).

I never said that it didn't. That is what I was trying to say. I know how interlaced video works, as I've been working with video for over 50 years.

Encoding in 29.97p won't reduce quality if the file is not "really" interlaced and contain actually 29.97 different frames and not 59.94.

Actually, even video of stills has two different fields for each frame, as one field is of 1/2 of the image and the other field the other half. There will be differences in the two fields. When you deinterlace, blending of some sort is taking place, which reduces the vertical resolution of the image. If the video was such that the even lines were black and the odd lines were white, deinterlacing would probably result in an image that was gray. You'd swear that the video was interlaced and not progressive because of the alternating black and white lines, yet it could be progressive because the source could be of an image that has alternating black and white lines.

Deinterlacing for the sake if deinterlacing is not always wise.

You don't even have to make a simple de-interlacing, you can encode directly your interlaced mpeg file in 29.97p, the encoder will blend the top and bottom fields and it won't be a problem as they come from the same frame.

You don't want any blending, as that will reduce vertical resolution. You want to just join the fields into a progressive frame.

But this situation is rare, it's generally really interlaced (59.94 different frames).

59.94 FIELDS, not frames. As mentioned above, it is always interlaced.

It's like movies on Pal dvd : I don't know if mpeg-2 encoders divide the 25 frames in 50 half frames or if they encode 25 frames with a flag, but it doesn't matter, it won't change the result if you encode it in 25p (in h264 for example).

Depends on how you set up the AVISynth script, i.e., to deinterlace the fields or to join the fields.

Music Fan
18th June 2011, 17:51
I'm not gonna answer everything, too long. And we apparently both know how it works, we say the same things (but english is not my mother tongue).
But at least one thing ;
59.94 FIELDS, not frames.
Fields = frames for the camera when it's interlaced. But it keeps one line on two.
59.94 fields = 59.94 different frames wich can be reconstructed with a good de-interlacer to get 59.94p on a recent screen.
When your interlaced file contains actually 29.97 different frames, you don't have to keep it interlaced, it's not useful and you loose bitrate for nothing.

You don't want any blending, as that will reduce vertical resolution. You want to just join the fields into a progressive frame.
blend = join when the source is progressive, it's a simple 2:2 pulldown.

MrVideo
18th June 2011, 18:03
Fields = frames for the camera when it's interlaced. But it keeps one line on two.
59.94 fields = 59.94 different frames wich can be reconstructed with a good de-interlacer to get 59.94p on a recent screen.
When your interlaced file contains actually 29.97 different frames, you don't have to keep it interlaced, it's not useful and you loose bitrate for nothing.

Sorry, but not true. A video source (camera, computer generated, etc) that is putting out interlaced video still has frames that are 1/2 the field rate. You can never, and I repeat never, have a field rate = to a frame rate. It is technically not possible. It always takes two fields to make a complete frame. Always has, always will.

BTW, did you know that with PAL analog video, it actually takes four fields to comprise a color frame? The color phasing for PAL is spread over four fields.

blend = join when the source is progressive, it's a simple 2:2 pulldown.

But, you must know if the source is one or the other, in order to set up the correct encoding.

Anyway, like I said, unless absolutely necessary, I do not screw with interlaced video unless I IVTC the video into 23.976 frames/sec. Everything else I do not touch.

Music Fan
18th June 2011, 18:17
And it's an error, because 23.976 is one between three cases (on dvd) where you can find really progressive sources (with 25p and 29.97p, encoded in 50i and 59.94i).
I don't understand why you absolutely need to believe that interlaced encoding equals interlaced content.
I believe we can stop this discussion here, people have enough elements to understand what we mean and make their own opinion.

MrVideo
18th June 2011, 19:20
And it's an error, because 23.976 is one between three cases (on dvd) where you can find really progressive sources (with 25p and 29.97p, encoded in 50i and 59.94i).

I just listed 23.976 as it is pure progressive video on a DVD, where the DVD player does the 2:3 pulldown. That's all.

I don't understand why you absolutely need to believe that interlaced encoding equals interlaced content.

Even if the video source is from 29.97 frame/sec progressive video and converted to interlace for DVD/NTSC analog output, the content on the DVD is still interlaced, no matter the source. So what if the video you look at appears to be progressive, the video content is still interlaced as it contains two separate video fields, which will be different.

LigH
20th June 2011, 12:06
This is a thread about MeGUI specifically, not the very basics of interlacing...

pancserzso
22nd June 2011, 11:43
How can I download the newest x264 presets?

- Build 2028 doesn't have them included
- Update does it want to download them
- Stable server doesn't have any

Why are x264 profiles missing, for me this was pretty much the only reason why I used MeGUI, because it had the best x264 profiles!

Zathor
22nd June 2011, 12:34
They are still available, but in a different location:
http://forum.doom9.org/showthread.php?t=161587

billa
2nd July 2011, 09:57
ola

is it possible to have in megui ( avs script creator) a mod16 and mod 8 and a windows with the % error AR ?

nhope
2nd July 2011, 12:30
Trying to send a downscaled, compressed screener/sample video to people in Apple-land.

I rendered a 1280x720 H.264/.mp4 file with x264 in MeGUI with default settings and crf21 (i.e. not deliberately dumbed down for Quicktime). I told them to rename it to .mov if they had trouble and they've said: "While changing the extension to .mov may assist in viewing, we need to convert the files to a quicktime format for delivery to the client". The can't do that on their Macs.

I opened the file in Quicktime Pro and rendered to H.264 .mov. It took about 20 seconds to render a solid green file.

Has anyone found a way to smart-render or remux MeGUI/x264 output to .mov, and did the file play OK on the recipient's Apple computer?

If it is possible, should I be choosing a dumbed-down preset rather than defaults?

Or am I basically stuck with exporting an uncompressed or lossless intermediate and using Quicktime Pro's H.264 encoder?

Music Fan
2nd July 2011, 12:44
I opened the file in Quicktime Pro and rendered to H.264 .mov. It took about 20 seconds to render a solid green file.
It could be a simple filter problem in your player, but this mov file is maybe good.
Is it recognized as a Quicktime container in MediaInfo ?
Does MediaInfo show the same characteristics than your mp4 file ?

nhope
2nd July 2011, 14:03
It could be a simple filter problem in your player, but this mov file is maybe good.
Is it recognized as a Quicktime container in MediaInfo ?
Does MediaInfo show the same characteristics than your mp4 file ?

MediaInfo recognizes it as a Quicktime container but the framerate and bitrate and filesize are all tiny. Looks like Quicktime Pro won't smart render, so if I'm going to use that then I may as well output a lossless intermediate for it from my NLE, rather than feed it a MeGUI x264 file.

I tried a render with Xvid4PSP 6.0 beta 3, which I heard might do it. Much better but took too long to be doing a simple smart render/remux. Also it seems to have included the dreaded Quicktime gamma but, so the video is now too bright, with blown out highlights.

Any other suggestions?

Music Fan
2nd July 2011, 14:30
Maybe answers in this thread ;
http://forum.doom9.org/showthread.php?t=117772
Especially this post concerning QT7 ;
http://forum.doom9.org/showthread.php?p=897301#post897301

El Mariachi
2nd July 2011, 14:34
Today I switched computer and put everything on the same place as it was my old computer.
For some reason MeGui crashes when I open an MKV file or AVS file.
Both want to use the Haalli splitter and crash
If I open a D2V file made from VOBs MeGui works just fine.


Problem signature:
Problem Event Name: APPCRASH
Application Name: MeGUI.exe
Application Version: 1.0.2028.0
Application Timestamp: 4dd94812
Fault Module Name: StackHash_7651
Fault Module Version: 6.1.7600.16695
Fault Module Timestamp: 4cc7ab86
Exception Code: c0000374
Exception Offset: 000cea27
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1043
Additional Information 1: 7651
Additional Information 2: 7651fc95437d500b11e6985276c6405f
Additional Information 3: 27d1
Additional Information 4: 27d18a557ef30558f6eb0d971c1588b5


I even redownloaded the latest version, but no luck

specs are Windows 7, I7-2600, 4GB of ram


EDIT: Maybe I was working old fashioned

this line works
FFVideoSource("D:\rip\Test.mkv").AssumeFPS(24000,1001)

this one doesn't, I wonder why though
DirectShowSource("D:\rip\Test.mkv", fps=23.976, audio=false, convertfps=true)

Music Fan
2nd July 2011, 14:50
@ nhope : VLC can also mux into quicktime container without re-encoding, but it didn't work well with my version (0.9.2, yeah, it's old). I tried it with 2 mp4 files, same result in both cases ; the resolution, framerate and duration are wrong but the size of the file is good.
It could maybe work better with a newer version.

rtjnyoface
2nd July 2011, 22:04
Having some trouble with the avisynth creator. Keeps saying I may not have a yv12 decoder installed. Only recently has this been saying this. Can't open scripts in vdub either. Maybe something related to one of ati's driver update packages (it includes a decoder of some kind)?

Tried correcting it with the win7dsfitler but that doesn't seem to be able to access a decoder for yv12. Also tried using ffdshow to set it to decode yv12 but couldn't find that format in the ffdshow decoder window.

Win7
v.2028

Posted both of my problems in the wrong thread...funny.

Music Fan
3rd July 2011, 09:22
In ffdshow VFW, in the codecs list, go on the last line (uncompressed video) and choose YV12.

You may also need to add this line in your script ;
ConvertToYV12()

rtjnyoface
3rd July 2011, 11:52
Thank you sir. That's helped tremendously since it has fixed that problem.

Does anyone know about the explorer hang when using megui to open explorer (like opening a window to locate a d2v file or opening a window to find audio for the bit rate calculator)? That would help too seeing as megui hangs after about every third or fourth time I use it to access/open explorer. Like right now I can't use the bit rate calculator because it freezes on me. Win7 will just as if I just want to close it or I'll have to delete the process. Any help there would be appreciated as well.

nhope
3rd July 2011, 16:12
@ nhope : VLC can also mux into quicktime container without re-encoding, but it didn't work well with my version (0.9.2, yeah, it's old). I tried it with 2 mp4 files, same result in both cases ; the resolution, framerate and duration are wrong but the size of the file is good.
It could maybe work better with a newer version.

Thanks for your help. I decided to use Quicktime Pro in the end. I worked out that "Export" always recompresses (and looks horrible), but "Save As" will remux, as long as the streams are acceptable. If it won't remux it says it is going to save a really tiny file, like 10kb, and then it just doesn't do it. The closest to x264 defaults I could get it to remux was as follows. No B frames and no Weighted P frames, and I8x8 turned off by selecting the main profile:

program --profile main --crf 21.0 --bframes 0 --weightp 0 --output "output" "input"

I used Nero AAC-LC cbr 128k for the audio.

rtjnyoface
4th July 2011, 09:53
Alright. Been having this problem with the avisynth creator. It won't open d2v files. I have uninstalled the following programs: avisynth, ffdshow,helix yv12 decoder, megui, .net framework 2 and 4. These are the solutions that I've been able to find from all the old threads I could find related to this error. I feel just about done with megui. Is it possible that anyone knows what the heck is going on and willing to help me???

Win7
megui rev. 2028

edit: strangely I am able to open some files but not others. The files I'm using are similar in format but yet I can't open certain ones. It's very strange.

Music Fan
4th July 2011, 11:03
I never used avisynth creator, but to open d2v files with avisynth, one needs DGIndex and the "DGDecode.dll" file in the plugins directory of avisynth.

rtjnyoface
4th July 2011, 11:47
Never had to manually place it in there before... Even if I did put it in there why would I be able to open d2v files with the avisynth creator when I've been able to already? It seems odd that I can't open certain ones when they are very similar dvd's (sesame street). I've attached a picture of the error. Maybe it'll help.

edit: and just to let you know, I did put it in the folder just to give it a shot. It still didn't work.

LigH
4th July 2011, 13:42
The d2v project files must be generated by the DGIndex.exe of the same version (or "generation") as the DGDecode.dll the script uses for MPEG2Source.

Do you possibly have several different DGMPGDec packages on your PC (including the one in megui\tools)?

Furthermore, the indexed media files must not be moved after creating the project file, as it contains the full path from the drive letter.

rtjnyoface
4th July 2011, 19:36
Megui used whatever the latest updated versions there are (which is 1.58b). I do have different versions but the only other one was unzipped onto the desktop. I don't see how that could be an issue.

I know it shouldn't be moved. When I did move them I made sure to change the paths. Either way, I just went back and redid everything according to the way you had indicated. Used megui to create the indexed file (to make sure the same versions were used) and I didn't change the file location. Still the same error.

edelnar
5th July 2011, 08:31
Hello, for several monthes I can't create index for avi files (manual mode). When indexing is almost finished, I get these errors:
http://xmages.net/storage/10/1/0/a/f/upload/c2aec77e.jpg
http://xmages.net/storage/10/1/0/a/f/upload/2b8bcf1a.jpghttp://xmages.net/storage/10/1/0/a/f/upload/8de32731.jpg

Then, when MeGUI trying to open such index this error pops up:
http://xmages.net/storage/10/1/0/a/f/upload/297e303f.jpg

Where should I search for solution? Maybe someone encountered similar problems or knows exactly what to do?
Any help will be appreciated.

LigH
5th July 2011, 18:03
FFmpegSource is not always preferable for AVIs. Sometimes only AviSource works reliably. Probably related to the demultiplexer used by FFmpegSource.

rtjnyoface
6th July 2011, 10:47
Still having problems with the error that I mentioned in the posts above. Any other suggestions?

edelnar
6th July 2011, 15:04
FFmpegSource is not always preferable for AVIs. Sometimes only AviSource works reliably. Probably related to the demultiplexer used by FFmpegSource.How do I use AviSource with MeGUI then?

LigH
7th July 2011, 08:09
If there is no better way provided by the GUI ... then by loading a manually edited AviSynth script.

edelnar
7th July 2011, 09:53
Ok, thanks. So far the best way for me is to avoid indexing AVIs. Using just DSSource for creating AviSynth script works just fine. If there's no corrupted ffindex files nearby in working directory from previous unsuccessful tries, which MeGUI tends to load automatically.

LigH
8th July 2011, 10:35
Using DirectShowSource always has a risk of unexpectedly filtered video or not frame-exact decoding (1st pass differing from 2nd). That's quite a "desperate last chance" technology, if all native AviSynth sources did not work.

mrbonesSTL
18th July 2011, 21:57
So I'm trying to do the audio portion and I choose 'Create AVS Script Creator' and then I choose my .m2ts file and I get the option to use DirectShow, 1click, or File Indexer. I choose 'File indexer' but instead of it allowing me to create a d2v file or anything, I can only use the FFMSIdex option so I don't have a clue on how to do the editing or anything as when I try to load it, I don't see any video preview. How can I correct this?

http://lookpic.com/c1/i2/2775/aYPzvFi.jpeg

hello_hello
19th July 2011, 00:52
How do I use AviSource with MeGUI then?

Try creating a simple AVISynth script manually. Something like:

AVISource("D:\video.avi")

Then open MeGUI's AVS Script creator and use your manually created script as the source video.

Mind you I've encoded hundreds of videos using DirectShowSource (different GUI, different reasons) without any problem.

pancserzso
1st August 2011, 16:48
A very quick question:
What is the recommended settings for creating Quicktime MOV files? I would like to use x264 but I don't know anything else about the Quicktime format. Or if I cannot create MOV, can I create MP4 and mux it into MOV with some freeware utility?

der_andi
1st August 2011, 18:08
Hello,
I noticed some strange behaviour of MeGUI. Not until recently, opening a MKV inside the AviSynth Script Creator results in popping up this question: "please choose your prefered way to open this file". Screenshot:

http://img594.imageshack.us/img594/3774/screen0008.png

What is this?
I don't want to use the One-click encoder. Running FileIndexer fails, because there is "nothing to do" - according to log.
So I click DirectShowSource, because I always use DSS with MKV. Script creation works as usual. But the encoding of the video does not. Either x264 or vfw4x264.exe always crash a few minutes after the encoding process started.

What's going on? I use MeGUI 2028 (svn). Am I doing something wrong? My MKV contains a single stream, which is either h264/AVC or VC-1 - always was.

Advice will be highly appreciated.

Andi

Music Fan
1st August 2011, 19:47
A very quick question:
What is the recommended settings for creating Quicktime MOV files? I would like to use x264 but I don't know anything else about the Quicktime format. Or if I cannot create MOV, can I create MP4 and mux it into MOV with some freeware utility?

Look at this ;
http://forum.doom9.org/showthread.php?p=897301#post897301
and this ;
http://forum.doom9.org/showthread.php?p=1511208#post1511208

der_andi
2nd August 2011, 03:30
Me again. :)

I did some testing and without any specific reason I considered the source material (MKV with AVC stream; source is Blu ray "Avatar") as corrupted. Somehow. I re-ripped all the stuff, which took only half the time. Could be a coincidence.

Now, running the FileIndexer (with FFMSIndex as the only available option) works and took around 5 minutes. It produced a file namend avatar.mkv.ffindex. Loading this file into AviSynth Script Creator creates an AVS script, which uses the FFVideoSource plugin. Encoding seems to be working now. This conclusion is based on 15 minute encoding, because my reported crashs of x264 happened within 5 minutes. And it even seems to be working without a crash with the DirectShowSource plugin, I've been using so far. Maybe it was a bad rip, actually.

Anyway, can someone explain me the difference between FFVideoSource and DirectShowSource.
Is there any reason, why I should start indexing MKV files? I read some stuff here and there, but I didn't really get what's this all about.

Thanks,
Andi

hello_hello
2nd August 2011, 08:58
Anyway, can someone explain me the difference between FFVideoSource and DirectShowSource.
Is there any reason, why I should start indexing MKV files? I read some stuff here and there, but I didn't really get what's this all about.

My understanding of it is FFVideoSource should be frame accurate, whereas DirectShowSource... not so much.
Having said that, I've encoded around a billion AVIs using DirectShowSource with no problems at all (well at least not DirectShowSource related ones).

JoeH
3rd August 2011, 09:35
If you're just converting a video, DirectShowSource should be okay. If you need to make cuts you are safer off with FFVideoSource or some other equivalent frame accurate reader.

hello_hello
3rd August 2011, 12:09
So I'm trying to do the audio portion and I choose 'Create AVS Script Creator' and then I choose my .m2ts file and I get the option to use DirectShow, 1click, or File Indexer. I choose 'File indexer' but instead of it allowing me to create a d2v file or anything, I can only use the FFMSIdex option so I don't have a clue on how to do the editing or anything as when I try to load it, I don't see any video preview. How can I correct this?

I don't think you can open ffmsindex files directly, but after it's created the preview window should open normally. Maybe it's an m2ts problem as I don't think you should work with m2ts files directly. It's better to extract the video to an MKV file and the audio separately using MeGUI's HD Streams extractor.
I generally use it to extract the contents of the m2ts files directly from the disc. There doesn't seem much point to ripping the m2ts files to your PC and then having to extract the video/audio streams anyway.

LeXXuz
4th August 2011, 09:50
Can I use the One Click Encoder with a different indexer than DGIndexNV? I found no settings to change that and it always tries to generate a .dgi file wich fails since my Laptop has no nVidia based chipset.

My source is a Matroska container with MPEG2 video.

nikusor665
5th August 2011, 14:45
I think something's wrong with the latest build of megui core ... I couldnt encode a single file . I havent used the program for a long time so I updated everything, and I kept getting this "ffms cant create index " after what it looked like a job already done by the ffms indexer ... I changed the ffms version, ffmpeg, codecs, x264 , nothing worked, and eventually I just downgraded to the earlier version of megui core, and now it works.

Pulp Catalyst
7th August 2011, 00:04
i'm trying to run this avs script,

LoadPlugin("D:\Program Files\MeGUI\tools\dgindex\DGDecode.dll")
SetMemoryMax(512)
SetMTMode(5,3)
DGDecode_mpeg2source("E:\BDRebuilderTemp\VTS_01_1.d2v", info=3)
LoadPlugin("D:\Program Files\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, interlaced=true, threads=0)
Load_Stdcall_Plugin("D:\Program Files\MeGUI\tools\yadifmod.dll")
Load_Stdcall_Plugin("D:\Program Files\MeGUI\tools\nnedi3.dll")
SetMTMode(2)
YadifMod(edeint=nnedi3())
crop( 10, 0, -10, 0)

#resize
#denoise


but i get avi script error "not an AviSynth 2 C plugin yadifmod.dll"


i'm trying to utilize yadifmod with nnedi3 for deinterlacing.

any help would be great as i'm not sure what to do,

Staxrip runs the following script fine-

LoadPlugin("D:\Program Files\StaxRip\Applications\DGMPGDec\DGDecode.dll")
SetMemoryMax(512)
SetMTMode(5,3)
MPEG2Source("F:\VIDEOTEMP\Staxrip\6\VTS_01_1 temp files\VTS_01_1.d2v")
Crop(0,0, -Width % 8,-Height % 8)
ConvertToYV12()
SetMTMode(2)
YadifMod(edeint=nnedi3())
Crop(18,0,-14,-0)


so how come stax can run yadifmod but MEGUI can't, they both use AviSynth right?

EDIT

i replaced yadifmod with yadif and used

Yadif(tdeint=nnedi3())

and now it error's out with nnedi3.dll is not a c plugin....what gives?

djackerick
7th August 2011, 04:13
Today I switched computer and put everything on the same place as it was my old computer.
For some reason MeGui crashes when I open an MKV file or AVS file.
Both want to use the Haalli splitter and crash
If I open a D2V file made from VOBs MeGui works just fine.


Problem signature:
Problem Event Name: APPCRASH
Application Name: MeGUI.exe
Application Version: 1.0.2028.0
Application Timestamp: 4dd94812
Fault Module Name: StackHash_7651
Fault Module Version: 6.1.7600.16695
Fault Module Timestamp: 4cc7ab86
Exception Code: c0000374
Exception Offset: 000cea27
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1043
Additional Information 1: 7651
Additional Information 2: 7651fc95437d500b11e6985276c6405f
Additional Information 3: 27d1
Additional Information 4: 27d18a557ef30558f6eb0d971c1588b5




I has the same problem, but I've resolved downgrading from k-lite codec pack 7.5 to 7.1, now vdubmod and megui works fine

Eric B
7th August 2011, 23:45
It has been a long time I have not used MeGui anymore, so I need some refresh now that I upgraded my computer:
1) why do MeGui need administrator privilege? It is possible to move the settings out of C:\program files so that I can start it with a normal user under win7 x64?
2) I just tried the x64 vs x86 benchmark found here http://forum.doom9.org/showthread.php?t=144140&page=25 and got almost double perf in x64 compared to x86 with my new 2500k
I understood the stable meGui is still in x86 because of some missing avisyth filters. Still the case? Is there a meGui package with the avs2yuv tool using x264 x64 with avisynth x86?
3) what is the recommended avs generator resp settings for megui with .MOV file as input (HD material from my Canon 7D)?

Zathor
8th August 2011, 19:27
I think something's wrong with the latest build of megui core ... I couldnt encode a single file . I havent used the program for a long time so I updated everything, and I kept getting this "ffms cant create index "
Please post the full log.


1) why do MeGui need administrator privilege? It is possible to move the settings out of C:\program files so that I can start it with a normal user under win7 x64?
Move the MeGUI folder to a folder which is not protected by Windows Vista/7 (e.g. c:\MeGUI)

I understood the stable meGui is still in x86 because of some missing avisyth filters. Still the case?
Yes
Is there a meGui package with the avs2yuv tool using x264 x64 with avisynth x86?
64bit x64 will be used automatically.

mario87
9th August 2011, 09:51
Hello everyone :)
My English is not good so I hope you don't smile when I make some grammar mistakes :D
I have a question about mode Constant Quality of Megui. There's a parameter called 'CRF' which makes me confusing.
Can you explain it for me?
And how can I set the value of CRF to encode a video with these resolutions : 480p, 720p and 1080p to achieve excellent quality ?
because I see the recommended value is 23 and I wonder that's the optimal choice and for every resolutions or for only the specified resolution
Thank you very much :thanks:

hello_hello
9th August 2011, 23:09
The CRF value you'd use depends on the quality/file size ratio you're happy with. The lower the value, the better the quality and the greater the file size.

Personally, I use CRF19 for all 480p encodes and CRF20 for all 720p encodes because that gives me a quality and file size I'm happy with.
I don't generally encode at 1080p because to keep the file size down I'd end up using a CRF of 22 or 23 and I think a 720p CRF20 encode looks better.
It's all personal preference.

mario87
10th August 2011, 03:41
The CRF value you'd use depends on the quality/file size ratio you're happy with. The lower the value, the better the quality and the greater the file size.

Personally, I use CRF19 for all 480p encodes and CRF20 for all 720p encodes because that gives me a quality and file size I'm happy with.
I don't generally encode at 1080p because to keep the file size down I'd end up using a CRF of 22 or 23 and I think a 720p CRF20 encode looks better.
It's all personal preference.

Thank you very much :)
I'll try it

Iron Yuppie
10th August 2011, 06:35
I'm trying to analyse a 1080i avc file in MeGUI and keep getting this weird memory error, here:
http://i.imgur.com/ekwOg.png (http://imgur.com/ekwOg)
My 4Gb's of ram is fine, I've checked multiple times. I've never had this error before on dvd's ever, only with this file. I've even analysed 1080p avc's with hardcoded interlacing fine before. I suspect it might have something to do with the filesize, or maybe even the file itself.
Here is a mediainfo readout on the files stats if that is necessary.
http://i.imgur.com/PazN2.jpg (http://imgur.com/PazN2)

I can't figure it out, it happens every time after 5 or so seconds.
Should I post a segment for someone else to check out? What's the proper length someone would need for an interlaced file?
This problem occurs on both the latest stable release of MeGUI and the latest dev build, and I'm running the latest Shark007 x86 codecs on Win7.
Cheers.

Edit:
Here is a 70mb piece of the avc file in question. I'm not sure I split it properly, but could someone try this out on their PC to see if it works?
http://www.multiupload.com/ZHYV6FJO3R

mario87
11th August 2011, 18:19
So I have a small question
When I rip my video in CQ mode, I often realize that its bitrate decreases so the capacity of video also dereases too.
But with some MPEG-2 video, especially type 1080i => its bitrate increases :eek: and so that the capacity of them rises :eek: (I often choose value 18 of CRF to rip 1080i video)
Why is it???
And so with these types of video, how I should do to rip them?
Because my hard disk capacity is becoming low :rolleyes:

LigH
14th August 2011, 14:41
Do you encode interlaced video in interlaced encoder mode?

No question without complete command line or full MediaInfo report (depending on the topic). :rolleyes:

mario87
15th August 2011, 09:28
Someone delete my post? It's impolite :angry:
My post is not spam
I'm not a spamer !
I've just joined this forum for a few days and I only ask what I don't know. I don't find the answer in FAQs so I want to ask for helping. Is it difficult to answer my question?
All right, maybe my question is rather difficult to understand because my English is bad but instead of deleting my reply, you should explain why :mad:

maohsama
18th August 2011, 10:48
Since the recent version, whenever I choose a file in the AviSynth script creator, a dialog pops up asking whether I want to use the One-Click, File Indexer or continue with this method. How can I disable this annoying dialog? I never choose those two other options, because One-Click always messes up my encoding(missing sounnd or missing subtitle) and file indexer is not necessary.

Cornelis
21st August 2011, 21:05
I encoded a video to Xvid and I found out that MeGui is still using Xvid version 1.2.1 and we are at version 1.3.2 already.

Is anyone aware of this?

Zathor
21st August 2011, 21:29
I encoded a video to Xvid and I found out that MeGui is still using Xvid version 1.2.1 and we are at version 1.3.2 already.

Is anyone aware of this?

http://forum.doom9.org/showthread.php?p=1493546#post1493546

forum king
26th August 2011, 07:55
its been a long time :)
and am happy to see master Zathor still helping the community. :) kudos bro !!!
ok well till date i have not been able to convert a dts or ac3 5.1 audio in a aac 5.1 format , no matter what i do ,
i tried extracting the audios , not using directshow and stuff , but 90% of the cases there is error at the end of the encoding process or it wont start, or if at all with this is that settings it finishes it is always 2 channel.

i wonder if i need to make some changes to klite codec pack ,
or if there is ant simple smallish pgm which can do that for me.

god bless
regards

darkside40
26th August 2011, 08:42
Take eac3to, the Arcsoft DTS Codec and NeroAACEnc. Note you need a patched checktivate.dll to register the Arcsoft Codec. I use this combo since months and have no Problem with it.

tebasuna51
26th August 2011, 11:25
...
ok well till date i have not been able to convert a dts or ac3 5.1 audio in a aac 5.1 format , no matter what i do...

Please put your log files:logfile:

dc0yy
26th August 2011, 13:06
hi guys... can you help me please

i always get this error on some files

http://i56.tinypic.com/5tw30o.jpg

thank you

forum king
26th August 2011, 13:28
here u go , i can see that channel shown here are 2 , but even then it doesnt finish , precisely at 100% it gives error , i donno why .
the source has got 5.1 audio in DTS , tried another one with ac3 audio same results in that too

-[Error] Log for job11 (audio, reunion.mkv -> reunion.mp4)
--[Information] [8/26/2011 7:37:55 AM] Started handling job
--[Information] [8/26/2011 7:37:55 AM] Preprocessing
--[Information] Avisynth script
---[NoImage] DirectShowSource("D:\mine\ALL\A.reunion22\reunion.mkv", video=false)
---[NoImage] EnsureVBRMP3Sync()
---[NoImage] Normalize()
---[NoImage] return last
--[Information] Commandline used: -ignorelength -he -br 128000 -if - -of "{0}"
--[Information] [8/26/2011 7:37:55 AM] Encoding started
--[Information] [8/26/2011 7:37:55 AM] Encode thread started
--[Information] [8/26/2011 7:37:55 AM] Avisynth script environment opened
--[Information] [8/26/2011 7:37:56 AM] Script loaded
--[Information] Output Decoder
---[Information] Channels: 2
---[Information] Bits per sample: 16
---[Information] Sample rate: 48000
--[Information] Commandline: D:\mine\All Stuff\Nero codecs\win32\neroAacEnc.exe -ignorelength -he -br 128000 -if - -of "D:\mine\ALL\A.reunion22\reunion.mp4"
--[Information] [8/26/2011 7:37:56 AM] Encoder process started
--[Error] An error occurred
---[Error] Exception message: Abnormal encoder termination 1
---[Error] Stacktrace: at MeGUI.AviSynthAudioEncoder.encode()
---[Error] Inner exception: null
--[Information] Output from encoder via stderr
---[NoImage] *************************************************************
---[NoImage] * *
---[NoImage] * Nero AAC Encoder *
---[NoImage] * Copyright 2009 Nero AG *
---[NoImage] * All Rights Reserved Worldwide *
---[NoImage] * *
---[NoImage] * Package build date: Feb 18 2010 *
---[NoImage] * Package version: 1.5.4.0 *
---[NoImage] * *
---[NoImage] * See -help for a complete list of available parameters. *
---[NoImage] * *
---[NoImage] *************************************************************

ok here is another one : this time 6 channel


-[Information] [8/26/2011 1:35:49 PM] Commandline used: -ignorelength -he -br 128000 -if - -of "{0}"
--[Information] [8/26/2011 1:35:49 PM] Encoding started
--[Information] [8/26/2011 1:35:49 PM] Avisynth script environment opened
--[Information] [8/26/2011 1:35:49 PM] Script loaded
--[Information] Output Decoder
---[Information] [8/26/2011 1:35:49 PM] Channels: 6
---[Information] [8/26/2011 1:35:49 PM] Bits per sample: 32
---[Information] [8/26/2011 1:35:49 PM] Sample rate: 48000
--[Information] [8/26/2011 1:35:49 PM] Commandline: D:\mine\All Stuff\Backup.stUFF\megui.new.\tools\nero\win32\neroAacEnc.exe -ignorelength -he -br 128000 -if - -of "D:\mine\ALL\A.reunion22\reunion.mp4"
--[Information] [8/26/2011 1:35:49 PM] Encoder process started
--[Error] [8/26/2011 1:56:36 PM] An error occurred
---[Error] [8/26/2011 1:56:36 PM] Exception message: The pipe has been ended.
---[Error] [8/26/2011 1:56:36 PM] 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()
---[Error] [8/26/2011 1:56:36 PM] Inner exception: null
--[Information] [8/26/2011 1:56:36 PM] Output from encoder via stderr
---[NoImage] *************************************************************
---[NoImage] * *
---[NoImage] * Nero AAC Encoder *
---[NoImage] * Copyright 2009 Nero AG *
---[NoImage] * All Rights Reserved Worldwide *
---[NoImage] * *
---[NoImage] * Package build date: Feb 18 2010 *
---[NoImage] * Package version: 1.5.4.0 *
---[NoImage] * *
---[NoImage] * See -help for a complete list of available parameters. *
---[NoImage] * *
---[NoImage] *************************************************************
--[Information] [8/26/2011 1:56:36 PM] Output from encoder via stdout: ERROR: error while encoding frame
--[Information] [8/26/2011 1:56:36 PM] Job completed

flebber
26th August 2011, 13:29
@dc0yy
Whats with blanking out the filename, rule 6 ?

dc0yy
26th August 2011, 13:33
@flebber i just feel like blanking it

any answer for my error?

Carpo
26th August 2011, 17:02
@dc0yy
Whats with blanking out the filename, rule 6 ?

He missed a line ;)

Chudz
31st August 2011, 12:09
I am encoding to XviD AVI, I have splitting off but it keeps spliting my video into 2 files? Anyone know how I can stop it from splitting them? I am using the latest version of MeGUI the update from last night.

LigH
31st August 2011, 12:47
Did you set up a target size of more than 2 GB? Or ... what are the sizes of the segments exactly, in relation to the wanted result?

Chudz
31st August 2011, 13:07
I set a custom size to 3.5GB and setting splitting to "No Splitting" It seems to split at 2GB

Music Fan
31st August 2011, 14:55
AVI v1.0 is limited to 2 Go, that's perhaps the explanation.

Chudz
31st August 2011, 15:12
Is there a better for version of XviD AVI I should be using or somthing then?

Music Fan
31st August 2011, 15:20
For Xvid, you should maybe encode with Virtual Dub.
If you prefer MeGui because it creates avisynth scripts, you could maybe avoid the encoding step in MeGui and use this script with Virtual Dub.
But I don't know if it's possible.

Kurtnoise
31st August 2011, 16:08
I set a custom size to 3.5GB and setting splitting to "No Splitting" It seems to split at 2GB
http://forum.doom9.org/showthread.php?p=1522376#post1522376

Zathor
31st August 2011, 22:10
here u go , i can see that channel shown here are 2 , but even then it doesnt finish , precisely at 100% it gives error , i donno why .
the source has got 5.1 audio in DTS
Try to demux the DTS file from your MKV container.

I am encoding to XviD AVI, I have splitting off but it keeps spliting my video into 2 files? Anyone know how I can stop it from splitting them?
Please post your log!
If it splits the file during the mux try switching the device type in the AVI muxer to PC. The default setting will split at 2GB as standalone players most of the time have problems with avi files > 2GB.

kartikoli
1st September 2011, 03:08
I have 2 problems

1- How do i use filters while creating avisynth script .. i can load .dll files but it gives me error that i have to convert colorspace to YUY12
If i dont use any filter then MEGUI convert colorspace to YUY12 itself but it distort the video

2- There are many .avs scripts as well how do i use them

NOTE: These are FRAPS recorded videos in raw form of avi and colorspace is rgb

flebber
1st September 2011, 06:28
I have 2 problems

1- How do i use filters while creating avisynth script .. i can load .dll files but it gives me error that i have to convert colorspace to YUY12
If i dont use any filter then MEGUI convert colorspace to YUY12 itself but it distort the video

2- There are many .avs scripts as well how do i use them

NOTE: These are FRAPS recorded videos in raw form of avi and colorspace is rgb

Some avisynth scripts only work with certain colorpsaces. See http://avisynth.org/oldwiki/index.php?page=Section+3%3A+Filters%2C+plugins+and+colorspaces

Sci-Fi-Fan
1st September 2011, 17:44
Hi

Megui just auto updated some of its files including mkvnerge to version 4.9.1.

Since updating it appears that mkvmerge is recompressing / altering the audio track during an audio/video multiplex using tools/muxer/mkv muxer.

This never happened with the previous version.

Is there anyway to rolback to the previous working version? or workaround for this issue?

Help apreciated

Thanks

Heres a log of the last multiplex. Video + Audio should be 1.80 GB but is coming out at 1.58GB.

-[Information] Log for job1 (mux, 00002.track_4113.mkv -> 00002.track_4113-muxed.mkv)
--[Information] [01/09/2011 17:18:12] Started handling job
--[Information] [01/09/2011 17:18:12] Preprocessing
--[Information] [01/09/2011 17:18:12] MediaInfo
---[Information] File: D:\Tv Archive\Dexter\00002.track_4113.mkv
---[Information] General
----[Information] Format: Matroska
----[Information] FormatString: Matroska
----[Information] FileSize: 1044451552
----[Information] PlayTime: 00:54:09.288
---[Information] Video
----[Information] ID: 1
----[Information] Width: 1920
----[Information] Height: 1080
----[Information] FrameCount: 77905
----[Information] FrameRate: 23.976
----[Information] ScanType: Progressive
----[Information] Codec: V_MPEG4/ISO/AVC
----[Information] CodecString: AVC
----[Information] Format: AVC
----[Information] AspectRatio: 1.778
----[Information] AspectRatioString: 16:9
----[Information] Delay: 0
----[Information] Title:
----[Information] Language: en
----[Information] LanguageString: English
--[Information] [01/09/2011 17:18:12] MediaInfo
---[Information] File: D:\Tv Archive\Dexter\00002.track_4352.ac3
---[Information] General
----[Information] Format: AC-3
----[Information] FormatString: AC-3
----[Information] FileSize: 886714174
----[Information] PlayTime:
---[Information] Audio
----[Information] ID:
----[Information] Format: AC-3
----[Information] FormatProfile: TrueHD / Core
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2: 3/2/0.1
----[Information] BitRateMode: VBR / CBR
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
--[Information] [01/09/2011 17:18:13] Job commandline: "C:\Program Files\MeGUI_2008_x86\tools\mkvmerge\mkvmerge.exe" -o "D:\Tv Archive\Dexter\00002.track_4113-muxed.mkv" --engage keep_bitstream_ar_info --default-duration 1:24000/1001fps "--compression" "1:none" -d 1 --no-chapters -A -S "D:\Tv Archive\Dexter\00002.track_4113.mkv" --language 0:eng "--compression" "0:none" -a 0 --no-chapters -D -S "D:\Tv Archive\Dexter\00002.track_4352.ac3" --ui-language en
--[Information] [01/09/2011 17:18:13] Muxing started
--[Information] [01/09/2011 17:19:53] Standard output stream
---[NoImage] mkvmerge v4.9.1 ('Ich will') built on Jul 11 2011 23:53:15
---[NoImage] 'D:\Tv Archive\Dexter\00002.track_4113.mkv': Using the Matroska demultiplexer.
---[NoImage] 'D:\Tv Archive\Dexter\00002.track_4352.ac3': Using the TrueHD/MLP demultiplexer.
---[NoImage] 'D:\Tv Archive\Dexter\00002.track_4113.mkv' track 1: Using the MPEG-4 part 10 (AVC) video output module.
---[NoImage] 'D:\Tv Archive\Dexter\00002.track_4352.ac3' track 0: Using the TrueHD/MLP output module.
---[NoImage] The file 'D:\Tv Archive\Dexter\00002.track_4113-muxed.mkv' has been opened for writing.
---[NoImage] The cue entries (the index) are being written...
---[NoImage] Muxing took 97 seconds.
--[Information] [01/09/2011 17:19:53] Standard error stream
--[Information] [01/09/2011 17:19:53] MediaInfo
---[Information] File: D:\Tv Archive\Dexter\00002.track_4113-muxed.mkv
---[Information] General
----[Information] Format: Matroska
----[Information] FormatString: Matroska
----[Information] FileSize: 1697937679
----[Information] PlayTime: 00:54:15.294
---[Information] Video
----[Information] ID: 1
----[Information] Width: 1920
----[Information] Height: 1080
----[Information] FrameCount: 78049
----[Information] FrameRate: 23.976
----[Information] ScanType: Progressive
----[Information] Codec: V_MPEG4/ISO/AVC
----[Information] CodecString: AVC
----[Information] Format: AVC
----[Information] AspectRatio: 1.778
----[Information] AspectRatioString: 16:9
----[Information] Delay: 0
----[Information] Title:
----[Information] Language: en
----[Information] LanguageString: English
---[Information] Audio
----[Information] ID: 2
----[Information] Format: TrueHD
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2: 3/2/0.1
----[Information] BitRateMode: VBR
----[Information] Delay: 0
----[Information] Title:
----[Information] Language: en
----[Information] LanguageString: English
--[Information] [01/09/2011 17:19:53] Postprocessing
---[Information] Deleting intermediate files
--[Information] [01/09/2011 17:19:53] Job completed

tebasuna51
1st September 2011, 21:41
mkv don't support a track TrueHD / Core (TrueHD + AC3), if you want both you must extract first the TrueHd and the AC3 audio and mux like 2 independent tracks.

goldensun87
10th September 2011, 22:01
Hello everyone :) . A while ago, I had asked about quality settings for H.264 encoding. And thank you to the person who suggested the CRF mode, I love it.

But unfortunately, the Xvid encoding doesn't have a CRF mode, only CQ :( . So I need to know, what is a good CQ range for encoding to Xvid 640x480?

Jisana
11th September 2011, 04:27
Hi, I have some problems in linux when I try to open a video 720p resolution.
The problem that megui says me is " Value was either too large or too small for a Decimal."

Megui Log:
[Error] Log
-[Information] Versions
--[Information] [11/09/2011 5:01:41] MeGUI Version : 2050 (svn)
--[Information] [11/09/2011 5:01:41] OS : Windows XP Professional x86 SP3 (5.1.196608.2600)
--[Information] [11/09/2011 5:01:41] Latest .Net Framework installed : 4.0 (4.0.30319)
--[Information] [11/09/2011 5:01:41] Avisynth Version : 2.5.8.5 (21/12/2008 21:46:54)
-[Information] Update detection
--[Information] [11/09/2011 5:01:41] Connecting to server: http://megui.org/auto/stable/
--[Information] [11/09/2011 5:01:42] All files are up to date
-[Error] Unhandled error
--[Information] [11/09/2011 5:18:22] Exception message: Value was either too large or too small for a Decimal.
--[Information] [11/09/2011 5:18:22] Stacktrace
---[NoImage] at System.Decimal.FCallRound(Decimal& result, Decimal d, Int32 decimals)
---[NoImage] at System.Decimal.Round(Decimal d, Int32 decimals)
---[NoImage] at System.Math.Round(Decimal d)
---[NoImage] at MeGUI.VideoPlayer.SetMaxZoomWidth()
---[NoImage] at MeGUI.VideoPlayer.loadVideo(MainForm mainForm, String path, PREVIEWTYPE type, Boolean hasAR, Boolean inlineAvs, Int32 startFrame, Boolean originalSize)
---[NoImage] at MeGUI.VideoPlayer.loadVideo(MainForm mainForm, String path, PREVIEWTYPE type, Boolean hasAR)
---[NoImage] at MeGUI.VideoEncodingComponent.openAvisynthScript(String fileName)
---[NoImage] at MeGUI.VideoEncodingComponent.openVideoFile(String fileName)
---[NoImage] at MeGUI.VideoEncodingComponent.videoInput_FileSelected(FileBar sender, FileBarEventArgs args)
---[NoImage] at MeGUI.FileBar.triggerEvent()
---[NoImage] at MeGUI.FileBar.setFilename(String filename)
---[NoImage] at MeGUI.FileBar.openButton_Click(Object sender, EventArgs e)
---[NoImage] at System.Windows.Forms.Control.OnClick(EventArgs e)
---[NoImage] at System.Windows.Forms.Button.OnClick(EventArgs e)
---[NoImage] at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
---[NoImage] at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
---[NoImage] at System.Windows.Forms.Control.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.ButtonBase.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.Button.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
---[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--[Information] [11/09/2011 5:18:22] Inner exception: null
-[Information] Log for job19 (video, L_G_1280X720 (copia).avs -> L_G_1280X720 (copia).mp4)
--[Information] [11/09/2011 5:18:39] Started handling job
--[Information] [11/09/2011 5:18:39] Preprocessing
--[Information] [11/09/2011 5:18:39] Avisynth input script
---[NoImage] #Encodeo a 1050
---[NoImage] LoadPlugin("/fansub/ffms2.dll")
---[NoImage] LoadPlugin("/fansub/VSFilter.dll")
---[NoImage] Import("/fansub/ffms2.avsi")
---[NoImage] #CARGANDO VIDEO RAW
---[NoImage] video=FFVideoSource("06.mkv")
---[NoImage] #CARGANDO OPENINGS/ENDINGS/EFFECTOS
---[NoImage] #Repartiendo PARTES
---[NoImage] a=video.trim(0,3474)
---[NoImage] Logo=video.trim(3475,3531)
---[NoImage] b=video.trim(0,40715)
---[NoImage] #Juntando PARTES
---[NoImage] final=b
---[NoImage] #TWEAKS Y SUBS
---[NoImage] final = final.ConvertToYV12().Tweak(sat=1.2,cont=1.1, bright=-12)
---[NoImage] final = final.Textsub("06.ass")
---[NoImage] final = final.Lanczos4Resize(1280,720)
---[NoImage] return final
-[Error] Unhandled error
--[Information] [11/09/2011 5:18:40] Exception message: Value was either too large or too small for a Decimal.
--[Information] [11/09/2011 5:18:40] Stacktrace
---[NoImage] at System.Decimal.FCallRound(Decimal& result, Decimal d, Int32 decimals)
---[NoImage] at System.Decimal.Round(Decimal d, Int32 decimals)
---[NoImage] at System.Math.Round(Decimal d, Int32 decimals)
---[NoImage] at MeGUI.packages.video.x264.x264SettingsHandler.getKeyInt(Int32 fps_n, Int32 fps_d)
---[NoImage] at MeGUI.x264Encoder.genCommandline(String input, String output, Nullable`1 d, Int32 hres, Int32 vres, Int32 fps_n, Int32 fps_d, x264Settings xs, Zone[] zones, LogItem log)
---[NoImage] at MeGUI.x264Encoder.get_Commandline()
---[NoImage] at MeGUI.CommandlineJobProcessor`1.start()
---[NoImage] at MeGUI.core.gui.JobWorker.startEncoding(TaggedJob job)
---[NoImage] at MeGUI.core.gui.JobWorker.startNextJobInQueue()
---[NoImage] at MeGUI.core.gui.JobWorker.StartEncoding(Boolean showMessageBoxes)
---[NoImage] at MeGUI.core.details.JobControl.StartAll(Boolean restartStopping)
---[NoImage] at MeGUI.core.details.JobControl.jobQueue_StartClicked(Object sender, EventArgs e)
---[NoImage] at MeGUI.core.gui.JobQueue.startStopButton_Click(Object sender, EventArgs e)
---[NoImage] at System.Windows.Forms.Control.OnClick(EventArgs e)
---[NoImage] at System.Windows.Forms.Button.OnClick(EventArgs e)
---[NoImage] at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
---[NoImage] at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
---[NoImage] at System.Windows.Forms.Control.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.ButtonBase.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.Button.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
---[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--[Information] [11/09/2011 5:18:40] Inner exception: null

I'm trying with virtualdubmod and I can perfectly open the .avs without any problems, and I have tried to open with avidemux (avsproxy (wine) and avidemux(linux)) and it opened without any problems.

¿How I can resolve this problem?¿Can you help me? Thanks :D

Sharktooth
11th September 2011, 14:55
What preset you used? Please load the default settings and try again. It seems you have messed up the key-frame interval value.

Jisana
11th September 2011, 15:23
Thanks for reply. ^^

I used the "x264: Unrestricted 2pass Anime_Toons HQ" preset.

program --level 4.2 --tune animation --pass 2 --bitrate 1168 --stats ".stats" --qpmin 10 --qpmax 51 --vbv-bufsize 31250 --vbv-maxrate 31250 --me umh --direct auto --subme 6 --partitions p8x8,b8x8,i4x4,p4x4 --no-8x8dct --trellis 2 --output "output" "input"

I'm using now "Simple X264 Launcher" with this parameters and I don't have any problems, it's only when I use MeGui and I don't known why.

---
I have put the defaults settings and it says the same XD

Zathor
11th September 2011, 15:58
Add Info() to the end of your AVS script, open it with e.g. virtualdub and post the output. I am especially interested in the line frames per second.

Jisana
11th September 2011, 16:17
http://img268.imageshack.us/img268/8792/pantallazo6f.png (http://imageshack.us/photo/my-images/268/pantallazo6f.png/)



My .avs

##########################Encodeo a 1168

######WINDOWS

#LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\Vsfilter.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\asharp.dll") LoadPlugin("C:\Program Files (x86)\Aegisub\csri\Vsfiltermod.dll")

######LINUX

LoadPlugin("/fansub/ffms2.dll") LoadPlugin("/fansub/Vsfiltermod.dll") LoadPlugin("/fansub/VSFilter.dll") Import("/fansub/ffms2.avsi")

##########################LOADING VIDEO RAW

#video=directshowSource("224_720.mkv",fps=23.976,convertfps=true,audio=false)

video=FFVideoSource("224_720.mkv")

#CARGANDO OPENINGS/ENDINGS/EFFECTOS


#Repartiendo PARTES

a=video.trim(0,3474)

Logo=video.trim(3475,3531)

b=video.trim(0,40715)


#Juntando PARTES

final=b

#TWEAKS && SUBS
final = final.ConvertToYV12().Tweak(sat=1.2,cont=1.1, bright=-12)

final = final.Textsub("224.ass")

final = final.Textsubmod("OpeningJP.ass")

final = final.Textsubmod("ED2Japan.ass")

final = final.Info()

return final



My problem is when I try to open a video in 16:9 (1.7777777), megui CRASH.


I can open any resolution except 16:9 like 1280x720. If I put in my avs "final = final.lanczos4resize(1260,720)" (1260:720 = 1.75) . Megui runs OK. But If i try to open a video in 1280x720 megui crash.
The framespeed is OK
The megui preset is Ok
Avisynth is ok
Virtualdubmod Ok
Simple x264 launcher OK
Megui (loading video which not is in 16:9) OK
Megui (loading video in 16:9) no ok XDDD
Why i don't know but this is a mistery XD

hello_hello
12th September 2011, 15:59
Hello everyone :) . A while ago, I had asked about quality settings for H.264 encoding. And thank you to the person who suggested the CRF mode, I love it.

But unfortunately, the Xvid encoding doesn't have a CRF mode, only CQ :( . So I need to know, what is a good CQ range for encoding to Xvid 640x480?

A quantizer of 2 is as good as it gets with Xvid. The higher the quantizer, the lower the quality. I probably wouldn't go any higher than a target quantizer of 3.

Zathor
12th September 2011, 19:57
Megui (loading video which not is in 16:9) OK
Megui (loading video in 16:9) no ok XDDD
I have send you a PM with a special build.

goldensun87
14th September 2011, 04:46
A quantizer of 2 is as good as it gets with Xvid. The higher the quantizer, the lower the quality. I probably wouldn't go any higher than a target quantizer of 3.

Thanks! I look forward to experimenting :) !

LigH
14th September 2011, 08:15
The MPEG4-ASP quantization steps are quite coarse, using the defaults (H.263 parametric quantization, or MPEG matrix quantization with the standard matrix); using a different matrix for the MPEG quantization may be the only way for Xvid to achieve finer steps and better control, but may have side effects...

hello_hello
14th September 2011, 10:43
I still use AutoGK for Xvid encoding because it tells you what quality to expect when running 2 pass encodes, although that's probably a discussion for a different thread.
AutoGK uses a quality setting of 75% for single pass encoding by default. Depending on who you ask, 70% to 75% is supposed to be the optimum quality, file size ratio for Xvid. Looking at the way AutoGK configures the Xvid encoder, a 70% quality single pass encode equates to a quantizer of 2.86, while a 75% quality single pass encode equates to a quantizer of 2.67
If you're only going to be running single pass encoding (I run 2 pass encoding only to maintain 100% standalone player compatibility... although again that's a different discussion) and if file size isn't really an issue for you, I'd just use a quantizer of 2 and be done with it.

Personally I prefer the default H.263 quantization.... as long as you use a low enough quantizer anyway. No doubt custom matrices can achieve similar results with higher quantizers or lower bitrates etc, but I've not experimented with them all that much.

LigH
14th September 2011, 12:21
Do not confuse "higher" and "lower" regarding quantization.

To achieve similar bitrates, the product of matrix coefficients and overall quantization factor (or quotient) shall be about equal. If you use a matrix with smaller coefficients than the default, the overall quantization will have a bigger average value for the same target size.

hello_hello
14th September 2011, 14:07
Do not confuse "higher" and "lower" regarding quantization.

To achieve similar bitrates, the product of matrix coefficients and overall quantization factor (or quotient) shall be about equal. If you use a matrix with smaller coefficients than the default, the overall quantization will have a bigger average value for the same target size.

Whoops, I appear to have posted a dumb, dumb there. I've corrected my previous post.

vale25
15th September 2011, 14:33
Hi,

I kindly ask you for two short questions, thanks in advance!

My clip sources are .MOV clips of photo cameras, at 33 Mbps.

A) I found comparable media info output between a single pass with CRF 21, and a 2 pass insane with bitrate selected to 11 Mbps (one third of the original bitrate). Should I prefer the 2 pass?

B) Do I loose something decreasing to 11 Mbps? My 1080p TV sees both (original and encoded) files and I cannot distinguish any difference.

Note that I used for both the same preset, the veryslow

Here the relevant media info:

x264.exe --preset veryslow --pass 2 --bitrate 11000 --stats "file.stats" --deblock -1:-1 --qpmin 10 --qpmax 51 --no-dct-decimate --sar 1:1 --output "file.264" "file.avi.avs"


Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 16 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1mn 8s
Bit rate : 11.0 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.221
Stream size : 88.6 MiB (96%)
Writing library : x264 core 116 r2074 2641b9e
Encoding settings : cabac=1 / ref=16 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=11000 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00

LigH
16th September 2011, 07:54
A) The more important it is for you to reach a certain file size (e.g. get media filled to the brim), the more probably you will decide to use 2-pass instead of 1-pass CRF.

B) Using lossy technologies, you always lose quality (objective loss = any measurable difference). That doesn't mean that you can spot the difference at all, or would rate it annoying (subjective quality loss).

The slowest presets are already "pacebo" if you have a convenient bitrate (hard to rate certainly, but a pixel bitrate around 0.2 bppf is already quite convenient for x264). They may only give an edge for really tight cases.

The 1-pass constant bitrate mode is the one with the least certain quality, only useful for transmissions with tight bitrate specifications. For storage and playback from fast media, you should always prefer either 1-pass constant quality (CRF) if you have no important filesize constraints, or 2-pass mode if a filesize limit is more important than a quality level.

Note: CRF mode encodes to a fixed grade of objective quality loss. If the source is easily compressable (e.g. little details, little motion), the result may become smaller but will still look good compared to the original. If the source is hard to compress (a lot of details, noise, motion, etc.), it will use more bitrate to ensure that the copy will look good compared to the original. The smaller the CRF factor, the smaller the objective loss accepted by the encoder, the higher the possible bitrates. Average viewers may find a CRF around 21 acceptable; cineasts may agree that a CRF around 18 almost guarantees a "transparent result" (hardly noticable differences to the original).

vale25
19th September 2011, 13:57
Vielen dank LigH

I have learned something new about the pixel rate. You meant that 0.2 bpf would be good for x264. I re-encoded my sample with CRF 18 and with the 2 pass of bitrate 18 Mbps. Please have a look on the table below:

https://docs.google.com/leaf?id=0BxK6VmqKqXslZmExYjkwZmEtMzFhOC00MDAyLThjZGMtNDNmYjU4YWY2MTE4&hl=en_GB

I see that the pixel increased from 0.2 to 0.36, which must be good (I hope :-)

Could anyone tell why Canon/Nikkon, etc., prefer shooting with the avc1 codec on the original .MOV file? Do I really make the good thing to convert with x264?

I know that x264 is a multiple award winning sw, and is the best we have in compression by now, probably the preference for avc1 is given by the limitations of the CPU times of the photo cameras.

vale25
19th September 2011, 17:19
It was impossible to load an image, the link to an URL did not show-up, columns are not aligned. Sorry. I hope you understand my ideea, having the original and the two encodings side by side.

MediaInfo Specification Original .MOV x264 1 pass CRF 18 x264 2 pass 18000 bitrate
Format : AVC : AVC : AVC
Format/Info : Advanced Video Codec : Advanced Video Codec : Advanced Video Codec
Format profile : Baseline@L5.0 : High@L5.1 : High@L5.1
Format settings, CABAC : No : Yes : Yes
Format settings, ReFrames : 1 frame : 16 frames : 16 frames
Format settings, GOP : M=1, N=12
Codec ID : avc1 : V_MPEG4/ISO/AVC : V_MPEG4/ISO/AVC
Codec ID/Info : Advanced Video Coding
Duration : 1mn 8s : 1mn 8s : 1mn 8s
Bit rate : 33.8 Mbps : 17.7 Mbps : 18.0 Mbps
Width : 1 920 pixels : 1 920 pixels : 1 920 pixels
Height : 1 080 pixels : 1 080 pixels : 1 080 pixels
Display aspect ratio : 16:9 : 16:9 : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps : 23.976 fps : 23.976 fps
Color space : YUV : YUV : YUV
Chroma subsampling : 4:2:0 : 4:2:0 : 4:2:0
Bit depth : 8 bits : 8 bits : 8 bits
Scan type : Progressive : Progressive : Progressive
Bits/(Pixel*Frame) : 0.680 : 0.355 : 0.362
Stream size : 296.2 MiB (95%) : 145 MiB (97%) : 145 MiB (97%)
Writing library : x264 core 116 r2074 2641b9e : x264 core 116 r2074 2641b9e
Color primaries : BT.709-5, BT.1361,
IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.601-6 525, BT.1358 525,
BT.1700 NTSC, SMPTE 170M

LigH
20th September 2011, 06:54
Putting this in a CODE block to use a monospaced font and preformatted whitespaces:
MediaInfo Specification Original .MOV x264 1 pass CRF 18 x264 2 pass 18000 bitrate
Format : AVC : AVC : AVC
Format/Info : Advanced Video Codec : Advanced Video Codec : Advanced Video Codec
Format profile : Baseline@L5.0 : High@L5.1 : High@L5.1
Format settings, CABAC : No : Yes : Yes
Format settings, ReFrames : 1 frame : 16 frames : 16 frames
Format settings, GOP : M=1, N=12
Codec ID : avc1 : V_MPEG4/ISO/AVC : V_MPEG4/ISO/AVC
Codec ID/Info : Advanced Video Coding
Duration : 1mn 8s : 1mn 8s : 1mn 8s
Bit rate : 33.8 Mbps : 17.7 Mbps : 18.0 Mbps
Width : 1 920 pixels : 1 920 pixels : 1 920 pixels
Height : 1 080 pixels : 1 080 pixels : 1 080 pixels
Display aspect ratio : 16:9 : 16:9 : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps : 23.976 fps : 23.976 fps
Color space : YUV : YUV : YUV
Chroma subsampling : 4:2:0 : 4:2:0 : 4:2:0
Bit depth : 8 bits : 8 bits : 8 bits
Scan type : Progressive : Progressive : Progressive
Bits/(Pixel*Frame) : 0.680 : 0.355 : 0.362
Stream size : 296.2 MiB (95%) : 145 MiB (97%) : 145 MiB (97%)
Writing library : x264 core 116 r2074 2641b9e : x264 core 116 r2074 2641b9e
Color primaries : BT.709-5, BT.1361,
IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.601-6 525, BT.1358 525,
BT.1700 NTSC, SMPTE 170M

Of course - a camera needs to encode the video in realtime. Therefore it has to use a less complex encoder setup, creating only the Baseline profile and a lower number of reference frames (but your 16 for x264 are exaggerated, ~5 are usually efficient enough but a lot faster).

Therefore, because the hardware encoder creates AVC video with limited complexity and limited encoding efficiency, it prefers to put more bitrate in it to ensure a good quality even in complicated scenes.

x264 instead has all the time you allow it to take via your speed preset choice. It can (hopefully) use a powerful CPU with several cores for code parallelization and efficient Streaming SIMD Extension instructions for further data manipulation parallelization, along with (up to) Gigabytes of RAM to store frames to compare and search for redundancies (similar areas which can be used to spare bitrate by storing only smaller differences instead of plain values).

So there is no surprise that x264 is able to preserve a similar amount of video quality already with a smaller file, and, divided by the pixels per frame and the frames per second, a smaller "pixel bitrate". Its unit is bppf = "bits per pixel and frame"; think about this meaning.

vale25
20th September 2011, 11:52
LigH thanks again.

I wrote the code tags by hand, and selected Courier New font, I know that it is a fixed width letter font



Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.0
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1mn 8s
Bit rate : 16.0 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.322
Stream size : 129 MiB (96%)
Writing library : x264 core 116 r2074 2641b9e



The encoding shown above used the preset slow reducing thus the ReFrames from 16 to 5. The encoding time decreased from around 70 to less than 20 minutes!

The 16 Mbps correspond to a CRF 19 and to a decrease of the size of the file from 300 to 130 MB, quite impressive.

It is even possible to go on youtube, etc., if not by 2011, but surely in a closer future.

To summarize then, x264 options used for the current run:

program --preset slow --pass 2 --bitrate 16000 --stats ".stats" --deblock -1:-1 --qpmin 10 --qpmax 51 --no-dct-decimate --output "output" "input"

LigH
20th September 2011, 12:28
Now you just have to understand:

For one movie, 16 Mbps may be a waste.
For another movie, 16 Mbps may be tight.

Find the CRF which creates a copy good enough for you not to spot annoying quality loss for several different movies. This will be your "threshold of transparency". From then on, always use this CRF value in 1-pass encodings, spare a 2nd pass you don't need, as well as bitrate calculations -- if you don't need to fill a disc to the edge.

vale25
20th September 2011, 13:24
Understood your point!

Then I would start with a CRF 19 with preset slow. For general purpose home made videos (with my 2 years old daughter) it is probably more than enough.

If I get lots of movement in the scenes (water in the pool, speedy movements) I should try first to decrease the preset to slower (keeping the same CRF 19). If still has defects I go to CRF 18 (enlarging the file).

What about night scenes, are they "more difficult" than by daylight? Could you generally recommend something for them?

I need to shoot more scenes to prove that this strategy is the "perfect" way. However, your support was essential, danke again (I come from the photographic world and learning about movies is not so easy, at least for those who establish for themselves higher quality standards :-)

LigH
20th September 2011, 14:21
Night scenes are more difficult, because a smaller dynamic range is usually interpreted as less important by a video encoder. But x264 has already quite good psychovisual features. Try to find more facts about the "Variance AQ" (adaptive quantization) modes and their relation to tunings (--aq-mode / --aq-strength).

forum king
12th October 2011, 09:02
Hey there mates !!!
could someone plz help
i donno i am not able t encode any dts file thru megui to aac mp4 :(
tried everything from extracting audio to changing the profile settings :(

[Error] Log for job1 (audio, TEST.mkv -> TEST.mp4)
-[Information] [10/12/2011 8:44:21 AM] Started handling job
-[Information] [10/12/2011 8:44:21 AM] Preprocessing
-[Information] Avisynth script
--[NoImage] DirectShowSource("D:\nickname\ALL\A.midnight\TEST.mkv", video=false)
--[NoImage] EnsureVBRMP3Sync()
--[NoImage] return last
-[Information] Commandline used: -ignorelength -he -br 42000 -if - -of "{0}"
-[Information] [10/12/2011 8:44:21 AM] Encoding started
-[Information] [10/12/2011 8:44:21 AM] Encode thread started
-[Information] [10/12/2011 8:44:22 AM] Avisynth script environment opened
-[Information] [10/12/2011 8:44:22 AM] Script loaded
-[Information] Output Decoder
--[Information] Channels: 2
--[Information] Bits per sample: 16
--[Information] Sample rate: 48000
-[Information] Commandline: D:\nickname\All Stuff\Backup.stUFF\megui.29.01.10.main-1400\megui\tools\win32\neroAacEnc.exe -ignorelength -he -br 42000 -if - -of "D:\nickname\ALL\A.midnight\TEST.mp4"
-[Information] [10/12/2011 8:44:22 AM] Encoder process started
-[Error] An error occurred
--[Error] Exception message: Abnormal encoder termination 1
--[Error] Stacktrace: at MeGUI.AviSynthAudioEncoder.encode()
--[Error] Inner exception: null
-[Information] Output from encoder via stderr
--[NoImage] *************************************************************
--[NoImage] * *
--[NoImage] * Nero AAC Encoder *
--[NoImage] * Copyright 2009 Nero AG *
--[NoImage] * All Rights Reserved Worldwide *
--[NoImage] * *
--[NoImage] * Package build date: Feb 18 2010 *
--[NoImage] * Package version: 1.5.4.0 *
--[NoImage] * *
--[NoImage] * See -help for a complete list of available parameters. *
--[NoImage] * *
--[NoImage] *************************************************************
-[Information] Output from encoder via stdout: ERROR: truncation error
-[Information] [10/12/2011 8:49:53 AM] Job completed

tebasuna51
12th October 2011, 10:06
@forum king
I never see this error with NeroAacEnc but you can try some test to evaluate the problem.

1) Try with bigger bitrate, maybe -br 64000, and see if work now.

2) Extract the DTS with Tools -> HD Streams Extractor and use NicAudio decoder instead DirectShow

luke83
12th October 2011, 13:52
Can someone help me with this problem? I posted in bug topic but I think that here is better

http://forum.doom9.org/showthread.php?p=1531178#post1531178

Zathor
12th October 2011, 16:50
Can someone help me with this problem? I posted in bug topic but I think that here is better

http://forum.doom9.org/showthread.php?p=1531178#post1531178

The bug thread is the correct one for your problem, but I had and have no time to look into the problem you posted.

forum king
13th October 2011, 03:47
@forum king
I never see this error with NeroAacEnc but you can try some test to evaluate the problem.

1) Try with bigger bitrate, maybe -br 64000, and see if work now.

2) Extract the DTS with Tools -> HD Streams Extractor and use NicAudio decoder instead DirectShow
tried all still nothing , the encoding starts and at 100% there is this error :(
plz help guyz or may be suggest a simple other pgm in which i can input either the main mkv source or the extracted DTS and encode it in aac mp4 with desirable bitrate

plz help
regards

tebasuna51
13th October 2011, 12:50
@forum king

Try using eac3to. Steps:

1) Copy your NeroAacEnc.exe to .../MeGUI/tools/eac3to folder

2) Open your mkv with MeGUI -> Tools -> HD Streams Extractor

3) Select only your DTS file, Extract as: AAC, type in +Options: -libav -quality=0.2
Enqueue and execute.

With eac3to you can only use VBR encode, maybe the bitrate must be corrected with other quality.

luke83
13th October 2011, 13:02
The bug thread is the correct one for your problem, but I had and have no time to look into the problem you posted.

ah ok. Sorry
I'll wait :(

Zathor answered me in the other 3d. He (I suppose) told me that my problem/bug have been fixed in the new update 2054 :)

LigH
19th October 2011, 07:23
Y U NO USE AVISOURCE FOR AVI? ;)

Please excuse the memifying; MeGUI may be half of the reason for this, not offering AviSource as input function at all.

Apart from that, the first question about insufficiently specified video material is always: Please post a MediaInfo report, preferably "full". The term "uncompressed AVI" is not sufficient, there are several possible variants, and if you filtered the video using VirtualDub filters, we would even have to be afraid that you saved them as RGB24 (what a waste of precious harddisk space, and also a possible risk that the huge filesize causes issues with the structure of the saved AVI file, regarding OpenDML segmentation).

LigH
19th October 2011, 12:15
It is quite uncommon to save temporary files completely uncompressed; there are several VfW codecs which can compress video losslessly, or with hardly noticable loss.

But in general ... since AviSynth was developed, it is not necessary anymore to save filtered intermediate videos at all. You can do all the filtering with a script in the RAM while feeding the original video to the encoder. MeGUI itself is only a user interface for AviSynth.

It just may require some manual editing of the script in this case. If the source filter FFmpegSource is the reason for the crash, you may have to exchange it with AviSource (which has its own parameters); this may require to provide a YV12 VfW codec to be installed (Xvid or ffdshow - when "Raw video" is enabled in its VfW Decoder codec table - should be suitable).

bamsebo
19th October 2011, 23:15
Hi LigH

I am shure now, that my source AVI files are the cause of the problem!

I did the following:
- reinstalled a clean install of Win7 32bit on a separate partition for not having any old codecs/filters on the system
- only installed drivers, net framework, newest avisynth and megui
- opened the unedited source AVI file and clicked on "one click encoding"
- SAME ERROR! (Exception message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.)
- encoding other files like flv, mkv, vob works fine

So here the detailed media info of my source AVIs

General
Complete name : O:\Schatzsuche mit modernster Elektronik.avi
Format : AVI
Format/Info : Audio Video Interleave
Format profile : OpenDML
File size : 20.3 GiB
Duration : 17mn 21s
Overall bit rate : 167 Mbps

Video
ID : 0
Format : YUV
Codec ID : YUY2
Codec ID/Info : YUV 4:2:2 as for UYVY but with different component ordering within the u_int32 macropixel
Duration : 17mn 21s
Bit rate : 166 Mbps
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 5:4
Frame rate : 25.000 fps
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:2
Compression mode : Lossless
Bits/(Pixel*Frame) : 15.998
Stream size : 20.1 GiB (99%)

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



So what is wrong with my source AVIs? I can play them with no problem in VLC or MPC-HQ. I recorded them with a TV Capture Card (AVerTV CaptureHD) with the CaptureProgram from AverMedia.

What should I do? Maybe I can convert the source files into a format, MEGui can work with? :confused:

I have uploaded a 3 second cut from the source AVI (made with "Virtual Dub-Direct Video Copy"): (compressed with WinRAR, ~30MB, unpacked ~70MB)

http://www.mediafire.com/?846o269si6hcd9n

This file also gives me the error. Could somebody tell me if it works for him?
The data rate just seems extremely high, I converted it to Lagarith in VirtualDub but still MeGui complained, (insanity detected encoder returned an empty frame)

Only way I could get it to do anything was to convert it to Xvid in VD...

LigH
20th October 2011, 07:02
As already mentioned: Try not to use FFmpegSource and see if it works with e.g. AviSource.

bamsebo
20th October 2011, 09:30
create an avs script containing

AVISource ("c.avi")
ConvertToYV12()

then try that, you cannot use one click encode this way but it works
Barry

LigH
20th October 2011, 09:51
I was quite confused about the "AVS Script Creator" when I tried to open an AVI file in it; it displayed a dialog where I could choose between

One Click Encoder (no, I want to setup all details manually)
File Indexer (no, I want to avoid FFmpegSource)
DirectShowSource (not really, but maybe I can change it later)

So I clicked the button "DirectShowSource". Now the tab "Script" is available in the "AviSynth script creator" dialog. And surprise ... MeGUI chose to use AVISource. Amazing?! Now I am able to tweak the script manually, even.

hello_hello
20th October 2011, 11:57
It definitely seems to be the indexing which is the cause of the crashing. I tried indexing the avi myself and got errors when trying to open it.
I don't use the one click encoder but this is the way I got around it:

Create a simple avisyth script such as the following:

AVISource("D:\video.avi")

From the tools menu open the AVS Script Creator.
Use the script as your input video instead of the AVI file itself.
Setup your encoding using the script creator, then encode.

LigH
20th October 2011, 12:27
I'll comment on this issue in the FFmpegSource thread...

PrudoN
22nd October 2011, 08:31
hey everyone

i just need to make a dvdrip to DVD but cudnt make it on megui last version.. i was doing that before ( i was opening the first big vob file on the dvd and then megui were doing to d2v and the i was creating the avs file but this time i cudnt make it))

anyone help?

JakFrost
22nd October 2011, 09:04
Nero AAC 1.5.4.0 (latest) always ends with "The pipe has ended." error but when I switch to Nero AAC 1.3.3.0 it works great as before.

I've accidentally deleted my own Ghost In the Shell: Stand Alone Complex encodings and am trying to do them again but this error was bugging me.

It's annoying that MeGUI Updater shows up and complaints about the old version of Nero but what choice is there when 1.5.4.0 bombs out on all audio tracks?

PS: For some reason Xbmc Media Center doesn't automatically deinterlace these DVDs on playback either so it's hard to watch the action sequences with all the interlace lines.


General
Complete name : D:\Video\FullDisc\GHOST_IN_THE_SHELL_V1\VIDEO_TS\VTS_14_1.VOB
Format : MPEG-PS
File size : 1 024 MiB
Duration : 21mn 30s
Overall bit rate : 6 657 Kbps
Writing library : encoded by TMPGEnc (ver. 2.524.63.181)

Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Duration : 21mn 30s
Bit rate : 5 245 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate : 29.970 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.506
Stream size : 807 MiB (79%)
Writing library : TMPGEnc 2.524.63.181

Audio #1
ID : 189 (0xBD)-128 (0x80)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Muxing mode : DVD-Video
Duration : 21mn 30s
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Delay relative to video : -47ms
Stream size : 68.9 MiB (7%)

Audio #2
ID : 189 (0xBD)-129 (0x81)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Muxing mode : DVD-Video
Duration : 21mn 30s
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Delay relative to video : -47ms
Stream size : 68.9 MiB (7%)

Audio #3
ID : 189 (0xBD)-130 (0x82)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Muxing mode : DVD-Video
Duration : 21mn 30s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Delay relative to video : -47ms
Stream size : 29.5 MiB (3%)

Audio #4
ID : 189 (0xBD)-131 (0x83)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Muxing mode : DVD-Video
Duration : 21mn 30s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Delay relative to video : -47ms
Stream size : 29.5 MiB (3%)

Text #1
ID : 189 (0xBD)-32 (0x20)
Format : RLE
Format/Info : Run-length encoding
Muxing mode : DVD-Video
Delay relative to video : 4s 23ms

Text #2
ID : 189 (0xBD)-33 (0x21)
Format : RLE
Format/Info : Run-length encoding
Muxing mode : DVD-Video
Delay relative to video : 4s 23ms

Menu



[Error] Log
-[Information] Versions
--[Information] [10/22/2011 1:42:11 AM] MeGUI Version : 2050 (svn)
--[Information] [10/22/2011 1:42:11 AM] OS : Windows Seven Ultimate Edition x64 SP1 (6.1.65536.7601)
--[Information] [10/22/2011 1:42:11 AM] Latest .Net Framework installed : 4.0 (4.0.30319)
--[Information] [10/22/2011 1:42:11 AM] Avisynth Version : 2.5.8.5 (12/21/2008 9:46:54 PM)
-[Information] Update detection
--[Information] [10/22/2011 1:42:11 AM] Connecting to server: http://megui.xvidvideo.ru/auto/stable/
--[Information] [10/22/2011 1:42:12 AM] All files are up to date
-[Error] Log for job5 (audio, VTS 14 1 T81 3_2ch 448Kbps DELAY -47ms.ac3 -> VTS 14 1 T81 3_2ch 448Kbps DELAY -47ms_audio.m4a)
--[Information] [10/22/2011 1:42:29 AM] Started handling job
--[Information] [10/22/2011 1:42:29 AM] Preprocessing
--[Information] [10/22/2011 1:42:29 AM] MediaInfo
---[Information] File: D:\Video\VTS 14 1 T81 3_2ch 448Kbps DELAY -47ms.ac3
---[Information] General
----[Information] Format: AC-3
----[Information] FormatString: AC-3
----[Information] FileSize: 88105245
----[Information] PlayTime: 00:26:13.280
---[Information] Audio
----[Information] ID:
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2: 3/2/0.1
----[Information] BitRateMode: CBR
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
--[Information] [10/22/2011 1:42:29 AM] Trying to open the file with NicAudio
--[Information] [10/22/2011 1:42:29 AM] Successfully opened the file with NicAudio
--[Information] [10/22/2011 1:42:29 AM] Avisynth script
---[NoImage] LoadPlugin("C:\Program Files (x86)\megui\tools\avisynth_plugin\NicAudio.dll")
---[NoImage] NicAc3Source("D:\Video\VTS 14 1 T81 3_2ch 448Kbps DELAY -47ms.ac3")
---[NoImage] DelayAudio(-47.0/1000.0)
---[NoImage] Normalize()
---[NoImage] return last
--[Information] [10/22/2011 1:42:29 AM] Commandline used: -ignorelength -he -br 160000 -if - -of "{0}"
--[Information] [10/22/2011 1:42:29 AM] Encoding started
--[Information] [10/22/2011 1:42:29 AM] Avisynth script environment opened
--[Information] [10/22/2011 1:42:30 AM] Script loaded
--[Information] Output Decoder
---[Information] [10/22/2011 1:42:30 AM] Channels: 6
---[Information] [10/22/2011 1:42:30 AM] Bits per sample: 32
---[Information] [10/22/2011 1:42:30 AM] Sample rate: 48000
--[Information] [10/22/2011 1:42:30 AM] Commandline: C:\Program Files (x86)\megui\tools\neroaacenc\neroaacenc.exe -ignorelength -he -br 160000 -if - -of "D:\Video\VTS 14 1 T81 3_2ch 448Kbps DELAY -47ms_audio.m4a"
--[Information] [10/22/2011 1:42:30 AM] Encoder process started
--[Error] [10/22/2011 1:42:55 AM] An error occurred
---[Error] [10/22/2011 1:42:55 AM] Exception message: The pipe has been ended.
---[Error] [10/22/2011 1:42:55 AM] 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()
---[Error] [10/22/2011 1:42:55 AM] Inner exception: null
--[Information] [10/22/2011 1:42:56 AM] Output from encoder via stderr
---[NoImage] *************************************************************
---[NoImage] * *
---[NoImage] * Nero AAC Encoder *
---[NoImage] * Copyright 2009 Nero AG *
---[NoImage] * All Rights Reserved Worldwide *
---[NoImage] * *
---[NoImage] * Package build date: Feb 18 2010 *
---[NoImage] * Package version: 1.5.4.0 *
---[NoImage] * *
---[NoImage] * See -help for a complete list of available parameters. *
---[NoImage] * *
---[NoImage] *************************************************************
--[Information] [10/22/2011 1:42:56 AM] Output from encoder via stdout: ERROR: error while encoding frame
--[Information] [10/22/2011 1:42:56 AM] Job completed

MajorX
24th October 2011, 02:59
Can i encode any 10bit video to 8bit? Is there any major loss in quality while doing this.

LigH
25th October 2011, 07:48
@ PrudoN:

Never open VOB files directly from a DVD. You have to extract the main movie PGC first, based on additional information in the IFO files, because DGMPGDec can only handle single-PGC VTS. Either set up your DVD ripper to IFO / Movie mode, or use PGCDemux if the whole DVD is on your harddisk already.

Betsy25
25th October 2011, 07:58
@ PrudoN:

Never open VOB files directly from a DVD. You have to extract the main movie PGC first, based on additional information in the IFO files, because DGMPGDec can only handle single-PGC VTS. Either set up your DVD ripper to IFO / Movie mode, or use PGCDemux if the whole DVD is on your harddisk already.

Are you serious ? I have been doing like PrudoN for pretty much all my DVD's with MeGui's File Indexer & never encountered a problem ?:confused:

tebasuna51
25th October 2011, 09:23
Are you serious ? I have been doing like PrudoN for pretty much all my DVD's with MeGui's File Indexer & never encountered a problem ?:confused:
Then you are a lucky man.
First you need remove protections and extract the main movie PGC (with DVD Decrypter or other).

Sometimes the extra content is mixed (with different PGC) in the same VTS_01_x.VOB files (most the times have different VTS_x_x.VOB)

Betsy25
25th October 2011, 13:27
Then you are a lucky man.
First you need remove protections and extract the main movie PGC (with DVD Decrypter or other).

Sometimes the extra content is mixed (with different PGC) in the same VTS_01_x.VOB files (most the times have different VTS_x_x.VOB)

Oops, well, in my enthusiasm I forget to add that i first rip to HD using AnyDVD, and then respin the movie only using DVDShrink.
I don't know the technicals, but perhaps that does the same as the method LigH advised.

LigH
25th October 2011, 14:03
Apart from the little limitation that Germans are not allowed to talk about "fox-sly software" :cool: or "Macrovision bit removers" :rolleyes: ... yes, DVDShrink in Re-Author mode would limit a DVD to one PGC, one angle, and one VTS only – therefore behave similar to PGCDemux or usual rippers. So in this case, there is nothing left which could confuse DGMPGDec.

Twitch29
31st October 2011, 02:53
Hi, MeGUI updated itself a couple of days ago and now the Muxer doesn't work. It opens up, lets me add files (mkv, ac3, idx), but the queue button no long does anything. ie. Window doesn't close and job isn't added to queue.

Anyone come across this before?

Zathor
31st October 2011, 10:00
Hi, MeGUI updated itself a couple of days ago and now the Muxer doesn't work. It opens up, lets me add files (mkv, ac3, idx), but the queue button no long does anything. ie. Window doesn't close and job isn't added to queue.

Anyone come across this before?
No, please post more details so that we can try to reproduce it.

Twitch29
31st October 2011, 14:39
No, please post more details so that we can try to reproduce it.

Not much I can tell you. I've tried with several movies. Individual components (MKV and AC3) all play OK in compatible players. My PC is fully updated, running on Phenom II 995 with 4GB RAM.

I'm only guessing, but I presume MeGUI utilises mkvmerge. Running mmg.exe from same directory works.

The log is unhelpful as no job is run. I'm thinking I should do a clean install of MeGUI to see if it's replicated...

[Information] Log
-[Information] Versions
--[Information] [31/10/2011 13:14:00] MeGUI Version : 2050 (svn)
--[Information] [31/10/2011 13:14:00] OS : Windows Seven Enterprise Edition x64 SP1 (6.1.65536.7601)
--[Information] [31/10/2011 13:14:00] Latest .Net Framework installed : 4.0 (4.0.30319)
--[Information] [31/10/2011 13:14:00] Avisynth Version : 2.5.8.5 (21/12/2008 21:46:54)
-[Information] Update detection
--[Information] [31/10/2011 13:14:00] Connecting to server: http://megui.xvidvideo.ru/auto/stable/
--[Information] [31/10/2011 13:14:01] All files are up to date

I've just successfully encoded and muxed one of the movies using AutoEncode. This, to me, suggests that the problem is with MeGUI's Muxer GUI?

At least I have a work around. Some would say the prefered workflow.

Twitch29
31st October 2011, 16:17
FIXED

Clean install + updates and all is working fine

NoX1911
2nd November 2011, 08:26
MeGUI-dev-2057
AVS Script Creator

Hi,
1) when i open files with 'AviSynth Script Creator' the preview window is 50% only and i cannot rescale it. Available buttons are '1:1', 'Fit' and '-' but nothing happens when pressed. Is it a known bug or just my side?

2) Is it possible to keep audio enabled (audio=true) without manually changing the script so i can inject the avs script to video and audio sections immediately?

Zathor
2nd November 2011, 11:48
1) when i open files with 'AviSynth Script Creator' the preview window is 50% only and i cannot rescale it. Available buttons are '1:1', 'Fit' and '-' but nothing happens when pressed. Is it a known bug or just my side?
I cannot reproduce it. Please provide more details (source file info, monitor configuration (e.g. dual screen, resolution, dpi, font size), OS, ...)

2) Is it possible to keep audio enabled (audio=true) without manually changing the script so i can inject the avs script to video and audio sections immediately?
Currently not.

NoX1911
2nd November 2011, 15:50
I was wrong with 50%. It's locked on 100% (with small files) but it's too small nevertheless. To better see filter effects (like anti noise) 200%/300% would be helpful but the '+' button is disabled. When i load DVD MPG2 content i can at least scale down but not up either.

The video is 176x112 pixel (MPEG1), desktop=1280x960. Should be reproducible with any video (not exceeding 100% preview size).

http://www.abload.de/thumb/altarboyh13n.png (http://www.abload.de/img/altarboyh13n.png)

MajorX
11th November 2011, 15:38
When i try to encode WMV3 video to x264(mkv)....i got this error...please help.

http://img268.imageshack.us/img268/5774/sassv.png

Info of Video:
Format : VC-1
Codec ID : WMV3
Codec ID/Info : Windows Media Video 9
Codec ID/Hint : WMV3
Frame rate : 23.976 fps
Bit depth : 8 bits

Taurus
11th November 2011, 17:38
@MajorX
Is this interlaced VC1 stuff?
If I remember correctly FFmpeg2source is not able to decode this.
Try directshowsource.
FFmpeg2source is working fine with progressive material on my side.

Zathor
12th November 2011, 11:26
I was wrong with 50%. It's locked on 100% (with small files) but it's too small nevertheless. To better see filter effects (like anti noise) 200%/300% would be helpful but the '+' button is disabled. When i load DVD MPG2 content i can at least scale down but not up either.

Yes, currently it is not possible to zoom > 100%.

xXThePlague1Xx
19th November 2011, 04:20
SRY about that dumb question didn't realize that it was interleaved with angles.

don't mind me bye :)

LigH
21st November 2011, 12:35
@ xXThePlague1Xx:

Most converters based on AviSynth and DGMPGDec may require material which contains only one PGC and only one video angle. If you know your DVD ripper, use the "Movie mode" or "IFO mode". If you already have all VOBs on your harddisk as they were on DVD, use PGCDemux to strip the one main movie PGC and angle. But using the VOBs as on disk is sometimes a bad idea, the DVD authoring features are too diverse to be supported by DGIndex.

Vincent Vega
21st November 2011, 18:15
guys, haven't been here for a while.. where would i get good x264 presets nowadays? i no longer see them in newly installed megui. I need maximized quality settings for 12-15Mbps 1-pass ABR for 720p30, 1080p30 content (capture)

thank you

Shevek
21st November 2011, 18:26
guys, haven't been here for a while.. where would i get good x264 presets nowadays? i no longer see them in newly installed megui. I need maximized quality settings for 12-15Mbps 1-pass ABR for 720p30, 1080p30 content (capture)

thank you

See this answer on the Presets thread:

http://forum.doom9.org/showthread.php?p=1528468#post1528468

rapscallion
21st November 2011, 18:29
However, if you still want them, they're here: http://megui.org/auto/

Just scroll down to x264 presets v59. I still use it in combination with the "target device" setting

Vincent Vega
21st November 2011, 18:41
oh thanks i see target device thing..

also just found here
http://forum.doom9.org/showthread.php?p=1162196 (http://forum.doom9.org/showthread.php?p=1162196#post1162196)
presets v85, those these are from 2009 per file dates

so that v59 or this v85?

Shevek
21st November 2011, 18:46
oh thanks i see target device thing..

also just found here
http://forum.doom9.org/showthread.php?p=1162196 (http://forum.doom9.org/showthread.php?p=1162196#post1162196)
presets v85, those these are from 2009 per file dates

so that v59 or this v85?

The v59 ones are dated Feb 6th 2011 so I'd go with those

rapscallion
21st November 2011, 19:19
The v59 ones are dated Feb 6th 2011 so I'd go with those
Yes, the v85 is from the old numbering sytem, 2009, when Sharktooth was still involved.

galinette69
26th November 2011, 11:45
Dear all,

When I encode a MP4 movie with MeGUI and the default profiles, MPC-HC is unable to seek in the file. I have found in previous threads that this is related to the open-gop option. Apparently, open-gop provides a significant quality improvement and should be let on in all cases. Is there another workaround to the random seek problem than disabling open-gop?

Thanks,

Etienne

Music Fan
26th November 2011, 12:38
I wonder if it could be related to the container (which is mp4 but not version 2, you can see it with MediaInfo) ; try to remux your video in MKV with MKVMerge or in mp4 with Yamb.

galinette69
27th November 2011, 11:18
Hi Musicfan,

Thanks for your help!

I tried yamb with no improvement.

I usually never make mkv videos, but I tried with both megui and mkvmerge, with the same strange result : just after beginning to mux, it ends with an error "Unable to write to the file - Error 87 : incorrect parameter" (not exactly this one since I translated from french)
Edit : this error came for unknown reason from the fact I was using mkvmerge on a virtualbox machine. It works on my physical machine, the generated mkv works well in MPC-HC including random accesses.

Unfortunately, I need MP4 format, as I intend to use these vids in Vegas for editing.

Here is the output from MediaInfo as you advised, but I cannot find the type 1/2 of MP4 container:

General
Complete name : H:\MPEG4\2010-01-Pelvoux.avi-muxed.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 609 MiB
Duration : 18mn 20s
Overall bit rate mode : Variable
Overall bit rate : 4 645 Kbps
Encoded date : UTC 2011-11-26 16:05:19
Tagged date : UTC 2011-11-26 16:05:19

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 18mn 20s
Bit rate mode : Variable
Bit rate : 4 514 Kbps
Maximum bit rate : 40.0 Mbps
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 fps
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.435
Stream size : 592 MiB (97%)
Writing library : x264 core 116 r2074 2641b9e
Encoding settings : cabac=1 / ref=4 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16
/ chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=1 / sliced_threads=0 / slices=4 / nr=0
/ decimate=1 / interlaced=0 / bluray_compat=1 / constrained_intra=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=1
/ weightp=0 / keyint=25 / keyint_min=2 / scenecut=40 / intra_refresh=0 / rc_lookahead=25 / rc=crf / mbtree=1 / crf=19.0 / qcomp=0.60 / qpmin=0
/ qpmax=69 / qpstep=4 / vbv_maxrate=40000 / vbv_bufsize=30000 / crf_max=0.0 / nal_hrd=vbr / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2011-11-26 16:05:19
Tagged date : UTC 2011-11-26 16:15:37
Color primaries : BT.470-6 System B, BT.470-6 System G, BT.601-6 625, BT.1358 625, BT.1700 625 PAL, BT.1700 625 SECAM
Transfer characteristics : BT.470-6 System B, BT.470-6 System G
Matrix coefficients : BT.470-6 System B, BT.470-6 System G, BT.601-6 625, BT.1358 625, BT.1700 625 PAL, BT.1700 625 SECAM, IEC 61966-2-4 601

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 18mn 20s
Bit rate mode : Variable
Bit rate : 127 Kbps
Maximum bit rate : 175 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 16.7 MiB (3%)
Encoded date : UTC 2011-11-26 16:15:14
Tagged date : UTC 2011-11-26 16:15:37



Thanks for help...

Etienne

Kurtnoise
27th November 2011, 14:09
did you try to seek your mp4 files with LAV Splitter instead of the internal mpc-hc ?

galinette69
27th November 2011, 15:42
did you try to seek your mp4 files with LAV Splitter instead of the internal mpc-hc ?

I will try this, but this will not help Vegas, which takes ages to random access the videos too when editing in the timeline.
I have tried to encode with handbrake, I have no issues for random accessing either in MPC-HC or Vegas. But I cannot use it for two reasons : I make custom avisynth scripts, and I want to encode interlaced.

Etienne

nibus
28th November 2011, 04:41
is MeGUI incompatible with DGDecNv 2041? Ever since I updated from version 2040 Ive been getting constant crashes, whether being in the middle of an encode, creating an avs script, or anytime dgdecnv is accessed. Should I just roll back to version 2040?

Zathor
28th November 2011, 10:07
I have no problems in using 2041. Try to use e.g. the commandline for encoding directly (without MeGUI). If this also crash then get in contact with Neuron2 (dgdecnv author). Or try to rollback to 2040.

Betsy25
28th November 2011, 13:51
Sorry for this newbie question, but I got a box of old Black&White movies to convert, I always use the default PS3 profile to be able to play on there, are there any switches that may be needed (or increase quality) when processing B&W movies ?
:stupid:

nibus
28th November 2011, 15:23
I have no problems in using 2041. Try to use e.g. the commandline for encoding directly (without MeGUI). If this also crash then get in contact with Neuron2 (dgdecnv author). Or try to rollback to 2040.

Commandline isn't a problem, as even if MeGUI crashes during an encode, x264 still continues in the background until the job is done.

I'll just roll back to 2040, it worked fine.

Nixeus
28th November 2011, 19:02
Hello my friends,

I woule like to encode a dvd to a mp4 (x624) with Megui using the Avisynth MT x64. I have installed this AviSynth properly according the readme file.

Here is my AVS Script :


LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins64\MT.dll")
setmtmode(2,0)
LoadPlugin("E:\Users\xx\Downloads\MeGUI_2050_x86\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("E:\PLACEBO\VIDEO_TS\VTS_01_1.d2v", info=3)
LoadPlugin("E:\Users\xx\Downloads\MeGUI_2050_x86\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
#deinterlace
#crop
#resize
mergechroma(blur(1.3)) # Little Noise


When i save the file, i have a error : Unable to load MT.DLL

Have you an idea please ?

Thanks a lot,

Best regards,

Nixeus

yunapolaris
28th November 2011, 19:36
Hi,
I have a problem which really needs your help :( My MeGUI keeps crashing whenever I try to open any file, either video file or d2v file in either the main window or AVS creator =/. I tried to reinstall MeGUI, Avisynth, the codec pack but nothing helped. I'm so lost right now and don't know what to do.

The Windows show 'MeGUI has stopped working..." with this error:

Problem signature:
Problem Event Name: APPCRASH
Application Name: MeGUI.exe
Application Version: 1.0.2050.0
Application Timestamp: 4e5925da
Fault Module Name: KERNELBASE.dll
Fault Module Version: 6.1.7601.17651
Fault Module Timestamp: 4e2111c0
Exception Code: e06d7363
Exception Offset: 0000d36f
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Details & screenshot of the crash here.
http://forum.doom9.org/showthread.php?t=163251

Please help me! Thank you.

Zathor
28th November 2011, 23:38
are there any switches that may be needed (or increase quality) when processing B&W movies ?

Sorry, no idea. But I found this thread:
http://forum.doom9.org/showthread.php?t=145853

I woule like to encode a dvd to a mp4 (x624) with Megui using the Avisynth MT x64.
When i save the file, i have a error : Unable to load MT.DLL
It seems you are using MeGUI x86 with an x64 MT.dll. That is not possible. You have to use MeGUI x64.

Kurtnoise
29th November 2011, 09:50
I will try this, but this will not help Vegas, which takes ages to random access the videos too when editing in the timeline.
why you talk about mpc-hc then ?

Vegas tool uses vfw interface ?

LigH
29th November 2011, 11:11
... are there any switches that may be needed (or increase quality) when processing B&W movies ?

x264 is smart enough not to waste bits on empty chrominance components. You might try to enforce their emptiness with filters, though (e.g. Greyscale() would enforce neutral U and V components in a YUV color space, and x264 expects YV12).

JoeH
30th November 2011, 08:39
I will try this, but this will not help Vegas, which takes ages to random access the videos too when editing in the timeline.
I have tried to encode with handbrake, I have no issues for random accessing either in MPC-HC or Vegas. But I cannot use it for two reasons : I make custom avisynth scripts, and I want to encode interlaced.

Etienne

The issue about not being able to seek in MPC-HC is probably due to the mux. I've not tried it with MP4, but with MKV it is necessary to REMUX the file after outputting in MKV format. The reason is that X264 doesn't know how to include the info your video player needs to seek quickly - this is done by the muxer once the file is ready.

For the problem about Vegas timelines painting slowly, here is the solution I use (which works very well). First I index the MeGUI output using the FFMS file indexer. It is very important that you have the option to use the FFMS multithread version!! This makes a huge speed difference. To do so, in your MeGUI options, set the FFMS thread number to 0.

Then follow the instructions here to "mount" your AVS file pointing to the FFMS index. You will input your "mounted" file into Vegas. There are different ways of doing it, I recommend the way I describe because it is extremely stable and works great with Vegas, but feel free to try hello_hello's workflow as well: http://forum.doom9.org/showthread.php?t=162006&highlight=mount+avisynth

Music Fan
30th November 2011, 10:09
with MKV it is necessary to REMUX the file after outputting in MKV format.I don't understand what you mean. You remux the MKV in MKV ?:confused:

LigH
30th November 2011, 10:58
Exactly that: The incomplete MKV from x264 is remultiplexed to a complete MKV, including what was missing because x264 didn't know that before it was finished (a keyframe index etc).

Music Fan
30th November 2011, 11:06
But why would the first MKV be incomplete ? To mux one time th emp4 in MKV should be enough. I'm confused.

LigH
30th November 2011, 11:59
x264 is able to create an MKV file containing only the MPEG4-AVC video it encoded, if it was compiled with MKV support.
x264 is able to create an MP4 file containing only the MPEG4-AVC video it encoded, if it was compiled with MP4 support.
x264 is able to create a raw *.264 file being only the MPEG4-AVC video it encoded; but raw video doesn't contain several details about the video stream, therefore it is preferable to have x264 create its result inside a container format. But x264 creates only basic containers. That's usually no problem because if you want to combine the AVC video with additional audio streams, it has to be remultiplexed, anyway. It is only a problem if you want to open this intermediate result already with tools relying on a complete container.

Music Fan
30th November 2011, 12:32
Ok, thanks ;)

JoeH
1st December 2011, 08:53
I don't understand all the details behind it, but basically there is information that is necessary to quickly seek within a file which X264 cannot know until the file is complete. So X264 simply doesn't include that info. Then, when you remux the file, the muxer adds that seek info to the container.

protoz
24th December 2011, 06:35
I have problem merging several anime part [mp4] because the source is variable framerate, while on my first try using:

AlignedSplice(DirectshowSource("D:\MOVIES\Macross1.mp4"),DirectshowSource("D:\MOVIES\Macross2.mp4"),DirectshowSource("D:\MOVIES\Macross3.mp4"))

the result [mkv] is constant framerate, and the audio is out of snyc. How to make it variable framerate with the audio snyced?

LoRd_MuldeR
24th December 2011, 20:28
I have problem merging several anime part [mp4] because the source is variable framerate, while on my first try using:

AlignedSplice(DirectshowSource("D:\MOVIES\Macross1.mp4"),DirectshowSource("D:\MOVIES\Macross2.mp4"),DirectshowSource("D:\MOVIES\Macross3.mp4"))

the result [mkv] is constant framerate, and the audio is out of snyc. How to make it variable framerate with the audio snyced?

How did you create the source MP4 files?

hello_hello
25th December 2011, 19:34
I have a question regarding "force film". Being in PAL-land I have very little experience with IVTC, but today's NTSC DVD encode..... well hours and hours of messing around with scripts and d2v files trying to get satisfactory results has at least given me a better understanding.

My problem was, I could encode the DVD using AutoGK and as is invariably the case, the result was perfect. MeGUI... not so much in places. Whenever I used MeGUI to analyse the video it stated it was progressive, which looking back now seems somewhat misleading as MeGUI's log file indicates it applied "force film" while indexing, which the way I now understand it alters the d2v file which in turn effects the analysis. It doesn't however change the fact the DVD is actually a hybrid (as reported by AutoGK). It wasn't until I eventually thought to give up on modifying the script and instead used the d2v file AutoGK created that MeGUI's analysis reported it as a hybrid and I could finally encode it correctly. From there I went on to experimenting with DGIndex, discovered the only d2v file which was "incorrect" was the one MeGUI created, and from there to MeGUI's log file which finally led me to understand why.

My question is (and while I still only have a vague understanding of when "force film" should be used), is force film normally applied by encoding programs by altering the d2v file to making the video appear to be purely progressive, or can it be applied after the analysis? Or can it at least be applied in such a way the user might be more likely to be aware of it, such as a pop-up prompt etc?

Maybe being in PAL-land maybe I'm missing something here, and I guess from now on I'll know to check the log file or index the DVD manually, but in my case at least I didn't have any reason to suspect MeGUI's d2v file would be any different to AutoGK's d2v file so I couldn't understand why the hours I spent trying to apply various IVTC methods (including simply using parts of AutoGK's script with MeGUI) wouldn't result in a satisfactory encode.

forum king
28th December 2011, 21:08
First of all Greetings and
Merry Xmas and Happy holidays mates :)

I have been busy so in these holidays just decided to do some refined ripping ( LOL )
just starting everything a fresh got upto 2069 ( development build )
but strangely there there are no x264 presets , as far as i remember there were like 20 or 30 profiles before.

i was planning to tryout some standard and some high definition presets with recommended default settings.

could you great guyz plz enlighten me where to find the recommended x264 profiles for a 2 pass bit rate based conversion for DVDs and blurays, and if there are none anymore then could i be advised how to go about making few profiles which can give optimum quality in the encodes.

I am aware of preset slider and settings thereby but there were a lot of tweaks which were suggested to me by the GURUS here on various ocassions to get better results than what i used to get.

regards and apologies upfront if my queries in any way violate any of the rulez of our forum.

hello_hello
28th December 2011, 22:41
The presets are gone. There's now a target device setting in x264's configuration options instead. If you tick the "show advanced settings" box and change the presets you can check the x264 settings under the other tabs and watch the appropriate ones change accordingly, but not being a guru I don't know of any special tweaks beyond that.

For optimum quality I wouldn't be using 2 pass encoding though, I'd use (in fact I do) constant quality encoding instead.
The former lets you pick the file size which determines the quality without knowing what it'll be, while the latter lets you pick the quality while the file size will be a mystery, and it's way faster than 2 pass encoding. For optimum quality the second option is probably the better one.

szabi
30th December 2011, 21:10
Hi

I have 3 avs file.
First (muk.avs):
AVISource("E:\my movie.avi").Trim(1550,1960).ConvertToYV12()
Second has same video as first, with slow motion effect (slow.avs):
a=AVISource("E:\my movie.avi").Trim(1676,1682).ConvertToYV12()
super = a.MSuper(pel=4)
backward_vec = MAnalyse(super, isb = true, search=5)
forward_vec = MAnalyse(super, isb = false, search=5)
a.MFlowFps(super, backward_vec, forward_vec, num=400, den=1, ml=400)
AssumeFPS(25,sync_audio=true)
SSRC(48000)


Now they are mixed in third script (mix.avs):
x=DirectShowSource("muk.avs",25).FadeIn(25).FadeOut(15)
y=DirectShowSource("slow.avs",25).FadeIn(15).FadeOut(25)
z=BlankClip(x,length=15)
z+x+z+y

It can be opened with VirtualDub, which is used to check and the script is correct.

Now my problem, the megui get crash with opening mix.avs script.
I do not understand why.
Could anyone give me help?

bye
szabi

Zathor
31st December 2011, 00:10
What kind of error message do you get? :logfile:

szabi
31st December 2011, 07:44
Hi

General windows error message, application is stopped check a solution on internet
Anyway MeGui can open the muk.avs and the slow.avs without problem.
Problem comes by mix.avs.
I modified it to even simple one:
x=DirectShowSource("muk.avs",25)
y=DirectShowSource("slow.avs",25)
x+z
But it still crashes megui.

Whether, can megui handle script in script?

bye
szabi

TakuSkan
2nd January 2012, 09:29
Hi... I'm not all that savvy when it comes to a lot of video processing and anything but very basic use of MeGUI from simple guides I've read. Recently I've been recording a TV show in Windows Media Center that I've been editing to MPEG-2 files, and then compressing to h264 mkv files with MeGUI.

But while watching a few of the mkv files, I noticed a lot of distortion that I think was due to MeGUI finding the source to be 'hybrid film/interlaced mostly film' and setting the deinterlace filter as TIVTC. In the resulting mkv I could see horizontal lines of distortion not visible in the MPEG-2 source that look like the results of poor deinterlacing.

So I switched the filter to 'Decomb IVTC', and the processed mkv files now look much better, and I don't see the problem of what seemed to be poor deinterlacing artifacts anymore.

In the process of tracking down the problem, I noticed that MeGUI is converting the source NTSC framerate of 29.97 down to 23.976. I was wondering if the loss of frames might be a cause of concern. But from what I've read in Doom9 threads about AutoMKV, it seems this is due to the process of detinterlacing and conversion to a progressive format, and shouldn't result in any major loss of quality.

Does this all sound right? I've come to like using MeGUI to compress video to h264 encoded video in matroska containers for a number of reasons. But I almost gave up on it during this whole process when I found TMPGEnc Xpress produced sharp mp4 files 'out-of-the-box' from the same source MPEG-2 files without running into the problems I ran into with MeGUI.

Thanks for any feedback
TS

MrVideo
2nd January 2012, 10:59
Hi... I'm not all that savvy when it comes to a lot of video processing and anything but very basic use of MeGUI from simple guides I've read.

From reading your query, you also need to understand a few things.

First off, HD video is not NTSC or PAL. Technically, no digital video is NTSC or PAL. NTSC and PAL are technical specifications for analog video. Once analog video is converted to digital, it is no longer NTSC or PAL. It is either 480i29.97 or 576i25. Digital video is described by its vertical size, interlace or progressive (i or p) and the frame rate. But that has nothing to do with your issues.

In the states, video that is sent to the consumers for viewing is done so at a frame rate of 29.97 (not 30 because of having to deal with old 4:3 analog color/B&W video at 29.97). But, all scripted dramas are produced at 23.976 fps, either shot on film and converted to digital or shot using digital video cameras (hardly anyone uses film anymore). This allows for easier conversion to 25 fps for overseas sales, just like movies.

In the U.S., the 23.976 frame rate is converted to 29.97 using what is known as 2:3 pulldown (incorrectly described as 3:2 pulldown). That results in what can look like three frames of progressive video and two frames of interlaced video (for 1080i). But it is all 100% interlaced video. For those broadcasting in 720p, there is no interlacing. You appear to be dealing with 1080i content, so that is what I'll deal with here.

For sports content, the source is 100% interlaced video. While there are those that can't stand interlaced video, deinterlacing reduces time spatial information and vertical resolution (beyond the topic at hand). I hate deinterlacing.

So, it seems that you are dealing with a scripted drama, which means that the source was 23.976 and it was converted to 29.97 using 2:3 pulldown (google it to learn more).

You do not want to deinterlace programs that came from 23.976 source video. You want to IVTC, which will convert your 1080i29.97 video to 1080p23.976.

I personally do not use MeGUI. I use to, until I wrote my own scripts to do my work. I have cygwin installed on my XP computer, which gives me Unix scripting capability that is many times better than what Windblows has. It also gives me finer control than what MeGUI produces. This way I build my own AVIsynth scripts that are used to IVTC the video and feed it to the x264 encoder. As it has been a long time since I've used MeGUI, things have probably changed. Even so, there is a setting wrong somewhere that is not resulting in correct IVTC,

A simple IVTC AVISynth script contains the following:

LoadPlugin("C:\Program Files\DGAVCDecNV\DGDecodeNV.dll")
dgsource("=DRIVE=\=FILENAME=.dgi")
assumetff()
telecide(post=0,y0=750,y1=1079)
decimate()

The y0 and y1 values tell the telecide filter to ignore lines 750 thru 1079 (line numbering starts at 0, not 1), so that those damn snipes do not affect 2:3 pulldown detection. That number may not cover enough area these days, as the A-holes are covering more of the screen with those stupid snipes.

The first two lines deal with the program to decode the MPEG-2, or H.264, video. Go to http://www.neuron2.net/dgdecnv/dgdecnv.html for details. You'll need a Nvidia graphics card.

As a final note, 'hybrid film/interlaced mostly film' does not exist for U.S. scripted programming. Shows that review movies, or even scripted TV shows, will have the talent shot at 100% interlaced video, with the video from a movie or TV show containing 2:3 pulldown. For those shows, do not deinterlace or IVTC, leave it alone, keeping the 1080i29.97 frame rate intact.

Interlacing is not distortion.

TakuSkan
2nd January 2012, 14:46
Wow... that's a lot to digest right now in a moment when I'm a bit short of time. Thanks so very much for your insight here. I'll read through it more carefully later today.

Meanwhile I thought I ought to mention that the program I'm recording is an old B&W show that was broadcast in the 50s & 60s here in the US. So I was guessing that there may have been remnants of interlacing in the digital source file that was introduced somewhere between the original 50s film and the digital file being broadcast. Does that make any sense?

Zathor
2nd January 2012, 16:16
General windows error message, application is stopped check a solution on internet
Anyway MeGui can open the muk.avs and the slow.avs without problem.
Problem comes by mix.avs.
I modified it to even simple one:
x=DirectShowSource("muk.avs",25)
y=DirectShowSource("slow.avs",25)
x+z
But it still crashes megui.
Thanks for the report. Your script is not seekable and crashes the video player when jumping to the middle of the video. I added an error handler (so no crash anymore) and changed the default start position of the video player to the beginning (so your video can be displayed - but you can not jump around / move backwards). The fix will be in the next development release (2076+).

Zathor
2nd January 2012, 16:18
Meanwhile I thought I ought to mention that the program I'm recording is an old B&W show that was broadcast in the 50s & 60s here in the US. So I was guessing that there may have been remnants of interlacing in the digital source file that was introduced somewhere between the original 50s film and the digital file being broadcast. Does that make any sense?

Please post a short sample file if possible.

Betsy25
2nd January 2012, 18:11
Is it normal, after the File Indexer has finished indexing the file, the Avisynth Script Creator window opens, which has "Clever anamorphic encoding" ticked by default. However this does nothing unless you first uncheck it then check "Resize" & "Suggest resolution mod16" & then check "Clever anamorphic encoding" again. ?

szabi
2nd January 2012, 19:50
Thanks for the report. Your script is not seekable and crashes the video player when jumping to the middle of the video. I added an error handler (so no crash anymore) and changed the default start position of the video player to the beginning (so your video can be displayed - but you can not jump around / move backwards). The fix will be in the next development release (2076+).

Hi

Thanks for this quick react on it. :cool:
I can say nothing else but maximal respect on your work. :thanks:

bye
szabi

Zathor
3rd January 2012, 00:45
Is it normal, after the File Indexer has finished indexing the file, the Avisynth Script Creator window opens, which has "Clever anamorphic encoding" ticked by default. However this does nothing unless you first uncheck it then check "Resize" & "Suggest resolution mod16" & then check "Clever anamorphic encoding" again. ?

No, I do not have this problem. Are you using 2076? Which type of input file?

MrVideo
3rd January 2012, 05:53
Meanwhile I thought I ought to mention that the program I'm recording is an old B&W show that was broadcast in the 50s & 60s here in the US. So I was guessing that there may have been remnants of interlacing in the digital source file that was introduced somewhere between the original 50s film and the digital file being broadcast. Does that make any sense?

This can't be replied to with a simple answer. The request by Zathor for a sample is the only way in which an answer will be forthcoming.

Here's why. The programs could have been live, or shot on film. If live, they were kinescope film recorded (film camera pointed at a TV screen). The film will have interlaced artifacts from the TV screen as well as interlace artifacts when later transferred to video tape, when tape became the norm.

If shot on film, then it would have the 2:3 pulldown done when eventually transferred to NTSC analog tape.

What is the TV show? I might know the source.

In any event, we still need a sample.

TakuSkan
3rd January 2012, 09:11
Please post a short sample file if possible.
Here's a download link (http://www.mediafire.com/?92ufd29r9n4rfs2) for a short clip from the source MPEG-2 video. The show is 'The Rifleman.'

Here's a VDub anamorphic screenshot from the source MPEG-2 video. MeGui analysis reports it as being 'hybrid film/interlaced mostly film,' and you can see what seems to be partial interlacing from the OTA broadcast:

http://i515.photobucket.com/albums/t352/pequickit/TR-Clips/mpg_Frame_32804_0-18-14-560.jpg

Here's the same shot from an h264 mkv video file MeGUI compressed from the MPEG-2 source cropped & resized 4:3 :

http://i515.photobucket.com/albums/t352/pequickit/TR-Clips/mkv_Frame_26254_0-18-15-010.jpg

Here's the same shot from an h264 mp4 video file TMPGEnc Xpress compressed from the MPEG-2 source cropped & resized 4:3. Notice how much better it is:

http://i515.photobucket.com/albums/t352/pequickit/TR-Clips/mp4_Frame_32805_0-18-14-557.jpg

Here's the only things I set in MeGUI:

Input DAR: 4:3
Crop: Autocrop 8,4,-4,0
Resize: 720,480 < I changed this to 704,528 in the avs script
Source type: 'hybrid film/interlaced mostly film,'
Field order: Top Field First
Deinterlace: Decomb IVTC < Also tried 'TIVTC' and 'TIVTC + TDeint(EDT) -- slow'

For the life of me I can't figure out how I set MeGUI for processing that sample clip that gave pretty good results. Were the good results because of small size of the clip for some reason? Here's the same shot made from the clip (download link above):

http://i515.photobucket.com/albums/t352/pequickit/TR-Clips/mkv_clip_Frame_601_0-00-25-067.jpg

I thought the only thing I set different in MeGUI to compress that sample to an h264 mkv file was to set deinterlacing to 'Decomb IVTC.' But I've tried running the full MPEG-2 source through MeGUI with the same settings (screenshot 2nd from the top above), and I can't seem to reproduce the results I got in that sample clip.

Would MeGUI converting the framerate from 29.97 down to 23.976 have affected things?

'Tis a puzzlement.

TakuSkan
3rd January 2012, 09:24
Here's the avisynth script MeGUI is producing when I process the MPEG-2 source using 'Decomb IVTC':

LoadPlugin("C:\<path>\DGDecode.dll")
DGDecode_mpeg2source("C:\<path>\<filename>.d2v", info=3)
LoadPlugin("C:\<path>\MEgui\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, interlaced=true, threads=0)
LoadPlugin("C:\<path>\MEgui\tools\avisynth_plugin\Decomb.dll")
AssumeTFF().Telecide(guide=1).Decimate(mode=3,threshold=2.0)
crop( 8, 4, -4, 0)

LanczosResize(704,528) # Lanczos (Sharp)
#denoise

LigH
3rd January 2012, 09:39
The interlacing analysis by MeGUI is a suggestion, but hardly foolproof. It is not even sane in all cases (I have a TV news report with a lot of almost static closeups, which is plain interlaced PAL, but MeGUI detects it as "hybrid film/interlaced, mostly interlaced" and suggests "TIVTC" as Deinterlacer, which is clearly wrong, because PAL is never telecined). The interlace pattern detection HDConvertToX uses seems to be more reliable.

Your 2nd and 3rd screenshot reveal that the suggested solution does not match your case. The video source is probably still combed (means: containing visually different fields in one frame), but was encoded in progressive mode, which means an obviously bad result for the DCT based MPEG2, and a slightly less annoying but still bad result for MPEG4-AVC which hammers the artefacts flat by its inloop deblocking.

The possibly only certain way to analyze a movie for interlacing/telecine/fieldshift patterns is to bob it (= separate the fields; once TFF, once BFF), watch it field-by-field and look for movement patterns. Manually. Looking at the woven frames will not tell you certainly which temporal progress its fields have.

Music Fan
3rd January 2012, 10:20
Resize: 720,480 < I changed this to 704,528 in the avs script
Why don't you keep it in 720,480 (if this is the original resolution of your video) ?
You can change the PAR to get a 4/3 DAR (whatever the codec).

About the 3:2 pulldown, I recall something not enough known : when your mpeg-2 file comes from a soft pull-downed Ntsc dvd (video encoded in 23.976 fps with a 3:2 pulldown flag), you don't have to use complex avisynth filters to de-interlace it, you can simply remove the pulldown flag with TS Muxer (check "remove pulldown") and you'll get a mpeg-2 video in 23.976 fps rid of its flag.
Then you open it in Avisynth or Megui and you won't have to worry about the de-interlacing method.

LigH
3rd January 2012, 10:31
Or possibly even easier: DGIndex has several options to handle telecine already while indexing, so DGDecode.dll can handle it while serving the video into AviSynth. Provided the pattern order detection is reliable.

Music Fan
3rd January 2012, 11:01
I don't find it easier, it's more complex (not a lot but a little bit) because the flag is still there and DGIndex has to remove it, and as it has several options, one may not choose the good one. And even when one has well chosen, it inverts a process made by the flag, it has no sense if one can simply remove it.

It could be really useful for those who need to play this mpeg-2 video in 23.976 fps without needing to convert it in another codec. Because I believe some multimedia players can play 720.480 in 23.976 fps (and upscale it in 1080p with the player because they output 24 hz only in 1080p). And it could maybe work on an AVCHD (or kind of) made with MultiAVCHD.
Some players can send 24 hz (23.976) from a soft pull-downed Ntsc dvd (making reverse 3:2 pulldown), but they are rare.

LigH
3rd January 2012, 11:30
@ szabi:

It is probably in general not recommendable to load AviSynth scripts via DirectShow. That may work via ffdshow, but AviSynth is an AviFile extension, related to the VfW API. Furthermore, AviSynth supports external sources via the Import() function.

Untested - but I believe it should possibly work best like that:

Import("muk.avs")
x = last.FadeIn(25).FadeOut(15)
Import("slow.avs")
y = last.FadeIn(15).FadeOut(25)
z = BlankClip(x,length=15)
z+x+z+y

MrVideo
3rd January 2012, 11:40
Here's a VDub anamorphic screenshot from the source MPEG-2 video. MeGui analysis reports it as being 'hybrid film/interlaced mostly film,' and you can see what seems to be partial interlacing from the OTA broadcast

The MeGUI analysis is incorrect. Scripted U.S. TV shows are not, nor ever will be, 'hybrid film/interlaced mostly film.' Believing that analysis will lead you down the wrong path. There is no partial interlacing in the program. The source is 480i29.97, which is 100% interlaced. You get fooled into thinking there isn't any interlacing when a single film frame is scanned into a video frame. Don't forget the 2:3 pulldown I was telling you about.

Here's the same shot from an h264 mkv video file MeGUI compressed from the MPEG-2 source cropped & resized 4:3

Ouch, that is horrible.

Here's the same shot from an h264 mp4 video file TMPGEnc Xpress compressed from the MPEG-2 source cropped & resized 4:3. Notice how much better it is

IMHO, it is not any better.

Here's the only things I set in MeGUI:

Input DAR: 4:3
Crop: Autocrop 8,4,-4,0
Resize: 720,480 < I changed this to 704,528 in the avs script
Source type: 'hybrid film/interlaced mostly film,'
Field order: Top Field First
Deinterlace: Decomb IVTC < Also tried 'TIVTC' and 'TIVTC + TDeint(EDT) -- slow'

Your cropping and resize are 100% incorrect. Your settings show something else you do not know about digital video.

When analog NTSC video is converted to digital (720x480), the black vertical bars indicate, in simple terms, a safety conversion, The center 704 pixels contain the 4:3 aspect ratio area. When converted back to NTSC analog, the safety overscan of the analog active image portion of the line, is restored. But, for digital only displays, the 8 pixels on each side should be removed and scaled to 720 pixels. No scans lines should be cropped, i.e, all 480 lines must be left intact, or you will distort the image and mess up the interlacing.

The scaling to 720x528 is incorrect because you appear not to know that 720x480 does not use square pixels. 704x480 is 4:3. Your attempt to convert the image to 4:3 using square pixels, by changing the vertical scaling, distorted the image. 480 interlaced lines to 528 interlaced lines just makes matters worse. If you wanted square pixels, the correct scaling is 640x480. But, that throws away horizontal resolution. It needs to be left alone at 704x480. Data placed into the MPEG file tells the displaying program to show it at 4:3. The terms are DAR (Display Aspect Ratio) and SAR (Source Aspect Ratio) [sometimes called PAR, pixel aspect ratio]. Google them to learn more, though there are sources that get it wrong.

Would MeGUI converting the framerate from 29.97 down to 23.976 have affected things?

In this case probably. Why? Because in order for MeTV to not edit the program and show all of the episode, it sped up the source video. There were more program minutes way back then. The source video is from the original 24 fps film (no color yet for analog TV, which was really 30 fps). The film was transferred to NTSC 29.97 using 2:3 pulldown. I could see that the video was sped up, because as you step through the video, frame by frame, the 2:3 pulldown cadence is lost. That means conversion back to 23.976 will be extremely difficult, if not impossible. While there might be AVISynth filters that can do it, the audio, which has been sped up as well, will need to also be corrected.

As much as you might not like interlaced video, in this case, leave well enough alone. Crop 8 pixels off each side if you must (none vertically), but do not deinterlace and leave the frame rate at 29.97.

Conversion of 29.97 interlaced video back to 23.976 progressive video can only be done if the source video has 2:3 pulldown video, with the 2:3 pulldown cadence intact (every five video frames is the required sequence). In this case, the sped up video results in sequences that are only 4 frames long, at a minimum. The cadence is broken.

MrVideo
3rd January 2012, 11:47
About the 3:2 pulldown, I recall something not enough known : when your mpeg-2 file comes from a soft pull-downed Ntsc dvd (video encoded in 23.976 fps with a 3:2 pulldown flag), you don't have to use complex avisynth filters to de-interlace it, you can simply remove the pulldown flag with TS Muxer (check "remove pulldown") and you'll get a mpeg-2 video in 23.976 fps rid of its flag.
Then you open it in Avisynth or Megui and you won't have to worry about the de-interlacing method.

While that may indeed be true for source video that comes from a DVD, the source video in this case is from an OTA subchannel. Notice the MeTV bug in the corner? Plus, as I noted, MeTV sped up their source to get it to fit in their "more commercials" hour. It cannot be converted to 23.976.

Music Fan
3rd January 2012, 12:19
Yes, I know this method can't work in this case, but this problem made me think to the TSMuxer method that I wanted to recall.;)

TakuSkan
3rd January 2012, 15:29
Why don't you keep it in 720,480 (if this is the original resolution of your video) ?
You can change the PAR to get a 4/3 DAR (whatever the codec).
The source file is: SAR: 3:2 - PAR: 8:9 - DAR: 4:3
Where would I set the PAR? Manually in the .avs?

you can simply remove the pulldown flag with TS Muxer (check "remove pulldown") and you'll get a mpeg-2 video in 23.976 fps rid of its flag.
Then you open it in Avisynth or Megui and you won't have to worry about the de-interlacing method.
I ran tsMuxeR GUI from MeGUI's \tools\tsmuxer folder and loaded the MPEG-2 clip. I would demux that to a 23.976 fps mpv file, but the '[]Remove pulldown' option is disabled. Am I missing something?

And if I do manage to do that, would I just go ahead and use any of the deinterlacing options in MeGUI. Maybe TIVTC. I'm not clear on what removing the pulldown accomplishes.

Or possibly even easier: DGIndex has several options to handle telecine already while indexing, so DGDecode.dll can handle it while serving the video into AviSynth. Provided the pattern order detection is reliable.
I tried loading the source clip in DGIndex and setting Video > Field Operation > Ignore Pulldown Flags, saving the project and then processing with MeGUI. But I got the same poor the results. And as MrVideo suggested, the video may have been sped up for broadcast. I'm still digesting 3:2 pulldown video on Wikipedia (http://en.wikipedia.org/wiki/Telecine#2:3_pulldown), so it's not all that clear to me yet.

The scaling to 720x528 is incorrect because you appear not to know that 720x480 does not use square pixels.
Thanks so very much for your detailed explanations of all this MrVideo.

I actually resized to 704x528. That resulted in square pixels for both SAR and DAR (see below about SAR, DAR, PAR and my problems with MeGUI and anamorphic video).

Your attempt to convert the image to 4:3 using square pixels, by changing the vertical scaling, distorted the image
That was intentional. By doing so MeGUI took the anamorphic 720x480 source frame that had black bars 8 pixels left, 4 pixels top and 4 pixels right, and produced a progressive h264 video with both SAR and DAR values of 704x528 (4:3). Playing that video in MPC produces a display AR that matches the AR of the source MPEG-2 video played in MPC.

When I 1st tried to get MeGUI to output a file with the same AR as the source, I just experimented with setting different resizing values, and then played the resulting files in MPC and compared the AR to the source file loaded into a 2nd copy of MPC. When I hit 704x528 for an h264 encoded file, I could move the copy of MPC with the h264 next to the copy of MPC with the MPEG-2 and compare the top/bottom edges and side edges of the 2 and see that they matched. A bit unorthodox maybe, but it got me files that displayed the same AR as the source.

Again, GSpot reports the source as: SAR: 3:2 - PAR: 8:9 - DAR: 4:3

I use MatroskaProp to report Matroska file properties in a Windows Explorer context menu, and check to see that MeGUI has produced a 4:3 SAR and 4:3 DAR.

I have totally failed to get MeGUI to produce an anamorphic 720x480 or 704x480 progressive video file that will display as 4:3 in MPC.

As much as you might not like interlaced video, in this case, leave well enough alone. Crop 8 pixels off each side if you must (none vertically), but do not deinterlace and leave the frame rate at 29.97.

MeGUI doesn't give me any option for encoding to a specific frame rate. The files configured as I've detailed have automatically been encoded to 23.976 fps. When I change the source type to 'Interlaced' as you suggest, MeGUI does then encode to 29.27. But if I crop the sides and resize to 704x480 as you suggest, MeGUI then goes ahead and encodes to an h264 video in a mkv container with a SAR: 4:3 - DAR: 4:3, and not SAR: 3:2 - PAR: 8:9 - DAR: 4:3 anamorphic. That results in a file that's too wide when played in MPC.

Here's a Windows screenshot of MPC playing a video MeGUI produced with the settings you proposed:

http://i515.photobucket.com/albums/t352/pequickit/TR-Clips/MPCh264PrnScrn.jpg

Here's a Windows screenshot of MPC playing the original MPEG-2 displayed as it should be:

http://i515.photobucket.com/albums/t352/pequickit/TR-Clips/MPCMPEG-2PrnScrn.jpg

I had to capture the screenshot of MPC displaying the MPEG-2 source file with the 'Print Scrn' keyboard key. When I had MPC create the screenshot, the AR of the resulting jpg was that of the 3:2 stored anamorphic frame.

LigH
3rd January 2012, 17:14
Where would I set the PAR? Manually in the .avs?

AviSynth has no relation to aspect ratios. It delivers an uncompressed video to the encoder.

Only the encoder can store flags about an aspect ratio. If not in the video stream inside, then in the container around it. If the video format does not provide own aspect ratio flags (MPEG2 does, about MPEG4-AVC I am not so certain), this may require a video-only encoder to output a contained result (in the case of x264: e.g. *.mp4 or *.mkv), not a raw video file (in the case of x264: not *.264), or you may have to add a flag manually to a multiplexer if you want to add audio streams etc. afterwards.

The output of movie players is hardly relevant, unless you can guarantee that the used decoder did not deinterlace on its own; and media player internal or decoder internal deinterlacers sometimes have a quite low quality (e.g. stupid field blending).

Music Fan
3rd January 2012, 17:22
The source file is: SAR: 3:2 - PAR: 8:9 - DAR: 4:3
Where would I set the PAR?
You can do that after the encoding, with Yamb for a mp4 file or with MKVMerge for a MKV file.
But I didn't download your file, I don't know its characteristics.


I ran tsMuxeR GUI from MeGUI's \tools\tsmuxer folder and loaded the MPEG-2 clip. I would demux that to a 23.976 fps mpv file, but the '[]Remove pulldown' option is disabled. Am I missing something?
Because one find soft pull-downed videos only on Ntsc dvd, there's no flag in your video if you recorded it on tv. So you need Avisynth to encode it correctly.

Music Fan
3rd January 2012, 17:38
I believe some multimedia players can play 720.480 in 23.976 fps (and upscale it in 1080p with the player because they output 24 hz only in 1080p). And it could maybe work on an AVCHD (or kind of) made with MultiAVCHD.
Actually it doesn't work on my player (Sony 370), I just finished to test it.
The file is played but converted in 60 hz by the player (and I'm sure MultiAVCHD didn't transcode it in 60 hz, I analyzed the mts file it has created, it's still in mpeg-2 720.480 @ 23.976 fps).

But it works with 720p files ; the 24 hz stays in 24 hz only if 1080p is chosen as resolution in the player's setup.
If 720p or "original signal" is chosen in the setup, the 24 hz of the 720p video is converted in 60 hz (it's logical because 24 hz on Hdmi only works with 1080p signals).
The AVCHD folder was on a USB key but I guess the result would be the same if burned on dvd.

But it could maybe work on other players.

Sorry to be off-topic but I wanted to be complete on this issue.

Betsy25
3rd January 2012, 18:37
No, I do not have this problem. Are you using 2076? Which type of input file?

using the latest version as of today, the input files are *every* VOB file for all my DVD's i encoded lately, which is quite a bunch.

The script source window doesn't show anything added as long as i didn't first uncheck it, and then recheck.

EDIT: sorry it was the version before your last update, so must be 2070 or something.

Zathor
3rd January 2012, 19:26
Ok, in that case please describe a little bit more in detail what you are expecting and what you get. Also please check if your default avisynth profile is altered e.g. if the "Clever anamorphic encoding" is enabled there. I would like to reproduce the problem.

Betsy25
4th January 2012, 01:19
Ok, in that case please describe a little bit more in detail what you are expecting and what you get. Also please check if your default avisynth profile is altered e.g. if the "Clever anamorphic encoding" is enabled there. I would like to reproduce the problem.

Well, here is the default script (when i have just indexed the .vob file, and the window that opens right after that :

Content copy/pasted from the "Script" tab :
# Set DAR in encoder to 93 : 68. The following line is for automatic signalling
global MeGUI_darx = 93
global MeGUI_dary = 68
LoadPlugin("C:\Program Files\MeGUI\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("E:\My DVD's\Fernandel Don Camillo en Peppone BOX - DVD2 - De Terugkeer van Don Camillo (1953) DVDShrink\VIDEO_TS\VTS_01_1.d2v", info=3)
LoadPlugin("C:\Program Files\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
#deinterlace
#crop
#resize
#denoise

... simple unchecking the prechecked "Clever anamorphic encoding (Resize to mod16)" and then rechecking results in this:
# Set DAR in encoder to 93 : 68. The following line is for automatic signalling
global MeGUI_darx = 93
global MeGUI_dary = 68
LoadPlugin("C:\Program Files\MeGUI\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("E:\My DVD's\Fernandel Don Camillo en Peppone BOX - DVD2 - De Terugkeer van Don Camillo (1953) DVDShrink\VIDEO_TS\VTS_01_1.d2v", info=3)
LoadPlugin("C:\Program Files\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
#deinterlace
#crop
LanczosResize(720,576) # Lanczos (Sharp)
#denoise

...so a resize operation is added which is not so when you don't uncheck & recheck the anamorphic option in the I/O tab.

* This is also the case with the latest version (2080)

Zathor
4th January 2012, 19:05
...so a resize operation is added which is not so when you don't uncheck & recheck the anamorphic option in the I/O tab.
Thanks, should be fixed with 2087.

Clever anamorphic DAR error over 0,5%.
Calculeted SAR wrong in some cases.
With non standard input DAR 2.341 (1920x820 I Robot Bluray) aproximate the value to 2,35 and uses
global MEGUI_darx = 47
global MEGUI_dary = 20
The resulting sar is 1269:1280 (par 0.993) but, with 1920x820 it should be --sar 81:82 (par 0.988) istead.
Can you test that please once again with 2087? Also please post more details - where do you get these wrong values?

meshaun
5th January 2012, 01:11
I want to encode a video which is widely supported by many devices such as WDTV / XBox / and with DXVA . I have the sharktooth's preset's and i use the DXVA HD Extra Quality. How to get the compatiblity with all devices ?

protoz
5th January 2012, 07:58
How did you create the source MP4 files?

I downloaded them from youtube ;)

Zathor
5th January 2012, 10:51
I want to encode a video which is widely supported by many devices such as WDTV / XBox / and with DXVA . I have the sharktooth's preset's and i use the DXVA HD Extra Quality. How to get the compatiblity with all devices ?

For maximum compatibility I recommend to use the bluray target playback device (do not use one of the old presets). Depending on the real playback devices you then need to select an appropriate container (e.g. M2TS and burn it on a BR or MKV/MP4 but those containers are not supported directly by all standalone players).

forum king
9th January 2012, 09:22
hey !!
I know its kinna off topic here but wanted u folks's advise on which avisynth filter to use to improve the brightness and contrast of darker videos
I have been using Tweak but it increases the white as well to a torturing limit ,
is there any other filter or anything which increase the overall illumination of a video without drastically increasing the white

would appreciate any help

regards

fK

LigH
9th January 2012, 09:38
Levels(gamma) (http://avisynth.org/mediawiki/Levels) (useful values are around 1.0 .. 1.5)

But be careful about min/max levels for YUV clips, they often use the limited "TV" range. Use Histogram(mode="levels") (http://avisynth.org/mediawiki/Histogram) to compare before and after using Levels() to avoid range violations. Also try to understand the parameter "coring" well!

If you use AviSynth 2.60, the parameter "dither" may help avoiding some banding, but in any case, expect dark areas to reveal more compression and quantization artefacts. Deblock() and GradFun2db() may be useful to filter those, but I won't promise satisfying results.

forum king
9th January 2012, 10:49
Thanks a lot mate ,
i hope the gamma levels wont make things too on the rediish side :P

tried it and it works :)
will bother you again if you dont mind
regards

Music Fan
9th January 2012, 11:31
Levels(gamma) (http://avisynth.org/mediawiki/Levels) (useful values are around 1.0 .. 1.5)

But be careful about min/max levels for YUV clips, they often use the limited "TV" range. Use Histogram(mode="levels") (http://avisynth.org/mediawiki/Histogram) to compare before and after using Levels() to avoid range violations.
I can't access http://avisynth.org for months, is there a problem with this website ?

LigH
9th January 2012, 12:32
Not for me, its "root" is just merely a redirector now; try http://avisynth.org/mediawiki/Main_Page directly.

If you try to "traceroute" (Windows: Run "cmd.exe" and enter "tracert avisynth.org"), what is the result for you?

Music Fan
9th January 2012, 13:49
Not for me, its "root" is just merely a redirector now; try http://avisynth.org/mediawiki/Main_Page directly.
Thanks but it doesn't work either.

If you try to "traceroute" (Windows: Run "cmd.exe" and enter "tracert avisynth.org"), what is the result for you?
Amazing, I didn't know that comand.
I guess you are talking about the last line (they are 21 lines) ; it's apache2-pat.achird.dreamhost.com.

So, how do I go on avisynth.org now ?

LigH
9th January 2012, 14:25
Interesting. If traceroute finds a route, then you should be able to establish a connection between your PC and the AviSynth webserver. But if you can't load a website from it, then something seems to block HTTP transfers from it. Which kind of error does your webbrowser report?

Music Fan
9th January 2012, 18:39
Which kind of error does your webbrowser report?
"the server takes too long to respond" (I translate from french), while my connexion is fast (I can donwload files @ 4 MBps).
I use Firefox on Windows XP pro.

meshaun
10th January 2012, 00:56
Can I get a good guide on what "Deinterlacing" in MEGUi means? is it a must to use when processing a video ? will it increase quality?

tonyymmao
10th January 2012, 06:42
i just started using megui and i have a few questions

1)on the newest version, is portabe so u don't have to install it rite
2)how do i import presents after the first initial update, it tells import files but i don't where it is
3)i can't get the neroacc audio codec to work, which files do u copy and which folder do u put it in

LigH
10th January 2012, 08:38
@ tonyymmao:

1) MeGUI is "portable" as far as it (possibly) doesn't need to register itself in the system and can be configured for any location of its used helper applications. But it requires an installed AviSynth frameserver.

2) What kind of presets do you "need" to import? If you mean encoder profiles provided via the updater: Just select all and agree. Or do you want to use an additional archive of encoder profiles, to be unzipped to "megui\allprofiles"?

3) Download neroaacenc from the mentioned Nero AAC Encoder website, and unzip the content of its contained "win32" directory where you like, e.g. to "megui\tools\neroaac". Then configure the path to "neroAacEnc.exe" in the MeGUI options, just to make sure it is correct.
__

@ Music Fan:

Can you imagine any possibly blocking software in your Windows installation, e.g. a Personal Firewall, an Internet Security Suite, etc.?

For a possibly more verbose report of the succession, you could try to use wget for Win32 (one is included in the "bin" folder of the ZIP packages from wsusoffline.net), run
wget http://avisynth.org/mediawiki/Main_Page
in a console window, and check for reported issues here. The build used by wsusoffline is "verbose" by default, so it should hopefully print useful details.
__

@ meshaun:

"Deinterlacing" is nothing MeGUI specific. It is a basic issue of video processing in general. In the good old times of cathode ray tube TV sets, the video display was interlaced, the cathode ray displayed interwoven fields one after another on the TV screen, just like TV cameras recorded them in the same way. But PC monitors and modern flat screen TV sets don't work like that, they display the whole frame at the same time. And cinematic movies, recorded on photographic film, are not interlaced either.

If you look at frames on a PC monitor which were recorded interlaced by a TV camera, or which were processed by "Telecine" do adapt the cinematic frame rate to the TV frame rate, you'll spot "combing" in areas with enough motion, because you see content from two distinct moments of time at the same time. To get rid of this combing, you have to consider different measures depending on the reason why you see combing on a PC monitor: If the reason was Telecine, you have to use "IVTC" (Inverse Telecine); if the reason was interlaced recording by TV cameras, you may use "Deinterlacing"; if there is no combing, don't use any of them!

The whole thing is so complex, this is certainly not the right place to explain it verbosely. And unfortunately, I don't know any specific verbose guide where you can read "everything" about it. A possible starter could be Wikipedia articles about Interlaced video (http://en.wikipedia.org/wiki/Interlaced_video) and Telecine (http://en.wikipedia.org/wiki/Telecine), as well as the AviSynth External filters (http://avisynth.org/mediawiki/External_filters) documentations of the filters mentioned in chapters 2.7 (Deinterlacing) and 2.11 (IVTC and Decimation).

MeGUI has an integrated scan to detect and guess the probably present interlacing pattern, but the suggestion how to counter it is not always correct and reliable. The similar feature in HDConvertToX is slightly better.

Music Fan
10th January 2012, 14:31
@ Music Fan:

Can you imagine any possibly blocking software in your Windows installation, e.g. a Personal Firewall, an Internet Security Suite, etc.?
I have Antivir and the Window's firewall.
Same result with Antivir disabled.

For a possibly more verbose report of the succession, you could try to use wget for Win32 (one is included in the "bin" folder of the ZIP packages from wsusoffline.net), run
wget http://avisynth.org/mediawiki/Main_Page
in a console window, and check for reported issues here. The build used by wsusoffline is "verbose" by default, so it should hopefully print useful details.
I tried it and the result is : "failed : connection timed out. Retrying ...", even after the 18th try.
Same result with Antivir disabled.
I should maybe change anything in my firewall, but what ?

tebasuna51
11th January 2012, 02:46
...
3) Download neroaacenc from the mentioned Nero AAC Encoder website, and unzip the content of its contained "win32" directory where you like, e.g. to "megui\tools\neroaac". Then configure the path to "neroAacEnc.exe" in the MeGUI options, just to make sure it is correct.


I recommend unzip "neroAacEnc.exe" to "megui\tools\eac3to", because eac3to need the file at the same folder to convert audio to AAC with the Tools -> HD Streams Extractor.

Zathor
12th January 2012, 13:55
I have a question regarding "force film". Being in PAL-land I have very little experience with IVTC, but today's NTSC DVD encode..... well hours and hours of messing around with scripts and d2v files trying to get satisfactory results has at least given me a better understanding.

My problem was, I could encode the DVD using AutoGK and as is invariably the case, the result was perfect. MeGUI... not so much in places. Whenever I used MeGUI to analyse the video it stated it was progressive, which looking back now seems somewhat misleading as MeGUI's log file indicates it applied "force film" while indexing, which the way I now understand it alters the d2v file which in turn effects the analysis. It doesn't however change the fact the DVD is actually a hybrid (as reported by AutoGK). It wasn't until I eventually thought to give up on modifying the script and instead used the d2v file AutoGK created that MeGUI's analysis reported it as a hybrid and I could finally encode it correctly. From there I went on to experimenting with DGIndex, discovered the only d2v file which was "incorrect" was the one MeGUI created, and from there to MeGUI's log file which finally led me to understand why.

My question is (and while I still only have a vague understanding of when "force film" should be used), is force film normally applied by encoding programs by altering the d2v file to making the video appear to be purely progressive, or can it be applied after the analysis? Or can it at least be applied in such a way the user might be more likely to be aware of it, such as a pop-up prompt etc?

Maybe being in PAL-land maybe I'm missing something here, and I guess from now on I'll know to check the log file or index the DVD manually, but in my case at least I didn't have any reason to suspect MeGUI's d2v file would be any different to AutoGK's d2v file so I couldn't understand why the hours I spent trying to apply various IVTC methods (including simply using parts of AutoGK's script with MeGUI) wouldn't result in a satisfactory encode.

Sadly this setting has been introduced before I started to join the MeGUI project and as I am also living in PAL land I have not touched that topic very often. Therefore sadly I cannot say why this has been implemented and if it is still required. Maybe someone else can help us with that topic.

tonyymmao
12th January 2012, 23:24
@ tonyymmao:

1) MeGUI is "portable" as far as it (possibly) doesn't need to register itself in the system and can be configured for any location of its used helper applications. But it requires an installed AviSynth frameserver.

2) What kind of presets do you "need" to import? If you mean encoder profiles provided via the updater: Just select all and agree. Or do you want to use an additional archive of encoder profiles, to be unzipped to "megui\allprofiles"?

3) Download neroaacenc from the mentioned Nero AAC Encoder website, and unzip the content of its contained "win32" directory where you like, e.g. to "megui\tools\neroaac". Then configure the path to "neroAacEnc.exe" in the MeGUI options, just to make sure it is correct.
I recommend unzip "neroAacEnc.exe" to "megui\tools\eac3to", because eac3to need the file at the same folder to convert audio to AAC with the Tools -> HD Streams Extractor.
2)i guess i meant encoder profiles provided via the updater, but isn't that a but stupid, if miss a profile at the update that i might need in the future, there is no way for me to get it back until the next update
3) i'll try what u said, where specifically is the option that lets me configure the path?

Zathor
12th January 2012, 23:25
Btw maybe someone can bring some light here also:

A bug ticket has been created in the SF tracker:
Incorrect fps signaled when using FFVideoSource (http://sourceforge.net/tracker/?func=detail&aid=3463347&group_id=156112&atid=798476)
As a first reaction I had removed AssumeFPS() from the FFVideoSource() line but that causes problems as well with all kinds of video sources. So what to do? Add fpsnum/fpsden to FFVideoSource? That will not work with telecine sources I assume. So any help is appreciated.

tebasuna51
13th January 2012, 00:30
...
3) i'll try what u said, where specifically is the option that lets me configure the path?

Options -> Settings -> tab External Program Settings -> NeroAacEnc Location

LigH
13th January 2012, 07:59
About 2):

Centrally delivered encoder profiles are being deprecated already. In case of "Encoder settings" for x264, the average user should rely on Basic Settings, select an "Encoding Mode", a (speed) "Preset", a (content) "Tuning", and a (compatibility) "Target Playback Device". All other "Advanced Settings" are only for experienced users.

Earlier MeGUI versions used to offer a "Tx264" package with encoder settings for x264, but the most recent versions don't offer it anymore because the Basic Settings and the related default values inside x264 are already sufficient for most users, and the old profile XML files are not exactly compatible anymore.

ncatt published a collection of those profiles (http://forum.doom9.org/showpost.php?p=1338462&postcount=4915) which were made "loading compatible" for current MeGUI versions, nevertheless they are outdated now. I'm linking it despite not being recommendable anymore.

meshaun
14th January 2012, 02:44
Hello guys.
I want to make a video with the same settings which one of my friends did. I opened the video using mediainfo and I have the Encoding Settings. copying those settings and pasting on the Custom Command Line in MeGUI gives an error while encoding.

"Process exits with error code -1"

How's it possible to use the exact settings used by the earlier video?

the_weirdo
14th January 2012, 06:32
Hello guys.
I want to make a video with the same settings which one of my friends did.
Then why don't you ask him what settings he used?


How's it possible to use the exact settings used by the earlier video?
Uh... Of course it's possible. Because you're the one who encode it so you know the exact settings for it ;)

LeXXuz
14th January 2012, 07:21
Small question regarding the job queue.

When I have multiple indexing jobs or eac3to jobs in the queue and press the start button, Megui starts up to 3 jobs simultaneously which kills my hard drive. How do I get Megui to start just one job at a time?

rahzel
15th January 2012, 07:41
For ffms, why is the default and recommended value 1? Wouldn't 0 be ideal? Would setting it to 0 for a multi-core processor speed things up?

skinney6
15th January 2012, 07:58
what about surround sound? in handbrake i like the passthru but megui is diffrerent

Shevek
15th January 2012, 10:46
what about surround sound? in handbrake i like the passthru but megui is diffrerent

The MeGui indexing process (or HD Streams Extractor for HD sources) will demux the original audio for you to a separate file (likely .ac3 or .dts for surround audio)

If you leave the audio encoding section empty you can then use the Mux job to mux in that original audio to the encoded video.

I personally use the Auto-Encode function and so I ensure the "Add additional content" option is checked which then gives me muxing options and I can select the original audio.

Zathor
15th January 2012, 12:49
When I have multiple indexing jobs or eac3to jobs in the queue and press the start button, Megui starts up to 3 jobs simultaneously which kills my hard drive. How do I get Megui to start just one job at a time?

Just delete the other workers.

Zathor
15th January 2012, 12:50
For ffms, why is the default and recommended value 1? Wouldn't 0 be ideal? Would setting it to 0 for a multi-core processor speed things up?

Because when seeking in a file threads > 1 may cause problems and crash MeGUI.

rahzel
15th January 2012, 18:03
I see. Thanks.

djmasturbeat
16th January 2012, 08:29
for the m2ts muxer-
I am trying to input HD audio demuxed from m2ts within MeGUI
but I cannot select anything but dts, ac3 (and some non-BD audio),
should I just change the extension to core extensions dts and ac3? what can i do with LPCM?

thanks for any help

Music Fan
16th January 2012, 09:48
You should use TSMuxer to mux and demux m2ts files. You can mux the sound (LPCM or anything else) and the video after encoding (with MeGui).

JoeH
16th January 2012, 15:30
Because when seeking in a file threads > 1 may cause problems and crash MeGUI.

This problem is limited to interlaced material, right? Using progressive source with the setting to 0 I have never had any problems, and it is very noticeably faster (Core i7 920).

djmasturbeat
16th January 2012, 22:17
thanks
i do use tsmuxer *gui* a lot, but tsmuxer has the issue with LPCM tracks, tho :(
(yeah I know about pcm2tsmu, I am just slow with cli tools and i don't know of a good gui front end for that; but I guess I can deal with it and figure it out eventually, since i trudge my way through eac3to - with a lot of mistakes, just because most of the eac3to GUIs for it don't do everything eac3to does or act all wonky or w/e).

meshaun
17th January 2012, 12:37
If a .mkv has subs and I'm going to encode it to .mp4 using the OneClick. Leaving the subs makes the mp4 with selectable subs or ?
And also, I see that there is a new x264 encoder released. But MeGUI update on that wasn't released yet. Replacing the x264.exe in the tools folder makes it updated?

Zathor
17th January 2012, 21:43
for the m2ts muxer-
I am trying to input HD audio demuxed from m2ts within MeGUI
but I cannot select anything but dts, ac3 (and some non-BD audio)
Thanks for the report. Some file extensions are indeed missing. But you can select them already - just enter *.* in the file name box when earching for the file.

This problem is limited to interlaced material, right? Using progressive source with the setting to 0 I have never had any problems, and it is very noticeably faster (Core i7 920).
AVI was also not working in my tests.

If a .mkv has subs and I'm going to encode it to .mp4 using the OneClick. Leaving the subs makes the mp4 with selectable subs or?
No, currently not. But also in the future not all kinds of subtitel get migrated as mp4 supports lesser subtitel formats than mkv.

And also, I see that there is a new x264 encoder released. But MeGUI update on that wasn't released yet. Replacing the x264.exe in the tools folder makes it updated?
Yes, but I have uploaded it a few minutes ago.

djmasturbeat
20th January 2012, 18:54
thanks for the info. didn't know I could use a wildcard for name and ext to see all files :D

stranno
20th January 2012, 21:15
Why the raw-aac is only avalible on FAAC? I want raw-aac on Nero one, its annoying to convert to aac-mp4 and then demux with mp4box

hello_hello
23rd January 2012, 22:23
Sadly this setting has been introduced before I started to join the MeGUI project and as I am also living in PAL land I have not touched that topic very often. Therefore sadly I cannot say why this has been implemented and if it is still required. Maybe someone else can help us with that topic.

Just to revisit my question as I noticed an option in MeGUI today which I'd completely forgotten about, or ignored because I didn't understand it.....

I asked a while back about MeGUI altering the D2V file to make the video appear to be film (if that's the correct way to put it) or to "force film". I wondered how force film was usually implemented as I live in PAL-Land so don't have to worry about that sort of thing much and it seemed odd to me it'd be done by changing the D2V file itself.

Anyway, the MeGUI option I discovered today is a check box which enables "Auto Force Film at X%", which was selected (set to 95%). So I went to the help file which says:
"Auto Force Film at: Allows you to configure auto force filming in the D2V creation stage. If you don't know what this means, leave it alone. "

Okay, so I assume that was my problem (I recently discovered MeGUI alters the D2V file while trying to work out why I couldn't seem to encode or analyze a DVD correctly).
While I know Zathor lives in PAL land too I'll ask a couple of questions in case someone else can enlighten me.....

- Firstly, what's the point of "force film" at all? Even if the video is 99% film why would you want to treat the 1% which isn't as though it is?
- Secondly, do GUIs normally alter the D2V file to apply force film? AutoGK doesn't seem to, but then I'm not sure I've ever seen it state "force film" in the log file. "Pure Film" yes, but "force film", no.
- Thirdly, am I correct in assuming disabling the force film option in MeGUI will stop it from ever altering the D2V file, and is there a reason why I shouldn't disable it?

Thanks.

LigH
24th January 2012, 07:54
Just a personal opinion:

If content is detected as telecined, in theory the Inverse Telecine algorithm is trivial, so DGDecode.dll could apply it while decoding. But reality is a bitch – a little mistake, a cut in the movie, and the pattern order gets shifted: Then the rest of the movie would be messed from that point if the decoder would continue with the first detected inversion pattern.

It is probably safer to let the video pass as it is encoded, and delegate the IVTC process to smarter adaptive AviSynth filters like TFM+TIVTC.

hello_hello
24th January 2012, 11:26
So your answer implies disabling force film and trying to do it properly is a good thing?

LigH
24th January 2012, 11:56
"Trying to do it properly" is always a good thing... ;)

But I can't speak from experience if the IVTC feature in DGMPGDec is reliable enough in all cases. I live in the PAL area, we have no Telecine. Please be patient for a more experienced user to reply...

I remember, though, that accidently enabling it sometimes resulted in 20 fps videos, which are really nonsense.

And like all automatic detections, there is never a guarantee. Norm conversions are hell.

hello_hello
24th January 2012, 17:17
Yeah I'm in PAL-land myself so I'm not terribly experienced with this sort of thing. Thanks for the info.

djmasturbeat
26th January 2012, 04:08
this is interesting to note, especially since I am in NTSC land. I would like to know more input and opinions about the force film of the D2V.

now to my question that I came here for:
for pre-rendering would it be possible to use UT Video codec or Lagarith Lossless Video Codec?
http://forum.doom9.org/showthread.php?p=1527090#post1527090
http://lags.leetcode.net/codec.html
Can someone tell me how to use these for pre-rendering in place of huffyuv? do i call this with avs? I see them brought up in some other areas and wondering how to use them in prerendering for x264 with MeGUI.

thanks!

the_weirdo
26th January 2012, 04:25
now to my question that I came here for:
for pre-rendering would it be possible to use UT Video codec or Lagarith Lossless Video Codec?
http://forum.doom9.org/showthread.php?p=1527090#post1527090
http://lags.leetcode.net/codec.html
Yes.
Can someone tell me how to use these for pre-rendering in place of huffyuv? do i call this with avs? I see them brought up in some other areas and wondering how to use them in prerendering for x264 with MeGUI.

thanks!

AFAIK, those lossless codecs don't have command line interface (it would be nice if they had). You must access them via an application that support VfW interface like VirtualDub.

Asmodian
26th January 2012, 06:15
Force Film is a standard option in DGIndex.

See the docs (http://neuron2.net/dgmpgdec/DGIndexManual.html#FieldOp) for a good explanation but if you understand IVTC it is just IVTC for the parts that might need it.

I have found it to work quite well if used at >95% but a more sophisticated IVTC can sometimes be needed even then, if you see combing artifacts it missed something. I have never found an IVTC that works 100% though many are quite good.

If content is detected as telecined, in theory the Inverse Telecine algorithm is trivial, so DGDecode.dll could apply it while decoding. But reality is a bitch – a little mistake, a cut in the movie, and the pattern order gets shifted: Then the rest of the movie would be messed from that point if the decoder would continue with the first detected inversion pattern.

I am pretty sure it isn't quite that simple of an IVTC. :D

djmasturbeat
26th January 2012, 06:57
Yes.


AFAIK, those lossless codecs don't have command line interface (it would be nice if they had). You must access them via an application that support VfW interface like VirtualDub.

is there anything else that supports vfw interface or is there a way to output raw avc with virtual dub? i mostly (re)encode for BDs.

nvm - i realized i am just using this as a temp .avi output with lossless codec for prerendering, so it doesn't matter that it is stored in avi wrapper. I can just import that avi output into megui, index it and start 2 pass from that output? is that about right?

hello_hello
26th January 2012, 09:30
Force Film is a standard option in DGIndex.

See the docs (http://neuron2.net/dgmpgdec/DGIndexManual.html#FieldOp) for a good explanation but if you understand IVTC it is just IVTC for the parts that might need it.

I have found it to work quite well if used at >95% but a more sophisticated IVTC can sometimes be needed even then, if you see combing artifacts it missed something. I have never found an IVTC that works 100% though many are quite good.

I read the docs and I think I understand the principle but I'm still not sure I'm getting my head around it correctly. At least not the way force film is implemented in MeGUI.

What happened in my case is I was converting the same DVD using both AutoGK and MeGUI. AutoGK reported it as a hybrid (mostly film) I think, and it's output looked fine.
MeGUI on the other hand reported "progressive" after the analysis and there was combing in a few places.
"Okay" I thought, "I'll just change the analysis results manually". Didn't help. I copied the IVTC parts from AutoGK's script. Still didn't help. It wasn't until I eventually decided to use AutoGK's D2V file that I finally discovered what was going on, because then running an analysis using MeGUI produced the same result as AutoGK and the encode looked perfect.

My first thought after discovering force film was being applied by "altering" the D2V file was "fair enough, but why isn't there a way for MeGUI to tell me that?" Followed by "is this the way it's normally done?".
Then I wondered what the point is of even keeping the analysis option enabled if after force film has been applied there's no point running it? Wouldn't it make more sense for the analysis section to automatically default to "progressive" and not allow an analysis to be run? Or even to display "force film has been applied"?

Since discovering and disabling the "force film" option in MeGUI's settings I assume I'll never have the same problem again, but especially for someone like me who's not used to dealing with IVTC, having MeGUI's analysis ability still enabled after force film has been applied doesn't seem logical.... unless I'm missing something.

(Force film to me also seems to be the same thing as saying "if 95% is correct that's good enough" but maybe I'm missing something there too)

On a side note.... I started a new thread trying to have MeGUI's analysis options explained, but so far there's been no replies. If anyone would like to tackle it.....
http://forum.doom9.org/showthread.php?t=163906

phate89
26th January 2012, 19:51
Hi.. i have a problem with megui..
I think it's a bug..
When i load an as script sometimes it crashes.. not always.. randomly with different scripts, different videos.. it crashes when it's showing the preview... with no error message or log..
But when i rebooted my pc i find some error message about megui... one is a dep violation.. so i disable dep and i solved the crashes.. now it don't crash anymore...
But i think it should work even with dep enabled right?

Inspector.Gadget
27th January 2012, 02:24
Hi.. i have a problem with megui..
I think it's a bug..
When i load an as script sometimes it crashes.. not always.. randomly with different scripts, different videos.. it crashes when it's showing the preview... with no error message or log..
But when i rebooted my pc i find some error message about megui... one is a dep violation.. so i disable dep and i solved the crashes.. now it don't crash anymore...
But i think it should work even with dep enabled right?

If you are using DirectShowSource(), and I'd bet you are, somewhere you have a Directshow filter that isn't behaving correctly (probably came with a codec pack or bundled with proprietary software like PowerDVD).

phate89
27th January 2012, 02:30
If you are using DirectShowSource(), and I'd bet you are, somewhere you have a Directshow filter that isn't behaving correctly (probably came with a codec pack or bundled with proprietary software like PowerDVD).

no i usually use ffvideosource

JoeH
27th January 2012, 09:01
is there anything else that supports vfw interface or is there a way to output raw avc with virtual dub? i mostly (re)encode for BDs.

nvm - i realized i am just using this as a temp .avi output with lossless codec for prerendering, so it doesn't matter that it is stored in avi wrapper. I can just import that avi output into megui, index it and start 2 pass from that output? is that about right?

Should work. Cf. also here (http://forum.doom9.org/showthread.php?t=163647) and here (http://forum.doom9.org/showthread.php?t=163649) for a similar solution.

LigH
27th January 2012, 09:18
@ djmasturbeat:

VirtualDub doesn't export raw AVC. The x264.exe may; and loading an AVI file via the AviSynth function AviSource should be so trivial, you could even put it in a batch file which creates a script on the fly that uses the filename of the parameter as base filename for the created script file, calls x264 with the just generated script, and possibly deletes the script afterwards.

Just the correct output in YV12 space requires some additional efforts, it may depend on the exactly used AVI codec if it can deliver YV12 by itself [AviSource(..., pixel_type="YV12")] or has to be converted from packed-pixel formats [AviSource(...).ConvertToYV12(interlaced={false|true})]. A wrong decision about the interlacing will result in false colors.

But it is not always useful to have x264 encode to raw AVC, because such files often lack of useful information, like the frame rate. If the following tools in the chain support MP4 or MKV as well, consider to prefer them as output.

djmasturbeat
28th January 2012, 00:38
i have a lot to learn about IVTC, deinterlacing, pixel and color space, etc
thanks for the tips

one thing tho, for encoding to BD, I don't want to save as mkv or mp4, but only as raw AVC. yes, it doesn't include the fps and other useful info, but one thing I have read over and over* is to not store the AVC as mkv, only as ES. about the only time I use mkv for encoding to BD is if i am taking a VC-1 stream, i pretty much have to remux to mkv to even index it first, then encode from that mkv.
sort of like needing to remux VC-1 to mkv to index and encode from, the lossless codec (huffy, lagarith, intel indeo, etc) stage for pre-rendering saving as an avi, i think would be a bit different than saving my final output as mkv, if I understand this correctly.


*this thread, among a few others I can't find advise to never store the output as mkv
http://forum.doom9.org/showthread.php?t=154533

after re-reading your post some more i see you suggest to use them in the supply chain if possible, not necessarily as a final output.
But I am still wondering if putting the ES in an mkv container will screw it up as people mention in places like the encoding for bluray thread. Can someone knowledgeable about x264 and Blu-Ray encoding tell me? Is it just for my final output that I want to avoid anything but the ES?

poisondeathray
28th January 2012, 00:58
VirtualDub doesn't export raw AVC.

Actually x264vfw can from vdub , it has to be specified in the command line box

There is a dummy AVI exported along with the .264 video

I remember this from a couple years back, raw avc export and was verified in scenarist - see this page and the next few after it. (But I haven't done it recently)
http://forum.doom9.org/showthread.php?t=98247&page=29

djmasturbeat
28th January 2012, 04:37
thanks for the info
I am curious if, in place of the temp.avi, i can have the same .264/.avc output from some of the lossless codecs while using VDub as pre-rendering.
Or can x264 be used for pre-rendering if i use a lossless pass at first (-q 0)? I have never used lossless settings in x264 so i don't know if they would work in a similar way of not taking too long to pass, but to speed up later passes.

I guess I am a curious noob, more than anything else, wanting to experiment more with several different lossless and near-lossless codecs for pre-rendering (and maybe for other things), since there appear to be quite a few but only huffyUV available in MeGUI.

I think it would be really cool to see VDub enabled in MeGUI; having all of VDub launched within or at the very least incorporate something like the "Ctrl-P" compression window and all of its abilities to select different vfw codecs and apply settings changes to them. But really, I also think the full VDub interface would be nice to have, especially as it allows many of the same filters as AVS (even use vdub plugins in avs), but vdub is possibly a bit easier to use for the cli-impaired :P
Should I maybe address this in MeGUI feature requests instead to do things properly?


Back to color space, pixel format, and lossless codecs, and all that. A few responses ago there I said I need to learn more about that, can someone give me a good beginners place to learn more about this?

Also back to a topic, also a few posts above, that being about info not stored in raw AVC, such as fps (hence the suggestion for mp4 and mkv); this reminds me of something I encountered when I was going to try encoding on my friend's PC with some stuff he uses for work to compare it with x264. it seems maybe color and pixel info are not stored either is that correct? If so, would that normally be correctly stored in the muxed m2ts container of a retail disc? Or how is this information usually determined?
Is there a certain Pixel Format or Color space most or all AVC is encoded to? Does it differ between commercial Blu-Rays and the output from home cameras?
While I was fooling around on my friend's workstation, I took demuxed h264/AVC from a retail bluray disc that I have encoded from this disc previously with x264 just fine. I fed the demuxed avc stream from the retail disc into Cinevision to see what kind of output it would give me compared to x264. long story short it told me (looked up my notes I made) "It was not possible to detect all input parameters from the specified source, please confirm that all processes marked in red are correct" and the fields marked as red were scan type (I know it is progressive) "Field" (n/a as it is progressive) and "Pixel Format." I mostly didn't know how to determine The Pixel Format selections and to know if it selected the correct format, so i never did my encoding since I didn't want to waste hours encoding with the avc pixel format tagged incorrectly. If I get to go back over and play with his workstation I would like to try a test again against that or another disc i have done previous encodes of. Might be fun to compare the against the results of x264 which look incredible to me.
when i load the raw avc or the BluRay into Mediainfo, there is no Pixel format information. "color space" gives me some similar-looking FourCC code, but what it told me is not even an option for Pixel Format in Cinevision's drop down. I want to know how the Pixel Format can be determined.
I am pretty confused what the relation and differences between color space and pixel format are. I don't know anything about this stuff, really, as I said above in this post and a few posts earlier, and obviously I think I should start learning this and how to determine these things, as it appears I better understand this stuff a bit better to learn how to encode video and not just use scripts/profiles without understanding them; I also think I need to know this if I want to use the lossless codecs for pre-rendering. I am curious about more information on any of these topics -- ones that start out talking to me like I know nothing, but I could use having links to things that get more advanced if i begin to understand the simpleton stuff =D.

Any good help and links for a noob would be greatly appreciated =)

hello_hello
28th January 2012, 06:43
I think it would be really cool to see VDub enabled in MeGUI; having all of VDub launched within or at the very least incorporate something like the "Ctrl-P" compression window and all of its abilities to select different vfw codecs and apply settings changes to them. But really, I also think the full VDub interface would be nice to have, especially as it allows many of the same filters as AVS (even use vdub plugins in avs), but vdub is possibly a bit easier to use for the cli-impaired :P
Should I maybe address this in MeGUI feature requests instead to do things properly?

Can't use just create the script with MeGUI then open it with VirtualDub?

Zathor
28th January 2012, 14:00
I think it would be really cool to see VDub enabled in MeGUI; having all of VDub launched within or at the very least incorporate something like the "Ctrl-P" compression window and all of its abilities to select different vfw codecs and apply settings changes to them. But really, I also think the full VDub interface would be nice to have, especially as it allows many of the same filters as AVS (even use vdub plugins in avs), but vdub is possibly a bit easier to use for the cli-impaired :P
Should I maybe address this in MeGUI feature requests instead to do things properly?
Of course you can create such an request, but at least I will never implement it. As hello_hello already said - if you want to use VirtualDub, use VirtualDub.

rica
19th February 2012, 14:10
Hi!

Mequi asks me to update to neroaacenc 1.5.4.0.

I downloaded NeroAACCodec-1.5.1.zip from Nero and put the extracted folder into Tools Folder under Mequi.
After restart, mequi again asked the same.
This time i put only these files under win32 sub folder into the NeroAACCodec-1.5.1 folder: NeroaacDEc.exe, NroaacEnc.exe, NeroaacTag.exe.

It again prompted MeGui needs an update.

What am I doing wrong?

Thanks!

LigH
19th February 2012, 17:09
Instead of trying to put the EXE files where they are expected, why not setting up MeGUI to get to know the directory where they are? (Options - Settings - External Program Settings: NeroAacEnc location)

By the way, it is recommendable to put the Nero EXE files in the tools\eac3to folder. Recently I was told that eac3to can use the Nero encoder on its own this way.

rica
19th February 2012, 20:28
Thanks a lot!
Putting nero exe files into eac3to folder fixed the problem.

Pulp Catalyst
21st February 2012, 11:29
1st

can anyone suggest anyway of getting QTGMC working fully with MeGUI,
or failing that using Yadifmod+NNEDI3 Combo with MeGUI

2nd

can anyone help me regarding how/where would i add the following in a script in MeGUI to help Xvid multithreading as i'm only getting 70-80% CPU utilization, the same happened to me with Staxrip too, but i solved that by adding the following to Staxrip's profile, just not sure how i would go about that with MeGUI

SetMemoryMax(768)
SetMTMode(5,3)
Source "Filename"
SetMTMode(2)


EDIT 01

I thought i should share the Script that i would use in Stax,

LoadPlugin("D:\Program Files (x86)\StaxRip\Applications\DGMPGDec\DGDecode.dll")
SetMemoryMax(768)
SetMTMode(5,3)
MPEG2Source("E:\VIDEOTEMP\Staxrip\1\VTS_01_1 temp files\VTS_01_1.d2v")
Crop(0,0, -Width % 8,-Height % 8)
ConvertToYV12()
SetMTMode(2)
QTGMC( Preset="Medium" )
SelectEven()
Crop(18,8,-14,-8)


EDIT 02

not sure why, I tried doing the above before, it failed... (I think it's in this topic somewhere), happy that I got the following working though

# Set DAR in encoder to 4 : 3. The following line is for automatic signalling
global MeGUI_darx = 4
global MeGUI_dary = 3
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("E:\VIDEOTEMP\MeGUI\VTS_01_1.d2v", info=3)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, interlaced=true, threads=0)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\yadifmod.dll")
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\nnedi3.dll")
YadifMod(order=-1, edeint=nnedi3(field=-1))
crop( 18, 10, -14, -6)

#resize
#denoise



is the above OK?, seems to be running fine, CPU Utilization is between 80-85% which is quite worrying, will need to add
SetMemoryMax(768)
SetMTMode(5,3)
.......
SetMTMode(2)
.......
.......
like I did with staxrip to get it over 95%

Pulp Catalyst
21st February 2012, 21:24
the following is my final script that works great, resolves Multi-threading inefficiencies, and produces good results, I will at some point try adapting QTGMC to MeGUI for myself as QTGMC is superior in many ways to yadifmod+nnedi3 combo, but definitely not today...... as it could prove to be difficult (time consuming), maybe when I next upgrade my system.

NOTE, MeGUI actually inserts it's own commands into the script by itself, hence why they are missing in the following.

SetMemoryMax(768)
SetMTMode(5,3)
<input>
SetMTMode(2)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\yadifmod.dll")
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\nnedi3.dll")
YadifMod(order=-1, edeint=nnedi3(field=-1))
<crop>
#resize
#denoise


The above is for Xvid Encoding, SetMemoryMax() & SetMTMode() commands may not be needed for other tasks that utilize different encoders I.E. x264 (which is very efficient at multi-threading already)

P.S. tried doing all this quite some time ago, can't believe how smooth it went this time!

Remicade
23rd February 2012, 12:05
Question: at what bitrate is encoded credits ? It's enough to set credits in preview windows ? Works with autoencode ?

Pulp Catalyst
24th February 2012, 09:01
MeGUI, output AVI Audio sampling problem

Audio
ID : 1
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Mode : Joint stereo
Mode extension : MS Stereo
Codec ID : 55
Codec ID/Hint : MP3
Duration : 29mn 50s
Bit rate mode : Variable
Bit rate : 96.0 Kbps
Channel(s) : 2 channels
Sampling rate : 32.0 KHz
Compression mode : Lossy
Stream size : 20.1 MiB (8%)
Alignment : Aligned on interleaves
Interleave, duration : 36 ms (0.90 video frame)
Interleave, preload duration : 232 ms
Title : VTS_04_1 T80 2_0ch 256Kbps DELAY 0ms
Writing library : LAME3.99r
Encoding settings : -m j -V 4 -q 2 -lowpass 15.1 --abr 96


i have setup audio profile to keep original, yet as you can seem, the frequency has been changed!!!!

is this a bug?, should i be concerned with playback devices?

LigH
24th February 2012, 09:07
96 kbps is really little for MP3! LAME protects the remaining quality by reducing the sampling base frequency.

Pulp Catalyst
24th February 2012, 12:15
well 128 is good for music (low but acceptable), films generally have far less complexity to deal with (mainly speech, SFX, and some odd music) in fact if it was not for SFX and music, one could get away with using MP2

MP3 can easily handle speech at 96KBps (which is the majority of the track)

how do I override LAME doing this, as in my opinion I strongly believe that 96KBPs is more than enough for ASP Episode Encodes (LAME is assuming that the track in question is music..... and rightly so, but it's not, so in this case LAME is actually hindering me)

I have looked at the profile, I can't see anywhere where I can override it.
Can anyone help.

LigH
24th February 2012, 12:45
I won't recommend it to you because it will be a waste of 1/3 unused subbands; but you can probably enforce it with "--resample 48000".

The automatic resampling down to 32 kHz enabled a more efficient encoding by not wasting bits to subbands which will have no content anyway due to the lowpass filtering, and a finer resolution for the frequency transformation of the used subbands. So if there are no compatibility issues with the playback device, I'd recommend you to enjoy the smart behaviour of the LAME encoder.

Pulp Catalyst
24th February 2012, 15:27
ok, thanks, I'll probably just increase to 140kbps, saves all the messing around, thanks for the heads up.

Carpo
26th February 2012, 08:44
Is anyone else getting the issue of x264_64 only using one core when encoding? Normally it's up around 90% - 95% at the most its about 23%

tonyymmao
29th February 2012, 01:04
when u create a avisynth script what is the difference between file indexer and directshow source? isn'tthe end result the same, u end up with a muxed video

LigH
29th February 2012, 08:08
If you use the File Indexer, AviSynth uses native AviSynth source plugins (with an integrated decoder) to read the source.

If you use DirectShowSource, AviSynth uses the DirectShow filter system (or VfW codecs in case of AVI sources) and depends on your Windows Media setup, your choice of installed decoders, your choice of DirectShow filter merits and options.

So there is certainly a difference how AviSynth receives the decoded source video. Different source video is encoded to different target video. May it be multiplexed into a container format in the same way, but the content will probably be different. No comment if the difference is noticable, though...

There are some source file types which are well supported by AviSynth native source plugins. But a few are not so well supported and may require either a remultiplexing to a better supported format (usually MKV) to be handled well by the File Indexer, or if even that fails, then using DirectShowSource may be the last option (in case of AVIs as source files, it is unfortunately not at all obvious that AviSource will be used, which is not as much discouraged – at least by me – as using DirectShowSource).

tonyymmao
29th February 2012, 20:37
So there is certainly a difference how AviSynth receives the decoded source video. Different source video is encoded to different target video. May it be multiplexed into a container format in the same way, but the content will probably be different. No comment if the difference is noticable, though...

i thought the target video is always determined by what encoder u r using

LigH
1st March 2012, 09:23
Of course the encoder settings define the target video.

But the video source does as well. A different input video cannot result in the same output video. And different input decoders may give AviSynth different video sources (no matter how noticable that is).

tonyymmao
1st March 2012, 09:40
^^thx for the info

i seem to have a problem with one of my videos when i try to encode it with x264. i opened it with directshow source, it seems to compress the audio part fine but when it gets to the first pass of the video it just doesn't do anything and you just have abort it. the container is MPEG-TS and the video stream is AVC

any solutions?

LigH
1st March 2012, 09:43
Remultiplex it to MKV, using GDSMux (installed via Haali Media Splitter). Then FFmpegSource should be able to process it if it is free of serious stream errors.

flebber
1st March 2012, 23:41
Megui v 2115

I am receiving this error when trying to encode ac3 audio from Warrior. I have ripped Warrior using makemkv and have used two previous films ripped this way successfully in the last day.

This is the error I am getting.
--[Information] [2/03/2012 9:20:23 AM] Trying to open the file with FFAudioSource()
--[Information] [2/03/2012 9:20:39 AM] Successfully opened the file with FFAudioSource()
--[Information] [2/03/2012 9:20:39 AM] Avisynth script
---[NoImage] LoadPlugin("C:\Rip\Megui\tools\ffms\ffms2.dll")
---[NoImage] FFAudioSource("C:\Documents and Settings\renshaw\Desktop\title03 - [1] English.ac3")
---[NoImage] Normalize()
---[NoImage] return last
--[Information] [2/03/2012 9:20:39 AM] Commandline used: -ignorelength -br 226000 -if - -of "{0}"
--[Information] [2/03/2012 9:20:39 AM] Avisynth script environment opened
--[Information] [2/03/2012 9:20:47 AM] Script loaded
--[Information] Output Decoder
---[Information] [2/03/2012 9:20:47 AM] Channels: 6
---[Information] [2/03/2012 9:20:47 AM] Bits per sample: 16
---[Information] [2/03/2012 9:20:47 AM] Sample rate: 48000
--[Information] [2/03/2012 9:20:47 AM] Commandline: C:\Rip\Megui\tools\nero\win32\neroAacEnc.exe -ignorelength -br 226000 -if - -of "C:\Documents and Settings\renshaw\Desktop\title03 - [1] English_audio.m4a"
--[Information] [2/03/2012 9:20:48 AM] Encoder process started
--[Error] [2/03/2012 9:29:59 AM] An error occurred
---[Error] [2/03/2012 9:29:59 AM] Exception message: The pipe has been ended.
---[Error] [2/03/2012 9:30:04 AM] 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()
---[Error] [2/03/2012 9:30:04 AM] Inner exception: null
--[Information] [2/03/2012 9:30:04 AM] Output from encoder via stderr

My file info is:
General
Unique ID : 197215042078630356338609339572929254909 (0x945E3C49E0A896217AD2F7F6F69155FD)
Complete name : C:\Video\WARRIOR\title03.mkv
Format : Matroska
Format version : Version 2
File size : 5.75 GiB
Duration : 2h 14mn
Overall bit rate mode : Variable
Overall bit rate : 6 139 Kbps
Encoded date : UTC 2012-03-01 10:02:34
Writing application : MakeMKV v1.7.2 win(x86-release)
Writing library : libmakemkv v1.7.2 (1.2.0/1.1.0) win(x86-release)

Video
ID : 1
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : No
Format settings, Matrix : Custom
Codec ID : V_MPEG2
Codec ID/Info : MPEG 1 or 2 Video
Duration : 2h 14mn
Bit rate mode : Variable
Bit rate : 5 569 Kbps
Maximum bit rate : 9 800 Kbps
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.537
Stream size : 5.22 GiB (91%)
Language : English
Default : Yes
Forced : No

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : A_AC3
Duration : 2h 14mn
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 430 MiB (7%)
Title : 3/2+1
Language : English
Default : Yes
Forced : No

Text
ID : 3
Format : VobSub
Codec ID : S_VOBSUB
Codec ID/Info : The same subtitle format used on DVDs
Language : English
Default : Yes
Forced : No



Any reason I am getting this error?

tonyymmao
2nd March 2012, 03:33
Remultiplex it to MKV, using GDSMux (installed via Haali Media Splitter). Then FFmpegSource should be able to process it if it is free of serious stream errors.

so what do i install and how do i open this GDSMux exactly

and is FFmpegSource the only decoder megui supports or can u use others

Edit: i figured how to open it but when i add source only the audio show up... and why do i have to use this specifc program, can't i use anything if the goal is to remux to mkv?

flebber
2nd March 2012, 04:21
Actually resolved the audio error, it appears FFaudioSource does not like the file. I changed to NicAudio and the audio processing went fine.

LigH
3rd March 2012, 14:04
Of course there are other ways to remux a Transport Stream to an MKV. Unfortunately, mkvmerge (the usually preferable MKV muxer) is unable to read TS.

GDSMux was one of the more convenient tools which allows you to do it directly (therefore I hope MeGUI may support dsmux.exe as CLI helper in such a case).

But if even they fail, then you may have to use a few more and more specialized tools (e.g. tsMuxeR or similar) to first separate the TS into raw "elementary" content streams, and multiplex those afterwards.

Underground78
3rd March 2012, 14:11
Of course there are other ways to remux a Transport Stream to an MKV. Unfortunately, mkvmerge (the usually preferable MKV muxer) is unable to read TS.
If I am not mistaken, mkvmerge is able to read TS since version 5.0.0.

LigH
3rd March 2012, 14:17
Oh, that's right ... so I missed some of the most important points in the latest changelogs. :o

So, enjoy, tonyymmao – try mkvmerge and tell us if it worked.

And if not, use MediaInfo for a technical analysis.

pilgrim365
7th March 2012, 10:44
Ok don't hate me. Encoding is quite alien to me and the solution to my problem is probably a very simple. While I have learned what all of the x264 settings and variables now do through lesson of self induction and have successfully created many of my own profiles which easily give better rips than what I have seen flooding the internet. I am, quite lost still in many aspects and this one is bugging me.

Up to now I have been using the oneclick encoder with my own profiles to great success. But I would like to start using the more advanced options. When I go down the 'file indexer' I seem to have a problem with the output resolutions when ripping from my DVD's. I want to minimise data loss and so have been encoding at width's of 720. Now when using 'one click' a 16:9 movie usually come out at 720*400. However using the other method it seems to be retaining the dimensions of vob file (720*576) give or take a few pixels on height when I've autocropped to remove the black bars. e.g. my last attempt with an AR of 16:9 came out at (720*572).

Now the AR is fine on playback, its not as if its adding black bars to make up the height. I am right in assuming that its retained the empty data found in 720*576 vob files. I'm under the impression that this hurts encoding efficiency too, is this correct. Whether or not I find it very annoying, how do I eliminate this problem? How do I get the resolution to be respective of the the displayed video?

LigH
8th March 2012, 09:27
If you want to neither crop nor resize, but simply encode the video as it was on DVD, and just have the player do the stretching for the correct aspect ratio, you will probably use the "Clever Anamorphic" option in the AviSynth Script Creator of MeGUI. It adds global AviSynth variables to the script which are respected while multiplexing the AVC result into its matching container.

pilgrim365
8th March 2012, 11:34
I have been using that. I'm using the same avisynth profile I've created for the 'oneclick' option yet I'm getting different results. I also select overcrop to mod 16. I am just confused as to what process is undertaken in 'oneclick' that outputs a 1.777778 resolution. And yet when I go down the file indexer route the original resolution (less the cropping) is maintained. I would like my output file to be the correct resolution (which I am getting in oneclick) rather than the player doing the work.

Am I to understand that I shouldn't have been using this option with my goal in mind?

pilgrim365
8th March 2012, 12:04
Ok, I've had a play around. I think its evident my understanding of AE was, well, wrong. After removing this option and applying the resize filter then selecting 'suggest resolution' I have my desired output.

I do find it peculiar that running AE without resize through oneclick was giving me my target resolutions. But nonetheless your help is appreciated and I continue to learn. Thanks.

g0th1ckn1ght
15th March 2012, 10:34
Hi all,

First of all i would like to say thanks for MeGUI. I love it. Now before i get to my problems using it, i would like to mention that i have NO knowledge of this kind of thing (string, codes etc.) so please reply as though i am an idiot.

Ok a few things that are troubling me:

1) when i try and crop my film (Blu-Ray box says widescreen 2.35:1. I live in a PAL region if that helps) and mux it all together then watch my finished mvk on my 1080p TV I still have a black bar above and below the the film. I would like to make a 1080p mkv that fills the screen if that is possible.

2) VOBSubber doesn't seem to see my SUP subtitles that the HD extractor creates. It only seems to want .IFO subs (whatever that means lol.) I would like to be able to move my subs to a better location after i have done my cropping.

3) Using MeGUI, how do i keep the .dts core audio. I tried to change it to AC3, but it only comes out in 2 channel. Some of my BR's are TrueHD and Some are DTS-MA.

I am sorry if my questions come across stupid, i just have very little idea about what to do. All i know is i need to back up my movies before my son destroys anymore discs.

I am also streaming my mkv,s to my PS3 and WDTV Live so i do understand that i need to keep bitrate down. I am using HIGH@LVL 4.1 if that relevant.

Thanks again,

Shevek
15th March 2012, 10:49
1) when i try and crop my film (Blu-Ray box says widescreen 2.35:1. I live in a PAL region if that helps) and mux it all together then watch my finished mvk on my 1080p TV I still have a black bar above and below the the film. I would like to make a 1080p mkv that fills the screen if that is possible.

Your TV is 16:9 or 1.778:1 - a 2.35:1 movie will always have black bars top and bottom as it is not as tall as 16:9. You can resize and stretch it but everything will be stretched vertically.

More details here: http://en.wikipedia.org/wiki/Aspect_ratio_(image)

2) VOBSubber doesn't seem to see my SUP subtitles that the HD extractor creates. It only seems to want .IFO subs (whatever that means lol.) I would like to be able to move my subs to a better location after i have done my cropping.

To convert the SUP file to IDX/SUB files use BDSup2Sub - http://forum.doom9.org/showthread.php?t=145277

3) Using MeGUI, how do i keep the .dts core audio. I tried to change it to AC3, but it only comes out in 2 channel. Some of my BR's are TrueHD and Some are DTS-MA.

you need to set the extension to DTS and add -core to the Options box for the audio. This will extract the 5.1 DTS from the 7.1 DTS-HD

g0th1ckn1ght
15th March 2012, 11:06
Shevek,

Thank you so very much. If i may ask, what i sthe point of cropping if, regardless of the cropping done, the black bars are still visible?

I have BDSup2Sub, so thank you, i never thought to have tried that (i have come from staxrip, and it is all built in with the option to move up and down the subs)

With the DTS, is the -core option typed in the HD extractor window when i am about to extract the audio?

again thank you again very much:thanks:

LigH
15th March 2012, 11:44
Well, there are in fact three possible methods to fit AR 2.35:1 content inside an AR 16:9 screen:

a) Letterbox: You will see the whole content in the correct aspect ratio, but have additional black bars.
b) Anamorphic: You will see the whole content without additional blackbars, but with a wrong aspect ratio (egg-heads).
c) Cropped sides: You will see the correct aspect ratio without black bars, but lose overhanging content.

g0th1ckn1ght
15th March 2012, 12:09
Thank you for the info LigH :)

I think i will do the Clever anamorphic encoding and let it chose the resolution. Seems to be what most people are doing :)

Now to work out the best settings to use. Any advice would be greatly appreciated. I just want to convert my BR's to 1080p mkv's (understand that the smaller the file size the less quality) and keep the core audio (either DTS core or AC3).

One thing i can't work out, i converted my copy of Aliens, it ended up being a 24.8GB mkv. The folder size, after ripping it is 46.3GB. Is that normal for a grainy movie (i have decided to even try to de-grain as it is obviously how it was intended to be viewed)

LigH
15th March 2012, 12:40
Standard conformant HD video has to have a pixel AR of 1:1 (except for AVCHD with a 3:4 anamorphic ratio, e.g. encoded 1440x1080 representing displayed 1920x1080), and a display AR of 16:9.

A PC may display almost anything, but consumer players may disappoint.

Shevek
15th March 2012, 13:15
Shevek,

Thank you so very much.

Pleasure :D

If i may ask, what i sthe point of cropping if, regardless of the cropping done, the black bars are still visible?

The reason I crop is because (and I may be completely wrong and stand to be corrected) it is wasted encoding - why waste CPU cycles encoding a black bar to a black bar!

With the DTS, is the -core option typed in the HD extractor window when i am about to extract the audio?

exactly - in the "+ options" column for the audio stream

Zathor
15th March 2012, 15:00
you need to set the extension to DTS and add -core to the Options box for the audio. This will extract the 5.1 DTS from the 7.1 DTS-HD

Thanks for your explanation, but -core is not required. If you select "dts" only the core is used. If you want DTS-HD/MA you have to select "dtshd".

Shevek
15th March 2012, 15:48
Thanks for your explanation, but -core is not required. If you select "dts" only the core is used. If you want DTS-HD/MA you have to select "dtshd".

Wow! That's great, I didn't realise - saves me a few key clicks in future :D :thanks:

g0th1ckn1ght
15th March 2012, 21:01
This forum is awesome. Thank you all very much for the help and talking in a language i don't need a university degree to understand lol.

I will let you know how my encode goes :)

thanks again

g0th1ckn1ght
16th March 2012, 12:58
Ok i am offically stuck :(

I have opened up AviSynth and loaded the MKV file that the HD extractor created. AviSynth is report an Input DAR of 1.778, yet on my BR case it says it is 2.35

Should i be changing the Input DAR to the BR case one or leaving as is?

Shevek
16th March 2012, 16:09
Ok i am offically stuck :(

I have opened up AviSynth and loaded the MKV file that the HD extractor created. AviSynth is report an Input DAR of 1.778, yet on my BR case it says it is 2.35

Should i be changing the Input DAR to the BR case one or leaving as is?

This is correct behaviour

The video in the MKV will be BR standards compliant and be 1920x1080 (actually 1920x1088 with an 8px bottom crop, but you don't need to worry about that)

1920x1080 is 1.778:1 so that is correct.

If you look at the preview window you will see black bars top and bottom.

If you auto crop it will crop approx 132 top and bottom and if you then set the suggest resolution it will be approx 1920x816

1920x816 is 2.35:1

HTH

g0th1ckn1ght
18th March 2012, 09:04
Sorry to be a pain guys just need a little advice

Ok at the moment i am trying to back up my BR's, I will be steaming them over a wired network to my PS3 (using ps3media server) and my WDTV live.

Now i understand that when i convert and compress i am not going to be able to keep the quality (similar principle to an MP3 is my understanding), but i would like to have a good looking MKV, while trying not to have to high a bitrate.

Any recommedations on settings, including bitrate (not sure what i should be setting that to)

i am currently using --level 4.1 --tune film --crf 21.0 --vbv-bufsize 31250 --vbv-maxrate 31250 --aud --output "output" "input", not that i know what any of that means.

I know i do not wish to convert to 720p, i am converting audio to either AC3 or DTS. File size is not as big an issue as quality, will settle for a happy medium.

Thank you for any advice :)

Shevek
18th March 2012, 20:20
Sorry to be a pain guys just need a little advice

Ok at the moment i am trying to back up my BR's, I will be steaming them over a wired network to my PS3 (using ps3media server) and my WDTV live.

Now i understand that when i convert and compress i am not going to be able to keep the quality (similar principle to an MP3 is my understanding), but i would like to have a good looking MKV, while trying not to have to high a bitrate.

Any recommedations on settings, including bitrate (not sure what i should be setting that to)

i am currently using --level 4.1 --tune film --crf 21.0 --vbv-bufsize 31250 --vbv-maxrate 31250 --aud --output "output" "input", not that i know what any of that means.

I know i do not wish to convert to 720p, i am converting audio to either AC3 or DTS. File size is not as big an issue as quality, will settle for a happy medium.

Thank you for any advice :)

Just select the PS3 Target Play Back Device and set the quality and preset as required.

I usually use crf 23 and preset Medium for BR.

this will give you a command line of:

program --level 4.2 --vbv-bufsize 31250 --vbv-maxrate 31250 --output "output" "input"

(23 is the default crf and Medium is the default preset for x264 so neither show in the command)

You can increase or decrease quality and preset as you see fit.

As for audio you can simply mux in the dts or ac3 extracted using the stream extractor, there is no need to convert it.

If you make sure there are no audio tracks on the main screen and then use the AutoEncode button, select No Target Size and check Add conditional content.

You will then be shown a muxer dialog where you can select the extracted audio (and chapters/subs if you extracted them).

HTH

g0th1ckn1ght
18th March 2012, 22:11
Well I have just successfully completed my first mkv encode.

I must I am rather impressed by the video quality i acheived, considering the file size i really couldn't tell that much of difference between source and mkv.

According to MediaInfo this is what settigns were used:


Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 34mn
Bit rate : 4 626 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.089
Stream size : 3.06 GiB (74%)
Writing library : x264 core 122 r2184 5c85e0a
Encoding settings : cabac=1 / ref=3 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=21.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=31250 / vbv_bufsize=31250 / crf_max=0.0 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : Yes
Forced : No

A massive thank you to those who helped. It was greatly appreciated :)

burro08
30th March 2012, 21:45
Well I have just successfully completed my first mkv encode.

I must I am rather impressed by the video quality i acheived, considering the file size i really couldn't tell that much of difference between source and mkv.

According to MediaInfo this is what settigns were used:


Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 34mn
Bit rate : 4 626 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.089
Stream size : 3.06 GiB (74%)
Writing library : x264 core 122 r2184 5c85e0a
Encoding settings : cabac=1 / ref=3 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=21.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=31250 / vbv_bufsize=31250 / crf_max=0.0 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : Yes
Forced : No

A massive thank you to those who helped. It was greatly appreciated :)

:thanks:



how long did the encode take?

has the turbo check box been removed from megui?

thanks

rapscallion
30th March 2012, 22:10
@g0th1ckn1ght. That bitrate is far too low for a 1080p encode. Minimum bitrate for average video is ~10000 Kb/s (Qf=0.2) for HD.

If you try it again at 720p , you'll find the pic quality much better. Min bitrate for 720p HD is ~4500Kb/s
so you're just barely over that.

The relation between 1080 and 720 bitrate is:
(1920x1080)/(1280x720) = 2.25
then 10000Kb/s for 1080 is equivalent to 4500 Kb/s for 720


@burro08...Turbo hasn't been there in a very long time, I think since the svn builds were implemented.

Shevek
30th March 2012, 22:17
@g0th1ckn1ght. That bitrate is far too low for a 1080p encode. Minimum is around ~8-10 Mbps for HD.
If you try it again at 720p , you'll find the pic quality much better. Min bitrate for 720p HD is ~4-5Mbps

Really? My 720p encodes using crf 23, preset medium and tune film all come out somewhere between 700Kbps and 1Mbps and they all look great on my 1080p TV

rapscallion
30th March 2012, 22:44
Really? My 720p encodes using crf 23, preset medium and tune film all come out somewhere between 700Kbps and 1Mbps and they all look great on my 1080p TV
Yes, really. But, of course, it depends on how critical a viewer one is.

Your bitrate is actually below that of a SD DVD (different screen resolution of course). Typically, the data rate for DVD movies ranges from 3 Mbit/s to 9.5 Mbit/s. Which is why many people find an upscaled SD DVD quite acceptable. I must say that I'm not one of them.

Megui's definition of crf :

"CRF reduces the quality of less important frames. In this case, frames in complex or high-motion scenes, where quality is more expensive (in terms of bits) and/or less visible, will have their quantizer increased. The bits saved in cuts like this are redistributed to frames where they will be more effective. CRF mode gives almost exactly equivalent quality to 2pass at the same bitrate; the difference is that you cannot choose the output bitrate."

Kind of like lossy audio compression vs lossless. It's all in the eyes/ears of the beholder.

Betsy25
30th March 2012, 22:47
@Zathor,

can you tell how the Priority settings are remembered for different tasks ? I have them configured to run at Below Normal, but found out that when more than 1 worker is active, tasks like Indexing , Importing Tracks & Writing of the muxer get really slow when left at Below Normal when another worker is encoding, if i set these to Normal they really speed up. I saw there is some form of "remembering" in there but i don't know if that's remember for a specific worker or for a specific sub-task.

Is it possible to put the default for Indexing & Muxing at Normal while having it at Below Normal for Encoding, please ?

hello_hello
31st March 2012, 19:20
Your bitrate is actually below that of a SD DVD (different screen resolution of course). Typically, the data rate for DVD movies ranges from 3 Mbit/s to 9.5 Mbit/s. Which is why many people find an upscaled SD DVD quite acceptable. I must say that I'm not one of them.

Not only a different resolution, but encoded using mpeg2 which isn't anywhere near as efficient as x264.

Megui's definition of crf :

"CRF reduces the quality of less important frames. In this case, frames in complex or high-motion scenes, where quality is more expensive (in terms of bits) and/or less visible, will have their quantizer increased. The bits saved in cuts like this are redistributed to frames where they will be more effective. CRF mode gives almost exactly equivalent quality to 2pass at the same bitrate; the difference is that you cannot choose the output bitrate."

So given they both encode in the same way, CRF encoding lets you pick the quality without knowing what the file size will be, while choosing a bitrate lets you pick the file size without knowing what the quality will be.
As my 720p CRF20 encodes seem to have bitrates ranging from around 2500Kb/s to 5000Kb/s, bitrate seems to be a fairly poor indicator of quality.
Using the same CRF value each time (all else being equal) should give you pretty much the same quality relative to the source each time, while picking a bitrate won't, so I can see "CRFx doesn't produce a high enough quality" being a valid argument, but I can't see how you can make the same generalizations regarding bitrate "x".

Kind of like lossy audio compression vs lossless. It's all in the eyes/ears of the beholder.

True, and after all the above I'd tend to agree to a certain extent. To me a 720p CRF20 encode looks better than a 1080p CRF23 encode, although it's not massive. It may also depend on your playback device and how well it upscales the 720p encode.

renoturks
4th April 2012, 18:50
Guys..i'm having a peculiar issue with my megui...
i'm trying to encode this file Thundercats 2011 S01E15 Trials of Lion-O Part One 720p WEB-DL AAC2 0 H264 to 100MB, but i'm having a problem with it's audio...it gives me an error 1...once i get home ill use the mediaInfo ans post it here...but if someone already know this...i'll be glad to read it ^^

Guest
4th April 2012, 19:46
@renoturks

We cannot help you with downloaded torrents. Please read and follow our forum rules.

@all

No help allowed for this! Thank you.

renoturks
4th April 2012, 22:20
no no no...i didnt mean it...well...how can i say...all the videos in this format gives me the same error..it's not only that one...

Guest
4th April 2012, 22:23
all the videos in this format gives me the same error You mean all your other torrent downloads?

You can post only about material that you legitimately own, e.g., a bluray disk you have purchased.

renoturks
4th April 2012, 22:46
ah i see..sorry for that...i just got this only one error that when i try to extract the audio it give's en error and the audio seens fuzzy...well..thanks anyway ^^ have to look somewhere else \o

tonyymmao
5th April 2012, 01:50
i have a problem:
i get this error while muxing
A warning occurred: Warning: Quicktime/MP4 reader: Track 0 is missing some data. Broken header atoms?
Process exits with error code: 1
the muxing still completes but the audio desn't get muxed
original codec was DTS-HD
decoder: FFAudioSource
encoder settings: Nero AAC multichannel 128kbps, extension mp4-aac
i tryed encoding it again but the same error comes up and FFAudioSource seems to be the only decoder that can open this file
any solutions?

LigH
5th April 2012, 07:23
@ rapscallion:

"Lossless" is certainly the wrong term; "transparent" may be matching (subjectively no noticable flaw).

tebasuna51
5th April 2012, 09:13
i have a problem:
i get this error while muxing...
Please put the full log.

tonyymmao
5th April 2012, 09:33
Please put the full log.
here u go...
-[Warning] Log for job1 (mux, Star Wars VI Blue Ray Rip 1080p.track_4113.264 -> Star Wars VI Blue Ray Rip 1080p.track_4113-muxed.mkv)
--[Information] [5/04/2012 8:22:43 p.m.] Started handling job
--[Information] [5/04/2012 8:22:43 p.m.] Preprocessing
--[Information] [5/04/2012 8:22:44 p.m.] MediaInfo
---[Information] File: D:\Test\Star Wars VI Blue Ray Rip 1080p.track_4113.264
---[Information] General
----[Information] Format: AVC
----[Information] FormatString: AVC
----[Information] FileSize: 30923055780
----[Information] PlayTime:
---[Information] Video
----[Information] ID:
----[Information] StreamOrder:
----[Information] Width: 1920
----[Information] Height: 1080
----[Information] FrameCount:
----[Information] FrameRate: 23.976
----[Information] ScanType: Progressive
----[Information] Codec: AVC
----[Information] CodecString: AVC
----[Information] Format: AVC
----[Information] AspectRatio: 1.778
----[Information] AspectRatioString: 16:9
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
--[Information] [5/04/2012 8:22:44 p.m.] MediaInfo
---[Information] File: D:\Star Wars VI Blue Ray Rip 1080p.track_4352.mp4
---[Information] General
----[Information] Format: MPEG-4
----[Information] FormatString: MPEG-4
----[Information] FileSize: 126175979
----[Information] PlayTime: 02:14:47.509
---[Information] Audio
----[Information] ID: 1
----[Information] StreamOrder:
----[Information] Format: AAC
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 24000
----[Information] SamplingRateString: 24.0 KHz
----[Information] Channels: 7
----[Information] ChannelsString: 7 channels
----[Information] ChannelPositionsString2:
----[Information] BitRateMode: VBR
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
--[Information] [5/04/2012 8:22:44 p.m.] Job commandline: "C:\MeGUI_2050_x86\tools\mkvmerge\mkvmerge.exe" -o "D:\Test\Star Wars VI Blue Ray Rip 1080p.track_4113-muxed.mkv" --engage keep_bitstream_ar_info --default-duration 0:24000/1001fps "--compression" "0:none" -d "0" --no-chapters -A -S "D:\Test\Star Wars VI Blue Ray Rip 1080p.track_4113.264" --aac-is-sbr 0:0 "--compression" "0:none" -a 0 --no-chapters -D -S "D:\Star Wars VI Blue Ray Rip 1080p.track_4352.mp4" --ui-language en
--[Information] [5/04/2012 8:22:44 p.m.] Muxing started
--[Warning] [5/04/2012 8:22:46 p.m.] A warning occurred: Warning: Quicktime/MP4 reader: Track 0 is missing some data. Broken header atoms?
--[Information] [5/04/2012 8:22:53 p.m.] Process exits with error code: -1
--[Information] [5/04/2012 8:22:53 p.m.] Standard output stream
---[NoImage] mkvmerge v5.2.1 ('A Far Off Place') built on Jan 2 2012 23:21:10
---[NoImage] 'D:\Test\Star Wars VI Blue Ray Rip 1080p.track_4113.264': Using the demultiplexer for the format 'AVC/h.264'.
---[NoImage] 'D:\Star Wars VI Blue Ray Rip 1080p.track_4352.mp4': Using the demultiplexer for the format 'QuickTime/MP4'.
---[NoImage] 'D:\Test\Star Wars VI Blue Ray Rip 1080p.track_4113.264' track 0: Using the output module for the format 'AVC/h.264'.
---[NoImage] The file 'D:\Test\Star Wars VI Blue Ray Rip 1080p.track_4113-muxed.mkv' has been opened for writing.
---[NoImage] 'D:\Test\Star Wars VI Blue Ray Rip 1080p.track_4113.264' track 0: Extracted the aspect ratio information from the MPEG-4 layer 10 (AVC) video data and set the display dimensions to 1920/1080.
--[Information] [5/04/2012 8:22:53 p.m.] Standard error stream
--[Information] Deleting aborted output
---[Information] [5/04/2012 8:22:53 p.m.] Delete aborted ouptut set: True
---[Information] [5/04/2012 8:22:53 p.m.] File to delete: D:\Test\Star Wars VI Blue Ray Rip 1080p.track_4113-muxed.mkv
---[Information] [5/04/2012 8:22:53 p.m.] File deleted
--[Information] [5/04/2012 8:22:53 p.m.] Job completed
--[Information] [5/04/2012 8:22:53 p.m.] Current job was aborted
-[Error] Log for job1 (mux, Star Wars VI Blue Ray Rip 1080p-muxed_track1_und.h264 -> Star Wars VI Blue Ray Rip 1080p-muxed_track1_und-muxed.mkv)
--[Information] [5/04/2012 8:23:35 p.m.] Started handling job
--[Information] [5/04/2012 8:23:35 p.m.] Preprocessing
--[Information] [5/04/2012 8:23:35 p.m.] MediaInfo
---[Information] File: D:\Star Wars VI Blue Ray Rip 1080p-muxed_track1_und.h264
---[Information] General
----[Information] Format: AVC
----[Information] FormatString: AVC
----[Information] FileSize: 1010862234
----[Information] PlayTime:
---[Information] Video
----[Information] ID:
----[Information] StreamOrder:
----[Information] Width: 1280
----[Information] Height: 720
----[Information] FrameCount:
----[Information] FrameRate: 23.976
----[Information] ScanType: Progressive
----[Information] Codec: AVC
----[Information] CodecString: AVC
----[Information] Format: AVC
----[Information] AspectRatio: 1.778
----[Information] AspectRatioString: 16:9
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
--[Information] [5/04/2012 8:23:35 p.m.] MediaInfo
---[Information] File: D:\Star Wars VI Blue Ray Rip 1080p.track_4352.mp4
---[Information] General
----[Information] Format: MPEG-4
----[Information] FormatString: MPEG-4
----[Information] FileSize: 126175979
----[Information] PlayTime: 02:14:47.509
---[Information] Audio
----[Information] ID: 1
----[Information] StreamOrder:
----[Information] Format: AAC
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 24000
----[Information] SamplingRateString: 24.0 KHz
----[Information] Channels: 7
----[Information] ChannelsString: 7 channels
----[Information] ChannelPositionsString2:
----[Information] BitRateMode: VBR
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
--[Information] [5/04/2012 8:23:35 p.m.] Job commandline: "C:\MeGUI_2050_x86\tools\mkvmerge\mkvmerge.exe" -o "D:\Star Wars VI Blue Ray Rip 1080p-muxed_track1_und-muxed.mkv" --engage keep_bitstream_ar_info --default-duration 0:24000/1001fps "--compression" "0:none" -d "0" --no-chapters -A -S "D:\Star Wars VI Blue Ray Rip 1080p-muxed_track1_und.h264" --aac-is-sbr 0:0 "--compression" "0:none" -a 0 --no-chapters -D -S "D:\Star Wars VI Blue Ray Rip 1080p.track_4352.mp4" --ui-language en
--[Information] [5/04/2012 8:23:35 p.m.] Muxing started
--[Warning] [5/04/2012 8:23:36 p.m.] A warning occurred: Warning: Quicktime/MP4 reader: Track 0 is missing some data. Broken header atoms?
--[Error] [5/04/2012 8:24:02 p.m.] Process exits with error code: 1
--[Information] [5/04/2012 8:24:02 p.m.] Standard output stream
---[NoImage] mkvmerge v5.2.1 ('A Far Off Place') built on Jan 2 2012 23:21:10
---[NoImage] 'D:\Star Wars VI Blue Ray Rip 1080p-muxed_track1_und.h264': Using the demultiplexer for the format 'AVC/h.264'.
---[NoImage] 'D:\Star Wars VI Blue Ray Rip 1080p.track_4352.mp4': Using the demultiplexer for the format 'QuickTime/MP4'.
---[NoImage] 'D:\Star Wars VI Blue Ray Rip 1080p-muxed_track1_und.h264' track 0: Using the output module for the format 'AVC/h.264'.
---[NoImage] The file 'D:\Star Wars VI Blue Ray Rip 1080p-muxed_track1_und-muxed.mkv' has been opened for writing.
---[NoImage] 'D:\Star Wars VI Blue Ray Rip 1080p-muxed_track1_und.h264' track 0: Extracted the aspect ratio information from the MPEG-4 layer 10 (AVC) video data and set the display dimensions to 1280/720.
---[NoImage] The cue entries (the index) are being written...
---[NoImage] Muxing took 26 seconds.
--[Information] [5/04/2012 8:24:02 p.m.] Standard error stream
--[Information] [5/04/2012 8:24:02 p.m.] Job completed

tebasuna51
5th April 2012, 20:16
D:\Star Wars VI Blue Ray Rip 1080p.track_4352.mp4
seems a track demuxed from a downloaded rip and can help you about this.

If you own the BD, try to convert other time the source audio to a more high bitrate, 128 Kb/s for a 7.1 is not enough, use, at least, Variable Bitrate Q=0.35, AAC Profile Automatic.

tonyymmao
6th April 2012, 00:09
D:\Star Wars VI Blue Ray Rip 1080p.track_4352.mp4
seems a track demuxed from a downloaded rip and can help you about this.

If you own the BD, try to convert other time the source audio to a more high bitrate, 128 Kb/s for a 7.1 is not enough, use, at least, Variable Bitrate Q=0.35, AAC Profile Automatic.
don't worry i own the blue ray, i just changed the name of it while ripping...
sorry but that's not much help since i'm no expert on configuring, i normally just use the presets...

darkw1zard
18th April 2012, 17:58
http://forum.videohelp.com/threads/344681-x64-MeGUI-DirectShowSource?p=2149546

So I have asked in videohelp before, but the problem has not been solved.
It's simple, it doesnt work quite well in my x64 system.
e.g. not respoding if i try to open via directshowsource, when open via fileindexer, it shows error (ext done, error for idx)

Those jobs meanwhile are working in my previous pc, x86 system.

Right now in x64, i no longer install any codec pack (based on videohelp forum suggest), i just install avisynth, run the standalone MeGUI, let it update.
The way I open videos is via Avisynth Script Creator.

Anybody can help? thanks.

Zathor
18th April 2012, 22:46
Please post your full log when you try to use the file indexer.

I can and will not support DirectShowSource(). There are too many constraints - especially in the x64 environment.

forum king
19th April 2012, 05:34
Hey matez !!
how you all doin ?

umm.. had a smallish query :
I have been trying to convert this 6 channelDTS file into a 6 channel AAC one preserving all the channels.
Somehow when the file is played on a standard 2 Channel it sounds pretty cracky as if channels are overlapping or something
can anyone point me what am i doing wrong here is the log

[Information] Log for job10 (audio, Latest.dts -> Latest.mp4)
-[Information] [4/18/2012 11:36:38 AM] Started handling job
-[Information] [4/18/2012 11:36:38 AM] Preprocessing
-[Information] [4/18/2012 11:36:38 AM] MediaInfo
--[Information] File: D:\ALL\Latest.dts
--[Information] General
---[Information] Format: DTS
---[Information] FormatString: DTS
---[Information] FileSize: 1051094956
---[Information] PlayTime: 01:32:49.637
--[Information] Audio
---[Information] ID:
---[Information] Format: DTS
---[Information] FormatProfile:
---[Information] FormatSettingsSBR:
---[Information] FormatSettingsPS:
---[Information] SamplingRate: 48000
---[Information] SamplingRateString: 48.0 KHz
---[Information] Channels: 6
---[Information] ChannelsString: 6 channels
---[Information] ChannelPositionsString2: 3/2/0.1
---[Information] BitRateMode: CBR
---[Information] Delay:
---[Information] Title:
---[Information] Language:
---[Information] LanguageString:
-[Information] [4/18/2012 11:36:38 AM] Trying to open the file with NicAudio
-[Information] [4/18/2012 11:36:38 AM] Successfully opened the file with

NicAudio
-[Information] [4/18/2012 11:36:39 AM] Avisynth script
--[NoImage] LoadPlugin("D:\ALL.STUFF\something.extra.for.mystuff\backupstuff

\Updated.19-12-11\tools\avisynth_plugin\NicAudio.dll")
--[NoImage] NicDtsSource("D:\ALL\Latest.dts", DRC=1)
--[NoImage] Normalize()
--[NoImage] return last
-[Information] [4/18/2012 11:36:39 AM] Commandline used: -ignorelength -lc -br

128000 -if - -of "{0}"
-[Information] [4/18/2012 11:36:39 AM] Encoding started
-[Information] [4/18/2012 11:36:39 AM] Avisynth script environment opened
-[Information] [4/18/2012 11:36:39 AM] Script loaded
-[Information] Output Decoder
--[Information] [4/18/2012 11:36:39 AM] Channels: 6
--[Information] [4/18/2012 11:36:39 AM] Bits per sample: 32
--[Information] [4/18/2012 11:36:39 AM] Sample rate: 48000
-[Information] [4/18/2012 11:36:39 AM] Commandline: D:\ALL.STUFF

\something.extra.for.mystuff\backupstuff\megui.newest.2-2-11\tools\win32-

OLDER\neroAacEnc.exe -ignorelength -lc -br 128000 -if - -of "D:\ALL

\Latest.mp4"
-[Information] [4/18/2012 11:36:39 AM] Encoder process started
-[Information] [4/18/2012 11:51:11 AM] Output from encoder via stderr
--[NoImage] *************************************************************
--[NoImage] * *
--[NoImage] * Nero AAC Encoder *
--[NoImage] * Copyright 2009 Nero AG *
--[NoImage] * All Rights Reserved Worldwide *
--[NoImage] * *
--[NoImage] * Package build date: Feb 18 2010 *
--[NoImage] * Package version: 1.5.4.0 *
--[NoImage] * *
--[NoImage] * See -help for a complete list of available parameters. *
--[NoImage] * *
--[NoImage] *************************************************************
-[Information] [4/18/2012 11:51:11 AM] MediaInfo
--[Information] File: D:\ALL\Latest.mp4
--[Information] General
---[Information] Format: MPEG-4
---[Information] FormatString: MPEG-4
---[Information] FileSize: 85821122
---[Information] PlayTime: 01:32:52.480
--[Information] Audio
---[Information] ID: 1
---[Information] Format: AAC
---[Information] FormatProfile: LC
---[Information] FormatSettingsSBR: No (Explicit)
---[Information] FormatSettingsPS:
---[Information] SamplingRate: 48000
---[Information] SamplingRateString: 48.0 KHz
---[Information] Channels: 6
---[Information] ChannelsString: 6 channels
---[Information] ChannelPositionsString2: 3/2/0.1
---[Information] BitRateMode: VBR
---[Information] Delay:
---[Information] Title:
---[Information] Language:
---[Information] LanguageString:
-[Information] [4/18/2012 11:51:11 AM] Postprocessing
--[Information] Deleting intermediate files
-[Information] [4/18/2012 11:51:11 AM] Job completed

regards

darkw1zard
19th April 2012, 09:37
Please post your full log when you try to use the file indexer.

I can and will not support DirectShowSource(). There are too many constraints - especially in the x64 environment.

This:

-[Information] FileIndexer
--[Information] [19/4/2012 4:33:31 PM] MediaInfo
---[Information] File: J:\JIN (2009)\JIN E08 [720p H.264 AAC].mkv
---[Information] General
----[Information] Format: Matroska
----[Information] FormatString: Matroska
----[Information] FileSize: 1786173040
----[Information] PlayTime: 00:46:27.284
---[Information] Video
----[Information] ID: 1
----[Information] StreamOrder: 0
----[Information] Width: 1280
----[Information] Height: 720
----[Information] FrameCount: 83535
----[Information] FrameRate: 29.970
----[Information] ScanType: Progressive
----[Information] Codec: V_MPEG4/ISO/AVC
----[Information] CodecString: AVC
----[Information] Format: AVC
----[Information] AspectRatio: 1.778
----[Information] AspectRatioString: 16:9
----[Information] Delay: 0
----[Information] Title:
----[Information] Language: en
----[Information] LanguageString: English
---[Information] Audio
----[Information] ID: 2
----[Information] StreamOrder: 1
----[Information] Format: AAC
----[Information] FormatProfile: LC
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2: 2/0/0
----[Information] BitRateMode:
----[Information] Delay: 15
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
--[Information] [19/4/2012 4:33:31 PM] MkvInfo
---[NoImage] + EBML head
---[NoImage] |+ Doc type: matroska
---[NoImage] |+ Doc type version: 2
---[NoImage] |+ Doc type read version: 2
---[NoImage] + Segment, size 1786173004
---[NoImage] |+ Seek head (subentries will be skipped)
---[NoImage] |+ EbmlVoid (size: 4044)
---[NoImage] |+ Segment information
---[NoImage] | + Timecode scale: 1000000
---[NoImage] | + Muxing application: libebml v0.7.7 + libmatroska v0.8.1
---[NoImage] | + Writing application: mkvmerge v2.9.7 ('Tenderness') built on Jul 1 2009 18:43:35
---[NoImage] | + Duration: 2787.284s (00:46:27.284)
---[NoImage] | + Date: Mon Nov 30 16:56:00 2009 UTC
---[NoImage] | + Segment UID: 0x82 0xcf 0xe6 0x28 0x3e 0xf2 0x91 0xfd 0x8d 0x7c 0x2d 0xeb 0xeb 0xdf 0x0f 0x41
---[NoImage] |+ Segment tracks
---[NoImage] | + A track
---[NoImage] | + Track number: 1
---[NoImage] | + Track UID: 1
---[NoImage] | + Track type: video
---[NoImage] | + Enabled: 1
---[NoImage] | + Default flag: 1
---[NoImage] | + Forced flag: 0
---[NoImage] | + Lacing flag: 0
---[NoImage] | + MinCache: 1
---[NoImage] | + Timecode scale: 1
---[NoImage] | + Max BlockAddition ID: 0
---[NoImage] | + Codec ID: V_MPEG4/ISO/AVC
---[NoImage] | + Codec decode all: 1
---[NoImage] | + CodecPrivate, length 39 (h.264 profile: High @L4.1)
---[NoImage] | + Default duration: 33.367ms (29.970 fps for a video track)
---[NoImage] | + Language: eng
---[NoImage] | + Video track
---[NoImage] | + Pixel width: 1280
---[NoImage] | + Pixel height: 720
---[NoImage] | + Interlaced: 0
---[NoImage] | + Display width: 16
---[NoImage] | + Display height: 9
---[NoImage] | + A track
---[NoImage] | + Track number: 2
---[NoImage] | + Track UID: 200851890
---[NoImage] | + Track type: audio
---[NoImage] | + Enabled: 1
---[NoImage] | + Default flag: 1
---[NoImage] | + Forced flag: 0
---[NoImage] | + Lacing flag: 1
---[NoImage] | + MinCache: 0
---[NoImage] | + Timecode scale: 1
---[NoImage] | + Max BlockAddition ID: 0
---[NoImage] | + Codec ID: A_AAC
---[NoImage] | + Codec decode all: 1
---[NoImage] | + CodecPrivate, length 2
---[NoImage] | + Default duration: 21.333ms (46.875 fps for a video track)
---[NoImage] | + Language: und
---[NoImage] | + Audio track
---[NoImage] | + Sampling frequency: 48000
---[NoImage] | + Channels: 2
---[NoImage] |+ EbmlVoid (size: 1024)
---[NoImage] |+ Cluster
-[Information] Log for job13 (ext, JIN E08 [720p H.264 AAC].mkv -> )
--[Information] [19/4/2012 4:33:33 PM] Started handling job
--[Information] [19/4/2012 4:33:33 PM] Preprocessing
--[Information] [19/4/2012 4:33:33 PM] Job commandline: "A:\MeGUI Latest\tools\mkvmerge\mkvextract.exe" tracks "J:\JIN (2009)\JIN E08 [720p H.264 AAC].mkv" --ui-language en 1:"J:\JIN (2009)\JIN E08 [720p H.264 AAC] - [2] .aac"
--[Information] [19/4/2012 4:33:33 PM] Extracting started
--[Information] [19/4/2012 4:34:39 PM] Standard output stream: Extracting track 1 with the CodecID 'A_AAC' to the file 'J:\JIN (2009)\JIN E08 [720p H.264 AAC] - [2] .aac'. Container format: raw AAC file with ADTS headers
--[Information] [19/4/2012 4:34:39 PM] Standard error stream
--[Information] [19/4/2012 4:34:39 PM] Postprocessing
---[Information] Deleting intermediate files
--[Information] [19/4/2012 4:34:39 PM] Job completed
-[Error] Log for job14 (idx, JIN E08 [720p H.264 AAC].mkv -> JIN E08 [720p H.264 AAC].mkv.ffindex)
--[Information] [19/4/2012 4:34:39 PM] Started handling job
--[Information] [19/4/2012 4:34:39 PM] Preprocessing
--[Information] [19/4/2012 4:34:39 PM] Job commandline: "A:\MeGUI Latest\tools\ffms\ffmsindex.exe" -t -1 -f "J:\JIN (2009)\JIN E08 [720p H.264 AAC].mkv"
--[Information] [19/4/2012 4:34:39 PM] Indexing started
--[Error] [19/4/2012 4:34:45 PM] Process exits with error code: 1
--[Information] [19/4/2012 4:34:45 PM] Standard output stream: Indexing error: Audio decoding error
--[Information] [19/4/2012 4:34:45 PM] Standard error stream
--[Information] [19/4/2012 4:34:45 PM] Job completed

Thanks!

tebasuna51
19th April 2012, 09:48
... it sounds pretty cracky as if channels are overlapping or something
can anyone point me what am i doing wrong?

Force LC with 128 Kb/s for a 6 channels audio.

If you want LC use at least VBR quality 0.35.
If you want 128 Kb/s use HE.

darkw1zard
19th April 2012, 13:48
-ok! sorry i didnt read the rules! -

darkw1zard
19th April 2012, 13:48
-ok! sorry i didnt read the rules! -

Guest
19th April 2012, 14:20
@darkw1zard

No discussion of downloaded torrent files! Please read and follow our forum rules.

@all

Provide no further help on darkw1zard's issue.

hello_hello
19th April 2012, 21:29
@darkw1zard
No discussion of downloaded torrent files! Please read and follow our forum rules.
@all
Provide no further help on darkw1zard's issue.

A plea on darkw1zard's behalf (although maybe I've missed some of the action as he's edited a couple of his posts):

http://forum.videohelp.com/threads/344681-x64-MeGUI-DirectShowSource?p=2149546
darkw1zard posted regarding his problem using MeGUI in another forum and when he PM'd me and I couldn't help him, I sent him here as I thought Zathor probably could.

No doubt he joined the forum then had to wait 5 days to even ask about his problem, so maybe as he's a new member instead of just turning him away he could be given a break? Maybe darkw1zard could be allowed to post a different log file or replace the current one in order for sometime to help him get MeGUI working properly (or a mod could edit it for him)? It seems a pity for a new member not to be able to receive help with a software issue simply because he wasn't aware of the rules and made the mistake of posting the wrong log file, because he's trying to fix MeGUI, not get help converting a particular file as such.

Octo-puss
19th April 2012, 22:06
Ok I have two equally stupid questions:
1) Can you recommend approximate sufficient bitrate for encoding a DVD into x264?

2) I haven't touched this stuff for about 4 years and forgot absolutely everything I knew back then, and have major problems creating the AVS script correctly. The DVD I have is clearly anamorphic (it plays in widescreen), but I can't make the script creator preview in correct AR no matter what I do. Input DAR shows ITU 16:9 PAL (1.823361), so I assume I need to hit Clever anamorphic encoding. No matter what I check, the preview window still shows the video wrong. What do I do?

hello_hello
20th April 2012, 00:46
1. Use quality based, single pass encoding with a CRF value of 18 to 22 (the higher the value, the lower the quality). Forget about bitrates. Around 18 is considered to be "transparent".

2. The preview window which opens when using the script creator doesn't display the correct aspect ratio. After you save the script a new preview window will open (I think MeGUI has an option to disable or enable it from doing so) and the second preview window has a checkbox for displaying the aspect ratio correctly. I've never quite understood why the first preview window doesn't have the same option. I guess there must be a reason.

MeGUI also has an option which you can uncheck to stop it using ITU resizing by default. There's also an acceptable aspect error option which effects anamorphic encoding and is set to 2% by default. I generally change it to 0%.

Octo-puss
20th April 2012, 07:32
Ah ok. I unclearly rememember I used to use automated 2pass back then.
I also dug a text file with assorted tips up where I had a note about some parameter called --sar, which I passed to x264 encoder, which apparently did something with the AR.

Man this is so frustrating, I read the basic MeGUI guide on the wiki and I still struggle with this big time.

flebber
20th April 2012, 07:40
Ah ok. I unclearly rememember I used to use automated 2pass back then.
I also dug a text file with assorted tips up where I had a note about some parameter called --sar, which I passed to x264 encoder, which apparently did something with the AR.

Man this is so frustrating, I read the basic MeGUI guide on the wiki and I still struggle with this big time.

The good news is that its been substantially simplified. As stated select X264 CRF 18 and then choose one of two presets speed Fast/Medium/Slow etc and material based Film/Anime etc.

Unless there is something wrong with the DVD your are set to go using the oneclick encoder(this too is available in a separate thread) soon to be added to dev.

LigH
20th April 2012, 07:54
If you hit "Clever anamorphic", MeGUI keeps the video anamorphic (= horizontally squeezed) and won't change its dimensions. The video will be encoded with the original, unaltered width and height, the resulting container will just get an SAR or DAR flag added so that the final output file will be deskewed by the media player (so it won't work with RAWAVC output, you would have to add the aspect ratio flag again while multiplexing).

If you want the video deskewed already in the preview of the "AVS script creator", do not check "Clever anamorphic". Instead, select the correct "Input DAR", set the "Resize" target dimensions, then check "Apply auto Preview" and wait a few seconds. You should not add the SAR parameter manually.

By the way, the ITU DAR is not always the correct one. It was based on cathode ray tube TV signal timings. DVD productions based on film scans are not certain to still respect those. The only "quite certain" 720 pixel wide ITU sources may be (mostly 4:3) TV captures with obvious soft black left and right borders, with a width of 8-9 pixels. Academy format or Cinemascope movies instead were possibly scaled with generic 16:9 DAR. The only certain way to discover it is to find a scene with a perfect sphere and measure its width and height in the video.

Octo-puss
20th April 2012, 08:00
2. The preview window which opens when using the script creator doesn't display the correct aspect ratio. After you save the script a new preview window will open (I think MeGUI has an option to disable or enable it from doing so) and the second preview window has a checkbox for displaying the aspect ratio correctly. I've never quite understood why the first preview window doesn't have the same option. I guess there must be a reason.

MeGUI also has an option which you can uncheck to stop it using ITU resizing by default. There's also an acceptable aspect error option which effects anamorphic encoding and is set to 2% by default. I generally change it to 0%.
Well it's still only a preview. No matter what I did there the result was stretched :P Is there anything I can do else besides setting SAR then?

What's ITU anyway? Or what is it good for?

edit: thanks LigH, I will try it again.

Octo-puss
20th April 2012, 08:10
There is something more. I am not quite sure I understand the LAME settings. What exactly does "Preferred decoder" do? Normalizing I never touched and probably never will... And since this is a bit different from regular music, is there any benefit in using VRB in movies? I assume the value I'd set here would be the average bitrate? I usually use LameXP and it just has a slider which is responsible for quality, so this is a bit confusing too.

LigH
20th April 2012, 08:26
There are different audio decoders too. Depending on the audio source format (elementary or multiplexed, specific encoded audio format), there may be advantages or disadvantages (e.g. the ability to access it, configurability, reliability, precision).

Normalizing ensures that the volume gain will be optimized to avoid clipping, so it should in general be useful. Keep it a little below 100% (e.g. 98%). Downmixed multichannel audio (e.g. 5.1 AC3 down to stereo/ProLogic-surround for MP3) may still sound a bit quiet, you can boost it if you "Apply DynamicRangeCompression".

Regarding quality, VBR is in general preferable. Modern container formats can easily handle VBR audio (and correctly done, even AVI will). The ABR mode will make the bitrate vary only slightly around the average bitrate chosen. The VBR mode allows a freely varying bitrate with a quality factor, as you are used from LameXP. In case of doubt, download the "LAME bundle" from RareWares and read the LAME manual.

Octo-puss
20th April 2012, 08:43
Oh I do know what VBR is, I have a bit more experience making my own mp3s than working with video :) I managed to realize what the number in VBR box was - not any bitrate but actually the 0-9 quality setting, lol. This is what I get for trying to learn stuff too early in the morning :P
I don't understand the normalization though. I ran into it years ago with mp3 stuff and back then people told me it's used to make all songs equally loud. Guess I had it wrong. I admit I am no audio nerd at all. Just a regular guy who wants to rip a couple of his movies. I don't understand 80% of all the terms used here, sadly.

LigH
20th April 2012, 09:39
Indeed, "Normalization" is not "Equal loudness". It means only: "Make it as loud as possible without messing it up"; but it maximizes only the one loudest sample, no matter how loud the average is.

Especially when downmixing multichannel audio, it is quite necessary. The "trivial" downmix approach is: Theoretically, all six channels could have a maximum at the same sample. So to certainly avoid clipping (overdriving the sound beyond the maximum allowed value), divide all channels by 6 before mixing it to the new left and right channels. Practically, a maximum in all six channels quite certainly never happens. Therefore the weighted channel sums will most probably contain a quite low volume if they were divided by 6 before mixing the channels.

Normalizing in 2 passes first scans the whole audio for the loudest part (so it will take a few minutes before the audio conversion starts with an obvious progress), adjusts a gain factor, and multiplies the downmix so that the loudest sample will just even reach the value you entered.

Dialogs may still sound quiet if there are severe differences to audio effect loaded scenes (like explosions). So you may wish that quiet parts would be amplified more than already extremely loud parts. The "Dynamic Range Compression" does that. Most of current mainstream music is dynamically compressed to make it sound loud, louder, loudest... in contrast to movies where you can sometimes hardly understand people talking in between action scenes.

hello_hello
20th April 2012, 10:39
Ah ok. I unclearly rememember I used to use automated 2pass back then.
I also dug a text file with assorted tips up where I had a note about some parameter called --sar, which I passed to x264 encoder, which apparently did something with the AR.

Man this is so frustrating, I read the basic MeGUI guide on the wiki and I still struggle with this big time.

MeGUI possibly has a bit more of a learning curve than other GUIs, but I think it's worth it.
How did you pass --sar to x264? Maybe that's your problem, There's no need to add any aspect ratio info manually as MeGUI does it for you. If you're using anamorphic encoding, as you crop you can switch over to the Script tab (AVS script creator) and watch the aspect ratio being set by MeGUI change. It should change any time you crop if you have the acceptable aspect error option set to 0%.

Using X264 single pass CRF encoding is all the rage these days. The only advantage to using 2 pass encoding is you can hit a particular file size. If you prefer to encode to a particular quality instead, use single pass CRF encoding. When setting up the encoder you'd select the "Targeting Quality" or "Constant Quality" option (it's the same thing but labelled differently if you tick the "advanced settings" box) and the number in the "Quality" field is the CRF value.

Well it's still only a preview. No matter what I did there the result was stretched :P Is there anything I can do else besides setting SAR then?

What's ITU anyway? Or what is it good for?

edit: thanks LigH, I will try it again.

So after you save the AVS script and the second preview window opens, are you saying if you check the "display aspect ratio" box at the bottom (or whatever it says, it's something similar) the aspect ratio is still wrong? It shouldn't be. Don't add any aspect ratio info yourself and it should be fine.
I'm not really sure what you mean by "it's still only a preview".

ITU is the "official" way to resize a DVD. Using the ITU method 16:9 and 4:3 DVDs aren't exactly 16:9 or 4:3. You can tell MeGUI not to use ITU resizing, or manually change the input aspect ratio to 16:9 or 4:3. The difference isn't all that great, but in my humble opinion most DVDs don't use ITU resizing.

Octo-puss
20th April 2012, 12:57
I got it now. I just hit clever anamorphic, resize mod16, and surprisingly this time the result is 16:9. I guess I overlooked something before.
I am impressed at x264 btw. It's so much more simple now. I just hit CRF18, very slow, film tuning, and the bloody DVD looks BETTER on the encode than the original. LOL! This might change for HD stuff though, of course.
But. Disk space is generally not an issue these days, but this stuff was 1.7GB before, encode came up at slightly over 700MB. I am thinking whether this is not a bit of an overkill. 2 hours movie might get ridiculously big. Gotta try soon.


Normalizing in 2 passes first scans the whole audio for the loudest part (so it will take a few minutes before the audio conversion starts with an obvious progress), adjusts a gain factor, and multiplies the downmix so that the loudest sample will just even reach the value you entered.

Dialogs may still sound quiet if there are severe differences to audio effect loaded scenes (like explosions). So you may wish that quiet parts would be amplified more than already extremely loud parts. The "Dynamic Range Compression" does that. Most of current mainstream music is dynamically compressed to make it sound loud, louder, loudest... in contrast to movies where you can sometimes hardly understand people talking in between action scenes.
Hmm. So are you saying it's probably not a bad thing to just normalize everything? I noticed the volume contrast between action scenes and regular dialogues in LOTS of movies, and it was bloody annoying!

bamsebo
20th April 2012, 13:05
Unless you have a good reason to I never touch the audio. I encode the video (I always base mine on DXVA template quality 20 , slow either HD or SD depending on source, output device in WDTV which is what I use for viewing ) Click the auto encode button and use "No target Size (use profile settings)" and tick the Add "additional content" click Save then add the original audio file that was demuxed during indexing. Have done all my DVDs and HDTV recordings like that for a while and never had a bad encode. Barry

LigH
20th April 2012, 13:13
The optimum is probably not to convert an AC3 audio track from DVD at all, but to copy it into the converted video. Most players, even consumer sets, can handle AC3 audio in most of their supported container formats.

But if you insist in converting to MP3 (and may it be only due to the smaller size), the normalization will be very recommendable for the case that multichannel audio has to be downmixed. If the original audio track has only two channels (DD 2.0, possibly with Pro-Logic surround already), not much changing is required instead, even normalization may be omitted here.

Octo-puss
20th April 2012, 13:35
Yea that's exactly what I did in several cases back then, I don't believe in multi channel anyway, I am a fan of classical stereo, and luckily most movies still have such track available, so unless it was really huge I just muxed it in as it was.
For other cases I am not sure what bitrate should I go for though. V0 produces pretty much the same size mp3, which kills the purpose :P

bamsebo
20th April 2012, 13:50
On the other hand I do enjoy 5.1 sound now that most our HDTV broadcasts have a 5.1 channel :)

If I have to re-encode the audio 2.0 or 5.1 I use AAC or AC3 as the Samsung TV doesn't support streamed MKV so I have to mux it into an MP4 container with AAC sound. I try to keep the bit-rate "as is" as the amount of HDD space you save is minimal (unless you convert DTS or PCM to AAC!) There's no reason to increase the bit-rate (You can't put back what's not there) But for me the bottom line is how doest it sound on my playback devices?

LigH
20th April 2012, 13:51
LAME has presets too, but they are almost obsolete now because the default options pretty much cover them as well, and the "fast" modifier selects the superior new VBR mode today. The most common presets were:

--preset fast standard = -V 2 (suitable for mostly "transparent" quality music)
--preset fast medium = -V 5 (suitable for leisure background music, similar to FM radio)

MeGUI uses a default of "-V 4" in its "LAME *scratchpad*", so I believe it is good enough for mostly human voice and environment noise, as usual in movie audio tracks.
__

If you prefer 2-channel sound, and your DVD contains a 2.0 DD track, prefer this one over downmixing a 5.1 DD track! It is probably already Pro-Logic matrix surround encoded, which gives a remaining rest of surround sound where a decoder is available, but even preserves a little bit of ambient sound even if you have only stereo speakers.

If you have only a discrete 5.1 DD track, then downmix it using the "Pro-Logic II" option, with normalization and possibly even DRC. If you don't like MeGUI doing that, GUIs for BeSweet and alternatives (e.g. BeSweetGUI, BeLight and HeadAC3he) give also access to my "Boost" compressor; use only either this or the AC3 decoder DRC!
__

:o Gosh, are we already off-topic...

Octo-puss
21st April 2012, 08:28
Well I basically use either V0 or V2, but apparently for movies it's a bit of an overkill - for DVDs at least.
And I realized I neded new PC badly. Core2Duo took over TWO HOURS to encode 40 mins of video! Yuck! Gotta punish my wife's i3 during nights it seems :P

flebber
21st April 2012, 09:56
Well I basically use either V0 or V2, but apparently for movies it's a bit of an overkill - for DVDs at least.
And I realized I neded new PC badly. Core2Duo took over TWO HOURS to encode 40 mins of video! Yuck! Gotta punish my wife's i3 during nights it seems :P

2 hours would be bad I guess if you were using the x264 default prest. I use slow and a DVD usually takes about 3-4 hours depending on length.

For mp3 I wouldn't use lower than v2, but with AAC being well well supported is there a reason you don't use that? IMO better quality and size than mp3.

Octo-puss
21st April 2012, 15:54
Well, which settings should I use then? I don't mind it taking time. I once encoded bluray movie. It took four days :D

LigH
21st April 2012, 16:02
Mode: 1-pass Quality; your personal CRF threshold, test it!
Preset: usually not much slower than "slow"
Tuning: related to your movie content (film = average,reality / animation = cartoon,anime / grain = noise-on-purpose)
Device: if you need compatibility restrictions (Blu-ray limits encoding complexity)

AAC audio works well together with AVC video in the MP4 (or MKV) container. The Nero AAC Encoder used to be one of the best, but the QuickTime AAC routines seem to be slightly superior now (let's hope MeGUI will support qaac too, but that requires QuickTime or iTunes installed). Both easily surpass any MP3 encoder regarding the quality/size relation, and support multichannel audio at all too.

Atak_Snajpera
21st April 2012, 21:11
regarding aac. even fhg aac is better than nero.

tebasuna51
22nd April 2012, 12:20
The Nero AAC Encoder used to be one of the best, but the QuickTime AAC routines seem to be slightly superior now.
-------------------------------------------------
regarding aac. even fhg aac is better than nero.

Only tested with stereo and low bitrates.

And can't be included in MeGUI because licenses.

LigH
22nd April 2012, 12:47
Well, the difference between Nero, QT and FhG encoders is rather low, compared to the magnitude to FAAC, as far as I remember the results from Roberto Amorim. So I doubt it would be urgent to switch. And as long as MeGUI can handle pre-converted AAC files, I still have a choice, even if not under one covering GUI.

djmasturbeat
28th April 2012, 04:37
i hadn't used MeGUI in a bit, but when i did I got usual updates along with one that caught my eye, pgcdemux.
i looked in log and see this:
2135 [PGC Demux] added pgcdemux for DVD PGC processing

but my question is where do i access this from?
this is a great tool to implement into MeGUI, but I can't seem to find it. it isn't in the tools drop-down list or anywhere else that I can find.

please guide me, thanks

Zathor
28th April 2012, 09:34
At the moment it is only available here:
http://forum.doom9.org/showthread.php?t=163399

neveja
29th April 2012, 19:10
Zathor
Are you planning update to Xvid 132?

Sorry for my bad English.
Thanks!

Zathor
30th April 2012, 12:23
As soon as there is a xvid_encraw which supports XVID 1.3x and AVI files > 2GB I will update it. But I fear that this will never happen.

neveja
30th April 2012, 17:49
Zathor
Thanks. I reported the developers.
Quote:

I have problem.. Xvid 1.3.2 can't create output files bigger than 2 Gb. I've just tested it. How to fix this problem?

Discussion:
http://forum.doom9.org/archive/index.php/t-162990.html
http://forum.doom9.org/showthread.php?p=1572310#post1572310

I would be very grateful if you could help solve this problem.
Sorry for my bad English.
Thanks in advance.

Regards, Dmitry )

Hi,

thanks for your message. From the links you sent, I don't think that there
is a problem with Xvid 1.3.x. It's just that in general, AVI 1.0 files
simply cannot be larger than 2 GB by design.

And xvid_encraw produces AVI 1.0 output because it uses Microsoft's AVIFile
API under Windows to write AVI files. But it always did like this (also in
older versions than 1.3.x). AVIFile unfortunately supports only AVI 1.0,
so the AVI output from xvid_encraw cannot be larger than 2 GB.

If you want AVI files larger than 2 GB, you need to mux them into AVI 2.0,
aka "OpenDML", format. You can achieve this by encoding your video with
xvid_encraw into a raw MPEG-4 elementary stream ("-o output.m4v"; do not
use "-avi" option). After encoding, you can then mux the video stream
(e.g. "output.m4v") together with your audio track into an OpenDML AVI
using a separate muxing tool like Avi-Mux GUI:


The resulting AVI file can then be larger than 2 GB.

Some GUI tools can automatize the above workflow. I'd expect that megui
would do this too but I don't know the internals of megui at all. So I
can't tell why megui doesn't work anymore as expected after replacing
its bundled (older) xvid_encraw with xvid_encraw from v1.3.2. My guess is
that the (older) xvid_encraw binary bundled with megui had some custom
modification, which megui relies on. In this case, megui would need to
be updated to work with newer versions of xvid_encraw...

It is basically possible to implement OpenDML AVI also in xvid_encraw
directly. However to do so, we'd need to write our own AVI muxer. This
would bloat xvid_encraw's source code pretty much. And xvid_encraw is
mainly intended to be an example app, so its code should be simple.

Further, because xvid_encraw does not support audio encoding, you'll
still need to remux its output again anyway to add in your audio track.
So I think it's really most convenient to encode to a MPEG-4 elementary
stream ("-o output.m4v") and then remux (and also add audio) with an
OpenDML capable AVI muxing tool like Avi-Mux GUI if you need >2GB AVI.

Best regards,
Michael
original - http://img801.imageshack.us/img801/5821/xvidu.png

kalehrl
30th April 2012, 18:50
Zathor
Are you planning update to Xvid 132?

Sorry for my bad English.
Thanks!

It is possible to use xvid 1.3.2 in megui without it being officially supported.
Just replace existing xvid_encraw.exe and xvidcore.dll with files from 1.3.2 version. Also make sure you select 'none' in HVS masking and maybe add -masking 2 in 'custom command line' to be able to use VAQ (it is off by default I think).

http://i49.tinypic.com/vzecsi.png

http://i47.tinypic.com/2mmzb02.png

But new xvid is some 30% slower than 1.2.1, at least on my set-up.

neveja
30th April 2012, 19:56
kalehrl
Bad idea. Old aviwriter.dll are not supported of new build Xvid (xvid_encraw.exe)

Gspot - http://img641.imageshack.us/img641/3673/gspote.png
Avinaptic - http://img545.imageshack.us/img545/4044/avinaptic.png

aegisofrime
1st May 2012, 05:04
Doesn't look like anyone has reported this bug yet.

Starting with rev 2144 I have had trouble with the audio portion of WMV files using one click processing.

I get the following error:

---[Error] [5/1/2012 12:01:59 PM] Exception message: starting job failed with error 'Required file 'G:\To Process\Test - [0].WMA.unknown' is missing.'
---[Error] [5/1/2012 12:01:59 PM] Stacktrace: at MeGUI.core.gui.JobWorker.startEncoding(TaggedJob job)
---[Error] [5/1/2012 12:01:59 PM] Inner exception: null

The file is there, but it looks like the ".unknown" is being mistakenly appended to the end of the filename?

Happens with all the .WMV files I have, but not other formats (eg .mkv or .mp4)

kalehrl
1st May 2012, 08:59
kalehrl
Bad idea. Old aviwriter.dll are not supported of new build Xvid (xvid_encraw.exe)

Gspot - http://img641.imageshack.us/img641/3673/gspote.png
Avinaptic - http://img545.imageshack.us/img545/4044/avinaptic.png

After muxing the audio with the avi, that 'error' will disappear.
You can erase aviwriter.dll if you use xvid 1.3.2.
It is not needed.

Penecho
1st May 2012, 10:27
Hey guys, i cant start my MeGui anymore... worked yesterday, when i tried to start it today, nothing happens, no error message nothing, just wont start :(

Already tried redownloading, but that version also doesnt start :(

Anyone ever had that before or knows what could be the problem?

Zathor
1st May 2012, 13:50
Doesn't look like anyone has reported this bug yet.Starting with rev 2144 I have had trouble with the audio portion of WMV files using one click processing.
Thanks, fixed in 2147 (online now).

Hey guys, i cant start my MeGui anymore... worked yesterday, when i tried to start it today, nothing happens, no error message nothing, just wont start :(
Download MeGUI (latest stable - http://sourceforge.net/projects/megui/files/latest) and extract it to a new and empty directory. Does it still not open?

Penecho
1st May 2012, 16:20
Download MeGUI (latest stable - http://sourceforge.net/projects/megui/files/latest) and extract it to a new and empty directory. Does it still not open?

Yeps i did that, and yes its still not starting

LigH
1st May 2012, 16:28
Try to watch the processes e.g. using ProcessExplorer while starting it. It happened to me once that the .NET compiler kept starting over and over.

tfa
2nd May 2012, 01:41
I keep on getting an error while trying to encode Planet Terror. No other movies give me any problems. I've tried re-ripping the movie with dvd decrypter and dvdfab. Makes no difference.

This is the error portion of the log

[Error] [5/1/2012 8:22:12 PM] An error occurred: avs4x264 [info]: "C:\Program Files (x86)\MeGUI\tools\x264\x264_64" - --level 4.1 --tune film --pass 1 --bitrate 2510 --stats "D:\Rips To Encode\Planet Terror\MainMovie\PLANET_TERROR\VIDEO_TS\VTS_01_1.stats" --keyint 240 --zones 143350,151848,q=40 --sar 1073:880 --output NUL --frames 151849 --fps 24000/1001 --input-res 704x464 --input-csp i420


I've tried different crop settings, nothing changes it. Same error every time. Using the latest development version of megui with all updates (this happened in older versions as well).

Zathor
2nd May 2012, 11:11
Please post the full log. The error message appears to be missing.

Penecho
2nd May 2012, 15:20
Try to watch the processes e.g. using ProcessExplorer while starting it. It happened to me once that the .NET compiler kept starting over and over.

I cant see anything suspicious in ProcessExplorer... is there a way to check if my .NET framework is installed correct?

tfa
2nd May 2012, 22:16
Please post the full log. The error message appears to be missing.

Here's the full log, thanks!

[Error] Log
-[Information] Versions
--[Information] [5/2/2012 9:29:01 AM] MeGUI: 2147 (svn)
--[Information] [5/2/2012 9:29:01 AM] Operating System: Windows 7 x64 SP1 (6.1.65536.7601)
--[Information] [5/2/2012 9:29:01 AM] .Net Framework: 4.0 (4.0.30319)
--[Information] [5/2/2012 9:29:01 AM] AviSynth: 2.5.8.5 (12/21/2008 9:46:54 PM)
--[Information] [5/2/2012 9:29:01 AM] AvisynthWrapper: 1/2/2009 8:34:04 PM
--[Information] [5/2/2012 9:29:01 AM] ICSharpCode.SharpZipLib: 0.85.5.452 (8/8/2008 2:31:12 AM)
--[Information] [5/2/2012 9:29:01 AM] LinqBridge: 1.0.0.0 (5/28/2009 7:24:34 AM)
--[Information] [5/2/2012 9:29:01 AM] MediaInfo: 0.7.56.0 (4/9/2012 7:55:13 AM)
--[Information] [5/2/2012 9:29:01 AM] MediaInfoWrapper: 0.7.53.0 (1/27/2012 5:42:16 PM)
--[Information] [5/2/2012 9:29:01 AM] MessageBoxExLib: 1.0.2218.28317 (12/20/2008 2:53:04 AM)
--[Information] [5/2/2012 9:29:01 AM] SevenZipSharp: 0.64.3890.29348 (1/2/2011 4:59:32 PM)
--[Information] [5/2/2012 9:29:01 AM] 7z: 9.20 (11/18/2010 10:27:34 PM)
-[Information] Update detection
--[Information] [5/2/2012 9:29:01 AM] Connecting to server: http://megui.org/auto/
--[Information] [5/2/2012 9:29:01 AM] All files are up to date
-[Information] FileIndexer
--[Information] [5/2/2012 9:29:29 AM] MediaInfo
---[Information] File: D:\Rips To Encode\Planet Terror\MainMovie\PLANET_TERROR\VIDEO_TS\VTS_01_1.VOB
---[Information] DVD source detected. Using IFO file: D:\Rips To Encode\Planet Terror\MainMovie\PLANET_TERROR\VIDEO_TS\VTS_01_0.IFO
---[Information] General
----[Information] Format: MPEG-PS
----[Information] FormatString: MPEG-PS
----[Information] FileSize: 1073739776
----[Information] PlayTime: 00:25:00.783
----[Information] PGCCount: 1
----[Information] PGCNumber: 1
---[Information] Video
----[Information] ID: 224
----[Information] StreamOrder:
----[Information] Width: 720
----[Information] Height: 480
----[Information] FrameCount: 35983
----[Information] FrameRate: 23.976
----[Information] ScanType: Progressive
----[Information] Codec: MPEG-2V
----[Information] CodecString: MPEG-2 Video
----[Information] Format: MPEG Video
----[Information] AspectRatio: 1.778
----[Information] AspectRatioString: 16:9
----[Information] Delay: 280.633
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 189-128
----[Information] StreamOrder:
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2: 3/2/0.1
----[Information] BitRateMode: CBR
----[Information] Delay: 280.633
----[Information] Title:
----[Information] Language:
----[Information] LanguageString: English
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Text
----[Information] ID:
----[Information] StreamOrder: 0
----[Information] Codec:
----[Information] CodecString: Vobsub
----[Information] Delay:
----[Information] Title: English - (Closed Caption/Normal Size Char)
----[Information] Language:
----[Information] LanguageString: English
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
-[Information] Log for job1 (idx, VTS_01_1.VOB -> VTS_01_1.d2v)
--[Information] [5/2/2012 9:29:34 AM] Started handling job
--[Information] [5/2/2012 9:29:34 AM] Preprocessing
--[Information] [5/2/2012 9:29:34 AM] Job commandline: "C:\Program Files (x86)\MeGUI\tools\dgindex\dgindex.exe" -SD=< -AIF=<D:\Rips To Encode\Planet Terror\MainMovie\PLANET_TERROR\VIDEO_TS\VTS_01_1.VOB< -OF=<D:\Rips To Encode\Planet Terror\MainMovie\PLANET_TERROR\VIDEO_TS\VTS_01_1< -FO=0 -exit -hide -OM=2
--[Information] [5/2/2012 9:29:34 AM] Indexing started
--[Information] [5/2/2012 9:30:29 AM] Standard output stream
--[Information] [5/2/2012 9:30:29 AM] Standard error stream
--[Information] [5/2/2012 9:30:29 AM] Running auto force film
---[Information] [5/2/2012 9:30:29 AM] Film percentage: 99.99
---[Information] [5/2/2012 9:30:29 AM] Applied force film
--[Information] [5/2/2012 9:30:29 AM] Postprocessing
---[Information] Deleting intermediate files
----[Information] [5/2/2012 9:30:29 AM] Successfully deleted D:\Rips To Encode\Planet Terror\MainMovie\PLANET_TERROR\VIDEO_TS\VTS_01_1.log
--[Information] [5/2/2012 9:30:29 AM] Job completed
-[Error] Log for job2 (video, VTS_01_1.avs -> )
--[Information] [5/2/2012 9:33:31 AM] Started handling job
--[Information] [5/2/2012 9:33:31 AM] Preprocessing
--[Information] [5/2/2012 9:33:31 AM] Avisynth input script
---[NoImage] # Set DAR in encoder to 175 : 96. The following line is for automatic signalling
---[NoImage] global MeGUI_darx = 175
---[NoImage] global MeGUI_dary = 96
---[NoImage] LoadPlugin("C:\Program Files (x86)\MeGUI\tools\dgindex\DGDecode.dll")
---[NoImage] DGDecode_mpeg2source("D:\Rips To Encode\Planet Terror\MainMovie\PLANET_TERROR\VIDEO_TS\VTS_01_1.d2v", info=3)
---[NoImage] LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
---[NoImage] ColorMatrix(hints=true, threads=0)
---[NoImage] #deinterlace
---[NoImage] #crop
---[NoImage] #resize
---[NoImage] #denoise
--[Information] [5/2/2012 9:33:31 AM] [WDTV]: target device selected
--[Information] [5/2/2012 9:33:31 AM] Job commandline: "C:\Program Files (x86)\MeGUI\tools\x264\avs4x264mod.exe" --level 4.1 --tune film --pass 1 --bitrate 2510 --stats "D:\Rips To Encode\Planet Terror\MainMovie\PLANET_TERROR\VIDEO_TS\VTS_01_1.stats" --keyint 240 --zones 143319,151848,q=40 --sar 175:144 --output NUL "D:\Rips To Encode\Planet Terror\MainMovie\PLANET_TERROR\VIDEO_TS\VTS_01_1.avs"
--[Information] [5/2/2012 9:33:31 AM] Encoding started
--[Error] [5/2/2012 10:02:22 AM] An error occurred: avs4x264 [info]: "C:\Program Files (x86)\MeGUI\tools\x264\x264_64" - --level 4.1 --tune film --pass 1 --bitrate 2510 --stats "D:\Rips To Encode\Planet Terror\MainMovie\PLANET_TERROR\VIDEO_TS\VTS_01_1.stats" --keyint 240 --zones 143319,151848,q=40 --sar 175:144 --output NUL --frames 151849 --fps 24000/1001 --input-res 720x480 --input-csp i420
--[Information] [5/2/2012 10:02:22 AM] Standard output stream
---[NoImage] avs [info]: Avisynth version: 2.58
---[NoImage] avs [info]: Video colorspace: YV12
---[NoImage] avs [info]: Video resolution: 720x480
---[NoImage] avs [info]: Video framerate: 24000/1001
---[NoImage] avs [info]: Video framecount: 151849
--[Information] [5/2/2012 10:02:22 AM] Standard error stream
---[NoImage] raw [info]: 720x480p 175:144 @ 24000/1001 fps (cfr)
---[NoImage] x264 [info]: using SAR=175/144
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
---[NoImage] x264 [info]: profile Main, level 4.1
---[NoImage]
---[NoImage] x264 [info]: frame I:2722 Avg QP:17.86 size: 43283
---[NoImage] x264 [info]: frame P:83470 Avg QP:21.51 size: 16567
---[NoImage] x264 [info]: frame B:65657 Avg QP:22.92 size: 6172
---[NoImage] x264 [info]: consecutive B-frames: 24.0% 50.3% 14.3% 11.4%
---[NoImage] x264 [info]: mb I I16..4: 36.2% 0.0% 63.8%
---[NoImage] x264 [info]: mb P I16..4: 29.8% 0.0% 0.0% P16..4: 57.7% 0.0% 0.0% 0.0% 0.0% skip:12.5%
---[NoImage] x264 [info]: mb B I16..4: 4.2% 0.0% 0.0% B16..8: 30.4% 0.0% 0.0% direct:21.3% skip:44.1% L0:24.0% L1:36.7% BI:39.3%
---[NoImage] x264 [info]: final ratefactor: 19.10
---[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 65.2% 59.6% 27.0% inter: 35.3% 26.4% 3.9%
---[NoImage] x264 [info]: i16 v,h,dc,p: 35% 16% 34% 15%
---[NoImage] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 14% 23% 4% 10% 7% 6% 7% 7%
---[NoImage] x264 [info]: i8c dc,h,v,p: 51% 17% 27% 6%
---[NoImage] x264 [info]: Weighted P-Frames: Y:9.1% UV:5.3%
---[NoImage] x264 [info]: kb/s:2407.48
---[NoImage] encoded 151849 frames, 87.74 fps, 2407.48 kb/s
--[Information] [5/2/2012 10:02:22 AM] Job completed

LigH
3rd May 2012, 07:54
@ Penecho:

"Nothing suspicious" means that the MeGUI process is just terminated right after starting, without spawning sub processes for a while? Explain as detailed as you can what you discover.

Zathor
3rd May 2012, 17:31
Here's the full log, thanks!

I do not see a specific error message in your log - and that is quite strange. Usually there is a line with the exit code or something like that.

Can you please disable the usage of the 64bit x264 in the MeGUI settings and give this a try?

tfa
3rd May 2012, 22:47
I do not see a specific error message in your log - and that is quite strange. Usually there is a line with the exit code or something like that.

Can you please disable the usage of the 64bit x264 in the MeGUI settings and give this a try?

That seems to have fixed it. It made it through the first pass, 2nd one is running now. Thanks!

I wonder why the 64bit doesn't work...

darkw1zard
4th May 2012, 03:30
Hi, I got this "Audio Decoding Error" when start indexing..

[Error] Log
-[Information] Versions
--[Information] [4/5/2012 10:13:54 AM] MeGUI Version : 2112 (svn)
--[Information] [4/5/2012 10:13:54 AM] OS : Windows Seven Premium Edition x64 SP1 (6.1.65536.7601)
--[Information] [4/5/2012 10:13:54 AM] Latest .Net Framework installed : 4.0 (4.0.30319)
--[Information] [4/5/2012 10:13:54 AM] AviSynth Version : 2.5.8.5 (21/12/2008 9:46:54 PM)
-[Information] Update detection
--[Information] [4/5/2012 10:13:55 AM] Connecting to server: http://megui.xvidvideo.ru/auto/stable/
--[Information] [4/5/2012 10:13:58 AM] All files are up to date
--[Information] [4/5/2012 10:14:24 AM] Connecting to server: http://megui.xvidvideo.ru/auto/stable/
--[Information] [4/5/2012 10:14:26 AM] All files are up to date
-[Information] FileIndexer
--[Information] [4/5/2012 10:23:20 AM] MediaInfo
---[Information] File: F:\Fashion King (2012)\Flower For My Life 01.avi
---[Information] General
----[Information] Format: AVI
----[Information] FormatString: AVI
----[Information] FileSize: 1622835200
----[Information] PlayTime: 01:03:31.708
---[Information] Video
----[Information] ID: 0
----[Information] StreamOrder:
----[Information] Width: 1280
----[Information] Height: 720
----[Information] FrameCount: 114237
----[Information] FrameRate: 29.970
----[Information] ScanType: Progressive
----[Information] Codec: H264
----[Information] CodecString: AVC
----[Information] Format: AVC
----[Information] AspectRatio: 1.778
----[Information] AspectRatioString: 16:9
----[Information] Delay: 0
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
---[Information] Audio
----[Information] ID: 1
----[Information] StreamOrder:
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2: 2/0/0
----[Information] BitRateMode: CBR
----[Information] Delay: 5
----[Information] Title:
--[Information] [4/5/2012 10:23:48 AM] MediaInfo
---[Information] File: F:\Flower For My Life 01.avi
---[Information] General
----[Information] Format: AVI
----[Information] FormatString: AVI
----[Information] FileSize: 1622835200
----[Information] PlayTime: 01:03:31.708
---[Information] Video
----[Information] ID: 0
----[Information] StreamOrder:
----[Information] Width: 1280
----[Information] Height: 720
----[Information] FrameCount: 114237
----[Information] FrameRate: 29.970
----[Information] ScanType: Progressive
----[Information] Codec: H264
----[Information] CodecString: AVC
----[Information] Format: AVC
----[Information] AspectRatio: 1.778
----[Information] AspectRatioString: 16:9
----[Information] Delay: 0
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
---[Information] Audio
----[Information] ID: 1
----[Information] StreamOrder:
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2: 2/0/0
----[Information] BitRateMode: CBR
----[Information] Delay: 5
----[Information] Title:
-[Error] Log for job1 (idx, Flower For My Life 01.avi -> Flower For My Life 01.avi.ffindex)
--[Information] [4/5/2012 10:23:57 AM] Started handling job
--[Information] [4/5/2012 10:23:57 AM] Preprocessing
--[Information] [4/5/2012 10:23:57 AM] Job commandline: "A:\Program Files (x86)\MeGUI\tools\ffms\ffmsindex.exe" -t -1 -f "F:\Flower For My Life 01.avi"
--[Information] [4/5/2012 10:23:58 AM] Indexing started
--[Error] [4/5/2012 10:24:00 AM] Process exits with error code: 1
--[Information] [4/5/2012 10:24:00 AM] Standard output stream: Indexing error: Audio decoding error
--[Information] [4/5/2012 10:24:00 AM] Standard error stream
--[Information] [4/5/2012 10:24:00 AM] Job completed

TopDonn
5th May 2012, 00:36
Hi, I'm looking for some clarification just what the film tuning preset does in MEGUI. I have been encoding source material from DVD pretty well with the tuning set to Default. I tried out the film tuning and im still on the fence as to whether to use it or not. It seems to do a good job of capturing as much detail as possible for facial features etc but I have seen it also sacrifice detail of some other scenes like backgrounds etc.

Here is command line ive been using.

program --profile main --level 3 --preset slow --tune film --pass 2 --bitrate 3000 --stats ".stats" --keyint 21 --min-keyint 11 --qpmin 10 --qpmax 51 --vbv-bufsize 2000 --vbv-maxrate 2500 --colorprim bt470bg --transfer bt470bg --colormatrix bt470bg --output "output" "input"

Any response is appreciated

MajorX
6th May 2012, 18:39
plz help....when i try to use File Indexer i got this error. i use latest version of MeGUI in Win XP SP3.
http://img687.imageshack.us/img687/4863/aadtu.jpg

Zathor
6th May 2012, 20:18
I just tested it also with XP SP3 and was able to use the file indexer with a MKV file. Please try older MeGUI builds like the last stable build.

MajorX
7th May 2012, 01:13
the file indexing process is complete but when i try to save the avs script[only use f3kdb() filter] i got this error even with the previous version.

[Information] Log
-[Information] Versions
--[Information] [5/7/2012 5:44:56 AM] MeGUI: 2149 (svn)
--[Information] [5/7/2012 5:44:56 AM] Operating System: Windows XP Professional x86 SP3 (5.1.196608.2600)
--[Information] [5/7/2012 5:44:56 AM] .Net Framework: 4.0 (4.0.30319)
--[Information] [5/7/2012 5:44:56 AM] AviSynth: 2.5.8.5 (12/21/2008 9:46:54 PM)
--[Information] [5/7/2012 5:44:56 AM] AvisynthWrapper: 1/2/2009 8:34:04 PM
--[Information] [5/7/2012 5:44:56 AM] ICSharpCode.SharpZipLib: 0.85.5.452 (8/7/2008 5:01:12 PM)
--[Information] [5/7/2012 5:44:56 AM] LinqBridge: 1.0.0.0 (5/27/2009 9:54:34 PM)
--[Information] [5/7/2012 5:44:56 AM] MediaInfo: 0.7.57.0 (5/2/2012 6:49:57 PM)
--[Information] [5/7/2012 5:44:56 AM] MediaInfoWrapper: 0.7.53.0 (1/27/2012 5:42:16 PM)
--[Information] [5/7/2012 5:44:56 AM] MessageBoxExLib: 1.0.2218.28317 (12/19/2008 4:23:04 PM)
--[Information] [5/7/2012 5:44:56 AM] SevenZipSharp: 0.64.3890.29348 (1/2/2011 6:29:32 AM)
--[Information] [5/7/2012 5:44:56 AM] 7z: 9.20 (11/18/2010 11:57:34 AM)
-[Information] Update detection
--[Information] [5/7/2012 5:44:57 AM] Connecting to server: http://megui.org/auto/
--[Information] [5/7/2012 5:44:58 AM] All files are up to date

Zathor
7th May 2012, 13:38
Do you have the same problem when opening the AVS file with VirtualDub? What happens when you remove the mentioned filter?

forum king
9th May 2012, 08:25
Force LC with 128 Kb/s for a 6 channels audio.

If you want LC use at least VBR quality 0.35.
If you want 128 Kb/s use HE.

Thanks a bunch Teb
sorry for replying so late , actually i got busy and just couldnt do anything at all. just this morning started to look into pending hobby work ;)
anyways , i am gonna try the HE 128kbps this time and see how this goes ,
there is one more problem that i always face whenever i try and encode any Audio file , more often than not nero HE aac profiles give me a very very low volume of the output audio,

Its annoying coz every time i encode something for my iTouch i have to increase the volume by default in the video settings ,
face the same issue all over as well.

what chaages can i do to have a decent volume level in the audio
at tyhe moment i use 64 kb/s levels for my audio
with
Directshow
downmix multi to stereo
sample rate : keep original
apply dynamic range compression
and normalize peaks to 100
HEAAC profile

tebasuna51
9th May 2012, 11:40
...
Directshow
downmix multi to stereo
sample rate : keep original
apply dynamic range compression
and normalize peaks to 100
HEAAC profile

Use NicAudio for DTS/AC3 input.

If you use DRC and Normalize 100% you can't have more volume without distort.

forum king
11th May 2012, 06:02
Use NicAudio for DTS/AC3 input.

If you use DRC and Normalize 100% you can't have more volume without distort.

Got it :)
thanks :)

SixKiller
11th May 2012, 18:08
Hello friend's

i got some strange problems with megui lately. Evertime i have more than one encode in the queue, it fails after the first encode.

example: automated 2 pass encode. First pass runs through correctly. 2nd pass is extremly slow (0.0005 fps, CPU Load 1%). After i cancel this slow 2nd pass and start it again, it runs fine. ~10fps, 90% - 100% CPU Load). No PC restarts or megui reload. It just runs fine.

2nd example: 2 x automated 2pass. 1st (first movie) runs fine--> 2nd (first movie) runs extremly slow -> CANCEL -> 2nd (first movie) runs fine --> 1st (second movie) runs extremly slow -> CANCEL -> 1st (second movie) runs fine -> 2nd (second movie) runs extremely slow -> CANCEL -> 2nd (second movie) runs fine.... :confused: :confused:

This goes on and on. After one pass runs fine, the following runs extremly slow, no matter if this following is first or 2nd pass. If the following is canceled it runs fine, but the pass after that runs slow.

I deactivated x264_64 but its the same Problem. Doesnt matter if the x264.exe is x86 or x64.

I got some Logs here:


[Error] Log
-[Information] Versions
--[Information] [09.05.2012 05:27:24] MeGUI: 2149 (svn)
--[Information] [09.05.2012 05:27:24] Operating System: Windows 7 Ultimate Edition x64 SP1 (6.1.65536.7601)
--[Information] [09.05.2012 05:27:24] .Net Framework: 4.0 (4.0.30319)
--[Information] [09.05.2012 05:27:24] AviSynth: 2.5.8.5 (21.12.2008 21:46:54)
--[Information] [09.05.2012 05:27:24] AvisynthWrapper: 02.01.2009 20:34:04
--[Information] [09.05.2012 05:27:24] ICSharpCode.SharpZipLib: 0.85.5.452 (07.08.2008 20:31:12)
--[Information] [09.05.2012 05:27:24] LinqBridge: 1.0.0.0 (28.05.2009 01:24:34)
--[Information] [09.05.2012 05:27:24] MediaInfo: 0.7.57.0 (02.05.2012 18:49:57)
--[Information] [09.05.2012 05:27:24] MediaInfoWrapper: 0.7.53.0 (27.01.2012 17:42:16)
--[Information] [09.05.2012 05:27:24] MessageBoxExLib: 1.0.2218.28317 (19.12.2008 20:53:04)
--[Information] [09.05.2012 05:27:24] SevenZipSharp: 0.64.3890.29348 (02.01.2011 10:59:32)
--[Information] [09.05.2012 05:27:24] 7z: 9.20 (18.11.2010 16:27:34)
-[Information] Update detection
--[Information] [09.05.2012 05:27:24] Connecting to server: http://megui.org/auto/
--[Information] [09.05.2012 05:27:25] All files are up to date
-[Information] Log for job5 (video, j_edgar_bluray_avs.avs -> )
--[Information] [09.05.2012 05:30:13] Started handling job
--[Information] [09.05.2012 05:30:13] Preprocessing
--[Information] [09.05.2012 05:30:13] Avisynth input script
---[NoImage] LoadPlugin("C:\Program Files (x86)\dgdecnv2042\DGDecodeNV.dll")
---[NoImage] DGSource("F:\ENCODiNG\j_edgar_bluray_dgi.dgi")
---[NoImage] Crop(0, 140, -0, -140)
--[Information] [09.05.2012 05:30:14] [DXVA]: target device selected
--[Information] [09.05.2012 05:30:14] Job commandline: "C:\MeGUI\tools\x264\avs4x264mod.exe" --level 4.1 --pass 1 --bitrate 6170 --stats "F:\ENCODiNG\j_edgar_bluray_avs.stats" --keyint 240 --b-adapt 2 --ref 5 --merange 32 --me umh --direct auto --subme 9 --trellis 2 --no-dct-decimate --no-fast-pskip --sar 1:1 --output NUL "F:\ENCODiNG\j_edgar_bluray_avs.avs"
--[Information] [09.05.2012 05:30:14] Encoding started
--[Information] [09.05.2012 06:47:37] Standard output stream
---[NoImage] avs [info]: Avisynth version: 2.58
---[NoImage] avs [info]: Video colorspace: YV12
---[NoImage] avs [info]: Video resolution: 1920x800
---[NoImage] avs [info]: Video framerate: 24000/1001
---[NoImage] avs [info]: Video framecount: 196921
---[NoImage] avs4x264 [info]: "C:\MeGUI\tools\x264\x264_64" - --level 4.1 --pass 1 --bitrate 6170 --stats F:\ENCODiNG\j_edgar_bluray_avs.stats --keyint 240 --b-adapt 2 --ref 5 --merange 32 --me umh --direct auto --subme 9 --trellis 2 --no-dct-decimate --no-fast-pskip --sar 1:1 --output NUL --frames 196921 --fps 24000/1001 --input-res 1920x800 --input-csp i420
--[Information] [09.05.2012 06:47:37] Standard error stream
---[NoImage] raw [info]: 1920x800p 1:1 @ 24000/1001 fps (cfr)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
---[NoImage] x264 [info]: profile Main, level 4.1
---[NoImage]
---[NoImage] x264 [info]: frame I:1666 Avg QP:14.48 size:166066
---[NoImage] x264 [info]: frame P:53764 Avg QP:17.52 size: 58262
---[NoImage] x264 [info]: frame B:141491 Avg QP:19.21 size: 20180
---[NoImage] x264 [info]: consecutive B-frames: 1.6% 4.2% 11.1% 83.2%
---[NoImage] x264 [info]: mb I I16..4: 46.3% 0.0% 53.7%
---[NoImage] x264 [info]: mb P I16..4: 37.7% 0.0% 0.0% P16..4: 48.2% 0.0% 0.0% 0.0% 0.0% skip:14.1%
---[NoImage] x264 [info]: mb B I16..4: 8.8% 0.0% 0.0% B16..8: 28.3% 0.0% 0.0% direct:17.2% skip:45.7% L0:33.7% L1:39.8% BI:26.5%
---[NoImage] x264 [info]: final ratefactor: 17.78
---[NoImage] x264 [info]: direct mvs spatial:99.9% temporal:0.1%
---[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 77.2% 30.4% 8.2% inter: 25.8% 8.4% 1.3%
---[NoImage] x264 [info]: i16 v,h,dc,p: 35% 14% 40% 11%
---[NoImage] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 15% 18% 7% 8% 8% 8% 7% 8%
---[NoImage] x264 [info]: i8c dc,h,v,p: 71% 12% 16% 1%
---[NoImage] x264 [info]: Weighted P-Frames: Y:2.5% UV:1.3%
---[NoImage] x264 [info]: kb/s:6101.70
---[NoImage] encoded 196921 frames, 42.41 fps, 6101.70 kb/s
--[Information] [09.05.2012 06:47:37] Postprocessing
---[Information] Deleting intermediate files
--[Information] [09.05.2012 06:47:37] Job completed
-[Error] Log for job6 (video, j_edgar_bluray_avs.avs -> j_edgar_bluray_avs.264)
--[Information] [09.05.2012 06:47:37] Started handling job
--[Information] [09.05.2012 06:47:37] Preprocessing
--[Information] [09.05.2012 06:47:37] Avisynth input script
---[NoImage] LoadPlugin("C:\Program Files (x86)\dgdecnv2042\DGDecodeNV.dll")
---[NoImage] DGSource("F:\ENCODiNG\j_edgar_bluray_dgi.dgi")
---[NoImage] Crop(0, 140, -0, -140)
--[Information] [09.05.2012 06:47:38] [DXVA]: target device selected
--[Information] [09.05.2012 06:47:38] Job commandline: "C:\MeGUI\tools\x264\avs4x264mod.exe" --level 4.1 --pass 2 --bitrate 6170 --stats "F:\ENCODiNG\j_edgar_bluray_avs.stats" --keyint 240 --b-adapt 2 --ref 5 --merange 32 --me umh --direct auto --subme 9 --trellis 2 --no-dct-decimate --no-fast-pskip --sar 1:1 --output "F:\ENCODiNG\j_edgar_bluray_avs.264" "F:\ENCODiNG\j_edgar_bluray_avs.avs"
--[Information] [09.05.2012 06:47:38] Encoding started
--[Information] Deleting aborted output
---[Information] [09.05.2012 10:06:13] Delete aborted ouptut set: True
---[Information] [09.05.2012 10:06:13] File to delete: F:\ENCODiNG\j_edgar_bluray_avs.264
---[Information] [09.05.2012 10:06:13] File deleted
--[Error] [09.05.2012 10:06:13] An error occurred: x264 [error]: slice=P but 2pass stats say B
--[Information] [09.05.2012 10:06:13] Process exits with error: 0xFFFFFFFF (-1)
--[Information] [09.05.2012 10:06:13] Standard output stream
--[Information] [09.05.2012 10:06:13] Standard error stream
---[NoImage] raw [info]: 1920x800p 1:1 @ 24000/1001 fps (cfr)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
---[NoImage] x264 [info]: profile High, level 4.1
---[NoImage] x264 [warning]: specified frame type is not compatible with max B-frames
---[NoImage]
---[NoImage] x264 [info]: frame I:15 Avg QP: 0.93 size: 416
---[NoImage] x264 [info]: frame P:534 Avg QP: 5.53 size: 84
---[NoImage] x264 [info]: frame B:1350 Avg QP: 5.36 size: 55
---[NoImage] x264 [info]: consecutive B-frames: 1.5% 4.6% 19.7% 74.1%
---[NoImage] x264 [info]: mb I I16..4: 100.0% 0.0% 0.0%
---[NoImage] x264 [info]: mb P I16..4: 5.7% 0.0% 0.0% P16..4: 0.1% 0.0% 0.0% 0.0% 0.0% skip:94.2%
---[NoImage] x264 [info]: mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.0% 0.0% 0.0% direct: 0.0% skip:100.0%
---[NoImage] x264 [info]: 8x8 transform intra:0.0% inter:100.0%
---[NoImage] x264 [info]: direct mvs spatial:92.3% temporal:7.7%
---[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
---[NoImage] x264 [info]: i16 v,h,dc,p: 99% 0% 1% 0%
---[NoImage] x264 [info]: i8c dc,h,v,p: 100% 0% 0% 0%
---[NoImage] x264 [info]: Weighted P-Frames: Y:15.4% UV:8.6%
---[NoImage] x264 [info]: ref P L0: 0.0% 10.0% 90.0%
---[NoImage] x264 [info]: kb/s:12.69
---[NoImage] encoded 1899 frames, 0.16 fps, 12.69 kb/s
--[Information] [09.05.2012 10:06:13] Job completed
--[Information] [09.05.2012 10:06:13] Current job was aborted




[Information] Log
-[Information] Versions
--[Information] [09.05.2012 10:06:43] MeGUI: 2149 (svn)
--[Information] [09.05.2012 10:06:43] Operating System: Windows 7 Ultimate Edition x64 SP1 (6.1.65536.7601)
--[Information] [09.05.2012 10:06:43] .Net Framework: 4.0 (4.0.30319)
--[Information] [09.05.2012 10:06:43] AviSynth: 2.5.8.5 (21.12.2008 21:46:54)
--[Information] [09.05.2012 10:06:43] AvisynthWrapper: 02.01.2009 20:34:04
--[Information] [09.05.2012 10:06:43] ICSharpCode.SharpZipLib: 0.85.5.452 (07.08.2008 20:31:12)
--[Information] [09.05.2012 10:06:43] LinqBridge: 1.0.0.0 (28.05.2009 01:24:34)
--[Information] [09.05.2012 10:06:43] MediaInfo: 0.7.57.0 (02.05.2012 18:49:57)
--[Information] [09.05.2012 10:06:43] MediaInfoWrapper: 0.7.53.0 (27.01.2012 17:42:16)
--[Information] [09.05.2012 10:06:43] MessageBoxExLib: 1.0.2218.28317 (19.12.2008 20:53:04)
--[Information] [09.05.2012 10:06:43] SevenZipSharp: 0.64.3890.29348 (02.01.2011 10:59:32)
--[Information] [09.05.2012 10:06:43] 7z: 9.20 (18.11.2010 16:27:34)
-[Information] Update detection
--[Information] [09.05.2012 10:06:44] Connecting to server: http://megui.xvidvideo.ru/auto/
--[Information] [09.05.2012 10:06:44] All files are up to date
-[Information] Log for job6 (video, j_edgar_bluray_avs.avs -> j_edgar_bluray_avs.264)
--[Information] [09.05.2012 10:06:50] Started handling job
--[Information] [09.05.2012 10:06:50] Preprocessing
--[Information] [09.05.2012 10:06:50] Avisynth input script
---[NoImage] LoadPlugin("C:\Program Files (x86)\dgdecnv2042\DGDecodeNV.dll")
---[NoImage] DGSource("F:\ENCODiNG\j_edgar_bluray_dgi.dgi")
---[NoImage] Crop(0, 140, -0, -140)
--[Information] [09.05.2012 10:06:50] [DXVA]: target device selected
--[Information] [09.05.2012 10:06:50] Job commandline: "C:\MeGUI\tools\x264\avs4x264mod.exe" --level 4.1 --pass 2 --bitrate 6170 --stats "F:\ENCODiNG\j_edgar_bluray_avs.stats" --keyint 240 --b-adapt 2 --ref 5 --merange 32 --me umh --direct auto --subme 9 --trellis 2 --no-dct-decimate --no-fast-pskip --sar 1:1 --output "F:\ENCODiNG\j_edgar_bluray_avs.264" "F:\ENCODiNG\j_edgar_bluray_avs.avs"
--[Information] [09.05.2012 10:06:50] Encoding started
--[Information] [09.05.2012 13:34:55] Standard output stream
---[NoImage] avs [info]: Avisynth version: 2.58
---[NoImage] avs [info]: Video colorspace: YV12
---[NoImage] avs [info]: Video resolution: 1920x800
---[NoImage] avs [info]: Video framerate: 24000/1001
---[NoImage] avs [info]: Video framecount: 196921
---[NoImage] avs4x264 [info]: "C:\MeGUI\tools\x264\x264_64" - --level 4.1 --pass 2 --bitrate 6170 --stats F:\ENCODiNG\j_edgar_bluray_avs.stats --keyint 240 --b-adapt 2 --ref 5 --merange 32 --me umh --direct auto --subme 9 --trellis 2 --no-dct-decimate --no-fast-pskip --sar 1:1 --output F:\ENCODiNG\j_edgar_bluray_avs.264 --frames 196921 --fps 24000/1001 --input-res 1920x800 --input-csp i420
--[Information] [09.05.2012 13:34:55] Standard error stream
---[NoImage] raw [info]: 1920x800p 1:1 @ 24000/1001 fps (cfr)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
---[NoImage] x264 [info]: profile High, level 4.1
---[NoImage]
---[NoImage] x264 [info]: frame I:1666 Avg QP:15.43 size:158473
---[NoImage] x264 [info]: frame P:53764 Avg QP:18.24 size: 55573
---[NoImage] x264 [info]: frame B:141491 Avg QP:20.16 size: 21767
---[NoImage] x264 [info]: consecutive B-frames: 1.6% 4.2% 11.1% 83.2%
---[NoImage] x264 [info]: mb I I16..4: 12.9% 68.3% 18.9%
---[NoImage] x264 [info]: mb P I16..4: 1.5% 4.8% 0.4% P16..4: 47.4% 23.3% 13.7% 0.0% 0.0% skip: 8.9%
---[NoImage] x264 [info]: mb B I16..4: 0.1% 0.5% 0.0% B16..8: 48.6% 7.5% 1.6% direct: 4.2% skip:37.5% L0:45.6% L1:49.5% BI: 5.0%
---[NoImage] x264 [info]: 8x8 transform intra:72.4% inter:59.4%
---[NoImage] x264 [info]: direct mvs spatial:98.6% temporal:1.4%
---[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 80.1% 56.5% 27.0% inter: 28.7% 12.4% 2.6%
---[NoImage] x264 [info]: i16 v,h,dc,p: 61% 14% 14% 11%
---[NoImage] x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 9% 6% 10% 11% 14% 13% 13% 11% 12%
---[NoImage] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 10% 7% 9% 13% 13% 12% 10% 13%
---[NoImage] x264 [info]: i8c dc,h,v,p: 44% 27% 20% 9%
---[NoImage] x264 [info]: Weighted P-Frames: Y:2.5% UV:1.3%
---[NoImage] x264 [info]: ref P L0: 52.2% 8.1% 21.4% 9.6% 7.8% 0.9% 0.0%
---[NoImage] x264 [info]: ref B L0: 76.9% 16.1% 5.6% 1.4%
---[NoImage] x264 [info]: ref B L1: 92.7% 7.3%
---[NoImage] x264 [info]: kb/s:6167.27
---[NoImage] encoded 196921 frames, 15.78 fps, 6167.27 kb/s
--[Information] Final statistics
---[Information] [09.05.2012 13:34:55] Video Bitrate Desired: 6170 kbit/s
---[Information] [09.05.2012 13:34:55] Video Bitrate Obtained (approximate): 6167 kbit/s
--[Information] [09.05.2012 13:34:55] MediaInfo
---[Information] File: F:\ENCODiNG\j_edgar_bluray_avs.264
---[Information] General
----[Information] Format: AVC
----[Information] FormatString: AVC
----[Information] FileSize: 6331667098
----[Information] PlayTime:
---[Information] Video
----[Information] ID:
----[Information] StreamOrder:
----[Information] Width: 1920
----[Information] Height: 800
----[Information] FrameCount:
----[Information] FrameRate: 23.976
----[Information] ScanType: Progressive
----[Information] Codec: AVC
----[Information] CodecString: AVC
----[Information] Format: AVC
----[Information] AspectRatio: 2.400
----[Information] AspectRatioString: 2.40:1
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
--[Information] [09.05.2012 13:34:55] Postprocessing
---[Information] Deleting intermediate files
----[Information] [09.05.2012 13:34:55] Successfully deleted F:\ENCODiNG\j_edgar_bluray_avs.stats
----[Information] [09.05.2012 13:34:55] Successfully deleted F:\ENCODiNG\j_edgar_bluray_avs.stats.mbtree
--[Information] [09.05.2012 13:34:55] Job completed



I will some more Logs in a new Post (Too much Chars)

Regards Sixi.

SixKiller
11th May 2012, 18:08
Some more Logs.



[Information] Log
-[Information] Versions
--[Information] [09.05.2012 23:07:06] MeGUI: 2149 (svn)
--[Information] [09.05.2012 23:07:06] Operating System: Windows 7 Ultimate Edition x64 SP1 (6.1.65536.7601)
--[Information] [09.05.2012 23:07:06] .Net Framework: 4.0 (4.0.30319)
--[Information] [09.05.2012 23:07:06] AviSynth: 2.5.8.5 (21.12.2008 21:46:54)
--[Information] [09.05.2012 23:07:06] AvisynthWrapper: 02.01.2009 20:34:04
--[Information] [09.05.2012 23:07:06] ICSharpCode.SharpZipLib: 0.85.5.452 (07.08.2008 20:31:12)
--[Information] [09.05.2012 23:07:06] LinqBridge: 1.0.0.0 (28.05.2009 01:24:34)
--[Information] [09.05.2012 23:07:06] MediaInfo: 0.7.57.0 (02.05.2012 18:49:57)
--[Information] [09.05.2012 23:07:06] MediaInfoWrapper: 0.7.53.0 (27.01.2012 17:42:16)
--[Information] [09.05.2012 23:07:06] MessageBoxExLib: 1.0.2218.28317 (19.12.2008 20:53:04)
--[Information] [09.05.2012 23:07:06] SevenZipSharp: 0.64.3890.29348 (02.01.2011 10:59:32)
--[Information] [09.05.2012 23:07:06] 7z: 9.20 (18.11.2010 16:27:34)
-[Information] Update detection
--[Information] [09.05.2012 23:07:06] Connecting to server: http://megui.xvidvideo.ru/auto/
--[Information] [09.05.2012 23:07:07] All files are up to date
-[Information] Log for job1 (video, wolverine_bluray_avs.avs -> )
--[Information] [09.05.2012 23:08:29] Started handling job
--[Information] [09.05.2012 23:08:29] Preprocessing
--[Information] [09.05.2012 23:08:29] Avisynth input script
---[NoImage] LoadPlugin("C:\Program Files (x86)\dgdecnv2042\DGDecodeNV.dll")
---[NoImage] DGSource("F:\ENCODiNG\wolverine_bluray_dgi.dgi")
---[NoImage] Crop(0, 132, -0, -132)
--[Information] [09.05.2012 23:08:30] [DXVA]: target device selected
--[Information] [09.05.2012 23:08:30] Job commandline: "C:\MeGUI\tools\x264\x264.exe" --level 4.1 --preset slow --pass 1 --bitrate 10745 --stats "F:\ENCODiNG\wolverine_bluray_avs.stats" --keyint 240 --merange 32 --subme 9 --trellis 2 --no-dct-decimate --no-fast-pskip --sar 1:1 --output NUL "F:\ENCODiNG\wolverine_bluray_avs.avs"
--[Information] [09.05.2012 23:08:30] Encoding started
--[Information] [10.05.2012 00:26:03] Standard output stream
--[Information] [10.05.2012 00:26:03] Standard error stream
---[NoImage] avs [info]: 1920x816p 1:1 @ 24000/1001 fps (cfr)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
---[NoImage] x264 [info]: profile Main, level 4.1
---[NoImage]
---[NoImage] x264 [info]: frame I:1802 Avg QP:16.24 size:218091
---[NoImage] x264 [info]: frame P:46536 Avg QP:19.14 size: 81566
---[NoImage] x264 [info]: frame B:106101 Avg QP:19.97 size: 41559
---[NoImage] x264 [info]: consecutive B-frames: 3.2% 5.1% 31.1% 60.5%
---[NoImage] x264 [info]: mb I I16..4: 45.8% 0.0% 54.2%
---[NoImage] x264 [info]: mb P I16..4: 54.6% 0.0% 0.0% P16..4: 40.6% 0.0% 0.0% 0.0% 0.0% skip: 4.8%
---[NoImage] x264 [info]: mb B I16..4: 23.4% 0.0% 0.0% B16..8: 28.5% 0.0% 0.0% direct:25.0% skip:23.1% L0:30.9% L1:35.3% BI:33.7%
---[NoImage] x264 [info]: final ratefactor: 18.47
---[NoImage] x264 [info]: direct mvs spatial:99.8% temporal:0.2%
---[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 82.2% 50.6% 21.4% inter: 39.8% 27.4% 4.4%
---[NoImage] x264 [info]: i16 v,h,dc,p: 20% 14% 52% 14%
---[NoImage] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 16% 26% 7% 7% 7% 7% 7% 8%
---[NoImage] x264 [info]: i8c dc,h,v,p: 63% 16% 18% 3%
---[NoImage] x264 [info]: Weighted P-Frames: Y:4.1% UV:2.2%
---[NoImage] x264 [info]: kb/s:10678.64
---[NoImage] encoded 154439 frames, 33.20 fps, 10678.64 kb/s
--[Information] [10.05.2012 00:26:03] Postprocessing
---[Information] Deleting intermediate files
--[Information] [10.05.2012 00:26:03] Job completed
-[Information] Log for job2 (video, wolverine_bluray_avs.avs -> wolverine_bluray_avs.264)
--[Information] [10.05.2012 00:26:03] Started handling job
--[Information] [10.05.2012 00:26:03] Preprocessing
--[Information] [10.05.2012 00:26:03] Avisynth input script
---[NoImage] LoadPlugin("C:\Program Files (x86)\dgdecnv2042\DGDecodeNV.dll")
---[NoImage] DGSource("F:\ENCODiNG\wolverine_bluray_dgi.dgi")
---[NoImage] Crop(0, 132, -0, -132)
--[Information] [10.05.2012 00:26:04] [DXVA]: target device selected
--[Information] [10.05.2012 00:26:04] Job commandline: "C:\MeGUI\tools\x264\x264.exe" --level 4.1 --preset slow --pass 2 --bitrate 10745 --stats "F:\ENCODiNG\wolverine_bluray_avs.stats" --keyint 240 --merange 32 --subme 9 --trellis 2 --no-dct-decimate --no-fast-pskip --sar 1:1 --output "F:\ENCODiNG\wolverine_bluray_avs.264" "F:\ENCODiNG\wolverine_bluray_avs.avs"
--[Information] [10.05.2012 00:26:04] Encoding started
--[Information] [10.05.2012 03:35:17] Process exits with error: 0xFFFFFFFF (-1)
--[Information] Deleting aborted output
---[Information] [10.05.2012 03:35:17] Delete aborted ouptut set: True
---[Information] [10.05.2012 03:35:17] File to delete: F:\ENCODiNG\wolverine_bluray_avs.264
---[Information] [10.05.2012 03:35:17] File deleted
--[Information] [10.05.2012 03:35:17] Standard output stream
--[Information] [10.05.2012 03:35:17] Standard error stream
---[NoImage] avs [info]: 1920x816p 1:1 @ 24000/1001 fps (cfr)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
---[NoImage] x264 [info]: profile High, level 4.1
--[Information] [10.05.2012 03:35:17] Job completed
--[Information] [10.05.2012 03:35:17] Current job was aborted
-[Information] Log for job2 (video, wolverine_bluray_avs.avs -> wolverine_bluray_avs.264)
--[Information] [10.05.2012 03:35:28] Started handling job
--[Information] [10.05.2012 03:35:28] Preprocessing
--[Information] [10.05.2012 03:35:28] Avisynth input script
---[NoImage] LoadPlugin("C:\Program Files (x86)\dgdecnv2042\DGDecodeNV.dll")
---[NoImage] DGSource("F:\ENCODiNG\wolverine_bluray_dgi.dgi")
---[NoImage] Crop(0, 132, -0, -132)
--[Information] [10.05.2012 03:35:28] [DXVA]: target device selected
--[Information] [10.05.2012 03:35:28] Job commandline: "C:\MeGUI\tools\x264\x264.exe" --level 4.1 --preset slow --pass 2 --bitrate 10745 --stats "F:\ENCODiNG\wolverine_bluray_avs.stats" --keyint 240 --merange 32 --subme 9 --trellis 2 --no-dct-decimate --no-fast-pskip --sar 1:1 --output "F:\ENCODiNG\wolverine_bluray_avs.264" "F:\ENCODiNG\wolverine_bluray_avs.avs"
--[Information] [10.05.2012 03:35:28] Encoding started
--[Information] [10.05.2012 08:28:47] Standard output stream
--[Information] [10.05.2012 08:28:47] Standard error stream
---[NoImage] avs [info]: 1920x816p 1:1 @ 24000/1001 fps (cfr)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
---[NoImage] x264 [info]: profile High, level 4.1
---[NoImage]
---[NoImage] x264 [info]: frame I:1802 Avg QP:17.04 size:206660
---[NoImage] x264 [info]: frame P:46536 Avg QP:19.35 size: 79903
---[NoImage] x264 [info]: frame B:106101 Avg QP:20.33 size: 42978
---[NoImage] x264 [info]: consecutive B-frames: 3.2% 5.1% 31.1% 60.5%
---[NoImage] x264 [info]: mb I I16..4: 44.5% 39.0% 16.5%
---[NoImage] x264 [info]: mb P I16..4: 4.0% 10.9% 1.0% P16..4: 47.8% 22.1% 12.3% 0.0% 0.0% skip: 2.0%
---[NoImage] x264 [info]: mb B I16..4: 0.6% 2.0% 0.2% B16..8: 52.8% 8.4% 1.9% direct:11.6% skip:22.6% L0:46.1% L1:47.5% BI: 6.4%
---[NoImage] x264 [info]: 8x8 transform intra:64.7% inter:52.8%
---[NoImage] x264 [info]: direct mvs spatial:97.7% temporal:2.3%
---[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 94.2% 78.0% 52.5% inter: 44.7% 37.6% 8.6%
---[NoImage] x264 [info]: i16 v,h,dc,p: 14% 10% 48% 27%
---[NoImage] x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 6% 7% 8% 11% 16% 13% 15% 11% 13%
---[NoImage] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 7% 8% 12% 10% 13% 12% 13% 11% 15%
---[NoImage] x264 [info]: i8c dc,h,v,p: 49% 20% 17% 14%
---[NoImage] x264 [info]: Weighted P-Frames: Y:4.1% UV:2.2%
---[NoImage] x264 [info]: ref P L0: 47.1% 7.6% 23.6% 10.1% 8.6% 2.8% 0.1%
---[NoImage] x264 [info]: ref B L0: 71.3% 19.2% 7.3% 2.1%
---[NoImage] x264 [info]: ref B L1: 90.3% 9.7%
---[NoImage] x264 [info]: kb/s:10743.92
---[NoImage] encoded 154439 frames, 8.78 fps, 10743.92 kb/s
--[Information] Final statistics
---[Information] [10.05.2012 08:28:47] Video Bitrate Desired: 10745 kbit/s
---[Information] [10.05.2012 08:28:47] Video Bitrate Obtained (approximate): 10743 kbit/s
--[Information] [10.05.2012 08:28:47] MediaInfo
---[Information] File: F:\ENCODiNG\wolverine_bluray_avs.264
---[Information] General
----[Information] Format: AVC
----[Information] FormatString: AVC
----[Information] FileSize: 8650725535
----[Information] PlayTime:
---[Information] Video
----[Information] ID:
----[Information] StreamOrder:
----[Information] Width: 1920
----[Information] Height: 816
----[Information] FrameCount:
----[Information] FrameRate: 23.976
----[Information] ScanType: Progressive
----[Information] Codec: AVC
----[Information] CodecString: AVC
----[Information] Format: AVC
----[Information] AspectRatio: 2.353
----[Information] AspectRatioString: 2.35:1
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
--[Information] [10.05.2012 08:28:48] Postprocessing
---[Information] Deleting intermediate files
----[Information] [10.05.2012 08:28:48] Successfully deleted F:\ENCODiNG\wolverine_bluray_avs.stats
----[Information] [10.05.2012 08:28:48] Successfully deleted F:\ENCODiNG\wolverine_bluray_avs.stats.mbtree
--[Information] [10.05.2012 08:28:48] Job completed
-[Information] Log for job3 (video, xmen_first_contact_bluray_avs.avs -> )
--[Information] [10.05.2012 08:28:48] Started handling job
--[Information] [10.05.2012 08:28:48] Preprocessing


I hope this is some kind of helpful.

Regards.

Sixi

Zathor
19th May 2012, 14:58
Hi, I got this "Audio Decoding Error" when start indexing..
Thanks for providing a sample file. I can reproduce the problem with your source. The source file seems to be broken (or at least unsupported by ffms). I have remuxed the file with AVIMuxGui (MkvMerge is also working - both are in the tools folder of MeGUI) and the resulting file can be processed.

bazz
25th May 2012, 08:46
can i ask about running 2 jobs at once with MeGUI
for instance if i had 2 HD X264 files that i wanted to convert to smaller SD XviD files
would there be ANY quality loss running the 2 xvid.encraw.exe processes on a very fast capable PC?

i know its very capable of doing it and ive done it plenty of times but is there a chance i could get even a small loss in quality?

thanks

LigH
25th May 2012, 11:37
The fact that two jobs run in parallel will not harm their quality. The processes are separated.

There is only a risk if you have plugins in both scripts which use shared ressources, e.g. both using a GPU video decoder like DGDecNV. Even if context switching works reliable, it may be quite inefficient to have the decoder chip switch between different video sources at each frame.

vergil666
26th May 2012, 16:25
Hi guy, i have an error with audio encoding since the last update.
i used file indexer tocreate avs and i do auto encode but the audio encoding and make me error.

[Error] Log
-[Information] Versions
--[Information] [26/05/2012 16:35:17] MeGUI: 2151 (svn)
--[Information] [26/05/2012 16:35:17] Operating System: Windows 7 Ultimate Edition x86 SP1 (6.1.65536.7601)
--[Information] [26/05/2012 16:35:17] .Net Framework: 4.0 (4.0.30319)
--[Information] [26/05/2012 16:35:17] AviSynth: 2.5.8.5 (21/12/2008 21:46:54)
--[Information] [26/05/2012 16:35:17] AvisynthWrapper: 02/01/2009 20:34:04
--[Information] [26/05/2012 16:35:17] ICSharpCode.SharpZipLib: 0.85.5.452 (07/08/2008 20:31:12)
--[Information] [26/05/2012 16:35:17] LinqBridge: 1.0.0.0 (28/05/2009 01:24:34)
--[Information] [26/05/2012 16:35:17] MediaInfo: 0.7.57.0 (02/05/2012 18:49:57)
--[Information] [26/05/2012 16:35:17] MediaInfoWrapper: 0.7.53.0 (27/01/2012 17:42:16)
--[Information] [26/05/2012 16:35:17] MessageBoxExLib: 1.0.2218.28317 (19/12/2008 20:53:04)
--[Information] [26/05/2012 16:35:17] SevenZipSharp: 0.64.3890.29348 (02/01/2011 10:59:32)
--[Information] [26/05/2012 16:35:17] 7z: 9.20 (18/11/2010 16:27:34)
-[Information] Update detection
--[Information] [26/05/2012 16:35:18] Connecting to server: http://megui.org/auto/
--[Information] [26/05/2012 16:35:18] All files are up to date
--[Information] [26/05/2012 16:38:58] Connecting to server: http://megui.org/auto/
--[Information] [26/05/2012 16:38:58] All files are up to date
--[Information] [26/05/2012 16:39:02] Connecting to server: http://megui.xvidvideo.ru/auto/
--[Information] [26/05/2012 16:39:03] All files are up to date
--[Information] [26/05/2012 17:18:40] Connecting to server: http://megui.org/auto/
--[Information] [26/05/2012 17:18:40] All files are up to date
--[Information] [26/05/2012 17:19:46] Connecting to server: http://megui.org/auto/
--[Information] [26/05/2012 17:19:47] All files are up to date
-[Error] Log for job11 (audio, Cardfight!! Vanguard - 29rawtaff - [1].aac -> Cardfight!! Vanguard - 29rawtaff - [1].mp3)
--[Information] [26/05/2012 16:35:26] Started handling job
--[Information] [26/05/2012 16:35:26] Preprocessing
--[Information] [26/05/2012 16:35:26] Encoding started
--[Information] [26/05/2012 16:35:26] MediaInfo
---[Information] File: E:\raw\vangard\Cardfight!! Vanguard - 29rawtaff - [1].aac
---[Information] General
----[Information] Format: ADTS
----[Information] FormatString: ADTS
----[Information] FileSize: 23156502
----[Information] PlayTime:
---[Information] Audio
----[Information] ID:
----[Information] StreamOrder:
----[Information] Format: AAC
----[Information] FormatProfile: LC
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 44100
----[Information] SamplingRateString: 44.1 KHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2: 2/0/0
----[Information] BitRateMode: VBR
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
--[Information] [26/05/2012 16:35:27] Trying to open the file with NicAudio
--[Information] [26/05/2012 16:35:27] Failed opening the file with NicAudio()
--[Information] [26/05/2012 16:35:27] Trying to open the file with FFAudioSource()
--[Information] [26/05/2012 16:35:27] Successfully opened the file with FFAudioSource()
--[Information] [26/05/2012 16:35:27] Avisynth script
---[NoImage] LoadPlugin("C:\Program Files\MeGUI\tools\ffms\ffms2.dll")
---[NoImage] FFAudioSource("E:\raw\vangard\Cardfight!! Vanguard - 29rawtaff - [1].aac")
---[NoImage] Normalize()
---[NoImage] 32==Audiobits(last)?ConvertAudioTo16bit(last):last
---[NoImage] return last
--[Information] [26/05/2012 16:35:27] Commandline used: -b 128 --cbr -h - "{0}"
--[Information] [26/05/2012 16:35:27] Avisynth script environment opened
--[Information] [26/05/2012 16:35:27] Script loaded
--[Information] Output Decoder
---[Information] [26/05/2012 16:35:27] Channels: 2
---[Information] [26/05/2012 16:35:27] Bits per sample: 16
---[Information] [26/05/2012 16:35:27] Sample rate: 44100
--[Information] [26/05/2012 16:35:27] Commandline: C:\Program Files\MeGUI\tools\lame\lame.exe -b 128 --cbr -h - "E:\raw\vangard\Cardfight!! Vanguard - 29rawtaff - [1].mp3"
--[Information] [26/05/2012 16:35:27] Encoder process started
--[Error] [26/05/2012 16:37:45] An error occurred
---[Error] [26/05/2012 16:37:45] Exception message: FFAudioSource: ReadPacket unexpectedly failed to read a packet
---[Error] [26/05/2012 16:37:45] Stacktrace: à MeGUI.AviSynthAudioEncoder.encode()
---[Error] [26/05/2012 16:37:45] Inner exception: null

tebasuna51
26th May 2012, 20:40
Hi guy, i have an error with audio encoding since the last update.
...
---[Error] [26/05/2012 16:37:45] Exception message: FFAudioSource: ReadPacket unexpectedly failed to read a packet
...

Seems a corrupt source (maybe from a TV capture).
FFAudioSource fails if the source is not perfect.

Try with other free tools: Foobar2000, BeHappy-BassAudio or command line decoder/encoder (from http://www.rarewares.org/ )

faad -b 2 -w "input.aac" | Lame -b 128 - "output.mp3"

vergil666
26th May 2012, 21:00
ok thank i try this

EDIt: i find a solution, i replace FFMS2.avsi, ffms2.dll, ffmsindex.exe by those in ffms2-r624.7z and the errior disapear so it's seems it's the update of ffms who give me the error.

dingchris
28th May 2012, 16:32
Having audio issues with some videos can here some very distinctive clicking/popping sounds any one else has this prob here is a sample https://rapidshare.com/files/2254481095/audio_sample.mkv

tebasuna51
28th May 2012, 20:51
Having audio issues with some videos can here some very distinctive clicking/popping sounds any one else has this prob here is a sample...

Your sample is Ok for a AAC-HE 49 Kb/s.
Maybe your player don't support AAC-HE.

dingchris
28th May 2012, 21:37
Your sample is Ok for a AAC-HE 49 Kb/s.
Maybe your player don't support AAC-HE.
i though it was vlc player then i tested it on two diffident pc with WMP and MPC audio was the same here is a audio sample before i encoded the video http://rapidshare.com/files/2692953979/audio_sample_II.mkv
(http://rapidshare.com/files/2692953979/audio_sample_II.mkv)
listen closely the difference between both samples and u can here the popping sound i mentioned

Hotpocketdeath
29th May 2012, 00:01
ok thank i try this

EDIt: i find a solution, i replace FFMS2.avsi, ffms2.dll, ffmsindex.exe by those in ffms2-r624.7z and the errior disapear so it's seems it's the update of ffms who give me the error.


I had a problem with the latest FFMS as well.

After updating, and indexing the movie using ffms, I almost completely lost the ability to use the preview window for cuts and zones. Trying to go through the movies would look like it locked up because it would stop updating the frame positioning. When I closed the window, I got an error message saying something about trying to read protected memory or something about corrupt memory (can't remember the exact message). Also, when it did update to the correct frame, it was extremely sluggish.

This was happening on all movies I tried since updating.

Also, once I had my cuts in place and encoded the movies, half the movie was a single frame. The movie just could not encode right.

I went into the tools directory and restored the previous backups for all the FFMS files and got rid of the new version. Now everything is right as rain. Response is fast and updates position correctly, and no more errors. It even seems to index the movies quicker.

I think this ffms release needs to be pulled because it looks like something got broken.

tebasuna51
29th May 2012, 09:14
... listen closely the difference between both samples and u can here the popping sound i mentioned

I don't listen nothing special.
Put the time when you listen the popping sound.

What do you expect when convert a DTS 5.1 1509 Kb/s to a AAC-HE 49 Kb/s?

EDIT: See the differences between source, your encode and a encode to AAC VBR q=0.35 Automatic (average bitrate 81 Kb/s)

nhope
1st June 2012, 17:51
I've been using MeGUI 2112 (svn) without problems on Windows XP x64 SP2. Suddenly today I get the following error when I open a typical .avs file:

http://dl.dropbox.com/u/21489814/megui-error1.png

I click "OK" in that window and the video preview window comes up normally. I then dismiss that and set up an automatic encode then I get this:

http://dl.dropbox.com/u/21489814/megui-error2.png

I click for more information and I get this:

http://dl.dropbox.com/u/21489814/megui-error3.png

I click again for more information and I get this (I can paste some of the contents if it helps):

http://dl.dropbox.com/u/21489814/megui-error4.png

I tried "re-installing" MeGUI as advised, with new downloads, but it doesn't help.

There are few references to VCOMP100.DLL on the net. There is talk of having to install the Microsoft Visual C++ 2010 Redistributable Package, but I didn't have that before so I don't see why I should need it now. In addition XP x64 does not appear on the list of supported operating systems for it. I do have the 2005 and 2008 versions installed.

I don't know what has caused this. The only possibility I can think of is that today my AVG Anti-Virus Free Edition did a "summer update" to version 2012.0.2178.

Any ideas?

Taurus
1st June 2012, 19:22
@nhope:
Did you try with another source file?
An error on ntdll.dll is mostly a sign of corrupted or non standard file.

nhope
1st June 2012, 20:11
@Taurus - Thanks. Yes, I tried lots of different source files and scripts. I got hold of the zip file version of VCOMP100.DLL from here (http://www.dll-files.com/dllindex/dll-files.shtml?vcomp100) and that got me past the first error message but it still failed at the next hurdle. Also tried uninstalling AVG. Also attempted a system restore from before the AVG update, which it wouldn't do. And now that VCOMP100.DLL has disappeared from my C:\ again. The only other thing I've changed since the last time I used MeGUI is my NVIDIA display driver. I'm very close to installing a TrueImage C:\ image from February.

the_weirdo
1st June 2012, 20:58
@nhope:
Did you update variable blur plugin recently? If so, you need to install MSVC++ 2010 SP1 Redist (http://www.microsoft.com/en-us/download/details.aspx?id=8328).

nhope
1st June 2012, 21:39
@the_weirdo - Not as far as I know. I have been playing around with the latest SEt build of AviSynth 2.6 today, and changing a few plugins around, installing the Dither package etc., but I've set them all back as they were yesterday, as far as I know, and I'm still getting the error.

bazz
3rd June 2012, 05:39
The fact that two jobs run in parallel will not harm their quality. The processes are separated.

There is only a risk if you have plugins in both scripts which use shared ressources, e.g. both using a GPU video decoder like DGDecNV. Even if context switching works reliable, it may be quite inefficient to have the decoder chip switch between different video sources at each frame.

thank you very much LigH for your reply :)

just to claarify when you say "shared ressources" this would not apply to the same filter/plugin

for instance say i was using a light denoiser on all jobs like

undot/removegrain (this would be okay?)

but using different instances of fft3dGPU (not recommended)

im i right?

thanks


__________________

nhope
5th June 2012, 11:38
I tracked down the cause of my error described previously (http://forum.doom9.org/showthread.php?p=1576774#post1576774) to a test version of eedi3.dll. More info in this post (http://forum.doom9.org/showthread.php?p=1577242#post1577242).

forum king
12th June 2012, 08:38
hey

this is regarding
http://forum.doom9.org/showpost.php?p=1573810&postcount=6629

9 out of 10 times i cant open the audio with nicaudio while encoding , so i am left with no option but to rencode it using DirectShow and the resultant volume is always so low.

i am using the downmix to stereo option , with dynamic range compression and normalize volume, using directshow as decoder as the rest always fail :P

is there a way out to gain a bit more volume may be

LigH
12th June 2012, 09:08
NicAudio does not support all kinds of audio input. Try to compare the audio streams with fail with the one which works, using MediaInfo.

tebasuna51
12th June 2012, 12:21
9 out of 10 times i cant open the audio with nicaudio while encoding ,

If audio is from DVD you can use NicAudio always.
Extract first the audio tracks with DGIndex (MeGUI -> Tools -> File Indexer)

is there a way out to gain a bit more volume may be
Not without distort.

You can always:
- Use MeGUI to decode with DRC, downmix to 2.0, Normalize 100% and recode to flac (lossless).

- open the flac with an Audio Editor (Audacity for instance) and modify the volume at your choice.

- recode the modified flac to AAC with MeGUI or other tool.

LigH
12th June 2012, 12:57
"Generations ago" ;) we used to handle that with BeSweet, which uses the great Azid AC3 decoder. There you had the choice between AC3 "internal" DRC applied by Azid, or the alternative "Boost" compressor I once donated to BeSweet. Unfortunately, serving AAC encoders from BeSweet was not easy, and now this project is really dead.

I wonder if AviSynth developers might be interested in the algorithms used for the Booster. It is really trivial, applying saturating functions to normalized float samples. Then you could offer Dynamic Range Compression via AviSynth (in MeGUI or BeHappy) just like BeSweet did.

A disadvantage is, of course, that it will distort sound by adding harmonics; but that makes the sound more crisp, so people may even like that.
__

P.S.: http://cosgan.de/images/smilie/figuren/a045.gif (http://www.cosgan.de/smilie.php) #2,000 http://cosgan.de/images/smilie/liebe/f045.gif (http://www.cosgan.de/smilie.php)

tebasuna51
13th June 2012, 00:40
"Generations ago" ;) we used to handle that with BeSweet, which uses the great Azid AC3 decoder. There you had the choice between AC3 "internal" DRC applied by Azid, or the alternative "Boost" compressor I once donated to BeSweet. Unfortunately, serving AAC encoders from BeSweet was not easy, and now this project is really dead.

You can still use BeLight: http://forum.doom9.org/showthread.php?p=1460801#post1460801

Can use NeroAacEnc to output AAC

I wonder if AviSynth developers might be interested in the algorithms used for the Booster. It is really trivial, applying saturating functions to normalized float samples. Then you could offer Dynamic Range Compression via AviSynth (in MeGUI or BeHappy) just like BeSweet did.

Long time ago I make some test using the SoxFilter compand with BeHappy:
http://forum.doom9.org/showthread.php?p=779165#post779165

timon_lion
13th June 2012, 14:13
Hello, I am trying to encode a TV show using megui and x264.
I get this error after a couple of minutes the first pass starts.
"microsoft visual c++ runtime library"


The recording was made using windows media center and i cut and converted(from h264 mpeg4 .wtv to h264 mgep4 .ts) the video using videoredo.

What i ve tried:

Different sources and i had no problem(recorded from other channels) but every recording from this channel gives me that error.
To record directly to .ts using another program - same problem occurred.
Different scripts - failed
Encode the original file without editing - failed
Different x264 guis - failed
Recode to mpeg2 using videoredo and then re-encode to x264 using megui - success
Encode using finalcut - success but took almost 24hours(macbook)


Well, i dont want to recode to mpeg2 and the reencode with megui and i dont want to use my macbook for encoding.
My script:
LoadPlugin("C:\automkv\tools\dgavcindex\DGAVCDecode.dll")
AVCSource("C:\Users\Public\Recorded TV\grcz.dga")
Load_Stdcall_Plugin("C:\automkv\tools\yadif\yadif.dll")
Yadif(order=1)
#crop
LanczosResize(1280,720) # Lanczos (Sharp)
LoadPlugin("C:\automkv\tools\avisynth_plugin\UnDot.dll")
Undot() # Minimal Noise

The source file is h264 mpeg4 1440x1080i anamorphic 16:9
Visual library 2005, 2008, 2010 installed. x64 and x86

Any ideas?
Thank you

defalopii
14th June 2012, 04:08
Is that possible to make MeGUI Distributed Encoding like in RipBot264 ??

Shevek
26th June 2012, 09:55
Hi All, hope someone can help!

I had to reinstall my computer following a dead HDD

When I now try to encode a BluRay, MeGUI (or x264) pauses during encode.

It will encode for a period of time, then do nothing for a period of time (I've not timed it)

When encoding it runs at ~10 fps with x264_64 using 70-80% CPU and avs4x264mod using 15-20% CPU

After a few frames encoding stops and both process drop CPU

Then it starts up again

Rinse, repeat

I have the priority set to NORMAL.

Because of the pauses the average fps is down at 4.5 fps

I have reinstalled exactly what I had before and there is nothing now running during an encode that wasn't before.

The only difference is that I have switched from a SATA II HDD running in IDE mode to a SATA III SSD running in AHCI mode.

In case it is something drive related I have tried switching back to IDE mode but get the same result.

Tonight I am going to put the HDD back in and try again to encode a file from HDD instead of SSD to see if that makes a difference but wanted to check on here to see if anyone has any other ideas before I start dismantling my computer again!

AVS and Log included below.

Hardware:

Abit AB9 QuadGT motherboard (Intel P965 Express chipset with ICH8 controller)
Intel E6600 2.4GHz Core 2 Duo
8 GB DDR2 RAM
Nvidia GTX 550 Ti (301.42 driver)
C: - Kingston HyperX 120GB SSD
D: - Kingston V+200 120GB SSD
Windows 7 x64 (fully patched)

TIA

LoadPlugin("C:\Applications\MeGUI\tools\dgindexnv\DGDecodeNV.dll")
DGSource("D:\Rip\Video\T1_Video - .dgi",fieldop=0)
#deinterlace
#crop
Spline36Resize(1280,720) # Spline36 (Neutral)
LoadPlugin("C:\Applications\MeGUI\tools\avisynth_plugin\UnDot.dll")
Undot() # Minimal Noise


[Information] Log
-[Information] Versions
--[Information] [26/06/2012 01:54:42] MeGUI: 2153 (svn)
--[Information] [26/06/2012 01:54:42] Operating System: Windows 7 Ultimate Edition x64 SP1 (6.1.65536.7601)
--[Information] [26/06/2012 01:54:42] .Net Framework: 4.0 (4.0.30319)
--[Information] [26/06/2012 01:54:42] AviSynth: 2.5.8.5 (21/12/2008 21:46:54)
--[Information] [26/06/2012 01:54:42] AvisynthWrapper: 02/01/2009 20:34:04
--[Information] [26/06/2012 01:54:42] ICSharpCode.SharpZipLib: 0.85.5.452 (07/08/2008 21:31:12)
--[Information] [26/06/2012 01:54:42] LinqBridge: 1.0.0.0 (28/05/2009 02:24:34)
--[Information] [26/06/2012 01:54:42] MediaInfo: 0.7.58.0 (29/05/2012 08:22:28)
--[Information] [26/06/2012 01:54:42] MediaInfoWrapper: 0.7.53.0 (27/01/2012 17:42:16)
--[Information] [26/06/2012 01:54:42] MessageBoxExLib: 1.0.2218.28317 (19/12/2008 21:53:04)
--[Information] [26/06/2012 01:54:42] SevenZipSharp: 0.64.3890.29348 (02/01/2011 11:59:32)
--[Information] [26/06/2012 01:54:42] 7z: 9.20 (18/11/2010 17:27:34)
-[Information] Update detection
--[Information] [26/06/2012 01:54:43] Connecting to server: http://megui.xvidvideo.ru/auto/
--[Information] [26/06/2012 01:54:45] All files are up to date
-[Information] Log for job9 (video, T1_Video -.avs -> Video.264)
--[Information] [26/06/2012 01:56:28] Started handling job
--[Information] [26/06/2012 01:56:28] Preprocessing
--[Information] [26/06/2012 01:56:28] Avisynth input script
---[NoImage] LoadPlugin("C:\Applications\MeGUI\tools\dgindexnv\DGDecodeNV.dll")
---[NoImage] DGSource("D:\Rip\Video\T1_Video - .dgi",fieldop=0)
---[NoImage] #deinterlace
---[NoImage] #crop
---[NoImage] Spline36Resize(1280,720) # Spline36 (Neutral)
---[NoImage] LoadPlugin("C:\Applications\MeGUI\tools\avisynth_plugin\UnDot.dll")
---[NoImage] Undot() # Minimal Noise
--[Information] [26/06/2012 01:56:28] [WDTV]: target device selected
--[Information] [26/06/2012 01:56:28] Job commandline: "C:\Applications\MeGUI\tools\x264\avs4x264mod.exe" --level 4.1 --tune film --keyint 240 --sar 1:1 --output "D:\Rip\Video.264" "D:\Rip\Video\T1_Video -.avs"
--[Information] [26/06/2012 01:56:28] Encoding started
--[Information] [26/06/2012 06:19:42] Standard output stream
---[NoImage] avs [info]: AviSynth 2.58, build:Dec 22 2008 [08:46:51]
---[NoImage] avs [info]: Video colorspace: YV12
---[NoImage] avs [info]: Video resolution: 1280x720
---[NoImage] avs [info]: Video framerate: 24000/1001
---[NoImage] avs [info]: Video framecount: 62496
---[NoImage] avs4x264 [info]: "C:\Applications\MeGUI\tools\x264\x264_64" - --level 4.1 --tune film --keyint 240 --sar 1:1 --output "D:\Rip\Video.264" --frames 62496 --fps 24000/1001 --input-res 1280x720 --input-csp i420
--[Information] [26/06/2012 06:19:42] Standard error stream
---[NoImage] raw [info]: 1280x720p 1:1 @ 24000/1001 fps (cfr)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
---[NoImage] x264 [info]: profile High, level 4.1
---[NoImage]
---[NoImage] x264 [info]: frame I:1093 Avg QP:20.14 size: 38793
---[NoImage] x264 [info]: frame P:38578 Avg QP:23.88 size: 9248
---[NoImage] x264 [info]: frame B:22825 Avg QP:25.71 size: 3497
---[NoImage] x264 [info]: consecutive B-frames: 36.9% 40.2% 9.0% 13.9%
---[NoImage] x264 [info]: mb I I16..4: 21.7% 65.1% 13.2%
---[NoImage] x264 [info]: mb P I16..4: 1.7% 3.4% 0.4% P16..4: 36.2% 7.8% 5.4% 0.0% 0.0% skip:45.3%
---[NoImage] x264 [info]: mb B I16..4: 0.1% 0.2% 0.0% B16..8: 40.5% 1.8% 0.3% direct: 0.5% skip:56.6% L0:40.5% L1:56.8% BI: 2.8%
---[NoImage] x264 [info]: 8x8 transform intra:63.2% inter:83.2%
---[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 49.0% 39.2% 8.0% inter: 12.9% 8.7% 0.0%
---[NoImage] x264 [info]: i16 v,h,dc,p: 58% 11% 5% 26%
---[NoImage] x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 12% 23% 6% 8% 10% 7% 7% 6%
---[NoImage] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 15% 14% 6% 10% 10% 7% 6% 4%
---[NoImage] x264 [info]: i8c dc,h,v,p: 68% 13% 17% 2%
---[NoImage] x264 [info]: Weighted P-Frames: Y:2.0% UV:0.5%
---[NoImage] x264 [info]: ref P L0: 64.5% 15.6% 14.1% 5.6% 0.1%
---[NoImage] x264 [info]: ref B L0: 83.3% 15.5% 1.2%
---[NoImage] x264 [info]: ref B L1: 97.2% 2.8%
---[NoImage] x264 [info]: kb/s:1470.00
---[NoImage] encoded 62496 frames, 3.96 fps, 1470.00 kb/s
--[Information] Final statistics
---[Information] [26/06/2012 06:19:42] Constant Quality Mode: Quality 23 computed...
---[Information] [26/06/2012 06:19:42] Video Bitrate Obtained (approximate): 1470 kbit/s
--[Information] [26/06/2012 06:19:42] MediaInfo
---[Information] File: D:\Rip\Video.264
---[Information] General
----[Information] Format: AVC
----[Information] FormatString: AVC
----[Information] FileSize: 478963951
----[Information] PlayTime:
---[Information] Video
----[Information] ID:
----[Information] StreamOrder:
----[Information] Width: 1280
----[Information] Height: 720
----[Information] FrameCount:
----[Information] FrameRate: 23.976
----[Information] ScanType: Progressive
----[Information] Codec: AVC
----[Information] CodecString: AVC
----[Information] Format: AVC
----[Information] AspectRatio: 1.778
----[Information] AspectRatioString: 16:9
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
--[Information] [26/06/2012 06:19:43] Postprocessing
---[Information] Deleting intermediate files
--[Information] [26/06/2012 06:19:43] Job completed
-[Information] Log for job10 (mux, Video.264 -> Video-muxed.mkv)
--[Information] [26/06/2012 06:19:43] Started handling job
--[Information] [26/06/2012 06:19:43] Preprocessing
--[Information] [26/06/2012 06:19:43] MediaInfo
---[Information] File: D:\Rip\Video.264
---[Information] General
----[Information] Format: AVC
----[Information] FormatString: AVC
----[Information] FileSize: 478963951
----[Information] PlayTime:
---[Information] Video
----[Information] ID:
----[Information] StreamOrder:
----[Information] Width: 1280
----[Information] Height: 720
----[Information] FrameCount:
----[Information] FrameRate: 23.976
----[Information] ScanType: Progressive
----[Information] Codec: AVC
----[Information] CodecString: AVC
----[Information] Format: AVC
----[Information] AspectRatio: 1.778
----[Information] AspectRatioString: 16:9
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
--[Information] [26/06/2012 06:19:43] MediaInfo
---[Information] File: D:\Rip\Video\T2_Audio - English.ac3
---[Information] General
----[Information] Format: AC-3
----[Information] FormatString: AC-3
----[Information] FileSize: 208611840
----[Information] PlayTime: 00:43:27.648
---[Information] Audio
----[Information] ID:
----[Information] StreamOrder:
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2: 3/2/0.1
----[Information] BitRateMode: CBR
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
--[Information] [26/06/2012 06:19:43] Job commandline: "C:\Applications\MeGUI\tools\mkvmerge\mkvmerge.exe" -o "D:\Rip\Video-muxed.mkv" --engage keep_bitstream_ar_info --default-duration 0:24000/1001fps "--compression" "0:none" -d "0" --no-chapters -A -S "D:\Rip\Video.264" --language 0:eng "--compression" "0:none" -a 0 --no-chapters -D -S "D:\Rip\Video\T2_Audio - English.ac3" --ui-language en
--[Information] [26/06/2012 06:19:44] Muxing started
--[Information] [26/06/2012 06:19:57] Standard output stream
---[NoImage] mkvmerge v5.6.0 ('Kenya Kane') built on May 27 2012 16:44:04
---[NoImage] 'D:\Rip\Video.264': Using the demultiplexer for the format 'AVC/h.264'.
---[NoImage] 'D:\Rip\Video\T2_Audio - English.ac3': Using the demultiplexer for the format 'AC3'.
---[NoImage] 'D:\Rip\Video.264' track 0: Using the output module for the format 'AVC/h.264'.
---[NoImage] 'D:\Rip\Video\T2_Audio - English.ac3' track 0: Using the output module for the format 'AC3'.
---[NoImage] The file 'D:\Rip\Video-muxed.mkv' has been opened for writing.
---[NoImage] 'D:\Rip\Video.264' track 0: Extracted the aspect ratio information from the MPEG-4 layer 10 (AVC) video data and set the display dimensions to 1280/720.
---[NoImage] The cue entries (the index) are being written...
---[NoImage] Muxing took 11 seconds.
--[Information] [26/06/2012 06:19:57] Standard error stream
--[Information] [26/06/2012 06:19:57] MediaInfo
---[Information] File: D:\Rip\Video-muxed.mkv
---[Information] General
----[Information] Format: Matroska
----[Information] FormatString: Matroska
----[Information] FileSize: 688147848
----[Information] PlayTime: 00:43:27.648
---[Information] Video
----[Information] ID: 1
----[Information] StreamOrder: 0
----[Information] Width: 1280
----[Information] Height: 720
----[Information] FrameCount: 62521
----[Information] FrameRate: 23.976
----[Information] ScanType: Progressive
----[Information] Codec: V_MPEG4/ISO/AVC
----[Information] CodecString: AVC
----[Information] Format: AVC
----[Information] AspectRatio: 1.778
----[Information] AspectRatioString: 16:9
----[Information] Delay: 0
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default: Yes
----[Information] DefaultString: Yes
----[Information] Forced: No
----[Information] ForcedString: No
---[Information] Audio
----[Information] ID: 2
----[Information] StreamOrder: 1
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2: 3/2/0.1
----[Information] BitRateMode: CBR
----[Information] Delay: 0
----[Information] Title:
----[Information] Language: en
----[Information] LanguageString: English
----[Information] Default: Yes
----[Information] DefaultString: Yes
----[Information] Forced: No
----[Information] ForcedString: No
--[Information] [26/06/2012 06:19:57] Postprocessing
---[Information] Deleting intermediate files
----[Information] [26/06/2012 06:19:57] Successfully deleted D:\Rip\Video.264
--[Information] [26/06/2012 06:19:57] Job completed

Zathor
30th June 2012, 16:15
Is that possible to make MeGUI Distributed Encoding like in RipBot264 ??

Possible? Yes
Likely? No
Reason: No time and interest for such things.
But of course if someone else will do this I will add it to MeGUI.


When I now try to encode a BluRay, MeGUI (or x264) pauses during encode. No clue, but you can try to disable x264 x64 in the MeGUI settings to test it without avs4x264mod.

Capsbackup
5th July 2012, 02:09
I have come across this warning with MeGui when using DGAVCIndex/DGAVCDecode.dll:

I do not get this warning when using DirectShowSource. Where is the improper "240000/10010 fps" coming from? :confused:

[Warning] Log
-[Information] Versions
--[Information] [7/4/2012 5:01:21 PM] MeGUI: 2153 (svn)
--[Information] [7/4/2012 5:01:21 PM] Operating System: Windows 7 x64 SP1 (6.1.65536.7601)
--[Information] [7/4/2012 5:01:21 PM] .Net Framework: 4.0 (4.0.30319)
--[Information] [7/4/2012 5:01:21 PM] AviSynth: 2.5.8.5 (12/21/2008 9:46:54 PM)
--[Information] [7/4/2012 5:01:21 PM] AvisynthWrapper: 1/2/2009 8:34:04 PM
--[Information] [7/4/2012 5:01:21 PM] ICSharpCode.SharpZipLib: 0.85.5.452 (8/8/2008 5:31:12 AM)
--[Information] [7/4/2012 5:01:21 PM] LinqBridge: 1.0.0.0 (5/28/2009 10:24:34 AM)
--[Information] [7/4/2012 5:01:21 PM] MediaInfo: 0.7.58.0 (5/29/2012 8:22:28 AM)
--[Information] [7/4/2012 5:01:21 PM] MediaInfoWrapper: 0.7.53.0 (1/27/2012 5:42:16 PM)
--[Information] [7/4/2012 5:01:21 PM] MessageBoxExLib: 1.0.2218.28317 (12/20/2008 5:53:04 AM)
--[Information] [7/4/2012 5:01:21 PM] SevenZipSharp: 0.64.3890.29348 (1/2/2011 7:59:32 PM)
--[Information] [7/4/2012 5:01:21 PM] 7z: 9.20 (11/19/2010 1:27:34 AM)
-[Information] Update detection
--[Information] [7/4/2012 5:01:22 PM] Connecting to server: http://megui.org/auto/
--[Information] [7/4/2012 5:01:22 PM] All files are up to date
-[Warning] Log for job3 (video, SHAMELESS S1 E11.avs -> SHAMELESS S1 E11.264)
--[Information] [7/4/2012 5:01:44 PM] Started handling job
--[Information] [7/4/2012 5:01:44 PM] Preprocessing
--[Information] [7/4/2012 5:01:44 PM] Avisynth input script
---[NoImage] LoadPlugin("C:\Tools\MeGUI\tools\dgavcindex\DGAVCDecode.dll")
---[NoImage] AVCSource("D:\BD BACKUPS\Shameless Season 1 Episode 11\SHAMELESS S1 E11.dga")
---[NoImage] #deinterlace
---[NoImage] #crop
---[NoImage] #resize
---[NoImage] #denoise
--[Information] [7/4/2012 5:01:44 PM] [Blu-ray]: target device selected
--[Warning] [7/4/2012 5:01:44 PM] [Blu-ray]:does not support 240000/10010 fps with a resolution of 1920x1080. Supported are 24000/1001, 24/1, 25/1, 30000/1001 and 30/1.
--[Information] [7/4/2012 5:01:44 PM] Job commandline: "C:\Tools\MeGUI\tools\x264\x264.exe" --level 4.1 --bluray-compat --tune film --bitrate 4650 --keyint 23 --open-gop --slices 4 --vbv-bufsize 30000 --vbv-maxrate 40000 --colorprim bt709 --transfer bt709 --colormatrix bt709 --sar 1:1 --output "D:\BD BACKUPS\Shameless Season 1 Episode 11\SHAMELESS S1 E11.264" "D:\BD BACKUPS\Shameless Season 1 Episode 11\SHAMELESS S1 E11.avs"
--[Information] [7/4/2012 5:01:44 PM] Encoding started
--[Information] Deleting aborted output

Zathor
5th July 2012, 06:02
Your AviSynth script (and therefore AVCSource) is reporting this frame rate.

Capsbackup
5th July 2012, 07:22
Your AviSynth script (and therefore AVCSource) is reporting this frame rate.

My AviSynth script is below. I don't understand why I get this warning when MeGui created the script. :confused:
Is there a bug with dgavcindex or Avisynth? One of them is adding one too many zeros!! ("240000/10010 fps" )
I can just use directshowsource, but it does seem like there is a problem here, one that is not self inflicted. :(

LoadPlugin("C:\Tools\MeGUI\tools\dgavcindex\DGAVCDecode.dll")
AVCSource("D:\BD BACKUPS\Shameless Season 1 Episode 11\SHAMELESS S1 E11.dga")
#deinterlace
#crop
#resize
#denoise

LigH
5th July 2012, 07:35
Because fractions can be reduced, it is just a warning, but the quotient is the same.

You might get rid of the warning by enforcing the expected dividend and divisor with AVCSource("*.dga").AssumeFPS(24000, 1001) — but in this specific case only; other movies may have other framerates.

Capsbackup
5th July 2012, 16:21
Because fractions can be reduced, it is just a warning, but the quotient is the same.

You might get rid of the warning by enforcing the expected dividend and divisor with AVCSource("*.dga").AssumeFPS(24000, 1001) — but in this specific case only; other movies may have other framerates.

Thanks LigH, that did eliminate the warning. I don't recall ever seeing that warning before and I have done quite a few of these same type of reencodes, using dgavcindex, and never needed to add assumeFPS before.
Perhaps MeGui should make that call as it does when using directshowsource. ;)
Maybe Zathor could provide his thoughts. :cool:

Zathor
7th July 2012, 09:43
Up to now the DG tools had been correctly reporting the frame rate to AviSynth and therefore I did not add the assumefps like for DirectShowSource or FFVideoSource. On the other hand DGAVCDec is quite old and more or less outdated. Nevertheless there are some sources where it is still required (at least in the MeGUI workflow).

cengizhan
7th July 2012, 10:19
i add an mkv file with a flac to trackwith one click encode to convert flac track to aac. everything goes ok but converted mkv file loses subtitle. what am i doing wrong?

NoWoRRiEs
10th July 2012, 18:34
Hey guys im still pretty much a noob when it comes to encoding but am getting there or was till today uup untill now i have been using megui with out issues, today i load up megui and set my file up then it crashes with this

Faulting application name: MeGUI.exe, version: 1.0.2153.0, time stamp: 0x4fd0f004
Faulting module name: DirectShowSource.dll_unloaded, version: 0.0.0.0, time stamp: 0x494eb91d
Exception code: 0xc0000005
Fault offset: 0x05aed810
Faulting process id: 0x12ec
Faulting application start time: 0x01cd5ebe5e869a50
Faulting application path: C:\Users\Desktop\megui\MeGUI.exe
Faulting module path: DirectShowSource.dll
Report Id: a6451777-cab1-11e1-9dce-f46d04443b63

n0ow i have tried uninstalling everything and reinstalling and it does the same constantly crashes the only way i can think to fix this now as i have run out of options is to reinstall windows which i really dont wanna do so please can u guys shed any light on why this is happening and thanks guys

bamsebo
10th July 2012, 19:55
Did you install it to your desktop? Thats where the Megui.exe file is you are running.. that may cause problems

Wam7
13th July 2012, 12:07
I was using WinMenc to encode .mp4. Decided to try MeGUI, but a slight problem I am having is that the .mp4 created do not seem to be universally playable as the .mp4 created in WinMenc. i.e 1st Gen Ipod's, Klite codec using MPC will only play the audio and not video.
This is using Xvid with HE-ACC in the .mp4 container.
The files play fine in VLC or if I use Windows Media player on the same machine that Klite/MPC do not work. Files created with WinMEnc are fine.

What is the difference in how the .mp4 is created to make this difference?

I would prefer to use MeGUI as I get much faster encoding times as I'm able to use 8 threads.

bamsebo
13th July 2012, 12:54
have you tried using x264 instead of xvid?

Wam7
13th July 2012, 12:57
have you tried using x264 instead of xvid?Yes, x264 doesn't seem to exhibit the same problems. I've tried many different Xvid presets and still getting the same problem. I want to use Xvid as on mobile devices it uses less resource to play and quality is still good on small screens.

bamsebo
13th July 2012, 13:50
ok fair enough, I dont know WinMenc but if its like MeGui and uses an external library for the xvid encoding maybe the versions used by the 2 programs are different. It could also be that the parameters used to encode are different.... Encoding the same file using the 2 progs and comparing the 2 resulting files in Mediainfo may shed some light on the difference.

Wam7
22nd July 2012, 12:22
ok fair enough, I dont know WinMenc but if its like MeGui and uses an external library for the xvid encoding maybe the versions used by the 2 programs are different. It could also be that the parameters used to encode are different.... Encoding the same file using the 2 progs and comparing the 2 resulting files in Mediainfo may shed some light on the difference.Well I've solved the problem with Klite codec not playing it by installing the Klite Mega pack, but still a problem with 1st Gen IPod not liking the .mp4. It plays the audio but freezes on the picture. I am not using Qpel or GMC but I will test without B-Frames and use some of the profiles.

One other question; is it possible to upscale stuff. i.e I want to go from 624*X to 640*X but even though I set it in the resize window it will remain at 624*X

Pulp Catalyst
23rd July 2012, 03:15
hi, i know there is an issue with Xvid 1.3.x series (2gb issue), my question is, is there nothing that can be done on this, is anyone even looking for a fix for this problem, other GUI's have introduced the new version, but MeGUI still hasn't, why is this matter not being dealt with.... Xvid is still being used by many (mainly cost really, replacing all those divx players out there is gonna take a lot of time LOL)

reason i have posted is because other GUI's (several) can utilize the new xvid series, yet MeGUI as well developed as it is still has not found a solution to this problem (my concern is that no ones even bothering with it)

just got a new upgrade rig, my i7 runs terrible with xvid 1.2.x, but tried out xvid 1.3.x with other programs and without question the new version is much better (so much faster)

any feedback welcome

kalehrl
23rd July 2012, 08:30
You can use new Xvid 1.3.2 in MeGUI but you have to replace the appropriate files manually.
Use the search function and you will see how.
http://forum.doom9.org/showthread.php?p=1572430#post1572430
Are you sure it is faster that existing Xvid in MeGUI?
Did you time the conversion with a stopwatch or you relied on fps reported?
My experience is this:
http://forum.doom9.org/showthread.php?p=1555537#post1555537

LigH
23rd July 2012, 12:12
I believe one of the issues with xvid_encraw 1.3.x was that huge output files are not well supported?

kalehrl
23rd July 2012, 13:28
Yes, that as well but I never make avis >2GB so this was not an issue for me.
I gave up on Xvid 1.3.2 and use the one which comes with MeGUI because it is faster on my setup.

Pulp Catalyst
23rd July 2012, 15:47
if 1.3.2 is known to cause hit and miss, then of course i too would rather leave it,

Xvid4psp (adding the normal Avisynth SetmodeMT stuff) 1.3.2 encode finished 4% quicker (ran three tests and grabbed the average)

1.3.2 does seem a little faster on my system (although didn't know it would be so little....4-6% is hardly nothing..... so not really an issue after all (i was expecting 1.3.2 to do a lot better job on the 1st pass.... the 1st pass is where Xvid REALLY underutilizes the CPU, and 1.3.2 doesn't do much to improve on this....although i have no figures to back that up, as it's hard to calculate this part of the encoding because of the weird ramdom CPU spikes)

thanks anyway

one thing still puzzles me however..... how as other GUI's like Xvid4psp - staxrip solved this 2gb issue?

Sm3n
23rd July 2012, 19:38
Hi guys,

I have an issue about avi encoding with MeGUI. I hope you could help me.

I usually use MeGUI to make some repack (1,4GB to 700MB) or encode MP4 to AVI but since several month the file size outpout are wrong. Less than 700MB (400 or 500MB) for a movie.
It always worked when I choose filesize = 700MB in Autoencode (final step)

I don't understand. I hope you do understand what I'm saying cause I don't speak english a lot...^^
I have ffdshow + haali. I'm using MeGUI x86 I don't really know why the file size are now always smaller than I decide.

thanks for your help

cheers ;)

LigH
24th July 2012, 06:48
@ Pulp Catalyst

The 2 GB border is an issue of xvid_rawenc.exe (which is used by MeGUI), but not of e.g. VirtualDubMod using the Xvid VfW Codec (as it is used by some other GUIs).

tebasuna51
24th July 2012, 10:04
...
I usually use MeGUI to make some repack (1,4GB to 700MB) or encode MP4 to AVI but since several month the file size outpout are wrong. Less than 700MB (400 or 500MB) for a movie.

Read this post and next: http://forum.doom9.org/showthread.php?p=1582670#post1582670

Pulp Catalyst
24th July 2012, 10:41
i'm using svn 2153

the following script is giving me "script return was not a video"

global MeGUI_darx = 67
global MeGUI_dary = 49
SetMemoryMax(768)
SetMTMode(5,3)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("H:\MEGUI\4\VTS 01 1.d2v", info=3)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
SetMTMode(2)
#crop
#resize
#denoise


SetMemoryMax(768)
SetMTMode(5,3)
<input>
SetMTMode(2)
<crop>
#resize
#denoise


however my other profile "NNEDI Denoise" as follows works fine!!!

SetMemoryMax(768)
SetMTMode(5,3)
<input>
SetMTMode(2)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\yadifmod.dll")
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\nnedi3.dll")
YadifMod(order=-1, edeint=nnedi3(field=-1))
<crop>
<denoise>



then i don't get an error, why is the first script causing error, but second script OK, the first script is as simple as it gets.

i'm trying to create a new profile you see, as i have a progressive DVD,

i found the problem, if i turn of the noise filter under "Filters" - Mpeg2 source in avisynth script creator then hit preview AVS script, i get the error "script return was not a video clip", however if i turn the noise filter back ON, and then hit preview again, all is well. I have no IDEA what's going on there...... i'm thinking got to be a bug right!



so here is one example, the following causes error
# Set DAR in encoder to 93 : 68. The following line is for automatic signalling
global MeGUI_darx = 93
global MeGUI_dary = 68
SetMemoryMax(768)
SetMTMode(5,3)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("H:\MEGUI\6\VTS_01_1.d2v", info=3)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
SetMTMode(2)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\yadifmod.dll")
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\nnedi3.dll")
#crop
#denoise



yet this one is ok

# Set DAR in encoder to 93 : 68. The following line is for automatic signalling
global MeGUI_darx = 93
global MeGUI_dary = 68
SetMemoryMax(768)
SetMTMode(5,3)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("H:\MEGUI\6\VTS_01_1.d2v", info=3)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
SetMTMode(2)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\yadifmod.dll")
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\nnedi3.dll")
#crop
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\avisynth_plugin\UnDot.dll")
Undot() # Minimal Noise



i'm at a complete lost.

going to rip everything out (delete all megui), and install it from scratch, going to back to to stable version aswell, extra assurance.

pintcat
24th July 2012, 11:39
The latest MeGUI always tries to update via internet (automated online update). Disabling it in the settings has no effect. Since my Windows installation is (and will be) always offline this attempt will result in an error and as an outcome it stops all processes. It looks like there's no way I could use MeGUI for anything atm.

Pulp Catalyst
24th July 2012, 17:39
Deleted this post, another problem has occurred that contradicts what i previously thought, need to look more into this.

EDIT,

i believe i found the problem,

The script can't have SetMTMode (xxxx)

at the end, there must be something after it, why i don't know, i guess Avisynth expects something after the SetMTMode (xxxx)

it was quite sometime ago i originally setup my profiles, it was only by chance that i needed to create a new one after all this time when i got the script problem.

my best guess is, all the other profiles i created always had something after SetMTMode (xxxx) in the script, so the above issue never arose, only now was i attempting to create a script that had nothing after SetMTMode, and this of course was not acceptable by Avisynth (if nothing is going to be added after SetMTMode(2) in the script then why is SetMTMode(2) there in the first place)

anyway all seems well, i have successfully created 3 scripts now, the good news is from all this, it's given me a chance to recreate my profiles from scratch, which in turn has allowed me to do a nice cleanup which has been due for quite some time, and also implement a few more profiles (i had a habit of altering other profiles which could lead to problems if i forgot i altered them, which did happen from time to time, no more hybrid profiles any more)

(i have made a note of the above problem in a text file.... just in case i forget)

Betsy25
24th July 2012, 19:16
Hello,
does ayone know if Zathor pulled the plug of this project, or is he only taking a temperary break please ?

Pulp Catalyst
24th July 2012, 20:16
i'm in the process of re-creating my one click profiles, i know MeGUI could not do the following before, but that was sometime ago, so i will check again.

"can MeGUI do AC3 passthru when using the one click method"

did a search around the net, but most pages that i get are from 2009-2010, not getting anything current.

looking at MeGUI options, there doesn't appear to be anything there that can help, however i did see this in the recent svn2153 changelog! which is the only reason why i'm checking because-

"[OneClick] fixed encoding of AC3 tracks which should be muxed only"

this is exactly what i need, mux AC3 track only, do not encode it, but how do i get MeGUI to do this in the one click method?


EDIT- i'm going to try OneClick configuration (if codec does not match then encode) hopefully this means if the track is AC3 already, then don't encode it, just mux..... is that right?

LigH
25th July 2012, 07:38
Most probably just a summer vacation, Betsy25.

Sm3n
25th July 2012, 16:33
Read this post and next: http://forum.doom9.org/showthread.php?p=1582670#post1582670

Thx a lot m8. I saw that but I wasn't sure.. It worked :)

One last thing, some times megui can open directly ts audio in "audio input" and convert to an other format, but some times it doesn't work and megui crash.
I know it's better to use "HD Stream Extractor" but I'm positive, it worked.

any idea ? thx a lot.

hello_hello
25th July 2012, 18:20
Is Zathor on a break? I wondered why MeGUI hasn't had any updates in the last 30 seconds..... ;)

Probably a bad time to ask these questions then, but I guess some AVIsynth knowledgeable person is likely to know the answers.
When opening a video via DirectShowSource, MeGUI's default script looks something like this, and the Filters tab lets you select the desired frame rate.
DirectShowSource("E:\video.mkv", fps=25.000, audio=false, convertfps=true).AssumeFPS(25,1)
I'm just curious.... if, as I understand it, "convertfps=true" is there to convert the frame rate if need be, what does adding AssumeFPS() actually do?

When opening the same video as above using ffms2, MeGUI's default script looked something like this:
FFVideoSource("E:\video.mkv", threads=1)
So a few questions there.
Any logical reason why the script couldn't default to using the same type of frame rate conversion as when opening a video using DirectShowSource? It occured to me after having problems converting a couple of 25fps MKVs, which as best as I can tell have slight variations in the frame rate in a few places (well it appeared in this case, every so often there's a frame with an 80ms duration rather than 40ms) that adding frame rate conversion to the script would fix any such conversion problems and make converting variable frame rate video easier. I assume if no frame rate conversion is required, including it won't have any adverse side effects?
To convert this particular video successfully with audio in sync after indexing, I had to manually add the frame rate conversion. ie:
FFVideoSource("E:\video.mkv", fpsnum=25, fpsden=1)
What I don't understand is how ffms2 determines the frame rate, so maybe this is why VFR to CRF can't be done automatically when indexing a video, but as there's no mention of the frame rate being used, in order to work out what the audio sync problem might be I had to open MeGUI's script with MPC-HC to look at the frame rate it reported, which in this case turned out to be 24.959fps rather than 25fps. Once I discovered that and the penny finally dropped, then I set about learning how to modify the script for frame rate conversion.

One other thought... any reason why the AVS Script Creator's Filters/AVISource/DSSource tab is the only one with a frame rate option?

Anyway, sorry for the long post, but for those who stayed till the end..... thoughts anyone?

AMED
25th July 2012, 21:03
i'm in the process of re-creating my one click profiles, i know MeGUI could not do the following before, but that was sometime ago, so i will check again.

"can MeGUI do AC3 passthru when using the one click method"

did a search around the net, but most pages that i get are from 2009-2010, not getting anything current.

looking at MeGUI options, there doesn't appear to be anything there that can help, however i did see this in the recent svn2153 changelog! which is the only reason why i'm checking because-

"[OneClick] fixed encoding of AC3 tracks which should be muxed only"

this is exactly what i need, mux AC3 track only, do not encode it, but how do i get MeGUI to do this in the one click method?


EDIT- i'm going to try OneClick configuration (if codec does not match then encode) hopefully this means if the track is AC3 already, then don't encode it, just mux..... is that right?In OneClick mode, edit the profile and goto the Encoding setup tab, underneeth audio codec change encode audio to never.

LigH
26th July 2012, 07:42
@ hello_hello:

AviSynth simply doesn't support variable framerates. Handling them usually means either converting the video to constant framerate by duplicating frames where necessary, or caching the framerate profile, assuming CFR while processing, and restoring the VFR profile in the final copy.

MeGUI was originally made to convert video sources which don't have VFR (e.g. DVD Video). As versatile as a GUI may be, it has its limits. Some things are so "out of mainstream", they are just too complex for automated processing and may require manual solutions.

hello_hello
26th July 2012, 13:27
LigH,
I understand AviSynth doesn't support variable frame rates, but converting "variable" frame rate video to constant frame rate was what I was trying to achieve. Correct me if I'm wrong, but generally when converting video, if it's VFR, wouldn't converting to CFR be the usual objective, especially given MeGUI is designed to convert from/to CFR video anyway.

I guess my logic is this, and please once again correct me if it's flawed....
When encoding CRF video without changing the frame rate, adding frame rate conversion to the script wouldn't (I assume) have any adverse effects. However if it's VFR video, adding frame rate conversion to the script should at least allow you to successfully convert it without audio sync issues. When opening video via DirectShowSource, MeGUI appears to already do this. It even lets you specify a new frame rate, so I'm just wondering why when opening video using FFMS2 the same thing couldn't be done. Wouldn't MeGUI just need to assume all video is VFR and convert it to CFR?

As much as I'm not a fan of the program, Handbrake has an option to select a CFR or VFR when encoding. Just to see what would happen, I ran one of the "problem" MKVs through Handbrake a couple of times. Once while selecting VFR mode, and again when selecting CFR mode. In both cases it produced an encode with perfectly synced audio. The VFR encode was the same as the original while the CFR encode obviously added extra frames. I assume Handbrake doesn't use AviSynth but if there's no effective way to get MeGUI to produce a VFR encode, automatically converting VFR to CFR would be nice, if it's do-able.

LigH
26th July 2012, 14:07
DirectShow based frame rate conversion is quite low quality, based on duplicating or removing frames. Not in all cases the most recommendable method.

Why should MeGUI assume all videos to be VFR? No DVD movie, no Blu-ray movie, no DVB TV programme (assuming no mixed contents) has VFR. Only very compressed sources like webcam or internet videos may have that, but converting "eye-cancer goo" is not the reason why MeGUI was made.

Pulp Catalyst
27th July 2012, 14:35
thanks "AMED", haven't tried yet, i did try using - encoding setup - one click profile - audio AC-3: aften - DVD - good- encode audio: if codec does not match

i assumed the above would mean, if AC-3 then leave only mux, else encode to above setting (AC-3 in this case)

unfortunately that was not the case, the file was encoded to AAC (no idea why as AAC was not set....some where MeGUI decided todo AAC on it's own!!!)

trying never now, hope it works as i have come to love one click.


do have suggestion though for one click.

when doing mutiple episode DVD's - one click needs to put each DVD into it's own temp directory (VTS2 can't go in the same temp folder where there is also a VTS2 for example)

not what i do is goto main setting in megui, change default temp folder to say "H:\MEGUI\1"
then after DVD 1 is set up and Queued , i then change temp folder to "H:\MEGUI\2"
and i do this for each DVD i have, although this is reasonably quick, it would be quicker if i could change the number at the end of the folder location manually..... but MeGUI does not allow manual alterations to folder locations manually, one has to use the ".." and browse for folder each time (this is made worst by the fact that browsing ALWAYS resets to default location, so i have to go hunting to H:\MEGUI\x every time) which really slows down adding a lot of jobs.

any chance this can be change in the code to allow us to manually change the folder location by clicking in the folder field.

thanks.

ONE last thing to doom9, why is the auto log out so quick now, need to log back in again to post this very text!

hello_hello
27th July 2012, 20:08
Why should MeGUI assume all videos to be VFR? No DVD movie, no Blu-ray movie, no DVB TV programme (assuming no mixed contents) has VFR. Only very compressed sources like webcam or internet videos may have that, but converting "eye-cancer goo" is not the reason why MeGUI was made.

Well MeGUI does use DirectShow based frame rate conversion, so whether it be the best method or not, shouldn't MeGUI at least endeavor to keep the audio in sync when using other decoding methods also?
Or if there's a better method of converting the frame rate when decoding by other means, then why not use it?

After a bit of experimenting it seems when converting video which has duplicate frames, but a constant frame rate, GUIs using Mencoder seem to add "harddup" to the command line which forces the encoding of duplicate frames, but there's also "noencodedups" which ouputs zero byte frames to indicate duplicates. Either way though.... synced audio. After testing my "problem" MKVs this way and having no audio sync issues, I assume "duplicate frames" is the issue I'm having.

While I'm not sure which method it uses yet, AviSource seems to handle duplicate frames fine. I remuxed one of the "problem" MKVs as an AVI and used AviSource to open it, and the output had synced audio with no frame rate conversion needed.

MeGUI automatically adds frame rate conversion to the script when opening video via DirectShow, which effectively handles duplicate frames correctly when encoding, so.....

That leaves duplicate frames and indexing with ffms2. So far, whether it be MKV or AVI, ffms2 gives me a reduced number of frames (minus the duplicates, I assume), and while the total duration is correct, it reduces the overall frame rate to get there. Maybe the way duplicate frames are handled is an ffms2 issue and not an MeGUI one (although adding frame rate conversion to the script would seem to be the way to fix it).

Does AviSynth have any way of identifying/handling duplicate frames I've not been able to discover?

LigH
30th July 2012, 08:44
^ This quote does not contain anything I wrote.

tebasuna51
30th July 2012, 12:05
@hello_hello
Please re-edit your post.
Seems a mistake in the first edition, in the original post the LigH quote is correct.

Zathor
30th July 2012, 16:45
Does ayone know if Zathor pulled the plug of this project, or is he only taking a temperary break please ?
I will announce it if I leave the project. Nevertheless due to other activities (it is summer here) my work for MeGUI is at a minimum at the moment (e.g. I update the included programs when I notice that there are newer builds available).

Are there any problems which need to be fixed in the current version?

rapscallion
30th July 2012, 16:53
I need to re-encode video, that's 24.0 fps, to reduce it's size.
Then mux w/audio that's 23.976 fps.

What is the best option, or does it make no difference ?

1. Extract the *.m2ts w/Tsmuxer and change the fps to 23.976. Process through Megui and then mux w/the audio ?

2. Extract, leaving the fps @ 24.0, process through Megui. Mux with the audio and change the video fps then?

3. Extract and re-encode video @24.0, then change the audio fps to 24.0 ? (Track is DTS-HD, which I can convert to wavs. Then change fps in DTS MA Suite)

Thoughts ?

Zathor
30th July 2012, 16:55
The latest MeGUI always tries to update via internet (automated online update). Disabling it in the settings has no effect. Since my Windows installation is (and will be) always offline this attempt will result in an error and as an outcome it stops all processes. It looks like there's no way I could use MeGUI for anything atm.

Redownload the latest stable build:
http://sourceforge.net/projects/megui/files/latest

Extract it and it will try to go online but if it is not possible to go online it will use the files in the extracted folder.

tebasuna51
31st July 2012, 11:07
I need to re-encode video, that's 24.0 fps, to reduce it's size.
Then mux w/audio that's 23.976 fps.

Sorry but audio can't have 23.976 fps.
If your audio is in sync with a video 23.976 (V23) you need compare the frames with your new video 24 fps (V24)

- If V24 have the same frames than V23 (discard any initial delay for different credits), and you don't need other audio in sync with V24, recode V24 with AssumeFps(24000,1001) and mux the audio in sync with V23 (maybe with some delay for credits)

- If V24 have different frames than V23, with F24 = F23 x 1.001, you can recode V24 at 24 fps and mux the audio in sync with V23.

- With other differences you need edit the audio.

About your options 1) and 2), is indiferent, use AssumeFps(24000,1001) instead.

Your option 3) "change fps in DTS MA Suite" don't work. You need extract the wavs with:
eac3to input.dtshd output.wavs -23.976 -changeTo24.000

rapscallion
31st July 2012, 20:54
Sorry but audio can't have 23.976 fps.
If your audio is in sync with a video 23.976 (V23) you need compare the frames with your new video 24 fps (V24)

Thanks for the response !

Of course you are correct. I should have stated that audio was from, and in sync, with a V23.
Both are the same film, different sources/encodes.

Outlander (2008) Canadian (good ole Alliance) release that 's wrong AR (1:85.1) with DTS-HD audio, V23 (mpeg2).

Euro release that's V24 (mpeg4 that's much higher BR), correct OAR 2:35.1, however with only lossless DD audio.

V24=165,504 frames , V23= 165,616 frames. I havn't checked for differences in credits.

Since my post, I played around with it and extracted the V24 with Tsmuxer, changing frame rate to 24000/1001. Then wth Megui, also "AssumeFps(24000,1001)". Redundant, I know, but no harm I think.

I tested a 10 min clip in VLC until I found it to be in sync ~ (-4) sec and then entered that delay in Tsmuxer.
Final result after recode, in Mediainfo, under "Audio", video delay = 11ms.

Seems to be in sync at all the points I checked throughout the film.

-xvid-
1st August 2012, 07:08
hi there, i got an annoying issue here : all the AVI Source/DSS Source tab from the AviSynth script creator is greyed-out for any .d2v.

any idea as to how i can fix it ?

thanks in advance.

LigH
1st August 2012, 07:19
*.d2v files are index files for MPEG2Source; they are neither AVI files nor files a DirectShow source filter could detect. If you don't want to use MPEG2Source (why not?!?), don't use the index, but the media file directly as video source.

-xvid-
1st August 2012, 15:16
makes sense lol, thanks.

hlloyge
2nd August 2012, 09:20
Hey all, I have a problem encoding cartoon to xvid.
I've extracted the episodes with pgc demux into vob files, and I am trying to encode them to xvid, but it craps out on me. I am using one 1 custom made click profile with x264/aac, just changing the encoders to xvid 2 pass balanced with mp3 96kbit abr. Encoding the file to x264 works perfectly and without errors.

LOG:

[Error] Log
-[Information] Versions
--[Information] [2.8.2012. 10:09:16] MeGUI: 2153 (svn)
--[Information] [2.8.2012. 10:09:16] Operating System: Windows 7 Ultimate Edition x64 SP1 (6.1.65536.7601)
--[Information] [2.8.2012. 10:09:16] .Net Framework: 4.0 (4.0.30319)
--[Information] [2.8.2012. 10:09:16] AviSynth: 2.5.8.5 (21.12.2008. 21:46:54)
--[Information] [2.8.2012. 10:09:16] AvisynthWrapper: 2.1.2009. 20:34:04
--[Information] [2.8.2012. 10:09:16] ICSharpCode.SharpZipLib: 0.85.5.452 (7.8.2008. 20:31:12)
--[Information] [2.8.2012. 10:09:16] LinqBridge: 1.0.0.0 (28.5.2009. 1:24:34)
--[Information] [2.8.2012. 10:09:16] MediaInfo: 0.7.58.0 (29.5.2012. 8:22:28)
--[Information] [2.8.2012. 10:09:16] MediaInfoWrapper: 0.7.53.0 (27.1.2012. 17:42:16)
--[Information] [2.8.2012. 10:09:16] MessageBoxExLib: 1.0.2218.28317 (19.12.2008. 20:53:04)
--[Information] [2.8.2012. 10:09:16] SevenZipSharp: 0.64.3890.29348 (2.1.2011. 10:59:32)
--[Information] [2.8.2012. 10:09:16] 7z: 9.20 (18.11.2010. 16:27:34)
-[Information] Update detection
--[Information] [2.8.2012. 10:09:16] Connecting to server: http://megui.xvidvideo.ru/auto/stable/
--[Information] [2.8.2012. 10:09:17] All files are up to date
-[Information] OneClick
--[Information] [2.8.2012. 10:10:00] MediaInfo
---[Information] File: D:\Filmovi\dvd\ZK6\01.VOB
---[Information] General
----[Information] Format: MPEG-PS
----[Information] FormatString: MPEG-PS
----[Information] FileSize: 647661568
----[Information] PlayTime: 00:10:31.560
---[Information] Video
----[Information] ID: 224
----[Information] StreamOrder:
----[Information] Width: 720
----[Information] Height: 576
----[Information] FrameCount: 15789
----[Information] FrameRate: 25.000
----[Information] ScanType: Interlaced
----[Information] Codec: MPEG-2V
----[Information] CodecString: MPEG-2 Video
----[Information] Format: MPEG Video
----[Information] AspectRatio: 1.333
----[Information] AspectRatioString: 4:3
----[Information] Delay: 280.000
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 189-128
----[Information] StreamOrder:
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2: 2/0/0
----[Information] BitRateMode: CBR
----[Information] Delay: 280.000
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
-[Information] Log for job9 (idx, 01.VOB -> 01.d2v)
--[Information] [2.8.2012. 10:10:36] Started handling job
--[Information] [2.8.2012. 10:10:36] Preprocessing
--[Information] [2.8.2012. 10:10:36] Job commandline: "C:\Program Files (x86)\MeGUI\tools\dgindex\dgindex.exe" -SD=< -AIF=<D:\Filmovi\dvd\ZK6\01.VOB< -OF=<D:\Filmovi\dvd\ZK6\01< -FO=0 -exit -hide -OM=2
--[Information] [2.8.2012. 10:10:36] Indexing started
--[Information] [2.8.2012. 10:10:41] Standard output stream
--[Information] [2.8.2012. 10:10:41] Standard error stream
--[Information] [2.8.2012. 10:10:41] Running auto force film
---[Information] [2.8.2012. 10:10:41] Film percentage: -1
--[Information] [2.8.2012. 10:10:41] Postprocessing
---[Information] Deleting intermediate files
----[Information] [2.8.2012. 10:10:41] Successfully deleted D:\Filmovi\dvd\ZK6\01.log
--[Information] [2.8.2012. 10:10:41] Job completed
-[Information] Log for job10 (oneclick, 01.VOB -> )
--[Information] [2.8.2012. 10:10:41] Started handling job
--[Information] [2.8.2012. 10:10:41] Preprocessing
--[Information] [2.8.2012. 10:10:41] OneClick processing started
--[Information] [2.8.2012. 10:10:41] Processing thread started
--[Information] [2.8.2012. 10:10:41] Desired size:
--[Information] [2.8.2012. 10:10:41] Split size:
--[Information] [2.8.2012. 10:10:42] Autocrop values
---[Information] [2.8.2012. 10:10:42] left: 10
---[Information] [2.8.2012. 10:10:42] top: 0
---[Information] [2.8.2012. 10:10:42] right: 10
---[Information] [2.8.2012. 10:10:42] bottom: 0
--[Information] [2.8.2012. 10:10:42] Auto-detect aspect ratio now: True
--[Information] [2.8.2012. 10:10:42] Aspect ratio: 1.36752137
--[Information] [2.8.2012. 10:10:42] Output resolution: 688x512
--[Information] [2.8.2012. 10:10:42] Automatic deinterlacing: True
--[Information] [2.8.2012. 10:11:23] Source detection
---[NoImage] Progressive sections: 36
---[NoImage] Interlaced sections: 86
---[NoImage] Partially Static Sections: 25
---[NoImage] Film Sections: 4
---[NoImage] Source is declared hybrid progressive/interlaced. This should be deinterlaced by a deinterlacer that tries to weave it before deinterlacing.
---[NoImage] Source is hybrid bff and tff at 2 bff and 14 tff.
--[Information] [2.8.2012. 10:11:23] Deinterlacing used
---[NoImage] Load_Stdcall_Plugin("C:\Program Files (x86)\MeGUI\tools\yadif\yadif.dll")
---[NoImage] Yadif(order=-1)
--[Information] [2.8.2012. 10:11:23] Generated Avisynth script
---[NoImage] LoadPlugin("C:\Program Files (x86)\MeGUI\tools\dgindex\DGDecode.dll")
---[NoImage] DGDecode_mpeg2source("D:\Filmovi\dvd\ZK6\01.d2v", info=3)
---[NoImage] LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
---[NoImage] ColorMatrix(hints=true, interlaced=true, threads=0)
---[NoImage] Load_Stdcall_Plugin("C:\Program Files (x86)\MeGUI\tools\yadif\yadif.dll")
---[NoImage] Yadif(order=-1)
---[NoImage] crop(10, 0, -10, 0)
---[NoImage] LanczosResize(688,512) # Lanczos (Sharp)
---[NoImage] #denoise
--[Information] Eliminating duplicate filenames
---[Information] [2.8.2012. 10:11:24] Video output file: D:\Filmovi\dvd\ZK6\01_Video.mkv
---[Information] [2.8.2012. 10:11:24] Muxed output file: D:\Filmovi\dvd\ZK6\01.mkv
---[Information] [2.8.2012. 10:11:24] Encodable audio stream 0: D:\Filmovi\dvd\ZK6\01 T80 2_0ch 192Kbps DELAY 0ms_audio.mp3
--[Information] [2.8.2012. 10:11:24] Postprocessing
---[Information] Deleting intermediate files
--[Information] [2.8.2012. 10:11:24] Job completed
-[Information] Log for job1 (audio, 01 T80 2_0ch 192Kbps DELAY 0ms.ac3 -> 01 T80 2_0ch 192Kbps DELAY 0ms_audio.mp3)
--[Information] [2.8.2012. 10:11:24] Started handling job
--[Information] [2.8.2012. 10:11:24] Preprocessing
--[Information] [2.8.2012. 10:11:24] Encoding started
--[Information] [2.8.2012. 10:11:24] MediaInfo
---[Information] File: D:\Filmovi\dvd\ZK6\01 T80 2_0ch 192Kbps DELAY 0ms.ac3
---[Information] General
----[Information] Format: AC-3
----[Information] FormatString: AC-3
----[Information] FileSize: 15154269
----[Information] PlayTime: 00:10:31.424
---[Information] Audio
----[Information] ID:
----[Information] StreamOrder:
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2: 2/0/0
----[Information] BitRateMode: CBR
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
--[Information] [2.8.2012. 10:11:24] Trying to open the file with NicAudio
--[Information] [2.8.2012. 10:11:24] Successfully opened the file with NicAudio
--[Information] [2.8.2012. 10:11:24] ignoring downmix as there are only 2 channels
--[Information] [2.8.2012. 10:11:24] Avisynth script
---[NoImage] LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\NicAudio.dll")
---[NoImage] NicAc3Source("D:\Filmovi\dvd\ZK6\01 T80 2_0ch 192Kbps DELAY 0ms.ac3")
---CUT CUT
--[Information] [2.8.2012. 10:11:24] Commandline used: --abr 96 -h - "{0}"
--[Information] [2.8.2012. 10:11:24] Avisynth script environment opened
--[Information] [2.8.2012. 10:11:24] Script loaded
--[Information] Output Decoder
---[Information] [2.8.2012. 10:11:24] Channels: 2
---[Information] [2.8.2012. 10:11:24] Bits per sample: 16
---[Information] [2.8.2012. 10:11:24] Sample rate: 48000
--[Information] [2.8.2012. 10:11:25] Commandline: C:\Program Files (x86)\MeGUI\tools\lame\lame.exe --abr 96 -h - "D:\Filmovi\dvd\ZK6\01 T80 2_0ch 192Kbps DELAY 0ms_audio.mp3"
--[Information] [2.8.2012. 10:11:25] Encoder process started
--[Information] [2.8.2012. 10:11:48] Output from encoder via stderr
---[NoImage] LAME 3.99.5 32bits (http://lame.sf.net)
---[NoImage] CPU features: MMX (ASM used), SSE (ASM used), SSE2
---[NoImage] Resampling: input 48 kHz output 32 kHz
---[NoImage] Using polyphase lowpass filter, transition band: 15097 Hz - 15484 Hz
---[NoImage] Encoding <stdin> to D:\Filmovi\dvd\ZK6\01 T80 2_0ch 192Kbps DELAY 0ms_audio.mp3
---[NoImage] Encoding as 32 kHz j-stereo MPEG-1 Layer III (10.7x) average 96 kbps qval=2
--[Information] [2.8.2012. 10:11:48] MediaInfo
---[Information] File: D:\Filmovi\dvd\ZK6\01 T80 2_0ch 192Kbps DELAY 0ms_audio.mp3
---[Information] General
----[Information] Format: MPEG Audio
----[Information] FormatString: MPEG Audio
----[Information] FileSize: 7123032
----[Information] PlayTime: 00:10:31.479
---[Information] Audio
----[Information] ID:
----[Information] StreamOrder:
----[Information] Format: MPEG Audio
----[Information] FormatProfile: Layer 3
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 32000
----[Information] SamplingRateString: 32.0 KHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2:
----[Information] BitRateMode: VBR
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
--[Information] [2.8.2012. 10:11:48] Postprocessing
---[Information] Deleting intermediate files
--[Information] [2.8.2012. 10:11:48] Job completed
-[Error] Log for job2 (video, 01.avs -> )
--[Information] [2.8.2012. 10:11:48] Started handling job
--[Information] [2.8.2012. 10:11:48] Preprocessing
--[Information] [2.8.2012. 10:11:48] Avisynth input script
---[NoImage] LoadPlugin("C:\Program Files (x86)\MeGUI\tools\dgindex\DGDecode.dll")
---[NoImage] DGDecode_mpeg2source("D:\Filmovi\dvd\ZK6\01.d2v", info=3)
---[NoImage] LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
---[NoImage] ColorMatrix(hints=true, interlaced=true, threads=0)
---[NoImage] Load_Stdcall_Plugin("C:\Program Files (x86)\MeGUI\tools\yadif\yadif.dll")
---[NoImage] Yadif(order=-1)
---[NoImage] crop(10, 0, -10, 0)
---[NoImage] LanczosResize(688,512) # Lanczos (Sharp)
---[NoImage] #denoise
--[Information] [2.8.2012. 10:11:48] Job commandline: "C:\Program Files (x86)\MeGUI\tools\xvid_encraw\xvid_encraw.exe" -i "D:\Filmovi\dvd\ZK6\01.avs" -pass1 "D:\Filmovi\dvd\ZK6\01_Video.stats" -bitrate 1000 -kboost 100 -chigh 30 -clow 15 -turbo -max_key_interval 250 -nopacked -lumimasking -imin 1 -pmin 1 -bvhq -bquant_ratio 162 -bquant_offset 0 -bmin 1 -threads 1
--[Information] [2.8.2012. 10:11:48] Encoding started
--[Error] [2.8.2012. 10:11:48] An error occurred: xvid [error]: Can't open avi/avs file D:\Filmovi\dvd\ZK6\01.avs
--[Error] [2.8.2012. 10:11:49] Process exits with error: 0xFFFFFFFF (-1)
--[Information] [2.8.2012. 10:11:49] Standard output stream: xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003
--[Information] [2.8.2012. 10:11:49] Standard error stream: Trying to retrieve width and height from input header
--[Information] [2.8.2012. 10:11:49] Job completed


And here is AVS script:

LoadPlugin("C:\Program Files (x86)\MeGUI\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("D:\Filmovi\dvd\ZK6\01.d2v", info=3)
LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, interlaced=true, threads=0)
Load_Stdcall_Plugin("C:\Program Files (x86)\MeGUI\tools\yadif\yadif.dll")
Yadif(order=-1)
crop(10, 0, -10, 0)
LanczosResize(688,512) # Lanczos (Sharp)
#denoise


I can't trouble shoot it. I don't know where it goes wrong, because if I only use any x264 preset profile and nero aac, it works.

flebber
2nd August 2012, 09:40
--[Information] [2.8.2012. 10:11:48] Job commandline: "C:\Program Files (x86)\MeGUI\tools\xvid_encraw\xvid_encraw.exe" -i "D:\Filmovi\dvd\ZK6\01.avs" -pass1 "D:\Filmovi\dvd\ZK6\01_Video.stats" -bitrate 1000 -kboost 100 -chigh 30 -clow 15 -turbo -max_key_interval 250 -nopacked -lumimasking -imin 1 -pmin 1 -bvhq -bquant_ratio 162 -bquant_offset 0 -bmin 1 -threads 1
--[Information] [2.8.2012. 10:11:48] Encoding started
--[Error] [2.8.2012. 10:11:48] An error occurred: xvid [error]: Can't open avi/avs file D:\Filmovi\dvd\ZK6\01.avs
--[Error] [2.8.2012. 10:11:49] Process exits with error: 0xFFFFFFFF (-1)
--[Information] [2.8.2012. 10:11:49] Standard output stream: xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003
--[Information] [2.8.2012. 10:11:49] Standard error stream: Trying to retrieve width and height from input header

So that's the error. Have you tried using FFMpegsource.

hlloyge
2nd August 2012, 11:15
So that's the error. Have you tried using FFMpegsource.

FFMS, right, during indexing? Just tried that, doesn't help - same error.

Zathor
2nd August 2012, 12:00
Are you able to open D:\Filmovi\dvd\ZK6\01.avs with other tools like VirtualDub?

hlloyge
2nd August 2012, 13:29
Are you able to open D:\Filmovi\dvd\ZK6\01.avs with other tools like VirtualDub?

Nope, and that's what is troubling me. Virtualdub says "AVI import filter error (unknown) 80040154.
I found this, and will try: http://forum.videohelp.com/threads/302249-VirtualDub-AVI-Import-Filter-error-(Unknown)-80040154
But why can I encode to x264, and not to xvid? Windows 7 64bit, latest MeGUI version.
But even the simplest script, version(), doesn't work. I will reinstall avisynth.

EDIT:
So, I've reinstalled AVISynth, and now encoding works fine. Thank you for helping.

LigH
2nd August 2012, 13:35
The whole chain of involved software has to be either 32-bit or 64-bit. If you are running a 64-bit encoder, it expects a 64-bit AviSynth (which is probably still crap, to be avoided). Some clever tools are able to "pipe" output of 32-bit AviSynth to a 64-bit x264. No clue if a 64-bit xvid_encraw could use the same helper tools, if that exists at all.

Wam7
16th August 2012, 16:40
I'm encoding from an .mkv with a single subtitle track to a Xvid/AAC file in the .mp4 container. I want to hard code the subtitles, how would I go about this please? Would it be the same process when the source is an .avi file with .srt subs?

Shevek
16th August 2012, 17:12
I'm encoding from an .mkv with a single subtitle track to a Xvid/AAC file in the .mp4 container. I want to hard code the subtitles, how would I go about this please? Would it be the same process when the source is an .avi file with .srt subs?

What format are the subtitles in?

For SUB/IDX, SRT, ASS or SSA you simply select the sub file in the Subtitles section of the Filters tab in the AVS script creator.

Wam7
16th August 2012, 17:15
What format are the subtitles in?

For SUB/IDX, SRT, ASS or SSA you simply select the sub file in the Subtitles section of the Filters tab in the AVS script creator.Is it possible to do this with the One Click Encoder as that's what I'm mainly using? The subtitles will either be .srt if I'm coming from .avi source or inbuilt into the .mkv structure if I am using that source. (and thanks for the assistance!)

Shevek
16th August 2012, 17:25
Is it possible to do this with the One Click Encoder as that's what I'm mainly using? The subtitles will either be .srt if I'm coming from .avi source or inbuilt into the .mkv structure if I am using that source. (and thanks for the assistance!)

I've never used the One Click Encoder so I cannot answer that. Someone else will be able to though, I'm sure!

As for those in the MKV file, to use them with the AVS Script Creator you will need to extract them from the MKV first, using a tool such as MKVExtractGUI-2 (note the -2, the original version of MKVExtractGUI has ceased development)

hello_hello
18th August 2012, 19:26
MeGUI's HD Streams Extractor (under the Tools menu), will extract subtitles from MKV files. Well it will for srt subtitles. I didn't test it with other types.

Shevek
18th August 2012, 19:27
MeGUI's HD Streams Extractor (under the Tools menu), will extract subtitles from MKV files. Well it will for srt subtitles. I didn't test it with other types.

I've never thought of that! I've used it only for Blu-Ray extracting...

hello_hello
21st August 2012, 07:00
I've never thought of that! I've used it only for Blu-Ray extracting...

I'm constantly forgetting it does other things too. I just happened to have it open when I read your post, and thought.....

I mainly use MKVCleaver for extracting streams from MKVs as you can put a shortcut to it in the Windows SendTo folder and then open MKVs with it by right clicking on them and selecting SendTo/MKVCleaver. It's very hand if you want to extract streams from multiple files as you can select all the files, then right click etc. It does seem to have a limit on the number of files it'll open that way, maybe two dozen or thereabouts, I'm not sure, but if you exceed it you're just given an error message. It's not too often I want to open "too many" simultaneously anyway.
Just make sure you update it to version 0.5.0.4 so it'll work properly with the later versions of MKVToolNix. I think there's a link for the 0.5.0.4 patch in the MKVCleaver thread.

I also find using MKVMergeGUI via the Windows SendTo menu can be a small time saver, although you can only open a single file with it that way, but for a quick remuxing job opening a file via SendTo can be a little more convenient at times.

hello_hello
21st August 2012, 07:21
A question regarding noise filters from someone who rarely uses them. It's an MeGUI related question in that I'm wondering about applying noise filtering after cropping and resizing etc as MeGUI does.

Is there any sort of "rule" regarding where in the chain to apply noise filtering or is it just "whatever works best"? I ask because I recently re-encoded a bunch of really noisy files and also applied deblocking (I used Directshow for decoding and ffdshow for filtering). These files were 4:3 but contained non-square pixels, and I found the noise filtering and deblocking was far more effective if I applied them before resizing (to square pixels).

Which made me wonder about using noise filters with "normal" anamorphic sources (ie DVDs) and whether it's usual to apply any noise filtering or grain removal before resizing, or whether doing it last as MeGUI does is standard practice.

flebber
21st August 2012, 10:03
A question regarding noise filters from someone who rarely uses them. It's an MeGUI related question in that I'm wondering about applying noise filtering after cropping and resizing etc as MeGUI does.

Is there any sort of "rule" regarding where in the chain to apply noise filtering or is it just "whatever works best"? I ask because I recently re-encoded a bunch of really noisy files and also applied deblocking (I used Directshow for decoding and ffdshow for filtering). These files were 4:3 but contained non-square pixels, and I found the noise filtering and deblocking was far more effective if I applied them before resizing (to square pixels).

Which made me wonder about using noise filters with "normal" anamorphic sources (ie DVDs) and whether it's usual to apply any noise filtering or grain removal before resizing, or whether doing it last as MeGUI does is standard practice.

http://avisynth.org/mediawiki/External_filters this is laid out in expected order.

hello_hello
21st August 2012, 11:17
Cheers.
That makes sense. I've not used denoisers or sharpeners much as I generally just encode "as is", but in this case I was encoding video which really wasn't worth keeping unless I could "fix" it a bit, so while admittedly I was working with extreme examples, it was fairly obvious noise removal was far more effective when applied before resizing. Possibly more so because the sources are anamorphic. ffdshow also has it's filters in a similar order so it made me wonder why MeGUI's script creator puts noise removal after resizing by default.

kalehrl
21st August 2012, 13:23
That's also how AutoGK does it.
I guess it speeds things up and I don't think you would notice much difference between denoising before and after resizing.

Music Fan
21st August 2012, 13:35
The result is maybe the same but I guess it's faster on the lowest size (less pixels to denoise).

JoeH
22nd August 2012, 08:52
I'm constantly forgetting it does other things too. I just happened to have it open when I read your post, and thought.....


It is an amazing little tool. Even works for DVDs (if you select the files).

hello_hello
22nd August 2012, 15:40
That's also how AutoGK does it.
I guess it speeds things up and I don't think you would notice much difference between denoising before and after resizing.

Yeah I thought about it possibly being a "speed" thing. I'll have a look at an AutoGK script when I next use it (although I'm happy to take your word for it) but I've tried it a few times more on a couple of noisy sources and there's a big difference between denoising before and after resizing... at least when it comes to the files I'm encoding.

I'm referring to resizing anamorphic video to square pixels though, and I've been testing denoising on some fairly "noisy" noise... not just "film grain", but I do recall a couple of times adding denoising to an MeGUI script when encoding grainy video and been fairly underwhelmed with the result, or lack thereof, but I've possibly been resizing each time and never considered maybe MeGUI doesn't know best.

I've got a few Bluray discs sitting here awaiting my encoding pleasure and with any luck one of them will be fairly grainy and give me a chance to experiment with script re-arranging a little.

Music Fan
22nd August 2012, 16:27
there's a big difference between denoising before and after resizing
Do you remember the difference of time it took ?

deets
25th August 2012, 20:03
Hmm cant update any files on the x64 version as its on my new SSD. Says error with the xml and the upgrade xml gives an error directly on the xvidvideo.ru site
http://megui.xvidvideo.ru/auto/upgrade_x64.xml any other x64 update servers I could use? want to copy a blu ray to my tablet :)

Zathor
26th August 2012, 09:30
Fixed

Pulp Catalyst
26th August 2012, 15:40
hi, got a problem with 2153 trying todo Safehouse 2012 film

using DGIndexNV latest version,

my problem is that i need to autocrop and the values being chose are 140 - 140 (off the top and bottom)
i checked and these are the same values handbrake chooses aswell, i have activated the Nvidia Resizer as the resizing does not happen otherwise (nvidia has todo it because of DGIndexNV)

i'm resizing the video for xvid so this is the following script

SetMemoryMax(512)
SetMTMode(5,3)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\dgindexnv\DGDecodeNV.dll")
DGSource("H:\MEGUI\1\Safe House 2012.dgi",fieldop=0, resize_w=720, resize_h=304)
crop(0, 140, 0, -140)


however the final image when checked AvsP, the image is squished right down to a thing long bar, like a thin banner


i checked the cropping values in AvsP, the actual cropping values should be crop(0, 52, 0, -52) and not crop(0, 140, 0, -140)

can anyone help me, what's going on.

i assume the resizing through nvidia has changed something, because if i use normal DGindex than everything is fine, somehow the resizing has caused a miscalibration (if you will) that MEGui doesn't realize, so the cropping values it suggests are wrong.

i did try playing the AVS video with a player and crop (0, 52, 0, -52) are the correct values regarding the black bars.

one thing i noted..... when i click on preview AVS script, the preview screen goes small top left corner and the values match up great, however the moment i touch the cropping vlaues or use the auto crop button, the preview screen goes full screen again and the values are all wrong......

not sure if bug or setup issue, so posted here.

EDIT


had to turn on anamorphic & resize mod to 16 (usually i use overcrop), because megui moaned about not being mod16 or something like that when i went to process.

made adjustment with this now in play,

so final actual script is now

# Set DAR in encoder to 121 : 62. The following line is for automatic signalling
global MeGUI_darx = 121
global MeGUI_dary = 62
SetMemoryMax(512)
SetMTMode(5,3)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\dgindexnv\DGDecodeNV.dll")
DGSource("H:\MEGUI\1\Safe House 2012.dgi",fieldop=0, resize_w=720, resize_h=368)
crop(0, 48, 0, -48)



had to manually crop again, Autocrop kept insisting on doing 140, -140 (top and bottom)

i'm glad i had AvsP to help, it would of taken a lot longer finding the right values otherwise......

i really depend on Autocrop... please if anyone has any insights on this issue i really would like to hear it.

Taurus
26th August 2012, 16:38
SetMemoryMax(512)
SetMTMode(5,3)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\dgindexnv\DGDecodeNV.dll")
DGSource("H:\MEGUI\1\Safe House 2012.dgi",fieldop=0, resize_w=720, resize_h=304)
crop(0, 140, -0, -140)
Is this what you're looking for?

Pulp Catalyst
26th August 2012, 17:40
Is this what you're looking for?

no, because like i said

Autocrop is saying
crop(0, 140, -0, -140) - which is very wrong

it should be
crop(0, 48, -0, -48)

my problem is why is autocrop in conjunction with resizing not working correctly when using DGIndexNV in MeGUI?


EDIT

i decided what the heck, and let the autocrop do it's thing,

press the queue button and got an this error

Avisynth clip doesn't have mod16 dimensions
Width: 720
Height:24 (no this is not a typo.....like i said SQUISHED)

the autocrop is cutting into actual video right?

Guest
26th August 2012, 18:42
can anyone help me, what's going on. If you can post a link to a unprocessed source sample that I can use to recreate the problem, I can try to help you. Also, please post an exact step-by-step procedure I can follow to produce the problem.

Pulp Catalyst
26th August 2012, 19:52
link deleted - replaced with
http://www.mediafire.com/?q4av9b90pkbdbz3

NOTES
Avisynth profile selected - normal

{
SetMemoryMax(512)
SetMTMode(5,3)
<input>
<crop>
}




open megui

tools - file indexer - open film
DGIndexNV selected (default) Build 2042
Outputfile wil be H:\MEGUI\2\Safe House 2012.dgi

execute the one thing in the queue
Creating DGI file



Avi script creator opens up - eventually

Avisynth profile "normal" (see above)

Clever (TM) on - Resize to mod16

resize 1904 change to 720

script so far looks like this


# Set DAR in encoder to 16 : 9. The following line is for automatic signalling
global MeGUI_darx = 16
global MeGUI_dary = 9
SetMemoryMax(512)
SetMTMode(5,3)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\dgindexnv\DGDecodeNV.dll")
DGSource("H:\MEGUI\2\Safe House 2012.dgi",fieldop=0)
LanczosResize(720,400) # Lanczos (Sharp)
#crop


as you can see, resize had no effect in the script, no resize will be done even though it has been told todo so......


on filters tab turn on Nvidia Resizer (no choice at this point)


# Set DAR in encoder to 16 : 9. The following line is for automatic signalling
global MeGUI_darx = 16
global MeGUI_dary = 9
SetMemoryMax(512)
SetMTMode(5,3)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\dgindexnv\DGDecodeNV.dll")
DGSource("H:\MEGUI\2\Safe House 2012.dgi",fieldop=0, resize_w=720, resize_h=400)
#resize
#crop


last thing todo auto crop


# Set DAR in encoder to 12 : 5. The following line is for automatic signalling
global MeGUI_darx = 12
global MeGUI_dary = 5
SetMemoryMax(512)
SetMTMode(5,3)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\dgindexnv\DGDecodeNV.dll")
DGSource("H:\MEGUI\2\Safe House 2012.dgi",fieldop=0, resize_w=720, resize_h=304)
#resize
crop(0, 140, 0, -140)


now i save


the preview comes up....... not good.... also the number has change, what was NTSC has now changed to 2.4

Guest
26th August 2012, 20:45
Link doesn't work for me. There are two download buttons: one just clicks and makes a cute noise, the other tries to download some software.

Please use mediafire.com.

Pulp Catalyst
26th August 2012, 20:55
http://www.mediafire.com/?q4av9b90pkbdbz3

Pulp Catalyst
27th August 2012, 15:46
hi "neuron2", did you get the file ok?

was you able to reproduce the issue?

Guest
27th August 2012, 15:48
I have it. I started a MEGUI update as I haven't used it in a long time, and it's taking a long time. I may not get to this until later tonight or tomorrow.

Pulp Catalyst
27th August 2012, 16:07
when i was making this step by step list, one thing that did hit me....

my Avisynth profile is as above

{
SetMemoryMax(512)
SetMTMode(5,3)
<input>
<crop>
}

leaving out the resize is ok isn't it, if i select resize in MeGUI, than MeGUI will put that in right?

or should i have <resize> in the template..... that could be the problem otherwise couldn't it?

EDIT

whether nvidia resize, or megui resizer is used, same problem still exists, so the above template is not relevant to this problem, tried two other films today (bluray), they both work fine, transformers 1 & avengers..... both resize perfect, and autocrop works fine.

so i'll leave this with you now, unless you need to ask me any questions.


one last thing to note however, when it does crop on problem video, there's two big white bars, top and bottom..... no idea... but i thought i should share.

Guest
27th August 2012, 17:01
I have no idea, I've never used any of that stuff. I saw you using DGDecNV so thought I might be able to help if that is causing something. If not, well then Zathor would be the guy. I probably will need to ask questions as I work through your process.

vdcrim
27th August 2012, 18:17
Autocrop is applied over the original source, so the values are only valid if the resizing is made after cropping, but in your case is the other way around.

A workaround would be to save the script without cropping, and then run again the avs creator to create a new one with the first avs as source and apply the autocropping then :p [Edit] You would also have to include the DAR written on the first avs as the input DAR on the second one.

Pulp Catalyst
27th August 2012, 18:32
thanks "vdcrim"

that worked fine

following are the scripts

# Set DAR in encoder to 200 : 81. The following line is for automatic signalling
global MeGUI_darx = 200
global MeGUI_dary = 81
SetMemoryMax(512)
SetMTMode(5,3)
Import("H:\MEGUI\2\Safe House 2012.avs")
#resize
crop(0, 56, 0, -56)


# Set DAR in encoder to 16 : 9. The following line is for automatic signalling
global MeGUI_darx = 16
global MeGUI_dary = 9
SetMemoryMax(512)
SetMTMode(5,3)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\dgindexnv\DGDecodeNV.dll")
DGSource("H:\MEGUI\2\Safe House 2012.dgi",fieldop=0)
LanczosResize(720,400) # Lanczos (Sharp)
#crop




it works fine, could you explain the inner workings of what's happening here, i understand partially what you said, but am confused why has this only happened on this video (safe house 2012) and not on any other?

also if you can, is this a bug or flaw in MeGUI?

really appreciate your help on this, but would love to understand though what is going on, cause and effect kind of thing!

vdcrim
27th August 2012, 18:51
I am confused why has this only happened on this video and not on any other?
It should happen always that the resizing is made before cropping, which pretty much means if the resize is made on the source filter (as it's your case) or if you alter the avs template to put <resize> before <crop>.

is this a bug or flaw in MeGUI?
It's how the avs creator behaves, and it actually makes sense. If the autocrop calculations were made over the complete script it could take way more time to finish if heavy filters are in there.

Pulp Catalyst
27th August 2012, 18:57
that helps a lot, will need to do more testing though.....

done Transformers 1, and 2 & The avengers..... all 3 had no problem!!!, so far only Safe House 2012 film has exhibited this issue..... will do more over the next few days to see if i can find a catalyst.

again thanks for the workaround, hopefully the white bars that i see when the autocrop kicks in will be the tell tell sign, that way i know when to put this workaround into play.

thanks again.

Vesdaris
1st September 2012, 12:10
im having a problem with converting audio.
Every time i try to convert ac3 to mp3 megui gets stuck at preprocessing and nothing happens, no activity at all. I remember i had this problem once and i did something to get past it but alas i dont remember what i did .. i tried using all 3 decoders but to no avail

Any ideas?

TIA

Zathor
1st September 2012, 13:28
Please upload the log

Hotpocketdeath
11th September 2012, 21:58
Please, please, please, for the love of all that is holy, get rid of the damn warning in the indexer if multiple PGC's are found.

I have been using MeGUI for years and have never had a problem with encoding DVD videos with multiple PGC's. I couldn't begin to count the number of DVD's TV shows I have run through that are like this.

It's like it was put in for the sole purpose of irritating people because now when I want to index my video's I have to click past a needless warning every single time.

If you want a warning, make it embedded in the indexing window instead of a separate window that require user intervention to get around.

LigH
12th September 2012, 07:26
If this warning dialog is displayed by DGIndex.exe, MeGUI can't avoid it.

You can avoid it. By stripping the main movie PGC while ripping the DVD in "IFO mode" or "Movie mode"... (or after ripping the whole content, using PGCDemux). If you have a series DVD, you may have to strip each episode; in this case, manual preparation is hard to avoid.

There is a serious reason for this warning: Even if you never had such a DVD, I can point at several which would result in asynchronous audio tracks (by several seconds!) because the movie titleset has a preceding PGC with a studio trailer, and if your preferred audio track is not the first, it will skip the preceding trailer, but DGIndex.exe is unable to detect that delay.

Hotpocketdeath
12th September 2012, 18:12
If this warning dialog is displayed by DGIndex.exe, MeGUI can't avoid it.

You can avoid it. By stripping the main movie PGC while ripping the DVD in "IFO mode" or "Movie mode"... (or after ripping the whole content, using PGCDemux). If you have a series DVD, you may have to strip each episode; in this case, manual preparation is hard to avoid.

There is a serious reason for this warning: Even if you never had such a DVD, I can point at several which would result in asynchronous audio tracks (by several seconds!) because the movie titleset has a preceding PGC with a studio trailer, and if your preferred audio track is not the first, it will skip the preceding trailer, but DGIndex.exe is unable to detect that delay.

It's a warning that is displayed when you load a VOB into the "File Indexer" tool in MeGUI. It appears at a point before DGIndex is even open.

I have a TV series that break down each episode into separate PGCs. I have ripped each episode individually using IFO mode, but every single time I load any of these into the File Indexer tool, I get a popup I have to click past to continue on every single time. It is extremely annoying.

This was just added in a couple of builds ago.

It is more practical to make this warning embedded into the indexer window instead of a new pop-up that require user intervention to remove. That way, the people who aren't having a problem don't need to take extra steps and you maintain the "Ease of Use" of the software.

Zathor
13th September 2012, 19:47
It is more practical to make this warning embedded into the indexer window instead of a new pop-up that require user intervention to remove.
I will change it in one of the next builds

Hotpocketdeath
13th September 2012, 20:59
I will change it in one of the next builds

Sweet, much appreciated.

Pulp Catalyst
15th September 2012, 02:33
why does MeGUI keep recreating (rebuilding) scripts all the time?, even when the scripts haven't even changed.... MeGUI crashed on me, i reloaded and i found all 7 of my avisynth scripts have gone.... even when you close MeGUI, it deletes all profiles, and recreates them..... seems very problematic, there's quite a few things that can go wrong with this recreation process happening for no reason.... a new cleaner system is needed i think, a system that has some secondary fail safe (redundancy) in place, some profiles can be quite complex, recreating them can be time consuming on the more difficult one..... took me 2 hours to get them working again..... I've now took it upon myself to back up my profiles......

back up!!! a option to back up all current profiles.... theres a good one, but i still feel that MeGUI deleting all profiles, then rebuilding them from scratch every time MeGUI closes..... problems will always arise from such a system i believe.

Zathor
15th September 2012, 10:20
why does MeGUI keep recreating (rebuilding) scripts all the time?
Not "all the time" but during every closing of MeGUI and this causes problems when the application can not be closed in a normal way. I know that since I have started to work in this project but as this system is quite complex I have not changed it (yet).

Derioli
16th September 2012, 23:28
hello, I am having some issues with incorrect aspect ratios with MeGui 2153..
when I play the video with VLC I see the resolution shows as 352x480 but when using file indexer its out of whack..
somehow it works with one-click but not file-indexer.. any ideas?


http://imageshack.us/a/img7/2179/incorrectaspect.png

LigH
17th September 2012, 08:27
The input DAR is not ITU 4:3 PAL: Due to the 480 lines, it is most probably NTSC; so it is either "ITU 4:3 NTSC" or generic "4:3". In your case, because you don't see a soft pillarbox (black bars to the left and right), I would recommend generic "4:3".

Because you did not yet declare an input DAR, MeGUI can only display the encoded dimensions (352x480). The deskewed dimensions will be displayed in the Preview window after you saved the script if you either resize the video or select "Preview DAR" in the preview window. But MeGUI always shrinks the dimensions (to e.g. 352x272), never expands (to e.g. 640x480) – to achieve that, you would have to edit the script manually.

rapscallion
17th September 2012, 22:44
The recent release of Titanic 3D has the AR @ 1.78:1 (open matte). while the 2D version is 2.35:1 (hard matted):

I don't have a 3D TV yet, so I want to re encode the 3D to 2D, BD50.
3D spans 2 discs, the first being 28.5 gb, the second 23.7 gb .

So, here's my question. Should I just run the first disc video through Megui, to reduce it's size accordingly, and then mux with the 2nd disc's video and both audios?

OR, should I mux the 2 discs video first (in tsmuxer/join) and then Megui re encode them together as one?
Then mux in the 2 audio tracks.

Edit: my gut feeling, even though it will take much longer, is to re encode both discs as one.

Pulp Catalyst
18th September 2012, 00:33
i converted The Avengers 2012 bluray to Xvid SD resolution, the resize was spline64 and done through DGI format, the noise filter was lowest setting.

however i just started watching it before burning it off, weird problem, everything plays OK, quality is amazing, however the left part of the film, everynow and then the black part keeps apearing? it starts to come in the left side... then suddenly disappears.... and keeps doing it....

Guest
18th September 2012, 00:47
Does it do that when the script is played in VirtualDub? If so, then if you can give me an unprocessed fragment of the M2TS file that generates the issue and your script I can try to reproduce it. You can cut M2TS with DGSplit.

It looks to me that it may be in the source itself, but I'm keeping an open mind.

Pulp Catalyst
18th September 2012, 00:53
i can't, long gone, also noticed something else with megui aswell now....

i converted The Avengers 2012 bluray to Xvid SD resolution, the resize was spline64 and done through DGI format, the noise filter was lowest setting.

however i just started watching it before burning it off, weird problem, everything plays OK, quality is amazing, however the left part of the film, everynow and then the black part keeps apearing? it starts to come in the left side... then suddenly disappears.... and keeps doing it?

i'm baffled by this one,

i don't have the script anymore, but i have one similar

# Set DAR in encoder to 12 : 5. The following line is for automatic signalling
global MeGUI_darx = 12
global MeGUI_dary = 5
SetMemoryMax(768)
SetMTMode(5,3)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\dgindexnv\DGDecodeNV.dll")
DGSource("H:\MEGUI\2\IRON MAN 1.dgi",fieldop=0)
SetMTMode(2)
##deinterlace
crop(0, 140, 0, -140)
Spline64Resize(720,304) # Spline64 (Sharp)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\avisynth_plugin\UnDot.dll")
Undot() # Minimal Noise



just noticed another issue, when i click on save on the above in AVS script creator i return to GUI main screen,


if i go back into AVS script editor, and load the same script that was just created, this is what i now get????

# Set DAR in encoder to 12 : 5. The following line is for automatic signalling
global MeGUI_darx = 12
global MeGUI_dary = 5
SetMemoryMax(768)
SetMTMode(5,3)
Import("H:\MEGUI\2\IRON MAN 1.avs")
SetMTMode(2)
##deinterlace
#crop
#resize
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\avisynth_plugin\UnDot.dll")
Undot() # Minimal Noise




this all started when megui screwed all my scripts up,

am i right thinking that the 2nd issue i just noted is because i have not redone my scripts properly....

or is there another issue......

i will have my new system built soon, i'm gonna stop using DGI format altogether, have a feeling that it's not playing nice with megui & the GPU (drivers)

bloody nightmare, need to rip Avengers for the third time!!!!!!!!! GOD!!!!



EDIT

going to give all this one last try, going to tear all my script apart, and rebuild them one by one, something must be going on with them that's causing issue....
got a week of work next week, going to attempt to give it one last try..... my best theory right now is maybe the order of the script is wrong...

although i still feel DGI is too blame, why else would the letterboxing on the far left keep changing unless.... the information coming from the GPU is moving the image if you will hence why the cropping is failing because the actual image on screen is off centre from one moment to the next.... although i may have this wrong..... like i say it's just a theory!

Guest
18th September 2012, 01:00
i will have my new system built soon, i'm gonna stop using DGI format altogether, have a feeling that it's not playing nice with megui & the GPU (drivers) You need to operate on facts, not feelings. And generating FUD based on your unfounded feelings is not going to do much for your reputation.

Pulp Catalyst
18th September 2012, 01:08
nothing wrong with sharing a feeling, feelings by there very nature are unfounded and not fact, it is an opinion, a misplaced opinion most likely, but a feeling none the less, take it for what it is, i'm just sharing a feeling, i made no suggestion what so ever that i'm making a fact.... a feeling is never a fact no matter what the situation is.... hence why i said feeling!

i'm sorry if i have offended you, that was not my intention, far from it in FACT.
again, sorry!

Guest
18th September 2012, 01:57
i'm sorry if i have offended you You didn't offend me, I just need to counter your FUD. I've always responded very quickly to problems reported in my tools. If you have one I will help you with it. But I can't help you with your feelings. :)

Let's stay on topic and take this to PM if you feel the need to respond. Thank you.

luke83
22nd September 2012, 13:44
Megui gives me this error:


[Error] Log
-[Information] Versions
--[Information] [22/09/2012 13:42:24] MeGUI: 2164
--[Information] [22/09/2012 13:42:24] Operating System: Windows 7 x86 SP1 (6.1.65536.7601)
--[Information] [22/09/2012 13:42:24] .Net Framework: 4.0 (4.0.30319)
--[Information] [22/09/2012 13:42:24] AviSynth: 2.5.8.5 (12/07/2009 03:46:34)
--[Information] [22/09/2012 13:42:24] AvisynthWrapper: 02/01/2009 20:34:04
--[Information] [22/09/2012 13:42:24] ICSharpCode.SharpZipLib: 0.85.5.452 (07/08/2008 20:31:12)
--[Information] [22/09/2012 13:42:24] LinqBridge: 1.0.0.0 (28/05/2009 01:24:34)
--[Information] [22/09/2012 13:42:24] MediaInfo: 0.7.60.0 (02/09/2012 11:59:20)
--[Information] [22/09/2012 13:42:24] MediaInfoWrapper: 0.7.53.0 (23/08/2012 14:33:43)
--[Information] [22/09/2012 13:42:24] MessageBoxExLib: 1.0.2218.28317 (19/12/2008 20:53:04)
--[Information] [22/09/2012 13:42:24] SevenZipSharp: 0.64.3890.29348 (02/01/2011 10:59:32)
--[Information] [22/09/2012 13:42:24] 7z: 9.20 (18/11/2010 16:27:34)
-[Information] Update detection
--[Information] [22/09/2012 13:42:24] Connecting to server: http://megui.org/auto/
--[Information] [22/09/2012 13:42:25] All files are up to date
-[Error] Log for job3 (video, VTS_01_PGC_01_1.avs -> hfyu_VTS_01_PGC_01_1.avi)
--[Information] [22/09/2012 13:42:31] Started handling job
--[Information] [22/09/2012 13:42:31] Preprocessing
---[Information] Bitrate calculation for video
----[Information] [22/09/2012 13:42:33] Desired size after subtracting audio: 591823 KBs
----[Information] [22/09/2012 13:42:33] Calculated desired bitrate: 632 kbit/s
--[Information] [22/09/2012 13:42:33] Avisynth input script
---[NoImage] LoadPlugin("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\avisynth_plugin\Anime\Toon-v1.0-lite.dll")
---[NoImage] LoadPlugin("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\avisynth_plugin\Anime\RemoveGrain-1.0\RemoveGrainSSE3.dll")
---[NoImage] LoadPlugin("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\avisynth_plugin\Anime\aWarpSharp.dll")
---[NoImage] LoadPlugin("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\avisynth_plugin\Anime\fft3dfilter211\FFT3DFilter.dll")
---[NoImage] LoadPlugin("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\avisynth_plugin\Anime\FluxSmooth-1.1b\Release\FluxSmooth.dll")
---[NoImage] LoadPlugin("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\avisynth_plugin\Anime\MSharpen.dll")
---[NoImage] LoadPlugin("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\avisynth_plugin\Anime\Anti-aliasing\UnFilter.dll")
---[NoImage] LoadPlugin("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\avisynth_plugin\Anime\Anti-aliasing\SangNom.dll")
---[NoImage] LoadPlugin("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\avisynth_plugin\Decomb.dll")
---[NoImage] Import("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\avisynth_plugin\Anime\Anti-aliasing\AAA.avs")
---[NoImage] SetMTMode(1,0)
---[NoImage] LoadPlugin("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\dgindex\DGDecode.dll")
---[NoImage] DGDecode_mpeg2source("K:\Temp\Temp Megui\VTS_01_PGC_01_1.d2v")
---[NoImage] SetMTMode(2,0)
---[NoImage] # LoadPlugin("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\avisynth_plugin\ColorMatrix.dll")
---[NoImage] # ColorMatrix(hints=true, interlaced=true, threads=0)
---[NoImage] # Deinterlacer
---[NoImage] Decimate(mode=1,threshold=2.0)
---[NoImage] # Spatial Denoiser
---[NoImage] RemoveGrain(2).RemoveGrain(2)
---[NoImage] # Temporal Denoiser
---[NoImage] FluxSmoothT(temporal_threshold=7)
---[NoImage] # Cropper
---[NoImage] crop(2, 0, 0, 0)
---[NoImage] # Resizer
---[NoImage] Spline16Resize(704,384) # Spline16 (Neutral)
---[NoImage] # Dehalo
---[NoImage] fft3dfilter(bt=-1, plane=0, dehalo=1.0, hr=2.0, ht=50, svr=0)
---[NoImage] # Sharpener
---[NoImage] MSharpen(threshold=10, strength=100,mask=false, highq=true)
---[NoImage] aWarpSharp()
---[NoImage] ToonLite(0.2)
---[NoImage] # Anti-aliasing
---[NoImage] AAA()
--[Information] [22/09/2012 13:42:33] Job commandline: "K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\ffmpeg\ffmpeg.exe" -y -i "K:\Temp\Temp Megui\VTS_01_PGC_01_1.avs" -c:v ffvhuff -threads 0 -sn -an -context 1 -vstrict -2 -pred 2 "K:\Temp\Temp Megui\hfyu_VTS_01_PGC_01_1.avi"
--[Information] [22/09/2012 13:42:33] Encoding started
--[Error] [22/09/2012 13:42:34] An error occurred: [avs @ 0218c460] AVIFileOpen failed with error -2147221164
--[Error] [22/09/2012 13:42:34] Process exits with error: 1
--[Information] [22/09/2012 13:42:34] Standard output stream
--[Information] [22/09/2012 13:42:34] Standard error stream
---[NoImage] ffmpeg version N-44601-gcb3591e Copyright (c) 2000-2012 the FFmpeg developers
---[NoImage] built on Sep 19 2012 16:28:01 with gcc 4.7.1 (GCC)
---[NoImage] configuration: --enable-gpl --enable-version3 --disable-pthreads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
---[NoImage] libavutil 51. 73.101 / 51. 73.101
---[NoImage] libavcodec 54. 56.100 / 54. 56.100
---[NoImage] libavformat 54. 27.101 / 54. 27.101
---[NoImage] libavdevice 54. 2.100 / 54. 2.100
---[NoImage] libavfilter 3. 16.104 / 3. 16.104
---[NoImage] libswscale 2. 1.101 / 2. 1.101
---[NoImage] libswresample 0. 15.100 / 0. 15.100
---[NoImage] libpostproc 52. 0.100 / 52. 0.100
---[NoImage] [avs @ 0218c460] AVIFileOpen failed with error -2147221164
---[NoImage] K:\Temp\Temp Megui\VTS_01_PGC_01_1.avs: Operation not permitted
--[Information] [22/09/2012 13:42:34] Job completed


Usually it happens only when i use Pre-rendering job, infact now i'm encoding without it and it works. However it takes a lot of extra time (more than 6 hours); so i can't encode :/

Zathor
22nd September 2012, 15:10
I have updated yesterday the ffmpeg build (it was one year old and the current one is ~25% faster in my tests). But if it is causing problems I will revert it back. Can you please test with the old build http://megui.org/auto/ffmpeg-git-a254452.7z and with some other builds e.g. http://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-20120903-git-5d55830-win32-static.7z and report back.

cpasmoi
23rd September 2012, 12:59
i use dev update server i dont know if it matter, but i have multiples kinds of bugs when using oneclick :

[Error] Log for job36 (idx, Le dernier complot de Staline - Documentaire (2009) -Re@2-.avi -> Le dernier complot de Staline - Documentaire (2009) -Re@2-.avi.ffindex)
-[Information] [23/09/2012 01:12:53] Started handling job
-[Information] [23/09/2012 01:12:53] Preprocessing
-[Error] [23/09/2012 01:12:53] Error starting job
--[Error] [23/09/2012 01:12:53] Exception message: Calling setup of processor failed with error 'Required file 'Y:\Téléchargements\Le dernier complot de Staline - Documentaire (2009) -Re@2-.avi' is missing.'
--[Error] [23/09/2012 01:12:53] Stacktrace: à MeGUI.core.gui.JobWorker.startEncoding(TaggedJob job)
--[Error] [23/09/2012 01:12:53] Inner exception: null



[Error] Log for job38 (idx, Des Racines et des Ailes_ Arles, Le trésor retrouvé.avi -> Des Racines et des Ailes_ Arles, Le trésor retrouvé.avi.ffindex)
-[Information] [23/09/2012 01:12:53] Started handling job
-[Information] [23/09/2012 01:12:53] Preprocessing
-[Error] [23/09/2012 01:12:53] Error starting job
--[Error] [23/09/2012 01:12:53] Exception message: Calling setup of processor failed with error 'Required file 'Y:\Téléchargements\Des Racines et des Ailes_ Arles, Le trésor retrouvé.avi' is missing.'
--[Error] [23/09/2012 01:12:53] Stacktrace: à MeGUI.core.gui.JobWorker.startEncoding(TaggedJob job)
--[Error] [23/09/2012 01:12:53] Inner exception: null



[Error] Log for job39 (oneclick, La naissance de la Vème République.avi -> )
-[Information] [23/09/2012 06:33:36] Started handling job
-[Information] [23/09/2012 06:33:36] Preprocessing
-[Information] [23/09/2012 06:33:36] OneClick processing started
-[Information] [23/09/2012 06:33:36] Processing thread started
-[Error] [23/09/2012 06:33:36] File not found: Y:\Téléchargements\Planète Bac - La naissance de la Vème République\ef5gpvuc.aej\La naissance de la Vème République.avi_track_1_*.avs
-[Warning] Couldn't find audio file for track ::1::. Skipping track.
-[Information] [23/09/2012 06:33:36] Desired size:*
-[Information] [23/09/2012 06:33:36] Split size:*
-[Information] [23/09/2012 06:33:38] Aspect ratio: 1.77777778
-[Information] [23/09/2012 06:33:39] Input resolution: 768x576
-[Information] [23/09/2012 06:33:39] Autocrop values
--[Information] [23/09/2012 06:33:39] left: 2
--[Information] [23/09/2012 06:33:39] top: 80
--[Information] [23/09/2012 06:33:39] right: 2
--[Information] [23/09/2012 06:33:39] bottom: 82
-[Information] [23/09/2012 06:33:39] Cropped output resolution: 720x288
-[Information] [23/09/2012 06:33:40] Automatic deinterlacing: False
-[Information] [23/09/2012 06:33:40] Generated Avisynth script
--[NoImage] LoadPlugin("C:\Program Files (x86)\MeGUI\tools\ffms\ffms2.dll")
--[NoImage] FFVideoSource("Y:\Téléchargements\Planète Bac - La naissance de la Vème République\La naissance de la Vème République.avi", cachefile="Y:\Téléchargements\Planète Bac - La naissance de la Vème République\ef5gpvuc.aej\La naissance de la Vème République.avi.ffindex", threads=1).AssumeFPS(24000,1001)
--[NoImage] #deinterlace
--[NoImage] crop(2, 80, -2, -82)
--[NoImage] LanczosResize(720,288) # Lanczos (Sharp)
--[NoImage] mergechroma(blur(1.3)) # Little Noise
-[Error] [23/09/2012 06:33:42] An error occurred
--[Error] [23/09/2012 06:33:42] Exception message
---[NoImage] La valeur ne peut pas être null.
---[NoImage] Nom du paramètre : path
--[Error] [23/09/2012 06:33:42] Stacktrace
---[NoImage] * *à System.IO.Path.GetFullPathInternal(String path)
---[NoImage] * *à System.IO.Path.GetFullPath(String path)
---[NoImage] * *à MeGUI.VideoUtil.eliminatedDuplicateFilenames(String& videoOutput, String& muxedOutput, AudioJob[] aStreams)
---[NoImage] * *à MeGUI.VideoUtil.GenerateJobSeries(VideoStream video, String muxedOutput, AudioJob[] audioStreams, MuxStream[] subtitles, String chapters, Nullable`1 desiredSize, Nullable`1 splitSize, ContainerType container, Boolean prerender, MuxStream[] muxOnlyAudio, LogItem log, String deviceType, Zone[] zones, String videoFileToMux, OneClickAudioTrack[] audioTracks)
---[NoImage] * *à MeGUI.OneClickPostProcessing.StartPostProcessing()
--[Error] [23/09/2012 06:33:42] Inner exception: null
-[Information] [23/09/2012 06:33:42] Job completed



[Error] Log for job30 (idx, Le trésor des Nibelungen -2l2- A la recherche de l'or du Rhin.avi -> Le trésor des Nibelungen -2l2- A la recherche de l'or du Rhin.avi.ffindex)
-[Information] [23/09/2012 06:22:43] Started handling job
-[Information] [23/09/2012 06:22:43] Preprocessing
-[Information] [23/09/2012 06:22:44] Job commandline: "C:\Program Files (x86)\MeGUI\tools\ffms\ffmsindex.exe" -t -1 -f "Y:\Téléchargements\Le trésor des Nibelungen\Le trésor des Nibelungen -2l2- A la recherche de l'or du Rhin.avi" "Y:\Téléchargements\Le trésor des Nibelungen\icv0vjea.hcg\Le trésor des Nibelungen -2l2- A la recherche de l'or du Rhin.avi.ffindex"
-[Information] [23/09/2012 06:22:44] Indexing started
-[Error] [23/09/2012 06:24:09] Process exits with error: 1
-[Information] [23/09/2012 06:24:09] Standard output stream: Indexing error: Audio decoding error
-[Information] [23/09/2012 06:24:09] Standard error stream
-[Information] [23/09/2012 06:24:09] Job completed



[Error] Log for job30 (idx, Le trésor des Nibelungen -2l2- A la recherche de l'or du Rhin.avi -> Le trésor des Nibelungen -2l2- A la recherche de l'or du Rhin.avi.ffindex)
-[Information] [23/09/2012 06:22:43] Started handling job
-[Information] [23/09/2012 06:22:43] Preprocessing
-[Information] [23/09/2012 06:22:44] Job commandline: "C:\Program Files (x86)\MeGUI\tools\ffms\ffmsindex.exe" -t -1 -f "Y:\Téléchargements\Le trésor des Nibelungen\Le trésor des Nibelungen -2l2- A la recherche de l'or du Rhin.avi" "Y:\Téléchargements\Le trésor des Nibelungen\icv0vjea.hcg\Le trésor des Nibelungen -2l2- A la recherche de l'or du Rhin.avi.ffindex"
-[Information] [23/09/2012 06:22:44] Indexing started
-[Error] [23/09/2012 06:24:09] Process exits with error: 1
-[Information] [23/09/2012 06:24:09] Standard output stream: Indexing error: Audio decoding error
-[Information] [23/09/2012 06:24:09] Standard error stream
-[Information] [23/09/2012 06:24:09] Job completed



[Error] Log for job39 (oneclick, La naissance de la Vème République.avi -> )
-[Information] [23/09/2012 06:33:36] Started handling job
-[Information] [23/09/2012 06:33:36] Preprocessing
-[Information] [23/09/2012 06:33:36] OneClick processing started
-[Information] [23/09/2012 06:33:36] Processing thread started
-[Error] [23/09/2012 06:33:36] File not found: Y:\Téléchargements\Planète Bac - La naissance de la Vème République\ef5gpvuc.aej\La naissance de la Vème République.avi_track_1_*.avs
-[Warning] Couldn't find audio file for track ::1::. Skipping track.
-[Information] [23/09/2012 06:33:36] Desired size:
-[Information] [23/09/2012 06:33:36] Split size:
-[Information] [23/09/2012 06:33:38] Aspect ratio: 1.77777778
-[Information] [23/09/2012 06:33:39] Input resolution: 768x576
-[Information] [23/09/2012 06:33:39] Autocrop values
--[Information] [23/09/2012 06:33:39] left: 2
--[Information] [23/09/2012 06:33:39] top: 80
--[Information] [23/09/2012 06:33:39] right: 2
--[Information] [23/09/2012 06:33:39] bottom: 82
-[Information] [23/09/2012 06:33:39] Cropped output resolution: 720x288
-[Information] [23/09/2012 06:33:40] Automatic deinterlacing: False
-[Information] [23/09/2012 06:33:40] Generated Avisynth script
--[NoImage] LoadPlugin("C:\Program Files (x86)\MeGUI\tools\ffms\ffms2.dll")
--[NoImage] FFVideoSource("Y:\Téléchargements\Planète Bac - La naissance de la Vème République\La naissance de la Vème République.avi", cachefile="Y:\Téléchargements\Planète Bac - La naissance de la Vème République\ef5gpvuc.aej\La naissance de la Vème République.avi.ffindex", threads=1).AssumeFPS(24000,1001)
--[NoImage] #deinterlace
--[NoImage] crop(2, 80, -2, -82)
--[NoImage] LanczosResize(720,288) # Lanczos (Sharp)
--[NoImage] mergechroma(blur(1.3)) # Little Noise
-[Error] [23/09/2012 06:33:42] An error occurred
--[Error] [23/09/2012 06:33:42] Exception message
---[NoImage] La valeur ne peut pas être null.



[Error] Log for job48 (idx, Le Secret La Loi De l'Attraction.The Secret.French.avi -> Le Secret La Loi De l'Attraction.The Secret.French.avi.ffindex)
-[Information] [23/09/2012 06:43:21] Started handling job
-[Information] [23/09/2012 06:43:21] Preprocessing
-[Information] [23/09/2012 06:43:21] Job commandline: "C:\Program Files (x86)\MeGUI\tools\ffms\ffmsindex.exe" -t -1 -f "Y:\Téléchargements\Le Secret La Loi De l'Attraction.The Secret.French.avi" "Y:\Téléchargements\s0swvhxg.okt\Le Secret La Loi De l'Attraction.The Secret.French.avi.ffindex"
-[Information] [23/09/2012 06:43:21] Indexing started
-[Error] [23/09/2012 06:45:53] Process exits with error: 1
-[Information] [23/09/2012 06:45:53] Standard output stream: Indexing error: Audio decoding error
-[Information] [23/09/2012 06:45:53] Standard error stream
-[Information] [23/09/2012 06:45:53] Job completed



[Error] Log for job35 (oneclick, FrançAfrique - 02.L'Argent Roi - Patrick Benquet.2010.Infrarouge.(France 2).avi -> )
-[Information] [23/09/2012 06:29:32] Started handling job
-[Information] [23/09/2012 06:29:32] Preprocessing
-[Information] [23/09/2012 06:29:32] Processing thread started
-[Information] [23/09/2012 06:29:32] OneClick processing started
-[Error] [23/09/2012 06:29:32] File not found: Y:\Téléchargements\FrançAfrique (La Raison d'Etat & L'Argent Roi) - Patrick Benquet.2010.Infrarouge.(France 2)\dzs3zydk.1ga\FrançAfrique - 02.L'Argent Roi - Patrick Benquet.2010.Infrarouge.(France 2).avi_track_1_*.avs
-[Warning] Couldn't find audio file for track ::1::. Skipping track.
-[Information] [23/09/2012 06:29:32] Desired size:
-[Information] [23/09/2012 06:29:32] Split size:
-[Information] [23/09/2012 06:29:35] Aspect ratio: 1.77777778
-[Information] [23/09/2012 06:29:38] Input resolution: 720x400
-[Information] [23/09/2012 06:29:38] Output resolution: 720x400
-[Information] [23/09/2012 06:29:39] Automatic deinterlacing: False
-[Information] [23/09/2012 06:29:40] Generated Avisynth script
--[NoImage] LoadPlugin("C:\Program Files (x86)\MeGUI\tools\ffms\ffms2.dll")
--[NoImage] FFVideoSource("Y:\Téléchargements\FrançAfrique (La Raison d'Etat & L'Argent Roi) - Patrick Benquet.2010.Infrarouge.(France 2)\FrançAfrique - 02.L'Argent Roi - Patrick Benquet.2010.Infrarouge.(France 2).avi", cachefile="Y:\Téléchargements\FrançAfrique (La Raison d'Etat & L'Argent Roi) - Patrick Benquet.2010.Infrarouge.(France 2)\dzs3zydk.1ga\FrançAfrique - 02.L'Argent Roi - Patrick Benquet.2010.Infrarouge.(France 2).avi.ffindex", threads=1).AssumeFPS(25,1)
--[NoImage] #deinterlace
--[NoImage] #crop
--[NoImage] #resize
--[NoImage] LoadPlugin("C:\Program Files (x86)\MeGUI\tools\avisynth_plugin\UnDot.dll")
--[NoImage] Undot() # Minimal Noise
-[Error] [23/09/2012 06:29:41] An error occurred
--[Error] [23/09/2012 06:29:41] Exception message
---[NoImage] La valeur ne peut pas être null.
---[NoImage] Nom du paramètre*: path
--[Error] [23/09/2012 06:29:41] Stacktrace
---[NoImage] à System.IO.Path.GetFullPathInternal(String path)
---[NoImage] à System.IO.Path.GetFullPath(String path)
---[NoImage] à MeGUI.VideoUtil.eliminatedDuplicateFilenames(String& videoOutput, String& muxedOutput, AudioJob[] aStreams)
---[NoImage] à MeGUI.VideoUtil.GenerateJobSeries(VideoStream video, String muxedOutput, AudioJob[] audioStreams, MuxStream[] subtitles, String chapters, Nullable`1 desiredSize, Nullable`1 splitSize, ContainerType container, Boolean prerender, MuxStream[] muxOnlyAudio, LogItem log, String deviceType, Zone[] zones, String videoFileToMux, OneClickAudioTrack[] audioTracks)
---[NoImage] à MeGUI.OneClickPostProcessing.StartPostProcessing()
--[Error] [23/09/2012 06:29:41] Inner exception: null
-[Information] [23/09/2012 06:29:41] Job completed

[Error] Log for job28 (idx, Braquage A L'Égyptienne.avi -> Braquage A L'Égyptienne.avi.ffindex)
-[Information] [23/09/2012 01:10:20] Started handling job
-[Information] [23/09/2012 01:10:20] Preprocessing
-[Error] [23/09/2012 01:10:20] Error starting job
--[Error] [23/09/2012 01:10:20] Exception message: Calling setup of processor failed with error 'Required file 'Y:\Téléchargements\Braquage A L'Égyptienne.avi' is missing.'
--[Error] [23/09/2012 01:10:20] Stacktrace: * *à MeGUI.core.gui.JobWorker.startEncoding(TaggedJob job)
--[Error] [23/09/2012 01:10:20] Inner exception: null

Zathor
23rd September 2012, 13:37
Please provide more details. E.g. please upload a complete log file, ...

cpasmoi
23rd September 2012, 13:56
here the full log : http://pastebin.com/Quks40Vm

some others errors :
http://pastebin.com/pWYHcGZ8
http://pastebin.com/y6ck9vGu
http://pastebin.com/AHgyBrUT

Zathor
23rd September 2012, 16:11
Thanks, to be honest the first log file is too long (and the other errors happen because the first pass did not run). Can you please close MeGUI, start it again and then add only one file to OneClick and start it? This log file should be (hopfully) easier to read.

Also do you have this problem with all files in OneClick? Only in OneClick? Can you upload (a part of) one file?

cpasmoi
23rd September 2012, 19:11
thanks... i was using "2nd pass" instead of auto 2 pass... for the other error i posted in the bug report thread http://forum.doom9.org/showthread.php?p=1592472#post1592472
i try to find a tool to cut the videos and i add some samples

luke83
23rd September 2012, 19:15
I have updated yesterday the ffmpeg build (it was one year old and the current one is ~25% faster in my tests). But if it is causing problems I will revert it back. Can you please test with the old build http://megui.org/auto/ffmpeg-git-a254452.7z and with some other builds e.g. http://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-20120903-git-5d55830-win32-static.7z and report back.
I have tried both dev server ffmpeg version and stable version ff server and they give me error.

This is the version I've used from stable server:

http://imageshack.us/a/img155/2990/immaginewcp.png (http://imageshack.us/photo/my-images/155/immaginewcp.png/)

An this is the error with this version:

http://imageshack.us/a/img15/2792/immaginewm.png (http://imageshack.us/photo/my-images/15/immaginewm.png/)

Same error with the newest one :)

Pulp Catalyst
23rd September 2012, 19:53
Hi, how would i go about doing a 2pass encode, ASP or x264 but the 1st pass ignoring some of the filters (as this is just a Turbo pass), and the 2nd pass is where the slower filters engage,


for example QTGMC is really slow when using the advance features, but having QTGMC running on both passes is really inefficient, so is it possible in AVISynth to turn QTGMC on only on the second pass, or is there another approach to this situation altogether?

thanks.

Zathor
23rd September 2012, 20:33
I have tried both dev server ffmpeg version and stable version ff server and they give me error.

If both are failing for you it must be the source file. Did other (more simple) avs files work for you?

...so is it possible in AVISynth to turn QTGMC on only on the second pass, or is there another approach to this situation altogether?
Use the "pre-rendering job". That way a intermediate file will be generated with the AVS script and this file will be used then for 1st and 2nd pass.

Pulp Catalyst
23rd September 2012, 21:01
thanks, wondered a few times what pre-render was for, almost right, just wrong context though.


so does the pre-render turn off all filters for 1st pass, then automatically turns them on for 2nd pass?

just trying to understand the inner workings what Add Pre-Rendering function actually does?

Zathor
23rd September 2012, 22:02
It will add a pass before the first pass creating an intermediate AVI file (lossless quality = huge!) which will then be used in the 1st/2nd pass of the xvid/x264 encode. Depending on the AVS script this may speed up the process a lot.

luke83
24th September 2012, 19:45
If both are failing for you it must be the source file. Did other (more simple) avs files work for you?.

it fails with 1 more avs file too. However, the preview doesn't give me any error.
I've used that same avs script 72 times, becouse I'm encoding Lupin dvd. I've arrived at 73th episode and now megui doesn't work :/

icon
26th September 2012, 21:29
Can someone help me with my (seems to be) simple task?

I am taking DV avi and cutting them in Vdub and saving as direct stream copies. I am importing them into megui's one click encoder. Converting the video to 264 in a mkv container with the audio converted from 2ch wav to 2ch ac3. I am adding deinterlacing and such to the avisynth script. I also add FadeIO() to script to do a fade in and fade out.

It fades in/out the video just fine, but it does not fade the audio even though it should. I notice the one click encoder creates a separate audio avs script. This is probably my problem.

Essentially, I would like 264 video, ac3 audio in a mkv container with the audio and video faded in and faded out. Please help me if you can. Thanks.

WIRLYWIRLYPOOL
27th September 2012, 08:41
A friend of mine gave me some clips he encoded in 10bit depth...my job is to resize them...I've been using a 32bit computer and never had problems with 8bit depth or 10bit depth...I just finished building my new 64bit PC so now I'm using that...However, when I load my avisynth script into MeGui the preview is a solid green color...if I queue it nothing happens...the running time just increases but it doesn't encode at all...even if I load it into MPC its a solid green :/ ...This ONLY happens when I'm encoding a 10bit depth source...The clip plays fine in VLC...I've tried different x264.exe's but none fix the problem :/ ...I'm using (and need to keep using) "x264.exe_64" 8bit depth...Can anyone help me out? :/

LigH
27th September 2012, 11:51
Details, details, details.

AviSynth 2.58 or 2.60, 32-bit or 64-bit? Which source filter to load the video? If DirectShowSource: Correct DirectShow splitter and decoder filters (32-bit / 64-bit) installed, and are they specifically able to decode 10-bit AVC? If other source filter (DG / FFMS2 -- preferable over DirectShow): Specific version?

WIRLYWIRLYPOOL
27th September 2012, 15:59
Details, details, details.

AviSynth 2.58 or 2.60, 32-bit or 64-bit? Which source filter to load the video? If DirectShowSource: Correct DirectShow splitter and decoder filters (32-bit / 64-bit) installed, and are they specifically able to decode 10-bit AVC? If other source filter (DG / FFMS2 -- preferable over DirectShow): Specific version?

Avisynth 2.60 32 bit

I'm using "DSS2" and yes I have the correct plugin to use it (If I use "DirectShowSource" the audio gets off sync, so I would like to keep using "DSS2")

I have "Haali media splitter" the "Lav Filters" from the "x264.nl" site, and "ffdshow" (I believe these are the "Directshow splitter" & "Decoder filter" you spoke of. I'm still fairly new at this :P)

And my Codec pack is "CCCP" (It worked fine for my needs on my 32bit computer)

I have MeGui fully updated and I have the NeroaacENC as well


I would also like to point out that I could encode an 8bit depth source PERFECTLY. The green screen problem ONLY occurs when I try using a 10bit depth source.

the_weirdo
27th September 2012, 19:21
@WIRLYWIRLYPOOL:

I assume your sources are 10-bit H.264 in MKV or MP4, right? Then you should use FFMS2 instead.

P.S. I don't know I should answer your question. Because I don't think those files are legitimate.

WIRLYWIRLYPOOL
27th September 2012, 20:51
^ Yah that worked :D but MeGui crashes sometimes when I open the preview or queue the job :/ Is they're a way I can keep using DSS2?

I'm using the Cplugin version of FFMS2...I couldn't tell which of the 7 I was suppose to use, so I grabbed the one that said avisynth plugin :P

P.S
No its not an illegal file, its a video that my friend is sending to his mom for her B-day, but he needed it to be resized because he only knows how to load things in meGui and hit start...I'm learning some avisynth functions & one I learned is Bilinearresize, so I offered to resize it for him ;)

Asmodian
27th September 2012, 21:06
for example QTGMC is really slow when using the advance features, but having QTGMC running on both passes is really inefficient, so is it possible in AVISynth to turn QTGMC on only on the second pass, or is there another approach to this situation altogether?

I just want to point out that this would be a really bad idea. You do not want to change anything between the first and second pass, certainly not something as major as weather or not you run QTGMC.

As suggested pre-rendering to a lossless intermediate is the only way. I often pre-render when using a slow QTGMC even when doing a crf encode, just in case I want to use different x264 options later.

Pulp Catalyst
28th September 2012, 02:15
unfortunately the time save in one spot, i loose more than so in creating the temp file, further more, the extra strain that is being put on my HD is just not on for me.

seems then QTGMC in just not practical in 2pass encoding, unless time is not an issue....


Question, changing subject now,

this following script on my Ivy bridge 3770k (4 core, 8 threads)
is running really slow on first pass x264 encode, the first pass is only using about 20% of cpu, now i have adjusted Setmtmodes using over 20 variants, yet is makes no difference to the FPS (and timer i have running),
my question is where would the bottleneck be?

i should note however that the 2nd pass uses 99% of cpu, and the 1st pass x264 is using turbo & when using handbrake using almost same settings, handbrake gives me about 50-65% on first pass, although not full speed, it is a huge difference over MeGUI (AVISynth) method.

# Set DAR in encoder to 12 : 5. The following line is for automatic signalling
global MeGUI_darx = 12
global MeGUI_dary = 5
SetMemoryMax(1024)
SetMTMode(5,4)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\dgindexnv\DGDecodeNV.dll")
DGSource("H:\MEGUI\2\Transformers Revenge of the Fallen 2009.dgi",fieldop=0)
SetMTMode(2)
#deinterlace
crop(0, 140, 0, -140)
Spline64Resize(1280,528) # Spline64 (Sharp)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\avisynth_plugin\UnDot.dll")
Undot() # Minimal Noise




any suggestions on the script as well would be appreciated,

Avisynth 2.6 MT 2012.08.28 installed and seems in working order.

Groucho2004
28th September 2012, 03:07
Question, changing subject now,

this following script on my Ivy bridge 3770k (4 core, 8 threads)
is running really slow on first pass x264 encode, the first pass is only using about 20% of cpu, now i have adjusted Setmtmodes using over 20 variants, yet is makes no difference to the FPS (and timer i have running),
my question is where would the bottleneck be?

i should note however that the 2nd pass uses 99% of cpu, and the 1st pass x264 is using turbo & when using handbrake using almost same settings, handbrake gives me about 50-65% on first pass, although not full speed, it is a huge difference over MeGUI (AVISynth) method.

# Set DAR in encoder to 12 : 5. The following line is for automatic signalling
global MeGUI_darx = 12
global MeGUI_dary = 5
SetMemoryMax(1024)
SetMTMode(5,4)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\dgindexnv\DGDecodeNV.dll")
DGSource("H:\MEGUI\2\Transformers Revenge of the Fallen 2009.dgi",fieldop=0)
SetMTMode(2)
#deinterlace
crop(0, 140, 0, -140)
Spline64Resize(1280,528) # Spline64 (Sharp)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\avisynth_plugin\UnDot.dll")
Undot() # Minimal Noise




any suggestions on the script as well would be appreciated,

Avisynth 2.6 MT 2012.08.28 installed and seems in working order.

That script should be pretty fast even without MT on a 3770k.

- What video card do you have?
- Run the script through AVSMeter (https://forum.doom9.org/showthread.php?t=165528) and compare the speed with/without filters (resize, undot).

Pulp Catalyst
28th September 2012, 08:55
good idea, 9800gt by the way, which gives me massive performance gain when doing same script (spline64 720x480), normal avisynth decoding, 18-22fps, GPU decoding (DGI) about double..... will try normal decoding, see what happens, thanks for the tip amout AVSMeter.. try that a bit later.

Pulp Catalyst
29th September 2012, 21:04
done a lot more tests, and im baffled completely, i can't for the life of me work out where the bottle neck is on my system

xvid4psp gives me about 60fps using the script that MeGUI made, MeGUI gives me about 40-41fps,

now i have posted the following two scripts, the difference in performance is so low i can't help be baffled buy the results i'm getting which is a 4 fps difference?

one other thing, xvid4psp running either one of these scripts uses about 80-90% of the CPU, MeGUI running either one of the following scripts uses about 40% of CPU but does these heavy drops from time to tim to around 14%, then gradually goes back up, CPU temp is around 68c.... so it's not that, although have not tested hyper-threading as my research has shown that sandy and ivy has this tech fixed)


now the job i am doing is MKV to AVI (xvid) with a downsizing (which you will see in the script)

# Set DAR in encoder to 47 : 20. The following line is for automatic signalling
global MeGUI_darx = 47
global MeGUI_dary = 20
SetMemoryMax(1024)
#SetMTMode(5)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\ffms\ffms2.dll")
FFVideoSource("G:\Die Hard 01.mkv", threads=1)
#SetMTMode(2,0)
#deinterlace
#crop
Spline64Resize(720,304) # Spline64 (Sharp)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\avisynth_plugin\UnDot.dll")
Undot() # Minimal Noise


# Set DAR in encoder to 47 : 20. The following line is for automatic signalling
global MeGUI_darx = 47
global MeGUI_dary = 20
SetMemoryMax(1024)
SetMTMode(5)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\ffms\ffms2.dll")
FFVideoSource("G:\Die Hard 01.mkv", threads=1)
SetMTMode(2,0)
#deinterlace
#crop
Spline64Resize(720,304) # Spline64 (Sharp)
LoadPlugin("D:\Program Files (x86)\MeGUI\tools\avisynth_plugin\UnDot.dll")
Undot() # Minimal Noise



the only difference in the scripts is SetMTMode is on for one and off for the other, yet..... i would expect a lot more than 4fps between the two, especially when only 40% of CPU in being utilized,


and like i said above, executing the same script in xvid4psp uses 85-91% of the CPU (but strangely the FPS holds around 60fps, i thought it would be more, but there you go, and this is with MT mode on and off, the same)


done AVSMeter, no matter what i do with the script (apart from stupid things of course), i can't get the average speed above 63fps........ now i came to the conclusion a few hours ago that the bottleneck is Xvid, and nothing todo with the script, which would go onto explain the results i'm getting (or lack of results so to speak).....

but then xvid4psp contradicted my findings, because it was able to use SAME xvid version 1.2.2, with same settings (maxium) running same script, yet used nearly 90% of CPU....

it was here when i figured there's not really much for me to look at, my only other thought was that the avisynth itself could be at fault, but again this did not pan out, xvid4psp 5 series is using the very same avisynth version that i currently have installed here on doom9 (SEt)

now i'm a bit loss, but my current thinking is that megui is slower than xvid4psp for some reason, but i'm hoping i'm wrong on this, and i have overlooked something.

i'm still getting 40fps, so i will just have to accept that, i have posted the above for reference really, if anyone can help, then great, but 40fps is still an acceptable speed even if it should be doing double that, most films will be done in an hour..... can't complain i suppose, just baffling why the multi-threading avisynth isn't kicking in properly, and why is MeGUI so MUCH slower then xvid4psp??? (i mean by slower fps aswell as cpu utilization)

for the record though, still will be using MeGUI, i can get far more done the the GUI then i can is xvid4psp :)


EDIT

found the problem!!!!!!!!!
sometimes by writing things out, gives you ideas.

problem was xvid after all, xvid by default is set too 0 (auto detect cores).... wrong, i manually put it to 4 threads (which is how many real cores the 3770k has.... go figure), fps is starts at 64fps, but does gradually slip down to around 52 and holds around there give or take, so anyway after all that testing Xvid was the cause, i feel moody now, and on that note.....

Octo-puss
30th September 2012, 09:37
Pardon my ignorance, but I couldn't find the answer anywhere. Is there 64bit version of MeGUI?

the_weirdo
1st October 2012, 07:27
^ Yah that worked :D but MeGui crashes sometimes when I open the preview or queue the job :/ Is they're a way I can keep using DSS2?

I'm using the Cplugin version of FFMS2...I couldn't tell which of the 7 I was suppose to use, so I grabbed the one that said avisynth plugin :P
Please post MediaInfo of your files, or MeGUI log when it crashes. FFMS2 build comes with MeGUI should handle 10-bit H.264 in MKV very well, methinks (I'm using my own build though).


P.S
No its not an illegal file, its a video that my friend is sending to his mom for her B-day, but he needed it to be resized because he only knows how to load things in meGui and hit start...I'm learning some avisynth functions & one I learned is Bilinearresize, so I offered to resize it for him ;)
Hmm... How can he has 10-bit H.264 video while he even doesn't know how to resize it with MeGUI? :confused:

Pulp Catalyst
5th October 2012, 03:57
few issues that have been long standing now, never did post them here however, so will do now. (although i feel they are bugs, i can't be sure if it's only happening to me.... which i think must be the case as no one else has reported this behaviour, so posting here instead) have done reinstalls, refreshes that king of thing)

1. oneclick now add an extra step in the process, PGCDEMUX, however it does this even when it appears it's not needed, take for example i RIP a DVD to g drive using DVDShrink in conjunction with ANYDVD, i only rip the main title with the one audio track with no subtitles, however oneclick pgcdemux seems to recreate the VOB files on the very same hard drive the ripped VOB files are located (not only is this a waste as i have already done this with DVDShrink but it also has a huge I/O impact as it's reading and writing from/to same hard drive, the old method did not do this, only two tasks were added (pgcdemux seems knew), i tried deleting the pgcdemux task but megui did not like that.

2. noticed it quite a while ago, sometimes Lame encoder gets stuck, i have managed to reproduce it, and found a way to stop it from happening, although the following sounds weird, it is true for me.

2a AC3/DTS to mp3 - Nicaudio sometimes produces spikes in the final output of the MP3 track (downmixing to stereo - keep source channels - DRC on - normalize 100) however if i use FFaudiosource, the mp3 output is fine, tried several times, nicaudio produces clipping spikes when FFAudio does not, it's reproducable on certain tracks, but does not happen on all tracks of course.

2b if i open the config page for audio - select source (nicaudio/FFaudio) that page, then turn on DRC, then close and agree when it asks to update profile, then try and do a audio encode, megui processes the first part, then opens up lame.exe, but lame gets stuck..... nothing happens, but here's the puzzler, if i go back into the audio config page, turn off audio normalization option but DRC is still left on, close and save to profile, now encode the same track again, it works, lame kicks in and does it's job, and this behaviour is reproducible for me, turn on normalization again, and megui - lame.exe open but just sits there and does nothing, one thing to note here however, if i turn of normalization option yet DRC is still on, if i close the config screen and open it back up, normalization is actually turned back on even though i turned it off!
this is the same with nic and FF alike. (svn2174)

nicaudio is running about half the speed that FFaudio does, is this normal?

nicaudio around 13.36 realtime AC3 to mp3
FFaudio around 29.80 realtime AC3 to mp3

i know some of the above is contradicting in a way, but i can't really explain any better, i have rewritten the above out a few times and tried to clean it up as best as possible, not that it has helped much i know.

LigH
5th October 2012, 07:14
2a) You should "normalize" to less than 100%. Sometimes the psychoacoustic removal of frequency components leads to the clipping during the encoding, because even the removed frequencies might have been limiting the volume with a negative factor.

2b) Normalization needs to gather statistics. It has to scan the whole audio once before it knows the loudest volume and can calculate the factor required to push this loudest sample to the desired target volume. Are you sure you waited long enough if it would continue eventually?

Pulp Catalyst
5th October 2012, 10:46
i monitor the proceeses, lame.exe is loaded but has 0% cpu utilization, but yes i have waited a longtime, when it first started to happen, like most would i wait for 10, then 20, longest 30minutes..... but with 0% cpu, lame is doing nothing added to the fact no HDD activity

tried the normalize less, 97% then 90%..... but like i said, when nicaudio was used which caused clipping, FFaudio would not..... i just use that all the time now FFaudio that is, so that problem was easy to get around, the other issue however.... is normalization actually on even when i turn it off after going back into the audio config screen, or is it just a false flag showing it's on but really it's not?

like i said above, turn on DRC and normalization, close with save to profile
now open config again, turn off normalization save and close
go back into audio config, and normalization has switched itself back on yet audio encoding still works fine for me..... however if i turn off normalization, then turn it back on (so click it twice), my encode won't work, lame hangs...... strange!!!!

subair37
5th October 2012, 11:25
Which is the best audio preset 128bit or 192bit, also i got a basic idea of like

1 create a d2v file and load it using avisynth script creator .

after that only i dont know like scripting cropping , what about the audio delay ? encode both audio and video together ,what about bitrate calculator how to find out the correct bit rate depends if i need 700MB or 1.45GB ?

How can i get rid of audio delay if it is too large usually u get audio stream saperate when u create d2vfile .

how can i get audio in sync with video and how to adjust that ?


some one please help me as i am a baby in ripping and dont know anything about it please help me learn ripping using megui software.

luke83
5th October 2012, 12:32
Megui gives me this error:


[Error] Log
-[Information] Versions
--[Information] [22/09/2012 13:42:24] MeGUI: 2164
--[Information] [22/09/2012 13:42:24] Operating System: Windows 7 x86 SP1 (6.1.65536.7601)
--[Information] [22/09/2012 13:42:24] .Net Framework: 4.0 (4.0.30319)
--[Information] [22/09/2012 13:42:24] AviSynth: 2.5.8.5 (12/07/2009 03:46:34)
--[Information] [22/09/2012 13:42:24] AvisynthWrapper: 02/01/2009 20:34:04
--[Information] [22/09/2012 13:42:24] ICSharpCode.SharpZipLib: 0.85.5.452 (07/08/2008 20:31:12)
--[Information] [22/09/2012 13:42:24] LinqBridge: 1.0.0.0 (28/05/2009 01:24:34)
--[Information] [22/09/2012 13:42:24] MediaInfo: 0.7.60.0 (02/09/2012 11:59:20)
--[Information] [22/09/2012 13:42:24] MediaInfoWrapper: 0.7.53.0 (23/08/2012 14:33:43)
--[Information] [22/09/2012 13:42:24] MessageBoxExLib: 1.0.2218.28317 (19/12/2008 20:53:04)
--[Information] [22/09/2012 13:42:24] SevenZipSharp: 0.64.3890.29348 (02/01/2011 10:59:32)
--[Information] [22/09/2012 13:42:24] 7z: 9.20 (18/11/2010 16:27:34)
-[Information] Update detection
--[Information] [22/09/2012 13:42:24] Connecting to server: http://megui.org/auto/
--[Information] [22/09/2012 13:42:25] All files are up to date
-[Error] Log for job3 (video, VTS_01_PGC_01_1.avs -> hfyu_VTS_01_PGC_01_1.avi)
--[Information] [22/09/2012 13:42:31] Started handling job
--[Information] [22/09/2012 13:42:31] Preprocessing
---[Information] Bitrate calculation for video
----[Information] [22/09/2012 13:42:33] Desired size after subtracting audio: 591823 KBs
----[Information] [22/09/2012 13:42:33] Calculated desired bitrate: 632 kbit/s
--[Information] [22/09/2012 13:42:33] Avisynth input script
---[NoImage] LoadPlugin("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\avisynth_plugin\Anime\Toon-v1.0-lite.dll")
---[NoImage] LoadPlugin("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\avisynth_plugin\Anime\RemoveGrain-1.0\RemoveGrainSSE3.dll")
---[NoImage] LoadPlugin("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\avisynth_plugin\Anime\aWarpSharp.dll")
---[NoImage] LoadPlugin("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\avisynth_plugin\Anime\fft3dfilter211\FFT3DFilter.dll")
---[NoImage] LoadPlugin("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\avisynth_plugin\Anime\FluxSmooth-1.1b\Release\FluxSmooth.dll")
---[NoImage] LoadPlugin("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\avisynth_plugin\Anime\MSharpen.dll")
---[NoImage] LoadPlugin("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\avisynth_plugin\Anime\Anti-aliasing\UnFilter.dll")
---[NoImage] LoadPlugin("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\avisynth_plugin\Anime\Anti-aliasing\SangNom.dll")
---[NoImage] LoadPlugin("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\avisynth_plugin\Decomb.dll")
---[NoImage] Import("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\avisynth_plugin\Anime\Anti-aliasing\AAA.avs")
---[NoImage] SetMTMode(1,0)
---[NoImage] LoadPlugin("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\dgindex\DGDecode.dll")
---[NoImage] DGDecode_mpeg2source("K:\Temp\Temp Megui\VTS_01_PGC_01_1.d2v")
---[NoImage] SetMTMode(2,0)
---[NoImage] # LoadPlugin("K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\avisynth_plugin\ColorMatrix.dll")
---[NoImage] # ColorMatrix(hints=true, interlaced=true, threads=0)
---[NoImage] # Deinterlacer
---[NoImage] Decimate(mode=1,threshold=2.0)
---[NoImage] # Spatial Denoiser
---[NoImage] RemoveGrain(2).RemoveGrain(2)
---[NoImage] # Temporal Denoiser
---[NoImage] FluxSmoothT(temporal_threshold=7)
---[NoImage] # Cropper
---[NoImage] crop(2, 0, 0, 0)
---[NoImage] # Resizer
---[NoImage] Spline16Resize(704,384) # Spline16 (Neutral)
---[NoImage] # Dehalo
---[NoImage] fft3dfilter(bt=-1, plane=0, dehalo=1.0, hr=2.0, ht=50, svr=0)
---[NoImage] # Sharpener
---[NoImage] MSharpen(threshold=10, strength=100,mask=false, highq=true)
---[NoImage] aWarpSharp()
---[NoImage] ToonLite(0.2)
---[NoImage] # Anti-aliasing
---[NoImage] AAA()
--[Information] [22/09/2012 13:42:33] Job commandline: "K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MeGUI_0.3.5\tools\ffmpeg\ffmpeg.exe" -y -i "K:\Temp\Temp Megui\VTS_01_PGC_01_1.avs" -c:v ffvhuff -threads 0 -sn -an -context 1 -vstrict -2 -pred 2 "K:\Temp\Temp Megui\hfyu_VTS_01_PGC_01_1.avi"
--[Information] [22/09/2012 13:42:33] Encoding started
--[Error] [22/09/2012 13:42:34] An error occurred: [avs @ 0218c460] AVIFileOpen failed with error -2147221164
--[Error] [22/09/2012 13:42:34] Process exits with error: 1
--[Information] [22/09/2012 13:42:34] Standard output stream
--[Information] [22/09/2012 13:42:34] Standard error stream
---[NoImage] ffmpeg version N-44601-gcb3591e Copyright (c) 2000-2012 the FFmpeg developers
---[NoImage] built on Sep 19 2012 16:28:01 with gcc 4.7.1 (GCC)
---[NoImage] configuration: --enable-gpl --enable-version3 --disable-pthreads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
---[NoImage] libavutil 51. 73.101 / 51. 73.101
---[NoImage] libavcodec 54. 56.100 / 54. 56.100
---[NoImage] libavformat 54. 27.101 / 54. 27.101
---[NoImage] libavdevice 54. 2.100 / 54. 2.100
---[NoImage] libavfilter 3. 16.104 / 3. 16.104
---[NoImage] libswscale 2. 1.101 / 2. 1.101
---[NoImage] libswresample 0. 15.100 / 0. 15.100
---[NoImage] libpostproc 52. 0.100 / 52. 0.100
---[NoImage] [avs @ 0218c460] AVIFileOpen failed with error -2147221164
---[NoImage] K:\Temp\Temp Megui\VTS_01_PGC_01_1.avs: Operation not permitted
--[Information] [22/09/2012 13:42:34] Job completed


Usually it happens only when i use Pre-rendering job, infact now i'm encoding without it and it works. However it takes a lot of extra time (more than 6 hours); so i can't encode :/

I've resolved by myself reinstalling Avisynth MT. I downloaded the last version from here: http://code.google.com/p/avisynth-mt/downloads/list?can=2&q=AviSynth
Of course you've to unistall the previous version ;)

This morning, infact, MeGui Update had an update about avisynth but, incredbly, it said that there was no avisynth installed O_o
So I've reinstalled it

Now MeGui works as good as before this problem :)

tebasuna51
5th October 2012, 14:02
2a AC3/DTS to mp3 - Nicaudio sometimes produces spikes in the final output of the MP3 track (downmixing to stereo - keep source channels - DRC on - normalize 100) however if i use FFaudiosource, the mp3 output is fine, tried several times, nicaudio produces clipping spikes when FFAudio does not, it's reproducable on certain tracks, but does not happen on all tracks of course.

Please, can you upload a sample with the problem?

subair37
5th October 2012, 15:11
Hi friends please help me this is the error i got while i was encoding ,when i created d2v file it says y audio stream got a huge delay but dont know how to fix it.Please look at my log file and help me guys please......

[Error] Log
-[Information] Versions
--[Information] [05/10/2012 14:43:28] MeGUI: 2153 (svn)
--[Information] [05/10/2012 14:43:28] Operating System: Windows 7 Premium Edition x64 SP1 (6.1.65536.7601)
--[Information] [05/10/2012 14:43:28] .Net Framework: 4.0 (4.0.30319)
--[Information] [05/10/2012 14:43:28] AviSynth: 2.5.8.5 (21/12/2008 21:46:54)
--[Information] [05/10/2012 14:43:28] AvisynthWrapper: 02/01/2009 20:34:04
--[Information] [05/10/2012 14:43:28] ICSharpCode.SharpZipLib: 0.85.5.452 (07/08/2008 21:31:12)
--[Information] [05/10/2012 14:43:28] LinqBridge: 1.0.0.0 (28/05/2009 02:24:34)
--[Information] [05/10/2012 14:43:28] MediaInfo: 0.7.58.0 (29/05/2012 08:22:28)
--[Information] [05/10/2012 14:43:28] MediaInfoWrapper: 0.7.53.0 (27/01/2012 17:42:16)
--[Information] [05/10/2012 14:43:28] MessageBoxExLib: 1.0.2218.28317 (19/12/2008 21:53:04)
--[Information] [05/10/2012 14:43:28] SevenZipSharp: 0.64.3890.29348 (02/01/2011 11:59:32)
--[Information] [05/10/2012 14:43:28] 7z: 9.20 (18/11/2010 17:27:34)
-[Information] Update detection
--[Information] [05/10/2012 14:43:28] Connecting to server: http://megui.org/auto/stable/
--[Information] [05/10/2012 14:43:29] All files are up to date
-[Information] AutoEncode job generation log
--[Information] [05/10/2012 14:56:56] Desired Size : 700.00 MB
--[Information] [05/10/2012 14:56:56] Split Size : null
--[Information] Eliminating duplicate filenames
---[Information] [05/10/2012 14:56:56] Video output file: C:\DEMUXED\Thambaan.264
---[Information] [05/10/2012 14:56:56] Muxed output file: C:\DEMUXED\Thambaan-muxed.mp4
---[Information] [05/10/2012 14:56:56] Encodable audio stream 0: C:\DEMUXED\Thambaan T80 3_2ch 448Kbps DELAY 0ms.m4a
-[Error] Log for job2 (audio, Thambaan T80 3_2ch 448Kbps DELAY 86519ms.ac3 -> Thambaan T80 3_2ch 448Kbps DELAY 0ms.m4a)
--[Information] [05/10/2012 14:56:57] Started handling job
--[Information] [05/10/2012 14:56:57] Preprocessing
--[Information] [05/10/2012 14:56:57] Encoding started
--[Information] [05/10/2012 14:56:57] MediaInfo
---[Information] File: C:\DEMUXED\Thambaan T80 3_2ch 448Kbps DELAY 86519ms.ac3
---[Information] General
----[Information] Format: AC-3
----[Information] FormatString: AC-3
----[Information] FileSize: 575828736
----[Information] PlayTime: 02:51:22.656
---[Information] Audio
----[Information] ID:
----[Information] StreamOrder:
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2: 3/2/0.1
----[Information] BitRateMode: CBR
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
--[Information] [05/10/2012 14:56:57] Trying to open the file with NicAudio
--[Information] [05/10/2012 14:56:57] Successfully opened the file with NicAudio
--[Information] [05/10/2012 14:56:57] Avisynth script
---[NoImage] LoadPlugin("C:\Users\Nizam\Downloads\MeGUI_2153_x86\tools\avisynth_plugin\NicAudio.dll")
---[NoImage] NicAc3Source("C:\DEMUXED\Thambaan T80 3_2ch 448Kbps DELAY 86519ms.ac3")
---[NoImage] DelayAudio(86519.0/1000.0)
---[NoImage] Normalize()
---[NoImage] return last
--[Information] [05/10/2012 14:56:57] Commandline used: -ignorelength -he -br 128000 -if - -of "{0}"
--[Information] [05/10/2012 14:56:57] Avisynth script environment opened
--[Information] [05/10/2012 14:56:57] Script loaded
--[Information] Output Decoder
---[Information] [05/10/2012 14:56:57] Channels: 6
---[Information] [05/10/2012 14:56:57] Bits per sample: 32
---[Information] [05/10/2012 14:56:57] Sample rate: 48000
--[Information] [05/10/2012 14:56:57] Commandline: C:\Users\Nizam\Downloads\win32\neroAacEnc.exe -ignorelength -he -br 128000 -if - -of "C:\DEMUXED\Thambaan T80 3_2ch 448Kbps DELAY 0ms.m4a"
--[Information] [05/10/2012 14:56:57] Encoder process started
--[Error] [05/10/2012 15:05:56] An error occurred
---[Error] [05/10/2012 15:05:56] Exception message: The pipe has been ended.
---[Error] [05/10/2012 15:05:56] 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()
---[Error] [05/10/2012 15:05:56] Inner exception: null
--[Information] [05/10/2012 15:05:56] Output from encoder via stderr
---[NoImage] *************************************************************
---[NoImage] * *
---[NoImage] * Nero AAC Encoder *
---[NoImage] * Copyright 2009 Nero AG *
---[NoImage] * All Rights Reserved Worldwide *
---[NoImage] * *
---[NoImage] * Package build date: Feb 18 2010 *
---[NoImage] * Package version: 1.5.4.0 *
---[NoImage] * *
---[NoImage] * See -help for a complete list of available parameters. *
---[NoImage] * *
---[NoImage] *************************************************************
--[Information] [05/10/2012 15:05:56] Output from encoder via stdout: ERROR: error while encoding frame
--[Information] [05/10/2012 15:05:56] Job completed

Guest
5th October 2012, 15:47
Cut the first 50 MB of the first file with DGSplit, upload it to mediafire.com, then post the link here.

Also post your full script.

Guest
5th October 2012, 15:50
Uh, your script has this:

DelayAudio(86519.0/1000.0)

That's an 86 second delay you are imposing! You need to change that.

If DGIndex reported a huge delay also, then you do need to provide the file. You may have the dreaded 'black video at the start with no audio' problem too.

subair37
5th October 2012, 15:53
Uh, never mind, I don't need the file. Your script has this:

DelayAudio(86519.0/1000.0)

That's an 86 second delay you are imposing! You need to change that.

If DGIndex reported a huge delay also, then you do need to provide the file. You may have the dreaded black video at the start with no audio.

Please advice me how to change that delay or how to fix this ?

Guest
5th October 2012, 15:55
Looking at your log I see the demuxed file has the big delay. I need the file I asked for. The first 50 MB of the first file that you loaded into DGIndex.

You can also try reloading the files in DGIndex, then doing > to skip all black video at the start, and then hit [, finally save your project.

If MEGUI did it with one click or something, then you have to do it manually.

subair37
5th October 2012, 16:00
Looking at your log I see the demuxed file has the big delay. I need the file I asked for. The first 50 MB of the first file that you loaded into DGIndex.

You can also try reloading the files in DGIndex, then doing > to skip all black video at the start, and then hit [, finally save your project.

If MEGUI did it with one click or something, then you have to do it manually.

how can i take the first 50 mb please advice

Guest
5th October 2012, 16:47
how can i take the first 50 mb please advice http://forum.doom9.org/showthread.php?p=1594315#post1594315

Do you see black video at the start? I don't like to play 20 questions so please try to respond to all the information and suggestions you are given. Thank you.

Zathor
5th October 2012, 17:01
1. oneclick now add an extra step in the process, PGCDEMUX, however it does this even when it appears it's not needed, take for example i RIP a DVD to g drive using DVDShrink in conjunction with ANYDVD, i only rip the main title with the one audio track with no subtitles, however oneclick pgcdemux seems to recreate the VOB files on the very same hard drive the ripped VOB files are located (not only is this a waste as i have already done this with DVDShrink but it also has a huge I/O impact as it's reading and writing from/to same hard drive, the old method did not do this, only two tasks were added (pgcdemux seems knew), i tried deleting the pgcdemux task but megui did not like that.
This task will be added if the selected DVD/VOB has more than one PGC. If you have more than one HDD you should specify the working directory to be on a different drive than input and ouput.
EDIT: Please post the log so that we can see if the input has more than one PGC.

Pulp Catalyst
5th October 2012, 18:04
i already specified temp directory on h in settings, i then mux outputs to e or z, now having to set ANOTHER temp directory..... it's getting quite silly with all these temp directories to be honest and i get confused sometimes where everything is..... can't you add more abilities in global setting regarding temps like DVD-Rebuilder does

temp folder
working folder
default output folder
default pgcdemux folder

kind of thing.....

as for log, next time i do a batch of encodes i keep the logs.... probably next week sometime now

Zathor
5th October 2012, 18:13
You have only three directories in OneClick mode:

- Input folder
- Working directory (temp)
- Output folder

The default working (and output) directory can be specified in the OneClick profile settings.

I think that these three directories are sufficient. Main HDD activity is during demux (input --> working) and mux (working -> output).

subair37
5th October 2012, 19:10
http://forum.doom9.org/showthread.php?p=1594315#post1594315

Do you see black video at the start? I don't like to play 20 questions so please try to respond to all the information and suggestions you are given. Thank you.

what is meant by Black video ? is it video with no audio ? i played this on a vlc media player and find that in the begining first 35 seconds there is only begining vredits with no audio .this is actually a south indian DVD which i made the d2v file from video ts folder main movie title VTS02_1 to all the wau up to VTS02_8.

Guest
6th October 2012, 00:30
Any video without matching audio at the start is potentially going to be an issue. Please provide the file I asked for. Without it, I cannot advise you of the proper solution to the problem. Again, I need the first 50MB of the first VOB that you loaded into DGIndex to make the project. Open the VOB in DGSplit, select chunks, 50MB, and check Stop after 1. Then hit Split. Upload the resulting file to mediafire.com and post the link here.

LigH
8th October 2012, 08:21
DG*Dec was made to process only one PGC; indexing a VTS with several PGCs (you can't see that only by looking at the VOB files!) is one of the most common reasons of asynchronous audio.

That means: Either rip your DVD with a DVD Ripper set up in "IFO mode" or in "Movie mode" or whatever it is called, so that only the main movie gets extracted, not the whole DVD with all extras.

Or, if you already ripped the whole DVD, use PGCDemux to extract only one PGC from the whole DVD content.


And, well, as already told: There are many tutorials and basic guides one should already know before deciding to use an advanced tool like MeGUI which was made for already experienced users. MeGUI does not even do the "ripping" (means: the copying from the DVD to the harddisk, and possibly the decrypting). It only does the conversion. But the user is expected to have basic knowledge about DVD-Video already.

The very latest versions now introduced PGC handling. But this feature is so new, I do not yet know how users are supposed to use it. I have to learn this part just like others...

ngocit
9th October 2012, 10:37
Hi, I checked out source code from the repository with 2188 and built it with VS2008 but was not successful. The VS2008 have many error messages as following:
...
The type or namespace name 'OneClickAudioTrack' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'x264Device' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'OneClickAudioSettings' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'SubtitleTrackInfo' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'MkvInfo' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'OneClickStreamControl' could not be found (are you missing a using directive or an assembly reference?)
...
I looked at source but not found OneClickStreamControl, OneClickAudioTrack, x264Device ... anywhere? I think it missed these classes.
Anyone could help me how to get the lastest source code to build successfully? Or how to build it?

Thank.

Kurtnoise
9th October 2012, 11:04
Install VS Studio 2010 instead...the 2008 project is not updated iirc.

Zathor
9th October 2012, 16:51
correct - will be deleted with the next commit.

Guest
9th October 2012, 20:23
this is actually a south indian DVD which i made Did you lose interest in this problem? You have several people that spent time trying to help you and you've just disappeared. I personally find it irritating.

ngocit
10th October 2012, 04:53
Thank Kurtnoise! I built it with VS2010 successfully.

Tanbheer
12th October 2012, 13:49
I have been encoding Bluray movies for the last 3 years. This never happened to me before. I have all the codecs & avisynth 2.5.8 installed in my pc. I always encoded with automated 2pass mode. now when i encode any video 1st pass starts & it goes well. suppose that video has 150000 frames. In 1st pass Megui encodes for 149900 frames then it suddenly stops & it never goes beyond 149900 frames & 2nd pass doesn't start. This happens with all the videos not just one particular Video. I have tried to Encode those videos with crf & didn't find any problem with it. So what's the solution for this problem. Can any one help plz.

Here is a screenshot when it stops & never goes beyond it
http://i.imgur.com/OnN9F.jpg

Zathor
13th October 2012, 11:54
Please post the log and also please try to run the x264 command line directly (without MeGUI) - do you have then the same problem?

MenotBumba
18th October 2012, 04:22
I don't see where I can change the analyse parameter in the config of the x264 profile. So how can I tell MeGUI/x264 to use analyse = 0x3:0x113 ?

LigH
18th October 2012, 08:40
The analyse parameters are available in the advanced x264 encoder configuration; but MeGUI offers checkboxes for different "Macroblock partitions". I can't tell you which bitmask will be equal to which set of check marks. But most probably it should match one of the most usual presets related to Main or High profile (Default or All); High allows 8x8 Adaptive DCT in addition to Main.

MOS-Marauder
18th October 2012, 23:49
Hi.

I got a problem since some time.... When i encode a 2 pass Xvid, xvid:encraw crashes as soon as it schould encode pass 2.

Problemsignatur:
Problemereignisname: APPCRASH
Anwendungsname: xvid_encraw.exe
Anwendungsversion: 0.0.0.0
Anwendungszeitstempel: 46d75f5f
Fehlermodulname: xvidcore.dll
Fehlermodulversion: 0.0.0.0
Fehlermodulzeitstempel: 4a205448
Ausnahmecode: c0000005
Ausnahmeoffset: 00010710
Betriebsystemversion: 6.1.7601.2.1.0.256.1
Gebietsschema-ID: 1031
Zusatzinformation 1: 0a9e
Zusatzinformation 2: 0a9e372d3b4ad19135b953a78882e789
Zusatzinformation 3: 0a9e
Zusatzinformation 4: 0a9e372d3b4ad19135b953a78882e789

I didint found a Way around it yet....

The AVS is simple....

LoadPlugin("D:\Programme\megui-Dev-031-1061\tools\dgindexnv\DGDecodeNV.dll")
DGSource("O:\Encode\US-Encode\THE_ODDS\odds.dgi",fieldop=1)
#deinterlace
crop(0, 58, 0, -58)
LanczosResize(640,272) # Lanczos (Sharp)

Even if i do resizing & Cropping directly with DGIndexNV/DGDecNV there is no difference....

(Note: Only the Dirname is V1061... i use 2192 dev)


Mara

joshirohit777
19th October 2012, 16:38
i m getting error in megui

The error message says: Method not found: "MediaInfoWrapper.AudioTrack.get_format()

can anybody help me ?

Zathor
19th October 2012, 17:03
The error message says: Method not found: "System.String.MediaInfoWrapper.AudioTrack.get_format()
Post your log file, please. I assume that the mediainfowrapper.dll in the root of the MeGUI folder is outdated.

joshirohit777
19th October 2012, 17:23
Log file

Preliminary log file only. During closing of MeGUI the well formed log file will be written.

-[Information] Versions
--[Information] [10/19/2012 5:34:16 PM] MeGUI: 2153 (svn)
--[Information] [10/19/2012 5:34:16 PM] Operating System: Windows Server 2003 Standard Edition x64 SP2 (5.2.131072.3790)
--[Information] [10/19/2012 5:34:16 PM] .Net Framework: 4.0 (4.0.30319)
--[Information] [10/19/2012 5:34:16 PM] AviSynth: 2.5.8.5 (12/21/2008 9:46:54 PM)
--[Information] [10/19/2012 5:34:16 PM] AvisynthWrapper: not installed
--[Information] [10/19/2012 5:34:16 PM] ICSharpCode.SharpZipLib: 0.85.5.452 (8/7/2008 9:31:12 PM)
--[Information] [10/19/2012 5:34:16 PM] LinqBridge: 1.0.0.0 (12/17/2009 7:01:22 PM)
--[Information] [10/19/2012 5:34:16 PM] MediaInfo: 0.7.48.0 (10/16/2012 3:42:43 PM)
--[Information] [10/19/2012 5:34:16 PM] MediaInfoWrapper: 0.7.33.0 (10/16/2012 3:31:16 PM)
--[Information] [10/19/2012 5:34:16 PM] MessageBoxExLib: 1.0.2218.28317 (3/27/2010 11:49:00 AM)
--[Information] [10/19/2012 5:34:16 PM] SevenZipSharp: 0.64.3890.29348 (1/2/2011 10:59:32 AM)
--[Information] [10/19/2012 5:34:16 PM] 7z: 9.20 (11/18/2010 4:27:34 PM)
-[Error] Unhandled error
--[Information] [10/19/2012 5:34:16 PM] Exception message: Object reference not set to an instance of an object
-[NoImage] at MeGUI.UpdateWindow.SaveComponentSettings () [0x00000] in <filename unknown>:0
-[NoImage] at MeGUI.UpdateWindow.listViewDetails_ColumnWidthChanged (System.Object sender, System.Windows.Forms.ColumnWidthChangedEventArgs e) [0x00000] in <filename unknown>:0
-[NoImage] at System.Windows.Forms.ListView.OnColumnWidthChanged (System.Windows.Forms.ColumnWidthChangedEventArgs e) [0x00000] in <filename unknown>:0
-[NoImage] at System.Windows.Forms.ListView.RaiseColumnWidthChanged (Int32 resize_column) [0x00000] in <filename unknown>:0
-[NoImage] at System.Windows.Forms.ListView.RaiseColumnWidthChanged (System.Windows.Forms.ColumnHeader column) [0x00000] in <filename unknown>:0
-[NoImage] at (wrapper remoting-invoke-with-check) System.Windows.Forms.ListView:RaiseColumnWidthChanged (System.Windows.Forms.ColumnHeader)
-[NoImage] at System.Windows.Forms.ColumnHeader.set_Width (Int32 value) [0x00000] in <filename unknown>:0
-[NoImage] at (wrapper remoting-invoke-with-check) System.Windows.Forms.ColumnHeader:set_Width (int)
-[NoImage] at MeGUI.UpdateWindow.InitializeComponent () [0x00000] in <filename unknown>:0
-[NoImage] at MeGUI.UpdateWindow..ctor (MeGUI.MainForm mainForm, MeGUI.MeGUISettings savedSettings) [0x00000] in <filename unknown>:0
-[NoImage] at (wrapper remoting-invoke-with-check) MeGUI.UpdateWindow:.ctor (MeGUI.MainForm,MeGUI.MeGUISettings)
-[NoImage] at MeGUI.MainForm.beginUpdateCheck () [0x00000] in <filename unknown>:0
-[NoImage] at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0
--[Information] [10/19/2012 5:34:16 PM] Stacktrace
--[Information] [10/19/2012 5:34:16 PM] Inner exception: null
-[Error] Unhandled error
--[Information] [10/19/2012 5:34:53 PM] Exception message: Method not found: 'MediaInfoWrapper.AudioTrack.get_DefaultString'.
-[NoImage] at MeGUI.MediaInfoFile..ctor (System.String file, Int32 iPGCNumber) [0x00000] in <filename unknown>:0
-[NoImage] at MeGUI.MediaInfoFile..ctor (System.String file) [0x00000] in <filename unknown>:0
-[NoImage] at MeGUI.DialogManager.AVSCreatorOpen (System.String videoInput) [0x00000] in <filename unknown>:0
-[NoImage] at MeGUI.AviSynthWindow.openVideoSource (System.String videoInput) [0x00000] in <filename unknown>:0
-[NoImage] at MeGUI.AviSynthWindow.input_FileSelected (MeGUI.FileBar sender, MeGUI.FileBarEventArgs args) [0x00000] in <filename unknown>:0
-[NoImage] at MeGUI.FileBar.triggerEvent () [0x00000] in <filename unknown>:0
-[NoImage] at MeGUI.FileBar.setFilename (System.String filename) [0x00000] in <filename unknown>:0
-[NoImage] at MeGUI.FileBar.openButton_Click (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0
-[NoImage] at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x00000] in <filename unknown>:0
-[NoImage] at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00000] in <filename unknown>:0
-[NoImage] at System.Windows.Forms.ButtonBase.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00000] in <filename unknown>:0
-[NoImage] at System.Windows.Forms.Button.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00000] in <filename unknown>:0
-[NoImage] at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
-[NoImage] at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
-[NoImage] at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
-[NoImage] at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
-[NoImage] at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
-[NoImage] at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
-[NoImage] at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0
--[Information] [10/19/2012 5:34:53 PM] Stacktrace
--[Information] [10/19/2012 5:34:53 PM] Inner exception: null

Zathor
19th October 2012, 18:05
Please try a fresh install:
http://sourceforge.net/projects/megui/files/latest/download
Extract it to a new folder and run it. Do you have the same problems with this installation?

Boardlord
22nd October 2012, 07:49
I tried to backup one of my concert DVDs with One Click, and I got an error:


[Error] Log
-[Information] Versions
--[Information] [2012.10.21. 11:21:51] MeGUI: 2192
--[Information] [2012.10.21. 11:21:51] Operating System: Windows 7 Ultimate Edition x86 SP1 (6.1.65536.7601)
--[Information] [2012.10.21. 11:21:51] .Net Framework: 4.0 (4.0.30319)
--[Information] [2012.10.21. 11:21:51] AviSynth: 2.6.0.3 (2012.05.15. 23:35:18)
--[Information] [2012.10.21. 11:21:51] AvisynthWrapper: 2009.01.02. 20:34:04
--[Information] [2012.10.21. 11:21:51] ICSharpCode.SharpZipLib: 0.85.5.452 (2008.08.07. 20:31:12)
--[Information] [2012.10.21. 11:21:51] LinqBridge: 1.0.0.0 (2009.05.28. 1:24:34)
--[Information] [2012.10.21. 11:21:51] MediaInfo: 0.7.60.0 (2012.09.02. 11:59:20)
--[Information] [2012.10.21. 11:21:51] MediaInfoWrapper: 0.7.53.0 (2012.08.23. 14:33:43)
--[Information] [2012.10.21. 11:21:51] MessageBoxExLib: 1.0.2218.28317 (2008.12.19. 20:53:04)
--[Information] [2012.10.21. 11:21:51] SevenZipSharp: 0.64.3890.29348 (2011.01.02. 10:59:32)
--[Information] [2012.10.21. 11:21:51] 7z: 9.20 (2010.11.18. 16:27:34)
-[Information] Update detection
--[Information] [2012.10.21. 11:21:51] Connecting to server: http://megui.xvidvideo.ru/auto/
--[Information] [2012.10.21. 11:21:52] All files are up to date
-[Information] OneClick
--[Information] [2012.10.21. 11:22:33] MediaInfo
---[Information] File: H:\g\ELBOW_BBC CONCERT ORCHESTRA\VIDEO_TS\VTS_01_1.VOB
---[Information] DVD source detected. Using IFO file: H:\g\ELBOW_BBC CONCERT ORCHESTRA\VIDEO_TS\VTS_01_0.IFO
---[Information] General
----[Information] Format: MPEG-PS
----[Information] FormatString: MPEG-PS
----[Information] FileSize: 1073520640
----[Information] PlayTime: 00:17:01.954
----[Information] PGCCount: 1
----[Information] PGCNumber: 1
---[Information] Video
----[Information] ID: 224
----[Information] StreamOrder:
----[Information] Width: 720
----[Information] Height: 480
----[Information] FrameCount: 30628
----[Information] FrameRate: 29.970
----[Information] FrameRateOriginal:
----[Information] FrameRateMode:
----[Information] ScanType: Interlaced
----[Information] Codec: MPEG-2V
----[Information] CodecString: MPEG-2 Video
----[Information] Format: MPEG Video
----[Information] AspectRatio: 2.370
----[Information] AspectRatioString: 16:9
----[Information] Delay: 280.633
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 189-129
----[Information] StreamOrder:
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2: 3/2/0.1
----[Information] BitRateMode: CBR
----[Information] Delay: 280.633
----[Information] Title:
----[Information] Language:
----[Information] LanguageString: English
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 189-130
----[Information] StreamOrder:
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2: 2/0/0
----[Information] BitRateMode: CBR
----[Information] Delay: 280.633
----[Information] Title:
----[Information] Language:
----[Information] LanguageString: English
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 189-160
----[Information] StreamOrder:
----[Information] Format: PCM
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2:
----[Information] BitRateMode: CBR
----[Information] Delay: 280.633
----[Information] Title:
----[Information] Language:
----[Information] LanguageString: English
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
--[Information] [2012.10.21. 11:25:15] Video: H:\g\ELBOW_BBC CONCERT ORCHESTRA\ntidihn0.ydx\VTS_01_1.VOB
--[Information] [2012.10.21. 11:25:15] Audio: H:\g\ELBOW_BBC CONCERT ORCHESTRA\VIDEO_TS\VTS_01_1.VOB
-[Information] Log for job1 (ext, VTS_01_0.IFO -> )
--[Information] [2012.10.21. 11:25:20] Started handling job
--[Information] [2012.10.21. 11:25:20] Preprocessing
--[Information] [2012.10.21. 11:25:20] Job commandline: "D:\Mpeg\Video\Encode\MEGUI\tools\pgcdemux\pgcdemux.exe" -pgc 1 -noaud
-nosub -customvob n,v,a,s,l
"H:\g\ELBOW_BBC CONCERT ORCHESTRA\VIDEO_TS\VTS_01_0.IFO" "H:\g\ELBOW_BBC CONCERT ORCHESTRA\ntidihn0.ydx"
--[Information] [2012.10.21. 11:25:20] Extracting started
--[Information] [2012.10.21. 11:27:39] Standard output stream
--[Information] [2012.10.21. 11:27:39] Standard error stream
--[Information] [2012.10.21. 11:27:39] Postprocessing
---[Information] Deleting intermediate files
----[Information] [2012.10.21. 11:27:39] Successfully deleted H:\g\ELBOW_BBC CONCERT ORCHESTRA\ntidihn0.ydx\LogFile.txt
----[Information] [2012.10.21. 11:27:39] Successfully deleted H:\g\ELBOW_BBC CONCERT ORCHESTRA\ntidihn0.ydx\Celltimes.txt
--[Information] [2012.10.21. 11:27:39] Job completed
-[Information] Log for job2 (idx, VTS_01_1.VOB -> VTS_01_1.dgi)
--[Information] [2012.10.21. 11:27:39] Started handling job
--[Information] [2012.10.21. 11:27:39] Preprocessing
--[Information] [2012.10.21. 11:27:39] Job commandline: "D:\Mpeg\Video\Encode\MEGUI\tools\dgindexnv\dgindexnv.exe" -i
"H:\g\ELBOW_BBC CONCERT ORCHESTRA\ntidihn0.ydx\VTS_01_1.VOB","H:\g\ELBOW_BBC CONCERT ORCHESTRA\ntidihn0.ydx
\VTS_01_2.vob","H:\g\ELBOW_BBC CONCERT ORCHESTRA\ntidihn0.ydx\VTS_01_3.vob","H:\g\ELBOW_BBC CONCERT
ORCHESTRA\ntidihn0.ydx\VTS_01_4.vob" -o "H:\g\ELBOW_BBC CONCERT ORCHESTRA\ntidihn0.ydx\VTS_01_1.dgi" -e -h -a
--[Information] [2012.10.21. 11:27:39] Indexing started
--[Information] [2012.10.21. 11:29:19] Standard output stream
--[Information] [2012.10.21. 11:29:19] Standard error stream
--[Information] [2012.10.21. 11:29:19] MediaInfo
---[Information] File: H:\g\ELBOW_BBC CONCERT ORCHESTRA\ntidihn0.ydx\VTS_01_1.dgi
---[Information] Indexed File: H:\g\ELBOW_BBC CONCERT ORCHESTRA\ntidihn0.ydx\VTS_01_1.VOB
---[Information] General
----[Information] Format: MPEG-PS
----[Information] FormatString: MPEG-PS
----[Information] FileSize: 1073739776
----[Information] PlayTime: 00:17:02.188
---[Information] Video
----[Information] ID: 224
----[Information] StreamOrder:
----[Information] Width: 720
----[Information] Height: 480
----[Information] FrameCount: 30635
----[Information] FrameRate: 29.970
----[Information] FrameRateOriginal:
----[Information] FrameRateMode:
----[Information] ScanType: Interlaced
----[Information] Codec: MPEG-2V
----[Information] CodecString: MPEG-2 Video
----[Information] Format: MPEG Video
----[Information] AspectRatio: 2.370
----[Information] AspectRatioString: 2.40:1
----[Information] Delay: 280.633
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 189-129
----[Information] StreamOrder:
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2: 3/2/0.1
----[Information] BitRateMode: CBR
----[Information] Delay: 280.633
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 189-130
----[Information] StreamOrder:
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2: 2/0/0
----[Information] BitRateMode: CBR
----[Information] Delay: 280.633
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 189-160
----[Information] StreamOrder:
----[Information] Format: PCM
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2:
----[Information] BitRateMode: CBR
----[Information] Delay: 280.633
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
--[Information] [2012.10.21. 11:29:19] Postprocessing
---[Information] Deleting intermediate files
----[Information] [2012.10.21. 11:29:19] Successfully deleted H:\g\ELBOW_BBC CONCERT ORCHESTRA\ntidihn0.ydx\VTS_01_1.log
--[Information] [2012.10.21. 11:29:19] Job completed
-[Error] Log for job3 (oneclick, VTS_01_1.VOB -> )
--[Information] [2012.10.21. 11:29:19] Started handling job
--[Information] [2012.10.21. 11:29:19] Preprocessing
--[Information] [2012.10.21. 11:29:19] OneClick processing started
--[Information] [2012.10.21. 11:29:19] Processing thread started
--[Error] [2012.10.21. 11:29:19] File not found: H:\g\ELBOW_BBC CONCERT ORCHESTRA\ntidihn0.ydx\VTS_01_1 Ta0*
--[Warning] Couldn't find audio file for track ::160::. Skipping track.
--[Information] [2012.10.21. 11:29:19] Desired size: 1,46 GB
--[Information] [2012.10.21. 11:29:19] Split size:
--[Information] [2012.10.21. 11:29:21] Aspect ratio: 1.82316945
--[Information] [2012.10.21. 11:29:23] Input resolution: 720x480
--[Information] [2012.10.21. 11:29:23] Autocrop values
---[Information] [2012.10.21. 11:29:23] left: 4
---[Information] [2012.10.21. 11:29:23] top: 52
---[Information] [2012.10.21. 11:29:23] right: 6
---[Information] [2012.10.21. 11:29:23] bottom: 52
--[Information] [2012.10.21. 11:29:23] Cropped output resolution: 704x304
--[Information] [2012.10.21. 11:29:24] Automatic deinterlacing: True
--[Information] [2012.10.21. 11:32:56] Source detection
---[NoImage] Progressive sections: 4
---[NoImage] Interlaced sections: 101
---[NoImage] Partially Static Sections: 104
---[NoImage] Film Sections: 5
---[NoImage] Source is declared interlaced.
---[NoImage] Source is declared tff by a margin of 144 to 2.
--[Warning] [2012.10.21. 11:32:56] Deinterlacing used
---[NoImage] Load_Stdcall_Plugin("D:\Mpeg\Video\Encode\MEGUI\tools\yadif\yadif.dll")
---[NoImage] Yadif(order=1)
--[Information] [2012.10.21. 11:32:56] Generated Avisynth script
---[NoImage] LoadPlugin("D:\Mpeg\Video\Encode\MEGUI\tools\dgindexnv\DGDecodeNV.dll")
---[NoImage] DGSource("H:\g\ELBOW_BBC CONCERT ORCHESTRA\ntidihn0.ydx\VTS_01_1.dgi",fieldop=0)
---[NoImage] setmtmode(2)
---[NoImage] Load_Stdcall_Plugin("D:\Mpeg\Video\Encode\MEGUI\tools\yadif\yadif.dll")
---[NoImage] Yadif(order=1)
---[NoImage] crop(4, 52, -6, -52)
---[NoImage] LanczosResize(704,304) # Lanczos (Sharp)
---[NoImage] LoadPlugin("D:\Mpeg\Video\Encode\MEGUI\tools\avisynth_plugin\UnDot.dll")
---[NoImage] Undot() # Minimal Noise
--[Error] [2012.10.21. 11:32:57] An error occurred
---[Error] [2012.10.21. 11:32:57] Exception message
----[NoImage] Value cannot be null.
----[NoImage] Parameter name: path
---[Error] [2012.10.21. 11:32:57] Stacktrace
----[NoImage] at System.IO.Path.GetFullPathInternal(String path)
----[NoImage] at System.IO.Path.GetFullPath(String path)
----[NoImage] at MeGUI.VideoUtil.eliminatedDuplicateFilenames(String& videoOutput, String& muxedOutput, AudioJob[] aStreams)
----[NoImage] at MeGUI.VideoUtil.GenerateJobSeries(VideoStream video, String muxedOutput, AudioJob[] audioStreams, MuxStream[]
subtitles, String chapters, Nullable`1 desiredSize, Nullable`1 splitSize, ContainerType container, Boolean prerender, MuxStream[]
muxOnlyAudio, LogItem log, String deviceType, Zone[] zones, String videoFileToMux, OneClickAudioTrack[] audioTracks)
----[NoImage] at MeGUI.OneClickPostProcessing.StartPostProcessing()
---[Error] [2012.10.21. 11:32:57] Inner exception: null
--[Information] [2012.10.21. 11:32:57] Job completed

Zathor
22nd October 2012, 13:20
I cannot try to reproduce the combination DGIndexNV + DVD in the next days on my own. Nevertheless - what kind of files are in H:\g\ELBOW_BBC CONCERT ORCHESTRA\ntidihn0.ydx? Especially I would like to know if the audio file for track 160 (PCM) is available and with which name.

Also I cannot find the information at the moment if DGIndexNV is able to demux PCM tracks from VOB files.

Boardlord
22nd October 2012, 19:36
I cannot try to reproduce the combination DGIndexNV + DVD in the next days on my own. Nevertheless - what kind of files are in H:\g\ELBOW_BBC CONCERT ORCHESTRA\ntidihn0.ydx? Especially I would like to know if the audio file for track 160 (PCM) is available and with which name.

Also I cannot find the information at the moment if DGIndexNV is able to demux PCM tracks from VOB files.

Sorry for the late reply, I had to rip the DVD again, I needed the space.

I tried to use One Click again, here is the log:


Preliminary log file only. During closing of MeGUI the well formed log file will be written.

-[Information] Versions
--[Information] [2012.10.22. 20:20:18] MeGUI: 2192
--[Information] [2012.10.22. 20:20:18] Operating System: Windows 7 Ultimate Edition x86 SP1 (6.1.65536.7601)
--[Information] [2012.10.22. 20:20:18] .Net Framework: 4.0 (4.0.30319)
--[Information] [2012.10.22. 20:20:18] AviSynth: 2.6.0.3 (2012.05.15. 23:35:18)
--[Information] [2012.10.22. 20:20:18] AvisynthWrapper: 2009.01.02. 20:34:04
--[Information] [2012.10.22. 20:20:18] ICSharpCode.SharpZipLib: 0.85.5.452 (2008.08.07. 20:31:12)
--[Information] [2012.10.22. 20:20:18] LinqBridge: 1.0.0.0 (2009.05.28. 1:24:34)
--[Information] [2012.10.22. 20:20:18] MediaInfo: 0.7.60.0 (2012.09.02. 11:59:20)
--[Information] [2012.10.22. 20:20:18] MediaInfoWrapper: 0.7.53.0 (2012.08.23. 14:33:43)
--[Information] [2012.10.22. 20:20:18] MessageBoxExLib: 1.0.2218.28317 (2008.12.19. 20:53:04)
--[Information] [2012.10.22. 20:20:18] SevenZipSharp: 0.64.3890.29348 (2011.01.02. 10:59:32)
--[Information] [2012.10.22. 20:20:18] 7z: 9.20 (2010.11.18. 16:27:34)
-[Information] Update detection
--[Information] [2012.10.22. 20:20:18] Connecting to server: http://megui.xvidvideo.ru/auto/
--[Information] [2012.10.22. 20:20:19] All files are up to date
-[Information] OneClick
--[Information] [2012.10.22. 20:20:30] MediaInfo
---[Information] File: E:\g\Elbow And The BBC Concert Orchestra (2009)\VIDEO_TS\VTS_01_1.VOB
---[Information] DVD source detected. Using IFO file: E:\g\Elbow And The BBC Concert Orchestra (2009)\VIDEO_TS\VTS_01_0.IFO
-[Information] Format: MPEG-PS
-[Information] FormatString: MPEG-PS
-[Information] FileSize: 1073520640
-[Information] PlayTime: 00:17:01.954
-[Information] PGCCount: 1
-[Information] PGCNumber: 1
---[Information] General
-[Information] ID: 224
-[Information] StreamOrder:
-[Information] Width: 720
-[Information] Height: 480
-[Information] FrameCount: 30628
-[Information] FrameRate: 29.970
-[Information] FrameRateOriginal:
-[Information] FrameRateMode:
-[Information] ScanType: Interlaced
-[Information] Codec: MPEG-2V
-[Information] CodecString: MPEG-2 Video
-[Information] Format: MPEG Video
-[Information] AspectRatio: 2.370
-[Information] AspectRatioString: 16:9
-[Information] Delay: 280.633
-[Information] Title:
-[Information] Language:
-[Information] LanguageString:
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Video
-[Information] ID: 189-129
-[Information] StreamOrder:
-[Information] Format: AC-3
-[Information] FormatProfile:
-[Information] FormatSettingsSBR:
-[Information] FormatSettingsPS:
-[Information] SamplingRate: 48000
-[Information] SamplingRateString: 48.0 KHz
-[Information] Channels: 6
-[Information] ChannelsString: 6 channels
-[Information] ChannelPositionsString2: 3/2/0.1
-[Information] BitRateMode: CBR
-[Information] Delay: 280.633
-[Information] Title:
-[Information] Language:
-[Information] LanguageString: English
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Audio
-[Information] ID: 189-130
-[Information] StreamOrder:
-[Information] Format: AC-3
-[Information] FormatProfile:
-[Information] FormatSettingsSBR:
-[Information] FormatSettingsPS:
-[Information] SamplingRate: 48000
-[Information] SamplingRateString: 48.0 KHz
-[Information] Channels: 2
-[Information] ChannelsString: 2 channels
-[Information] ChannelPositionsString2: 2/0/0
-[Information] BitRateMode: CBR
-[Information] Delay: 280.633
-[Information] Title:
-[Information] Language:
-[Information] LanguageString: English
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Audio
-[Information] ID: 189-160
-[Information] StreamOrder:
-[Information] Format: PCM
-[Information] FormatProfile:
-[Information] FormatSettingsSBR:
-[Information] FormatSettingsPS:
-[Information] SamplingRate: 48000
-[Information] SamplingRateString: 48.0 KHz
-[Information] Channels: 2
-[Information] ChannelsString: 2 channels
-[Information] ChannelPositionsString2:
-[Information] BitRateMode: CBR
-[Information] Delay: 280.633
-[Information] Title:
-[Information] Language:
-[Information] LanguageString: English
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Audio
--[Information] [2012.10.22. 20:22:12] Video: E:\g\Elbow And The BBC Concert Orchestra (2009)\VIDEO_TS\2msawmog.qdp\VTS_01_1.VOB
--[Information] [2012.10.22. 20:22:12] Audio: E:\g\Elbow And The BBC Concert Orchestra (2009)\VIDEO_TS\VTS_01_1.VOB
-[Information] Log for job1 (ext, VTS_01_0.IFO -> )
--[Information] [2012.10.22. 20:22:16] Started handling job
--[Information] [2012.10.22. 20:22:16] Preprocessing
--[Information] [2012.10.22. 20:22:17] Job commandline: "D:\Mpeg\Video\Encode\MEGUI\tools\pgcdemux\pgcdemux.exe" -pgc 1 -noaud
-nosub -customvob n,v,a,s,l "E:\g\Elbow And The BBC Concert Orchestra (2009)\VIDEO_TS\VTS_01_0.IFO" "E:\g\Elbow And The BBC
Concert Orchestra (2009)\VIDEO_TS\2msawmog.qdp"
--[Information] [2012.10.22. 20:22:17] Extracting started
--[Information] [2012.10.22. 20:24:16] Standard output stream
--[Information] [2012.10.22. 20:24:16] Standard error stream
--[Information] [2012.10.22. 20:24:16] Postprocessing
-[Information] [2012.10.22. 20:24:16] Successfully deleted E:\g\Elbow And The BBC Concert Orchestra (2009)\VIDEO_TS\2msawmog.qdp\LogFile.txt
-[Information] [2012.10.22. 20:24:16] Successfully deleted E:\g\Elbow And The BBC Concert Orchestra (2009)\VIDEO_TS\2msawmog.qdp\Celltimes.txt
---[Information] Deleting intermediate files
--[Information] [2012.10.22. 20:24:16] Job completed
-[Information] Log for job2 (idx, VTS_01_1.VOB -> VTS_01_1.dgi)
--[Information] [2012.10.22. 20:24:16] Started handling job
--[Information] [2012.10.22. 20:24:16] Preprocessing
--[Information] [2012.10.22. 20:24:16] Job commandline: "D:\Mpeg\Video\Encode\MEGUI\tools\dgindexnv\dgindexnv.exe" -i
"E:\g\Elbow And The BBC Concert Orchestra (2009)\VIDEO_TS\2msawmog.qdp\VTS_01_1.VOB","E:\g\Elbow And The BBC Concert
Orchestra (2009)\VIDEO_TS\2msawmog.qdp\VTS_01_2.vob", "E:\g\Elbow And The BBC Concert Orchestra (2009)\VIDEO_TS
\2msawmog.qdp\VTS_01_3.vob","E:\g\Elbow And The BBC Concert Orchestra (2009)\VIDEO_TS\2msawmog.qdp\VTS_01_4.vob" -o
"E:\g\Elbow And The BBC Concert Orchestra (2009)\VIDEO_TS\2msawmog.qdp\VTS_01_1.dgi" -e -h -a
--[Information] [2012.10.22. 20:24:16] Indexing started
--[Information] [2012.10.22. 20:25:38] Standard output stream
--[Information] [2012.10.22. 20:25:38] Standard error stream
--[Information] [2012.10.22. 20:25:38] MediaInfo
---[Information] File: E:\g\Elbow And The BBC Concert Orchestra (2009)\VIDEO_TS\2msawmog.qdp\VTS_01_1.dgi
---[Information] Indexed File: E:\g\Elbow And The BBC Concert Orchestra (2009)\VIDEO_TS\2msawmog.qdp\VTS_01_1.VOB
-[Information] Format: MPEG-PS
-[Information] FormatString: MPEG-PS
-[Information] FileSize: 1073739776
-[Information] PlayTime: 00:17:02.188
---[Information] General
-[Information] ID: 224
-[Information] StreamOrder:
-[Information] Width: 720
-[Information] Height: 480
-[Information] FrameCount: 30635
-[Information] FrameRate: 29.970
-[Information] FrameRateOriginal:
-[Information] FrameRateMode:
-[Information] ScanType: Interlaced
-[Information] Codec: MPEG-2V
-[Information] CodecString: MPEG-2 Video
-[Information] Format: MPEG Video
-[Information] AspectRatio: 2.370
-[Information] AspectRatioString: 2.40:1
-[Information] Delay: 280.633
-[Information] Title:
-[Information] Language:
-[Information] LanguageString:
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Video
-[Information] ID: 189-129
-[Information] StreamOrder:
-[Information] Format: AC-3
-[Information] FormatProfile:
-[Information] FormatSettingsSBR:
-[Information] FormatSettingsPS:
-[Information] SamplingRate: 48000
-[Information] SamplingRateString: 48.0 KHz
-[Information] Channels: 6
-[Information] ChannelsString: 6 channels
-[Information] ChannelPositionsString2: 3/2/0.1
-[Information] BitRateMode: CBR
-[Information] Delay: 280.633
-[Information] Title:
-[Information] Language:
-[Information] LanguageString:
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Audio
-[Information] ID: 189-130
-[Information] StreamOrder:
-[Information] Format: AC-3
-[Information] FormatProfile:
-[Information] FormatSettingsSBR:
-[Information] FormatSettingsPS:
-[Information] SamplingRate: 48000
-[Information] SamplingRateString: 48.0 KHz
-[Information] Channels: 2
-[Information] ChannelsString: 2 channels
-[Information] ChannelPositionsString2: 2/0/0
-[Information] BitRateMode: CBR
-[Information] Delay: 280.633
-[Information] Title:
-[Information] Language:
-[Information] LanguageString:
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Audio
-[Information] ID: 189-160
-[Information] StreamOrder:
-[Information] Format: PCM
-[Information] FormatProfile:
-[Information] FormatSettingsSBR:
-[Information] FormatSettingsPS:
-[Information] SamplingRate: 48000
-[Information] SamplingRateString: 48.0 KHz
-[Information] Channels: 2
-[Information] ChannelsString: 2 channels
-[Information] ChannelPositionsString2:
-[Information] BitRateMode: CBR
-[Information] Delay: 280.633
-[Information] Title:
-[Information] Language:
-[Information] LanguageString:
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Audio
--[Information] [2012.10.22. 20:25:38] Postprocessing
-[Information] [2012.10.22. 20:25:38] Successfully deleted E:\g\Elbow And The BBC Concert Orchestra (2009)\VIDEO_TS\2msawmog.qdp\VTS_01_1.log
---[Information] Deleting intermediate files
--[Information] [2012.10.22. 20:25:38] Job completed
-[Information] Log for job3 (oneclick, VTS_01_1.VOB -> )
--[Information] [2012.10.22. 20:25:38] Started handling job
--[Information] [2012.10.22. 20:25:38] Preprocessing
--[Information] [2012.10.22. 20:25:38] OneClick processing started
--[Information] [2012.10.22. 20:25:38] Processing thread started
--[Error] [2012.10.22. 20:25:38] File not found: E:\g\Elbow And The BBC Concert Orchestra (2009)\VIDEO_TS\2msawmog.qdp\VTS_01_1 Ta0*
--[Warning] Couldn't find audio file for track ::160::. Skipping track.
--[Information] [2012.10.22. 20:25:38] Desired size: 1,46 GB
--[Information] [2012.10.22. 20:25:38] Split size:
--[Information] [2012.10.22. 20:25:40] Aspect ratio: 1.82316945
--[Information] [2012.10.22. 20:25:42] Input resolution: 720x480
-[Information] [2012.10.22. 20:25:42] left: 4
-[Information] [2012.10.22. 20:25:42] top: 52
-[Information] [2012.10.22. 20:25:42] right: 6
-[Information] [2012.10.22. 20:25:42] bottom: 52
--[Information] [2012.10.22. 20:25:42] Autocrop values
--[Information] [2012.10.22. 20:25:42] Cropped output resolution: 704x304
--[Information] [2012.10.22. 20:25:43] Automatic deinterlacing: True
-[NoImage] Progressive sections: 4
-[NoImage] Interlaced sections: 101
-[NoImage] Partially Static Sections: 104
-[NoImage] Film Sections: 5
-[NoImage] Source is declared interlaced.
-[NoImage] Source is declared tff by a margin of 144 to 2.
--[Information] [2012.10.22. 20:29:33] Source detection
-[NoImage] Load_Stdcall_Plugin("D:\Mpeg\Video\Encode\MEGUI\tools\yadif\yadif.dll")
-[NoImage] Yadif(order=1)
--[Warning] [2012.10.22. 20:29:34] Deinterlacing used
-[NoImage] setmtmode(3,7)
-[NoImage] LoadPlugin("D:\Mpeg\Video\Encode\MEGUI\tools\dgindexnv\DGDecodeNV.dll")
-[NoImage] DGSource("E:\g\Elbow And The BBC Concert Orchestra (2009)\VIDEO_TS\2msawmog.qdp\VTS_01_1.dgi",fieldop=0)
-[NoImage] QTGMC( Preset="Slow", EdiThreads=7 )
-[NoImage] SelectEven()
-[NoImage] setmtmode(2)
-[NoImage] crop(4, 52, -6, -52)
-[NoImage] LanczosResize(704,304) # Lanczos (Sharp)
-[NoImage] LoadPlugin("D:\Mpeg\Video\Encode\MEGUI\tools\avisynth_plugin\UnDot.dll")
-[NoImage] Undot() # Minimal Noise
--[Information] [2012.10.22. 20:29:35] Generated Avisynth script
-[Information] [2012.10.22. 20:29:36] Video output file: E:\g\Elbow And The BBC Concert Orchestra (2009)\VIDEO_TS\2msawmog.qdp\VTS_01_1_Video.264
-[Information] [2012.10.22. 20:29:36] Muxed output file: E:\g\Elbow And The BBC Concert Orchestra (2009)\VIDEO_TS\VTS_01_1.mkv
-[NoImage] Value cannot be null.
-[NoImage] Parameter name: path
-[Error] [2012.10.22. 20:29:36] Exception message
-[NoImage] at System.IO.Path.GetFullPathInternal(String path)
-[NoImage] at System.IO.Path.GetFullPath(String path)
-[NoImage] at MeGUI.VideoUtil.eliminatedDuplicateFilenames(String& videoOutput, String& muxedOutput, AudioJob[] aStreams)
-[NoImage] at MeGUI.VideoUtil.GenerateJobSeries(VideoStream video, String muxedOutput, AudioJob[] audioStreams, MuxStream[]
subtitles, String chapters, Nullable`1 desiredSize, Nullable`1 splitSize, ContainerType container, Boolean prerender, MuxStream[]
muxOnlyAudio, LogItem log, String deviceType, Zone[] zones, String videoFileToMux, OneClickAudioTrack[] audioTracks)
-[NoImage] at MeGUI.OneClickPostProcessing.StartPostProcessing()
-[Error] [2012.10.22. 20:29:36] Stacktrace
-[Error] [2012.10.22. 20:29:36] Inner exception: null
--[Error] [2012.10.22. 20:29:36] An error occurred
--[Information] [2012.10.22. 20:29:36] Job completed



This DVD has 3 audio tracks, and although I deleted two in the OC dialog, all three were demuxed (whenever I click to edit some template, the deleted audio tracks appeared again) - therefore I have 2 AC3s and one WAV ("VTS_01_1.dgi Ta0 48K 16bit 2ch.wav" - so DGIndexNV can demux PCMs) files in the directory, along with the AVS, DGI, QPF, 4 VOBs.

That WAV file name seems funny... Maybe it is the culprit?

Zathor
22nd October 2012, 21:13
That WAV file name seems funny... Maybe it is the culprit?
Likely - what is the name of the AC3 files?

Boardlord
22nd October 2012, 21:14
Likely - what is the name of the AC3 files?

VTS_01_1 T81 3_2ch 48KHz 448Kbps DELAY 0ms.ac3
and
VTS_01_1 T82 2_0ch 48KHz 256Kbps DELAY 0ms.ac3

MenotBumba
23rd October 2012, 22:28
The analyse parameters are available in the advanced x264 encoder configuration; but MeGUI offers checkboxes for different "Macroblock partitions". I can't tell you which bitmask will be equal to which set of check marks. But most probably it should match one of the most usual presets related to Main or High profile (Default or All); High allows 8x8 Adaptive DCT in addition to Main.

I did a few test encodes and the Default preset(p8x8,b8x8,i8x8,i4x4 and Adaptive DCT) gives analyse = 0x3:0x113.

Guest
26th October 2012, 04:18
That WAV file name seems funny... Maybe it is the culprit? Yeah, that looks goofy. That's very acute observation, BoardLord, congrats. It's a bug in DGIndexNV. I've fixed it and will release a new version soon with MP4 container support. Sorry for the inconvenience and thanks for helping me to improve DGDecNV.
:thanks:

FredThompson
26th October 2012, 04:26
I've used MeGUI with a screen capture and PCM audio. The muxed output MP4 has no audio. Aften and ffmpeg will create a stereo AC3 file at 128k and 22050 which match the original PCM source. I tried to mux that audio with the MeGUI-created video using mkvmerge. End result is a muxed file but the audio does not play because it is unrecognized. MeGUI's muxer drops the audio file, writing only the video portion.

Is there a required audio sampling rate? Do I need to resample? If so, is mono supported?

--

Hey neuron2, long time, no talk, been very busy...

Kurtnoise
26th October 2012, 08:45
Could you post your entire logfile please ?

FredThompson
26th October 2012, 14:10
Could you post your entire logfile please ?

Here it is. There is a statement about a decode error with the audio file but the entire source was encoded to ac3 by aften and will play. This was a webcast and there were a couple of drop outs. That shouldn't affect the structure of the source file, though.

Kurtnoise
27th October 2012, 08:31
Looks like your AVS - load VirtualDub frame server.ac3 file is not handled by MediaInfo...

Could you run this file into mediainfo GUI from the official website and paste the result here ?

Boardlord
27th October 2012, 19:21
Yeah, that looks goofy. That's very acute observation, BoardLord, congrats. It's a bug in DGIndexNV. I've fixed it and will release a new version soon with MP4 container support. Sorry for the inconvenience and thanks for helping me to improve DGDecNV.
:thanks:

Hey, no problem, glad that I could help :) Your exemplary support was one of the main reasons I bought DGIndexNV!

FredThompson
27th October 2012, 21:32
Looks like your AVS - load VirtualDub frame server.ac3 file is not handled by MediaInfo...

Could you run this file into mediainfo GUI from the official website and paste the result here ?

There's not much to paste. You are correct, MediaInfo doesn't properly recognize the file.

Complete name : E:\AVS - load VirtualDub frame server.ac3
File size : 76.8 MiB

Guest
27th October 2012, 21:55
Hey, no problem, glad that I could help :) Your exemplary support was one of the main reasons I bought DGIndexNV! Thanks for the kind words. There's a release candidate with a fix for your issue here:

http://neuron2.net/misc/dgdecnv2043mp4.zip

Kurtnoise
28th October 2012, 08:38
There's not much to paste. You are correct, MediaInfo doesn't properly recognize the file.

Ok...could you upload your ac3 file somewhere ? or a sample from your original stream...

:thanks:

tebasuna51
28th October 2012, 10:43
Ok...could you upload your ac3 file somewhere ? or a sample from your original stream...

AC3 don't support 22050 samplerate, but Aften convert a wav file with this samplerate to 44100 and create a valid AC3 file that is not recognized by MediaInfo.

A sample:

streamingguy
29th October 2012, 16:15
Hello,

I am using MeGUI to encode 6 multiple bit rate MP4 files to use them on adaptive streaming. I am creating 150k, 300k, 500k, 800k, 1200k and 1800k variants.

150k, 300k, 500k and 800k variants use the same resolution.

1200k and 1800k will use different resolution.

My current steps:

1. Get the source .VOB file from the DVD.

2. Create AVISynth script for 500k - First pass. This stats file is used as input for 150k, 300k, 500k and 800k second pass, so that I can get same key frame settings.

3. Create AVISynth script for 1200k - First pass. This stats file is used as input for 1200k and 1800k.

4. Encode Audio into 48k and 128k.

5. Mux Audio & Video.

Is there any easy way of doing the above steps automatically? Currently, after creating 500k first pass stas, I need to copy and create new files with the same names as 150k, 300k, 800k. Similarly for 1800k.

I tried with Windows Task Scheduler to copy the files automatically. But, had few issues (some times) while copying the stats files if the video duration is very small (500k second pass finishes fast and the 150k pass will be looking for 150k stats, which is not yet created by task scheduler).

Also, I created different X264 profiles to add the above bit rate encoding to the Queue manually.

Thank you for your time!

FredThompson
30th October 2012, 18:51
Ok...could you upload your ac3 file somewhere ? or a sample from your original stream...

:thanks:

Thank YOU for the offers to help.

Here are the first 30 seconds of PCM exported from VirtualDub as a WAV.

http://www.corrugatedmachines.com/webinar.wav.wav

FredThompson
30th October 2012, 18:54
AC3 don't support 22050 samplerate, but Aften convert a wav file with this samplerate to 44100 and create a valid AC3 file that is not recognized by MediaInfo.

A sample:
I tried ffmpeg to make the AC3 and had the same issue. So...what to do? Resample to 44100 then encode to AC3 with BeSweet?

update: BeSweet failed so I resampled to 44100 in VirtualDub and saved as a WAV then encoded with MeGUI and muxed. Final result works.

Perhaps MeGUI should be modified to only allow supported bitrates.

Kurtnoise
31st October 2012, 06:22
Hi,

Replace current MediaInfo library by the one available from this package (http://www.mediafire.com/?d8ibcz67kr49l3h). Choose the one for your platform (x86 or x64)...and retry an encoding. That should be ok now.

disklib
15th December 2012, 05:40
Can someone please help me understand why the log is now warning that Haali Matroska Muxer and Haali DSS2 are not installed? I'm not aware of them ever being installed in the past, and I assume they're not required or they'd be included in the MeGUI updates. Would like to know if I can safely ignore the warning, or need to get them onboard. Thanks.

LigH
15th December 2012, 06:07
They are only required for people who prefer processing media formats not well supported by FFMS2 (like M2TS directly, instead of remuxing that to MKV first). Therefore it is just a "Warning", nothing which keeps you from continuing.

P.S.: Haali Matroska ... "Muxer"? Not "Splitter"?

disklib
15th December 2012, 06:41
Yes, it says "Haali Matroska Muxer". I initially though "Haali Media Splitter" too, which I don't have installed currently.

So my usual format of IFO/VOB's from DVD Decrypter is not affected by and/or wouldn't benefit from these missing components?

LigH
15th December 2012, 10:55
Ah, then it means dsmux as tool to convert e.g. TS to MKV.

No, they are "nice to have" for specific cases, but DVD Video can be processed with PGCDemux and DGMPGDec/FFMS2 only.

Zathor
15th December 2012, 17:28
No, it is the splitter. Will be renamed in one of the next builds. Without the splitter some functions in FFMS or eac3to may not work - also DSS2 will not be supported.
It is not possible to add it to the updater as it must be installed.

disklib
15th December 2012, 23:56
I just installed Haali Media Splitter / Matroska Splitter from http://haali.su/mkv/ and MeGUI is no longer showing a warning for the 2 items in the log.

Does that sound correct Zathor?

Carpo
16th December 2012, 01:15
couldnt lav filters be used in place of haali ?

sneaker_ger
17th December 2012, 00:59
Not unless ffms and eac3to switch to LAV.
Though I'm really wondering about eac3to using Haali for demuxing. I think it's only for mkv muxing.

kalehrl
21st December 2012, 14:27
Hi Zathor
There seems to be a bug regarding mod16 option in AviSynth script creator.
The option only affects vertical resolution and not horizontal one.
For example, source with 1284x544 downsized to SD resolution gives 724x304.
304 is mod16 but 724 is not.
I need to adjust it manually to 720.
Thanks.

Zathor
21st December 2012, 16:55
Thanks for the report. This is fixed in the next build.

Sm3n2
24th December 2012, 15:51
Hi everybody, advance merry xmas + happy new year !!

I don't remember if XviD can decompress using MeGUI x64. Because I have this error:

http://i.imgur.com/fYlRV.png

Usualy when we have this it's because we don't have the correct splitter and/or codec to decode. but I have both ffdshow + haali installed. I use also megui x86 and of course there is no problem to decompress xvid only with megui x64.
What to think ? Thx

LigH
26th December 2012, 12:58
Your AviSynth script uses the filter AVISource. This filter opens AVI files with the "Video for Windows" API. To decompress Xvid video, it requires a VfW codec installed for decompressing video with the FourCC 'xvid'; a DirectShow decoder filter will not help here.

You may a) enable Xvid decompression in your ffdshow VFW Configuration (yellow icon); b) install the Xvid codec; c) use FFmpegSource2 instead of AviSource in your script.

Because you are using MeGUI 64bit, you may have issues accessing VfW as it is a 16/32 bit API; support in 64 bit address mode may have been deprecated. Therefore, solutions a) and b) may not be available for you.

Sm3n2
26th December 2012, 13:52
Solution c) was the best solution.

Little tutoriel to load:

-Download FFmpegSource 2.17 AVS cplugin here https://code.google.com/p/ffmpegsource/downloads/list
-Put the x64 files into your Megui 64\tools\avs\
-add to your script the following lines:
LoadCPlugin("Your_Path\Megui 64\tools\avs\ffms2.dll")
Import("Your_Path\Megui 64\tools\avs\ffms2.avsi")
FFmpegSource2("Your_Path\Your_Video.avi")

Thx again LigH !

eni9ma
26th December 2012, 17:52
MeGui 2237 Not muxing mkv.
Hi just did the upgrade and now MeGui is not muxing mkv(encoding is fine)
Worked just fine before.

1.mkv + 2.mkv + 3.mkv doesn't work, I used mkvmerge gui 5.9.0

Warning: The track number 0 from the file 'H:\HD3.mkv' can probably not be appended correctly to the track number 0 from the file
'H:\HD1.mkv': The codec's private data does not match (lengths: 41 and 41). Please make sure that the resulting file plays correctly the
whole time. The author of this program will probably not give support for playback issues with the resulting file.

luke83
26th December 2012, 18:21
I restored the prevous version of ffmindex becouse the latest doesn't work good for me. It happens when i use the pre-rendering job: it doesn't show any error but when i open the muxed video file (mkv), the file is incompleted and the audio is out of synch. However i solved renaming the backup of ffindex in the folder of megui :)

Zathor
27th December 2012, 09:22
MeGui 2237 Not muxing mkv.
Hi just did the upgrade and now MeGui is not muxing mkv(encoding is fine)
Worked just fine before.

1.mkv + 2.mkv + 3.mkv doesn't work, I used mkvmerge gui 5.9.0

How do you append the files in MeGUI? Please describe it in detail.

Zathor
27th December 2012, 09:49
I restored the prevous version of ffmindex becouse the latest doesn't work good for me. It happens when i use the pre-rendering job: it doesn't show any error but when i open the muxed video file (mkv), the file is incompleted and the audio is out of synch. However i solved renaming the backup of ffindex in the folder of megui :)

I am not able to reproduce this. Please post the "Versions" part of your log file. If you can reproduce it with a small file < ~200 MB then please also upload this file. And it may be required that you file a bug report at https://code.google.com/p/ffmpegsource/issues/list

eni9ma
27th December 2012, 14:53
How do you append the files in MeGUI? Please describe it in detail.

I encoded using Megui 2237.

HD1.avs = HD1.mkv
HD2.avs = HD2.mkv
HD3.avs = HD3.mkv

and I muxed using mkvmerge.

HD1.mkv
++HD2.mkv
++HD3.mkv
HD.ac3

But I use Megui 2237 doesn't mux. an error has occurred
worked fine before, ver.2135, and Ripbot,staxrip..
not worked Megui ver. 2237 only.

megui versions

[Information] Log
-[Information] Versions
--[Information] [2012-12-27 오후 10:51:57] MeGUI: 2237
--[Information] [2012-12-27 오후 10:51:57] Operating System: Windows 7 Ultimate Edition x64 SP1 (6.1.65536.7601)
--[Information] [2012-12-27 오후 10:51:57] .Net Framework: 4.0 (4.0.30319)
--[Information] [2012-12-27 오후 10:51:57] AviSynth: 2.5.8.5 (2008-12-21 오후 9:46:54)
--[Information] [2012-12-27 오후 10:51:57] AvisynthWrapper: 2009-01-02 오후 8:34:04
--[Information] [2012-12-27 오후 10:51:57] Haali Matroska Splitter: 1.11.96.14 (2011-03-03 오전 11:40:46)
--[Information] [2012-12-27 오후 10:51:57] Haali DSS2: 2011-03-03 오전 11:37:50
--[Information] [2012-12-27 오후 10:51:57] ICSharpCode.SharpZipLib: 0.85.5.452 (2008-08-07 오후 8:31:12)
--[Information] [2012-12-27 오후 10:51:57] LinqBridge: 1.0.0.0 (2009-05-28 오전 1:24:34)
--[Information] [2012-12-27 오후 10:51:57] MediaInfo: 0.7.61.0 (2012-10-21 오후 4:29:05)
--[Information] [2012-12-27 오후 10:51:57] MediaInfoWrapper: 0.7.53.0 (2012-08-23 오후 2:33:43)
--[Information] [2012-12-27 오후 10:51:57] MessageBoxExLib: 1.0.2218.28317 (2008-12-19 오후 8:53:04)
--[Information] [2012-12-27 오후 10:51:57] SevenZipSharp: 0.64.3890.29348 (2011-01-02 오전 10:59:32)
--[Information] [2012-12-27 오후 10:51:57] 7z: 9.20 (2010-11-18 오후 4:27:34)

AVS script

LoadPlugin("C:\Users\Administrator\Downloads\MeGUI_0.3.5\tools\avisynth_plugin\mt_masktools.dll")
LoadPlugin("C:\Users\Administrator\Downloads\MeGUI_0.3.5\tools\avisynth_plugin\RemoveGrainS.dll")
LoadPlugin("C:\Users\Administrator\Downloads\MeGUI_0.3.5\tools\avisynth_plugin\RepairS.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\FFt3dGPU.dll")
LoadPlugin("C:\Users\Administrator\Downloads\MeGUI_0.3.5\tools\avisynth_plugin\gradfun2db.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\DirectShowSource.dll")
Import("C:\Users\Administrator\Downloads\MeGUI_0.3.5\tools\avisynth_plugin\lsfmod.v1.8.avsi")
DirectShowSource("H:\Encode\HD1.wmv", fps=30.000, convertfps=true)
AssumeTFF()
FFT3dGPU(bt=1, sigma=1.7, bw=32, bh=32, ow=16,oh=16)
Spline36Resize(1280,720)
gradfun2db(1.5)
LSFmod(defaults="fast")

mkvmerge error message

Warning: The track number 0 from the file 'H:\HD3.mkv' can probably not be appended correctly to the track number 0 from the file
'H:\HD1.mkv': The codec's private data does not match (lengths: 41 and 41). Please make sure that the resulting file plays correctly the
whole time. The author of this program will probably not give support for playback issues with the resulting file.

Zathor
27th December 2012, 16:08
Sorry, I still do not get it completly. So you made three encodes with MeGUI and tried to append them with MKVMerge directly, correct? Do you use MKVMerge from the tools\mkvmerge directory? If yes please try the old MKVMerge build (5.6).

eni9ma
27th December 2012, 17:12
Sorry, I still do not get it completly. So you made three encodes with MeGUI and tried to append them with MKVMerge directly, correct? Do you use MKVMerge from the tools\mkvmerge directory? If yes please try the old MKVMerge build (5.6).

That is corrcet.
Yes, I used mkvmerge from the tools\mkvmerge directory.
I have tried already to old mkvmerge build.

So far it has been no problem. ver.2237 is problem.
Maybe Megui Core or new x264 or Haali splitter I think...

I have no idea what to do.
Thanks anyway

ps. all three parts with the same x264 settings, same megui build(2237), same avs scripts.. not my problem

Zathor
27th December 2012, 17:19
If you have encoded all three parts with the same settings (using the same MeGUI build) I have no clue.

hello_hello
28th December 2012, 14:39
HD1.avs = HD1.mkv
HD2.avs = HD2.mkv
HD3.avs = HD3.mkv

and I muxed using mkvmerge.

HD1.mkv
++HD2.mkv
++HD3.mkv
HD.ac3

But I use Megui 2237 doesn't mux. an error has occurred
worked fine before, ver.2135, and Ripbot,staxrip..
not worked Megui ver. 2237 only.

I had a similar issue the other day only admittedly I was trying to append a new encode to an old one and according to the "private data doesn't match" error the numbers were 41 and 42, but in your case they're the same. Mind you I googled but couldn't find any info which explained what it all meant anyway.

As a workaround, maybe try this. Using your original AVIsynth scripts as the source videos, create a new script to encode the three of them as a single encode. All you need to do is manually create a new script like this one:

Import("E:\HD1.avs")+Import("E:\HD2.avs")+Import("E:\HD3.avs")

Load the new script into MeGUI and encode it.

You can also splice the source videos together using a single script but given you've already created the scripts you might as well use the above method. For future reference though:
http://avisynth.org/mediawiki/AlignedSplice

If each source has it's own audio stream then encoding them as a single file by combining the scripts or joining them after encoding could give you sync issues which might require some messing around to fix, but I assume from your post you've already got a single audio stream to add to the three encodes, so it won't matter either way. If it'd be in sync after joining the three individual encodes it'll be the same when using the scripts to join them while encoding.

kyoshi
23rd January 2013, 21:25
Sorry for this very stupid question;

Where is the "Clear Log" button? I can't find it.
I read in the change log this feature is already added on :
0.2.3.2122 10 April 2006
Commit by berrinam:
- Support any filetype through directshow in AviSynth script creator
- Make resize turn-off-able in AviSynth script creator
- Automatically set AR on non-d2v loaded sources as well as d2v sources in AviSynth script creator
- Add clear log button
- Remove main-tab restriction on drag/drop

LeXXuz
2nd February 2013, 11:16
I don't get it. How do I prevent MeGUI from starting multiple jobs at once?

When I have multiple jobs in queue it always starts two jobs by pressing the 'start' button. Usually I avoid this by setting all jobs but one to postponed. Start the queue, then set the following jobs back to 'waiting'.

However, and this is new since a couple of updates, when MeGUI finished the first job in it's queue it does not start just the next one, it starts the next 2 jobs, which is not good. Especially when the next 2 jobs are for indexing, because it's way too much stress for my hard drive.

I've looked all over the options but can't find any setting to prevent this behaviour.

Shevek
2nd February 2013, 11:27
I don't get it. How do I prevent MeGUI from starting multiple jobs at once?

When I have multiple jobs in queue it always starts two jobs by pressing the 'start' button. Usually I avoid this by setting all jobs but one to postponed. Start the queue, then set the following jobs back to 'waiting'.

However, and this is new since a couple of updates, when MeGUI finished the first job in it's queue it does not start just the next one, it starts the next 2 jobs, which is not good. Especially when the next 2 jobs are for indexing, because it's way too much stress for my hard drive.

I've looked all over the options but can't find any setting to prevent this behaviour.

Do you have multiple workers set up?

Go to Workers -> Workers menu, do you see more than one?

If so, select the 2nd one and it will open a new window for the worker.

On this window, select Worker -> Delete Worker Now menu, then click Yes

LeXXuz
3rd February 2013, 13:47
Do you have multiple workers set up?

Go to Workers -> Workers menu, do you see more than one?

If so, select the 2nd one and it will open a new window for the worker.

On this window, select Worker -> Delete Worker Now menu, then click Yes

That did the trick. Thank you! :)

Poutnik
3rd February 2013, 14:35
That did the trick. Thank you! :)
I had also some problem wit some AVS scripts with 2 workers. I have created the 2nd so long ago, that I forgot about it
and thought they are hardcoded :-)

x265
4th February 2013, 09:24
Why does psy-rd do? What's its purpose?

LigH
4th February 2013, 10:11
Psycho-visual Rate Distortion tweaks. Quality optimizations based on psycho-visual models of image recognition, trying to suppress hardly recognizable elements of the video to save bitrate.

x265
4th February 2013, 13:52
When i load up a d2v file to create avs script, MeGUI automatically sets input DAR to ( ITU 4:3 NTSC ). Am i supposed to change this to the normal 4:3?

LigH
4th February 2013, 14:11
Depends on your material. What was your source, an NTSC DVD? Does it show a TV broadcast or a cinematic movie? Can you spot soft borders of 8-10 pixels width at the left and right? Is there any scene where you can see an exact sphere to measure width and height?

The ITU aspect ratio presets are based on TV broadcast values where the interesting part belongs to 702 pixels inside the width of 720 pixels on DVDs. If you don't spot any hints of a TV source, then the generic aspect ratio is possibly "more exact". But only a visible sphere (e.g. the moon) will make it certain.

Octo-puss
5th February 2013, 17:19
Being the illiterate newb I am, I am probably doing something wrong, but... do I need anything specific in order to encode DTS audio into mp3? MeGui says preprocessing for like 40 mins now and nothing happens.

edit: trying to click abort only makes the button grey out. Lame process is running in the background (zero CPU) and I can't even close MeGui (which is not frozen though) - it remains in process list, I have to kill it manually.

robertcollier4
5th February 2013, 17:51
Psycho-visual Rate Distortion tweaks. Quality optimizations based on psycho-visual models of image recognition, trying to suppress hardly recognizable elements of the video to save bitrate.

Psy-rd doesn't save bitrate - actually I believe psy-rd usually leads to a very slightly bigger file size. Psy-rd is to make the encoded video "seem better" to humans by applying some tricks through some kind of dithering algorithm and actually ADDING noise in a patterned manner in order to make something "seem" as complex and textured as the original (but not accurately).

I personally don't agree with the algorithm technique and so I turn it off with "--psy-rd 0:0". It seems to me that psy-rd just adds "noise" to make a face seem textured for example - but I would prefer my video to be as accurate to the original as possible and not have added random noise to make things "seem" as textured as the original. If you value as close as possible exact reproduction of the original textures - then I recommend turning it off with "--psy-rd 0:0".

http://forum.doom9.org/showthread.php?p=1455152#post1455152
Psy-Rd generally makes the picture look sharper by picking a less accurate but better looking representation for a block.
Well, "less accurate" in the sense of PSNR, but more accurate in the sense of the perception of a human viewer

Octo-puss
5th February 2013, 19:05
Being the illiterate newb I am, I am probably doing something wrong, but... do I need anything specific in order to encode DTS audio into mp3? MeGui says preprocessing for like 40 mins now and nothing happens.

edit: trying to click abort only makes the button grey out. Lame process is running in the background (zero CPU) and I can't even close MeGui (which is not frozen though) - it remains in process list, I have to kill it manually.

I nailed it down to mp3 encoding problem. When I select flac it instantly starts. No idea what the problem is.


I have no idea what "preferred decoder" mean btw. Could someone explain?

LigH
6th February 2013, 08:54
It supports several different decoder filters for AviSynth; they may have advantages or disadvantages, may support specific source formats better or worse. Choose the one you prefer ... but at least one which works.

NicAudio supports AC3, DTS, MPA and LPCM sources.

BassAudio supports AAC sources.

FFAudioSource supports what FFMS2 has compiled into, but probably only/better as audio streams in multiplexed media files.

DirectShow support depends on the filters you installed into your system.

Zathor
6th February 2013, 20:24
I nailed it down to mp3 encoding problem. When I select flac it instantly starts. No idea what the problem is.
If in both cases the same decoder is used it must be the pre-processing like normalize. Please post the log file so that we can have a look.

Octo-puss
6th February 2013, 20:41
Guess it was false alarm. I probably had the wrong decoder selected. After switching to NicAudio it started to work.

kyoshi
7th February 2013, 03:06
I'm using AVS Cutter, and make transition to fade.
AVIFileSource("E:\Project\360p-AE-Ut.avi")
__film = last
__t0 = __film.trim(119, 495)
__t1 = __film.trim(1029, 1231)
FadeOut0(__t0, 50,AudioRate(__film)) ++ FadeIn0(__t1, 50, AudioRate(__film))
Note: My real cut list is far longer than the above sample.

But result is the fade color becoming green instead of black.
In the script, instead of color, AVS Cutter is replacing color syntax with this clip properties?
AudioRate(__film)
I read on wiki, the variable was FadeOut0(clip clip, int num_frames, int color, float fps)
If i add color=$000000, after num_frames, it gives me "argument color was passed more than once" error.

If i deleted the Audiorate, the fade were indeed become black.
But what is AudioRate actually do ?
on wiki : AudioRate;Returns the sample rate of the audio of the clip (type int).
I don't understand this.
Is it safe for me to delete the AudioRate, generated by AVSCutter? Or will this mess-up my audio?

If it's safe to delete that, how can i change the default template for AVS cutter, to not including the AudioRate ?
Because i have 100+ video i must cut and fade, i want to avoid manually editing/deleting AudioRate in 100+ script.

x265
7th February 2013, 06:36
I got a negative aspect ratio error after cropping and resizing in MeGUI, is that ok?

invy
7th February 2013, 07:03
I have a quick question and would apppreciate anybody's help.

Whenever I encode a normal standard definition 720x480 MPG file, no crop or anything, the AR always seems to be slightly off because the result always seems to come out a bit stretched compared to the source file. How do I fix this? Will selecting a AR manually in AviSynth fix this problem?

x265
7th February 2013, 07:26
http://img9.imageshack.us/img9/6778/121xf.png

http://img442.imageshack.us/img442/6937/capturesa.png

invy
7th February 2013, 07:42
Thanks for the response, and quick one.

I want to keep it 720x480 so it matches the rest of the videos that i've encoded in the past of this series. Is it possible to do so?
Also, by cropping it, it reduced my 2pass encoding from 159fps/91fps to 104fps/85fps. sigh -_-

x265
7th February 2013, 07:47
You don't need the black borders, crop them off.

invy
7th February 2013, 07:49
Also, if ya don't mind me throwing out another concern for anybody to answer/help.

I'm using OneClick profile and I dragged 3 MPEGs to convert, and after confirming that I wanted to process the 3 files, as well as after cancelling the 2nd box that I didn't want to rename the files, it came up with a 3rd box that says something like, "duplicate subtitle tracks found do you wish to continue?". thing is I don't have any subtitle tracks or anything.

What gives?

invy
7th February 2013, 07:57
You don't need the black borders, crop them off.

I used to crop them a long time ago, but the end result is the encode always comes out much uglier, since, by cropping it, it allows more 'space' for the resizing.

I hope you know what I mean, but maybe it doesn't make much sense if I can't explain it well.

Also, I never found a good deinterlacer for this particular line of videos so it further crapifies what is already crap.

If you don't mind helping I could upload a clip, or if anyone wants to help then they can help, too :)

x265
7th February 2013, 08:20
I used to crop them a long time ago, but the end result is the encode always comes out much uglier.Also, I never found a good deinterlacer for this particular line of videos so it further crapifies what is already crap.
No, cropping does not worsen you encode. Use QTGMC for deinterlacing. http://forum.doom9.org/showthread.php?t=156028

tebasuna51
7th February 2013, 11:06
I got a negative aspect ratio error after cropping and resizing in MeGUI, is that ok?
Thats mean than your Aspect Ratio is X% less than exact AR.

x265
7th February 2013, 11:39
So is there a problem if my AR becomes negative?

LigH
7th February 2013, 11:43
It is not the AR which becomes negative; it is the AR error, the difference between the optimal and the actual. Don't care too much about the sign, the absolute value is important only.

invy
7th February 2013, 23:17
No, cropping does not worsen you encode. Use QTGMC for deinterlacing. http://forum.doom9.org/showthread.php?t=156028

thanks that worked pretty good. only 16 fps for me on medium preset, but I guess it will have to do.

bazz
8th February 2013, 01:33
this might sound a stupid and petty question to some but i would love to have the ability to have MeGUI make a chime or a noise once its job/queue was finished.
although i have a top range desktop i like to leave it while it encodes for best possible results
i like to lie and watch a couple TV shows or a movie till the job is done.
it would be nice to chill & not to keep jumping up, checking its progress.
Can anyone help with a useful suggestion please.

thanks

vdcrim
8th February 2013, 01:42
There's a run command after encoding option on the program settings.

disklib
8th February 2013, 05:10
Experiencing a strange Aspect Ratio Error issue that began after I started using the new AviSynthProfile feature on the main I/O tab of the AVS Script Creator. It seemed to work fine for a while (days or weeks?) but then I noticed excessive Aspect Ratio Error values. I waited for an update to be pushed out before commenting here. I'm running MeGUI 2287 and the development server indicates all files are up to date. Here is a list of steps that recreate the problem:


Launch AVS Script Creator from Tools pull-down. With *scratchpad* profile selected load d2v created by MeGUI File Indexer last night. Here is the result:

http://i1275.photobucket.com/albums/y456/XulzHumJwa/Doom9-01-AviProfileScratch_zps82bb05c1.gif


Make the following adjustments: Clever anamorphic + Encode non-mod16 + crop (0,8,0,-8) Here is that result:

http://i1275.photobucket.com/albums/y456/XulzHumJwa/Doom9-02-AviProfileScratchAdjust_zps83b6e8fa.gif


Go into AviSynthProfile Config and create a new profile "Ana-Non16" = uncheck "Resize", check "Clever", select "Encode non-mod16", then save it.

http://i1275.photobucket.com/albums/y456/XulzHumJwa/Doom9-04-AviProfileConfigs_zps6bba5d66.gif


Close and re-launch AVS Script Creator. With "Ana-Non16" profile selected load same d2v file. Add crop (0,8,0,-8) Here is the result:

http://i1275.photobucket.com/albums/y456/XulzHumJwa/Doom9-03-AviProfileAna-Non16_zpsf85542c1.gif


I expected the results to match the 2nd image above. The GUI configs match, but the Aspect Error Ratio has jumped radically, and the Scripts are also different. I tried recreating the AviSynthProfile from scratch but get the same results. Am I doing something wrong or is this a bug?

Also, can anyone comment on what would generally be considered an acceptable AR Error amount? I don't understand why it woudn't always be exactly zero %, and consequently I have no idea how to judge the non-zero deviations.

Thanks

dj-big
8th February 2013, 21:54
whats the best audio decoder in megui ? we have 4 different decoder can anyone explain whats the difrence and whats the best ( my personal use is encoding movies and tv series )
my second Q is : why my video dont have sound after 4-5 min example in tv series after Previously i cant hear any sound i checked log all things are ok whats the problem ? i use NicAudio for decode is there any better decoder with less problems ?

LigH
8th February 2013, 22:04
Forum Rule (http://forum.doom9.org/forum-rules.htm) 12:

Do not ask "what's best" because this question cannot be answered objectively. Each and everyone has their own view about what's best in a certain area. The best is what works best for you!

Apart from that, there are indeed objective reasons, e.g. not all decoders support all formats.

NicAudio supports AC3, DTS, MPA and LPCM sources.

BassAudio supports AAC sources.

FFAudioSource supports what FFMS2 has compiled into, but probably only/better as audio streams in multiplexed media files.

DirectShow support depends on the filters you installed into your system.

And in your case, there is probably an issue with the audio stream or container; DVB is not reliable, data errors are common, and not all decoders can handle them well in all situations. Some prefer audio streams multiplexed in media containers, others prefer audio streams raw, demultiplexed.

dj-big
8th February 2013, 22:59
Forum Rule (http://forum.doom9.org/forum-rules.htm) 12:



Apart from that, there are indeed objective reasons, e.g. not all decoders support all formats.



And in your case, there is probably an issue with the audio stream or container; DVB is not reliable, data errors are common, and not all decoders can handle them well in all situations. Some prefer audio streams multiplexed in media containers, others prefer audio streams raw, demultiplexed.

Thanks for your help sorry for my bad question...
so can you help me more with my second question i paste log file here let me know whats wrong with this and why my video dont have sound after 2 min the first 2min of video has sound and no problem but ...

here is my log decode with nicaudio now im trying encode this with FFAudio and see if the problem solved and one other thing may help its when i encode this video with staxrip and besweet decoder i have no audio issues

--[Information] General
---[Information] Format: AC-3
---[Information] FormatString: AC-3
---[Information] FileSize: 154440192
---[Information] PlayTime: 00:53:37.504
--[Information] Audio
---[Information] ID:
---[Information] StreamOrder:
---[Information] Format: AC-3
---[Information] FormatProfile:
---[Information] FormatSettingsSBR:
---[Information] FormatSettingsPS:
---[Information] SamplingRate: 48000
---[Information] SamplingRateString: 48.0 KHz
---[Information] Channels: 2
---[Information] ChannelsString: 2 channels
---[Information] ChannelPositionsString2: 2/0/0
---[Information] BitRateMode: CBR
---[Information] Delay:
---[Information] Title:
---[Information] Language:
---[Information] LanguageString:
---[Information] Default:
---[Information] DefaultString:
---[Information] Forced:
---[Information] ForcedString:
-[Information] [2/8/2013 11:44:17 PM] Trying to open the file with NicAudio
-[Information] [2/8/2013 11:44:17 PM] Successfully opened the file with NicAudio
-[Information] [2/8/2013 11:44:17 PM] Avisynth script
--[NoImage] LoadPlugin("C:\Documents and Settings\Administrator\Desktop\MEGUI\tools\avisynth_plugin\NicAudio.dll")
--[NoImage] NicAc3Source("1x03.Mine.720p.HDTV.x264.AC3-2HD - [1] English.ac3")
--[NoImage] SSRC(48000)
--[NoImage] Normalize()
--[NoImage] return last
-[Information] [2/8/2013 11:44:17 PM] Commandline used: -ignorelength -he -q 0.45 -if - -of "{0}"
-[Information] [2/8/2013 11:44:17 PM] Avisynth script environment opened
-[Information] [2/8/2013 11:44:17 PM] Script loaded
-[Information] Output Decoder
--[Information] [2/8/2013 11:44:17 PM] Channels: 2
--[Information] [2/8/2013 11:44:17 PM] Bits per sample: 32
--[Information] [2/8/2013 11:44:17 PM] Sample rate: 48000
-[Information] [2/8/2013 11:44:17 PM] Commandline: C:\Documents and Settings
\Administrator\Desktop\MEGUI\tools\eac3to\neroAacEnc.exe
-ignorelength -he -q 0.45 -if - -of "C:\Documents and Settings\Administrator
\Desktop\elt1awfz.ush\1x03.Mine.720p.HDTV.x264.AC3-2HD - [1] English_audio.m4a"
-[Information] [2/8/2013 11:44:17 PM] Encoder process started
-[Information] [2/8/2013 11:45:30 PM] Output from encoder via stderr
--[NoImage] *************************************************************
--[NoImage] * *
--[NoImage] * Nero AAC Encoder *
--[NoImage] * Copyright 2009 Nero AG *
--[NoImage] * All Rights Reserved Worldwide *
--[NoImage] * *
--[NoImage] * Package build date: Feb 18 2010 *
--[NoImage] * Package version: 1.5.4.0 *
--[NoImage] * *
--[NoImage] * See -help for a complete list of available parameters. *
--[NoImage] * *
--[NoImage] *************************************************************
-[Information] [2/8/2013 11:45:30 PM] MediaInfo
--[Information] File: C:\Documents and Settings\Administrator\Desktop\elt1awfz.ush\True.Blood.1x03.Mine.720p.HDTV.x264.AC3-2HD - [1] English_audio.m4a
--[Information] General
---[Information] Format: MPEG-4
---[Information] FormatString: MPEG-4
---[Information] FileSize: 3660006
---[Information] PlayTime: 00:53:37.621
--[Information] Audio
---[Information] ID: 1
---[Information] StreamOrder: 0
---[Information] Format: AAC
---[Information] FormatProfile: HE-AAC / LC
---[Information] FormatSettingsSBR: Yes (Implicit)
---[Information] FormatSettingsPS: No (Explicit)
---[Information] SamplingRate: 48000 / 24000
---[Information] SamplingRateString: 48.0 KHz / 24.0 KHz
---[Information] Channels: 2
---[Information] ChannelsString: 2 channels
---[Information] ChannelPositionsString2: 2/0/0
---[Information] BitRateMode: VBR
---[Information] Delay: 0
---[Information] Title:
---[Information] Language:
---[Information] LanguageString:
---[Information] Default:
---[Information] DefaultString:
---[Information] Forced:
---[Information] ForcedString:
-[Information] [2/8/2013 11:45:30 PM] Postprocessing
--[Information] Deleting intermediate files
-[Information] [2/8/2013 11:45:30 PM] Job completed

tebasuna51
9th February 2013, 00:40
... let me know whats wrong with this and why my video dont have sound after 2 min the first 2min of video has sound and no problem but ...

Seems your audio is:

SamplingRate: 48000
Channels: 2

only the first 2 min, if there are a change of Samplerate, Num_Channels or Bitrate, NicAudio supply only silence.

dj-big
9th February 2013, 06:57
Seems your audio is:

SamplingRate: 48000
Channels: 2

only the first 2 min, if there are a change of Samplerate, Num_Channels or Bitrate, NicAudio supply only silence.

how can i stop this problem ? any setting ?

LigH
9th February 2013, 08:30
Using only clean audio streams. Possibly fixing corrupt AC3 audio, but I am not sure which tools are effective here. Or trying different decoders: FFMS2 may not like e.g. channel switches either, but some DirectShow decoders may be robust enough, there will just be no guarantee which result is created (e.g. the kind of downmix).

tebasuna51
9th February 2013, 09:54
how can i stop this problem ? any setting ?
Is a typical problem with TV captures.

Inside AviSynth a audio stream can't change of parameters at the midle, must remain always the same.

You can try DirectShow with ffdshow, for instance, configured to output always the same parameters: samplerate, num_channels and bitdepth.

But AviSynth must also know the exact duration of the audio at the beginning, and ffdshow can't know that until decode the full stream. You can finish with a short audio or a crash when AviSynth demand more samples and the stream is finished.

The correct way is extract the incorrect stream, split it in correct streams, decode to wav with same parameters, join them and now encode to desired output.

dj-big
9th February 2013, 11:32
Is a typical problem with TV captures.

Inside AviSynth a audio stream can't change of parameters at the midle, must remain always the same.

You can try DirectShow with ffdshow, for instance, configured to output always the same parameters: samplerate, num_channels and bitdepth.

But AviSynth must also know the exact duration of the audio at the beginning, and ffdshow can't know that until decode the full stream. You can finish with a short audio or a crash when AviSynth demand more samples and the stream is finished.

The correct way is extract the incorrect stream, split it in correct streams, decode to wav with same parameters, join them and now encode to desired output.

Thanks alot for your sup and helpful tips . i re-encode the file with Directshow and the the problem solved but my last question is i want to take the risk of this problem down can i use dircetshow for my all encodes is it better than Nicaudio or the same ? i mean the quality of the sound - the support players ? all of my source have ac3 and in my encode i change them to aac and downmix to stereo so if i use direct show have the same quality that when i decode with nicaudio and have lower risk for no sound issues ?

tebasuna51
9th February 2013, 16:15
There aren't big differences between decoders in order to downmix and recode to aac.

You can use DirectShow, check only if the audio is too short, if the audio begin with high bitrate and change to low bitrate maybe AviSynth only demand less duration.

More important about quality is don't use -he parameter for a quality of q=0.45, let profile to 'Automatic' when you use a Variable bitrate setting in MeGUI Audio encoder config.

dj-big
10th February 2013, 12:57
There aren't big differences between decoders in order to downmix and recode to aac.

You can use DirectShow, check only if the audio is too short, if the audio begin with high bitrate and change to low bitrate maybe AviSynth only demand less duration.

More important about quality is don't use -he parameter for a quality of q=0.45, let profile to 'Automatic' when you use a Variable bitrate setting in MeGUI Audio encoder config.

ok i change my -he to 'auto' and im gonna use directshow for my some encodes to see there is problem or not but if there is no deference between decoders why i have problem with nicaudio but directshow doesnt is it usual ? and why megui dont sup Besweet decoder or example same az staxrip 'Auto' that megui auto select the best decoder for encode

Zathor
10th February 2013, 14:30
I'm using AVS Cutter, and make transition to fade. But result is the fade color becoming green instead of black.
Thanks - fixed in 2292.

Experiencing a strange Aspect Ratio Error issue that began after I started using the new AviSynthProfile feature on the main I/O tab of the AVS Script Creator.
I will have a look into it.
EDIT: fixed

Zathor
10th February 2013, 19:17
Sorry for this very stupid question;

Where is the "Clear Log" button? I can't find it.
I read in the change log this feature is already added on :
0.2.3.2122 10 April 2006
Commit by berrinam:
- Support any filetype through directshow in AviSynth script creator
- Make resize turn-off-able in AviSynth script creator
- Automatically set AR on non-d2v loaded sources as well as d2v sources in AviSynth script creator
- Add clear log button
- Remove main-tab restriction on drag/drop

Likely the button has been removed over the years.

tebasuna51
11th February 2013, 14:45
ok i change my -he to 'auto' and im gonna use directshow for my some encodes to see there is problem or not but if there is no deference between decoders why i have problem with nicaudio but directshow doesnt is it usual ? and why megui dont sup Besweet decoder or example same az staxrip 'Auto' that megui auto select the best decoder for encode

- MeGUI select the best decoder for your input source, but stand for a correct input stream. If your source have a invalid source (a AC3 can't change of parameters in the midle) you can obtain invalid output.

- DirectShow is the last method recommended because MeGUI can't control what are your DirectShow configuration: your preferred DS filter for each stream and the configuration.
If you use ffdshow with always output stereo you can't change this inside MeGUI and you never can obtain 5.1.
MeGUI can't support users than use DirectShow, you can use DirectShow at your risk.

- Besweet decoder is old and with many limitations: can't output decoded files bigger than 2 GB (many movie tracks need more than 2 GB), don't support STDIN-STDOUT to pipe streams, is not open source to improve, can't decode AAC, DTS, ...

Poutnik
11th February 2013, 15:20
- MeGUI select the best decoder for your input source, but stand for a correct input stream. If your source have a invalid source (a AC3 can't change of parameters in the midle) you can obtain invalid output.

- DirectShow is the last method recommended because MeGUI can't control what are your DirectShow configuration: your preferred DS filter for each stream and the configuration.
If you use ffdshow with always output stereo you can't change this inside MeGUI and you never can obtain 5.1.
MeGUI can't support users than use DirectShow, you can use DirectShow at your risk.

- Besweet decoder is old and with many limitations: can't output decoded files bigger than 2 GB (many movie tracks need more than 2 GB), don't support STDIN-STDOUT to pipe streams, is not open source to improve, can't decode AAC, DTS, ...

What is recommended way for decoding long ( 3h+) demuxed MP2 files ( DVB-T MPG -> ProjectX -> M2V + MP2 ) ? ( aside of workaround of demuxing to WAV )

MeGUI usual default way via NicAudio always ends at some funny audio footage, possibly due some counter overflow. DirectShow works well, but is said as last resort. Does BassAudio work for them ?
If yes, Is possible to force MeGUI to use BassAudio but by manual explicit script ?

Kurtnoise
11th February 2013, 17:40
No need to demux your audio stream if your input contains only one audio track. Just load it in Audio Panel and pick up a Preset to reencode it. Anyway, mp2 is a poor audio format. I'd not to reencode it imo...

FFmpeg2Source might be good for your input though.

Poutnik
11th February 2013, 23:55
No need to demux your audio stream if your input contains only one audio track. Just load it in Audio Panel and pick up a Preset to reencode it. Anyway, mp2 is a poor audio format. I'd not to reencode it imo...

FFmpeg2Source might be good for your input though.

I do ProjectX demuxing with fixing occational signal corruption,
leading to A/V desync.
MP2 is AFAIK original MPG audio format, I reencode it to AAC.

tebasuna51
12th February 2013, 00:34
MeGUI usual default way via NicAudio always ends at some funny audio footage, possibly due some counter overflow.

Please put the log with the problem.

dj-big
12th February 2013, 09:57
i figure out i cant use NicAuidio coz of the reasons you said before now i have 2 choice Directshow and FFAudiosource whitch of them have less problems ? i just want to convert ac3 ( some time 6 ch and some time 2ch ) to aac 2ch my streams never bigger than 1 gig and i want most players ply my encode correctly without problems so what you guys suggest ?!

i encode some files with directshow and i dont see problems till now is the best choice for me for now or FFauidosource or Basseaduio is better ?

tebasuna51
12th February 2013, 12:30
i figure out i cant use NicAuidio coz of the reasons you said before now i have 2 choice Directshow and FFAudiosource whitch of them have less problems ?

- NicAudio, FFAudioSource and BassAudio work fine with correct streams.

- NicAudio, FFAudioSource and BassAudio don't work with incorrect streams than change parameters in the midle of the stream, because AviSynth don't support this.

- Only DirectShow with ffdshow, for example, configured to output always the same number of channels, samplerate and bitdepth can supply a correct decoded stream to AviSynth because can change, on the fly, the source format to a fix one.

i just want to convert ac3 ( some time 6 ch and some time 2ch ) to aac 2ch my streams

Then use DirectShow.

Poutnik
12th February 2013, 13:13
- NicAudio, FFAudioSource and BassAudio work fine with correct streams.

- NicAudio, FFAudioSource and BassAudio don't work with incorrect streams than change parameters in the midle of the stream, because AviSynth don't support this.

- Only DirectShow with ffdshow, for example, configured to output always the same number of channels, samplerate and bitdepth can supply a correct decoded stream to AviSynth because can change, on the fly, the source format to a fix one.

Then use DirectShow.

Could it be that this may not be necessarily connected to incorrect streems ?
I exclusively process DVB-T MPEG2 PS sources.
I had never problems with short enough streams like 90-110 min movie, sometimes including eventual mix of movie and interleaved ads.
But I had always problems with streams long enough like 180+ min. ( not sure where the limit lays exactly )
I do not have my PC with MeGUI handy now, I will try to find and post the log later.

kyoshi
13th February 2013, 01:31
Thanks - fixed in 2292.
EDIT: fixed Ah,.thank you for responding my question..i guess all i have to do is waiting the auto update to 2922 right ?

Likely the button has been removed over the years.
Oooh,..that's too bad,.that clear button will becomes a handy because i deal with many old video that have broken frames, it gets confusing to read the log after consecutive encode. Many times i must close MeGUI just to clear the log, because it gets cluttered.

Zathor
13th February 2013, 22:41
Ah,.thank you for responding my question..i guess all i have to do is waiting the auto update to 2922 right?
Already online since a few days on the development update server

dj-big
14th February 2013, 07:12
hi again can someone explain why i have this error on my log ?
"channel count mismatch! ignoring downmix as the input file is reporting 6 channels and the AviSynth script is reporting 2 channels"
is it coz of incorrect stream ?

and this is my full log


[Warning] Log for job515 (audio, True.Blood.S01E06.720p.HDTV.x264 - [1].ac3 -> True.Blood.S01E06.720p.HDTV.x264 - [1]_audio.m4a)
-[Information] [2/14/2013 6:36:52 AM] Started handling job
-[Information] [2/14/2013 6:36:52 AM] Preprocessing
-[Information] [2/14/2013 6:36:52 AM] Encoding started
-[Information] [2/14/2013 6:36:52 AM] MediaInfo
--[Information] File: C:\Documents and Settings\Administrator\Desktop\tb\clzxoqdj.suf\True.Blood.S01E06.720p.HDTV.x264 - [1].ac3
--[Information] General
---[Information] Format: AC-3
---[Information] FormatString: AC-3
---[Information] FileSize: 150676992
---[Information] PlayTime: 00:52:19.104
--[Information] Audio
---[Information] ID:
---[Information] StreamOrder:
---[Information] Format: AC-3
---[Information] FormatProfile:
---[Information] FormatSettingsSBR:
---[Information] FormatSettingsPS:
---[Information] SamplingRate: 48000
---[Information] SamplingRateString: 48.0 KHz
---[Information] Channels: 6
---[Information] ChannelsString: 6 channels
---[Information] ChannelPositionsString2: 3/2/0.1
---[Information] BitRateMode: CBR
---[Information] Delay:
---[Information] Title:
---[Information] Language:
---[Information] LanguageString:
---[Information] Default:
---[Information] DefaultString:
---[Information] Forced:
---[Information] ForcedString:
-[Information] [2/14/2013 6:36:52 AM] Trying to open the file with DirectShowSource()
-[Information] [2/14/2013 6:36:53 AM] Successfully opened the file with DirectShowSource()
-[Warning] [2/14/2013 6:36:53 AM] channel count mismatch! ignoring downmix as the input file is reporting 6 channels and the AviSynth script is reporting 2 channels
-[Information] [2/14/2013 6:36:53 AM] Avisynth script
--[NoImage] LoadPlugin("C:\Documents and Settings\Administrator\Desktop\MEGUI\tools\avs\directshowsource.dll")
--[NoImage] DirectShowSource("C:\Documents and Settings\Administrator\Desktop\tb\clzxoqdj.suf\True.Blood.S01E06.720p.HDTV.x264 - [1].ac3")
--[NoImage] EnsureVBRMP3Sync()
--[NoImage] # detected channels: 6 channels
--[NoImage] # detected channel positions: 3/2/0.1
--[NoImage] Normalize()
--[NoImage] return last
--[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> stereo + LFE
--[NoImage] function c6_stereo(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] lf = GetChannel(a, 4)
--[NoImage] sl = GetChannel(a, 5)
--[NoImage] sr = GetChannel(a, 6)
--[NoImage] fl_sl = MixAudio(fl, sl, 0.2929, 0.2929)
--[NoImage] fr_sr = MixAudio(fr, sr, 0.2929, 0.2929)
--[NoImage] fc_lf = MixAudio(fc, lf, 0.2071, 0.2071)
--[NoImage] l = MixAudio(fl_sl, fc_lf, 1.0, 1.0)
--[NoImage] r = MixAudio(fr_sr, fc_lf, 1.0, 1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5 Channels L,R,C,SL,SR or L,R,LFE,SL,SR-> Stereo
--[NoImage] function c5_stereo(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] sl = GetChannel(a, 4)
--[NoImage] sr = GetChannel(a, 5)
--[NoImage] fl_sl = MixAudio(fl, sl, 0.3694, 0.3694)
--[NoImage] fr_sr = MixAudio(fr, sr, 0.3694, 0.3694)
--[NoImage] l = MixAudio(fl_sl, fc, 1.0, 0.2612)
--[NoImage] r = MixAudio(fr_sr, fc, 1.0, 0.2612)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5 Channels L,R,C,LFE,S -> Stereo
--[NoImage] function c52_stereo(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] lf = GetChannel(a, 4)
--[NoImage] bc = GetChannel(a, 5)
--[NoImage] fl_bc = MixAudio(fl, bc, 0.3205, 0.2265)
--[NoImage] fr_bc = MixAudio(fr, bc, 0.3205, 0.2265)
--[NoImage] fc_lf = MixAudio(fc, lf, 0.2265, 0.2265)
--[NoImage] l = MixAudio(fl_bc, fc_lf, 1.0, 1.0)
--[NoImage] r = MixAudio(fr_bc, fc_lf, 1.0, 1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 4 Channels Quadro L,R,SL,SR -> Stereo
--[NoImage] function c4_stereo(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] sl = GetChannel(a, 3)
--[NoImage] sr = GetChannel(a, 4)
--[NoImage] l = MixAudio(fl, sl, 0.5, 0.5)
--[NoImage] r = MixAudio(fr, sr, 0.5, 0.5)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 4 Channels L,R,C,LFE or L,R,S,LFE or L,R,C,S -> Stereo
--[NoImage] function c42_stereo(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] lf = GetChannel(a, 4)
--[NoImage] fc_lf = MixAudio(fc, lf, 0.2929, 0.2929)
--[NoImage] l = MixAudio(fl, fc_lf, 0.4142, 1.0)
--[NoImage] r = MixAudio(fr, fc_lf, 0.4142, 1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 3 Channels L,R,C or L,R,S or L,R,LFE -> Stereo
--[NoImage] function c3_stereo(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] l = MixAudio(fl, fc, 0.5858, 0.4142)
--[NoImage] r = MixAudio(fr, fc, 0.5858, 0.4142)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> Dolby ProLogic
--[NoImage] function c6_dpl(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] sl = GetChannel(a, 5)
--[NoImage] sr = GetChannel(a, 6)
--[NoImage] bc = MixAudio(sl, sr, 0.2265, 0.2265)
--[NoImage] fl_fc = MixAudio(fl, fc, 0.3205, 0.2265)
--[NoImage] fr_fc = MixAudio(fr, fc, 0.3205, 0.2265)
--[NoImage] l = MixAudio(fl_fc, bc, 1.0, 1.0)
--[NoImage] r = MixAudio(fr_fc, bc, 1.0, -1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5 Channels L,R,C,SL,SR -> Dolby ProLogic
--[NoImage] function c5_dpl(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] sl = GetChannel(a, 4)
--[NoImage] sr = GetChannel(a, 5)
--[NoImage] bc = MixAudio(sl, sr, 0.2265, 0.2265)
--[NoImage] fl_fc = MixAudio(fl, fc, 0.3205, 0.2265)
--[NoImage] fr_fc = MixAudio(fr, fc, 0.3205, 0.2265)
--[NoImage] l = MixAudio(fl_fc, bc, 1.0, 1.0)
--[NoImage] r = MixAudio(fr_fc, bc, 1.0, -1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5 Channels L,R,LFE,SL,SR -> Dolby ProLogic
--[NoImage] function c52_dpl(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] sl = GetChannel(a, 4)
--[NoImage] sr = GetChannel(a, 5)
--[NoImage] bc = MixAudio(sl, sr, 0.2929, 0.2929)
--[NoImage] l = MixAudio(fl, bc, 0.4142, 1.0)
--[NoImage] r = MixAudio(fr, bc, 0.4142, -1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5 Channels L,R,C,LFE,S -> Dolby ProLogic
--[NoImage] function c53_dpl(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] bc = GetChannel(a, 5)
--[NoImage] fl_fc = MixAudio(fl, fc, 0.4142, 0.2929)
--[NoImage] fr_fc = MixAudio(fr, fc, 0.4142, 0.2929)
--[NoImage] l = MixAudio(fl_fc, bc, 1.0, 0.2929)
--[NoImage] r = MixAudio(fr_fc, bc, 1.0, -0.2929)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 4 Channels Quadro L,R,SL,SR -> Dolby ProLogic
--[NoImage] function c4_dpl(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] sl = GetChannel(a, 3)
--[NoImage] sr = GetChannel(a, 4)
--[NoImage] bc = MixAudio(sl, sr, 0.2929, 0.2929)
--[NoImage] l = MixAudio(fl, bc, 0.4142, 1.0)
--[NoImage] r = MixAudio(fr, bc, 0.4142, -1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 4 Channels L,R,LFE,S -> Dolby ProLogic
--[NoImage] function c42_dpl(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] bc = GetChannel(a, 4)
--[NoImage] l = MixAudio(fl, bc, 0.5858, 0.4142)
--[NoImage] r = MixAudio(fr, bc, 0.5858, -0.4142)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 4 Channels L,R,C,S -> Dolby ProLogic
--[NoImage] function c43_dpl(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] bc = GetChannel(a, 4)
--[NoImage] fl_fc = MixAudio(fl, fc, 0.4142, 0.2929)
--[NoImage] fr_fc = MixAudio(fr, fc, 0.4142, 0.2929)
--[NoImage] l = MixAudio(fl_fc, bc, 1.0, 0.2929)
--[NoImage] r = MixAudio(fr_fc, bc, 1.0, -0.2929)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 3 Channels L,R,S -> Dolby ProLogic
--[NoImage] function c3_dpl(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] bc = GetChannel(a, 3)
--[NoImage] l = MixAudio(fl, bc, 0.5858, 0.4142)
--[NoImage] r = MixAudio(fr, bc, 0.5858, -0.4142)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5.1 Channels L,R,C,LFE,SL,SR -> Dolby ProLogic II
--[NoImage] function c6_dpl2(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] sl = GetChannel(a, 5)
--[NoImage] sr = GetChannel(a, 6)
--[NoImage] ssl = MixAudio(sl, sr, 0.2818, 0.1627)
--[NoImage] ssr = MixAudio(sl, sr, -0.1627, -0.2818)
--[NoImage] fl_fc = MixAudio(fl, fc, 0.3254, 0.2301)
--[NoImage] fr_fc = MixAudio(fr, fc, 0.3254, 0.2301)
--[NoImage] l = MixAudio(fl_fc, ssl, 1.0, 1.0)
--[NoImage] r = MixAudio(fr_fc, ssr, 1.0, 1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5 Channels L,R,C,SL,SR -> Dolby ProLogic II
--[NoImage] function c5_dpl2(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] fc = GetChannel(a, 3)
--[NoImage] sl = GetChannel(a, 4)
--[NoImage] sr = GetChannel(a, 5)
--[NoImage] ssl = MixAudio(sl, sr, 0.2818, 0.1627)
--[NoImage] ssr = MixAudio(sl, sr, -0.1627, -0.2818)
--[NoImage] fl_fc = MixAudio(fl, fc, 0.3254, 0.2301)
--[NoImage] fr_fc = MixAudio(fr, fc, 0.3254, 0.2301)
--[NoImage] l = MixAudio(fl_fc, ssl, 1.0, 1.0)
--[NoImage] r = MixAudio(fr_fc, ssr, 1.0, 1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 5 Channels L,R,LFE,SL,SR -> Dolby ProLogic II
--[NoImage] function c52_dpl2(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] sl = GetChannel(a, 4)
--[NoImage] sr = GetChannel(a, 5)
--[NoImage] ssl = MixAudio(sl, sr, 0.3714, 0.2144)
--[NoImage] ssr = MixAudio(sl, sr, -0.2144, -0.3714)
--[NoImage] l = MixAudio(fl, ssl, 0.4142, 1.0)
--[NoImage] r = MixAudio(fr, ssr, 0.4142, 1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
--[NoImage] # 4 Channels Quadro L,R,SL,SR -> Dolby ProLogic II
--[NoImage] function c4_dpl2(clip a)
--[NoImage] {
--[NoImage] fl = GetChannel(a, 1)
--[NoImage] fr = GetChannel(a, 2)
--[NoImage] sl = GetChannel(a, 3)
--[NoImage] sr = GetChannel(a, 4)
--[NoImage] ssl = MixAudio(sl, sr, 0.3714, 0.2144)
--[NoImage] ssr = MixAudio(sl, sr, -0.2144, -0.3714)
--[NoImage] l = MixAudio(fl, ssl, 0.4142, 1.0)
--[NoImage] r = MixAudio(fr, ssr, 0.4142, 1.0)
--[NoImage] return MergeChannels(l, r)
--[NoImage] }
-[Information] [2/14/2013 6:36:53 AM] Commandline used: -ignorelength -he -q 0.45 -if - -of "{0}"
-[Information] [2/14/2013 6:36:53 AM] Avisynth script environment opened
-[Information] [2/14/2013 6:36:53 AM] Script loaded
-[Information] Output Decoder
--[Information] [2/14/2013 6:36:53 AM] Channels: 2
--[Information] [2/14/2013 6:36:53 AM] Bits per sample: 16
--[Information] [2/14/2013 6:36:53 AM] Sample rate: 48000
-[Information] [2/14/2013 6:36:53 AM] Commandline: C:\Documents and Settings\Administrator\Desktop\MEGUI\tools\eac3to\neroAacEnc.exe

-ignorelength -he -q 0.45 -if - -of "C:\Documents and Settings\Administrator\Desktop\tb\clzxoqdj.suf\True.Blood.S01E06.720p.HDTV.x264 - [1]_audio.m4a"
-[Information] [2/14/2013 6:36:53 AM] Encoder process started
-[Information] [2/14/2013 6:38:46 AM] Output from encoder via stderr
--[NoImage] *************************************************************
--[NoImage] * *
--[NoImage] * Nero AAC Encoder *
--[NoImage] * Copyright 2009 Nero AG *
--[NoImage] * All Rights Reserved Worldwide *
--[NoImage] * *
--[NoImage] * Package build date: Feb 18 2010 *
--[NoImage] * Package version: 1.5.4.0 *
--[NoImage] * *
--[NoImage] * See -help for a complete list of available parameters. *
--[NoImage] * *
--[NoImage] *************************************************************
-[Information] [2/14/2013 6:38:46 AM] MediaInfo
--[Information] File: C:\Documents and Settings\Administrator\Desktop\tb\clzxoqdj.suf\True.Blood.S01E06.720p.HDTV.x264 - [1]_audio.m4a
--[Information] General
---[Information] Format: MPEG-4
---[Information] FormatString: MPEG-4
---[Information] FileSize: 65221794
---[Information] PlayTime: 00:52:19.115
--[Information] Audio
---[Information] ID: 1
---[Information] StreamOrder: 0
---[Information] Format: AAC
---[Information] FormatProfile: HE-AAC / LC
---[Information] FormatSettingsSBR: Yes (Implicit)
---[Information] FormatSettingsPS: No (Explicit)
---[Information] SamplingRate: 48000 / 24000
---[Information] SamplingRateString: 48.0 KHz / 24.0 KHz
---[Information] Channels: 2
---[Information] ChannelsString: 2 channels
---[Information] ChannelPositionsString2: 2/0/0
---[Information] BitRateMode: VBR
---[Information] Delay: 0
---[Information] Title:
---[Information] Language:
---[Information] LanguageString:
---[Information] Default:
---[Information] DefaultString:
---[Information] Forced:
---[Information] ForcedString:
-[Information] [2/14/2013 6:38:46 AM] Postprocessing
--[Information] Deleting intermediate files
-[Information] [2/14/2013 6:38:46 AM] Job completed

Kurtnoise
14th February 2013, 10:06
It's not an error, just a warning...

This means that your Directshow decoding filters (maybe FFdshow ?) is configured to output 6 channels whereas your avisynth script that uses DirectShowSource() is defined as stereo. So, either you have to specify stereo in your dshow filters chain or keep channels number like your source.

dj-big
14th February 2013, 11:01
It's not an error, just a warning...

This means that your Directshow decoding filters (maybe FFdshow ?) is configured to output 6 channels whereas your avisynth script that uses DirectShowSource() is defined as stereo. So, either you have to specify stereo in your dshow filters chain or keep channels number like your source.

why this happen ? my source have 6ch and my profile is downmix to stero 2ch and yes i use FFdshow so if i want to downmix to stereo and dont have this warning what can i do ? (let me say this i check my encode with this warning and output file is correct and no problem and have 2ch ) or its better to ignore this warning ? ( and other thing need to say is directshow have this warning i decode with nicaudio and have no warning but i need to use directshow for some reason)

Kurtnoise
14th February 2013, 11:07
Just configure FFdshow to have a stereo output stream then...and you should not be anymore to have this warning if you decide to downmix your encoding.

dj-big
14th February 2013, 11:25
Just configure FFdshow to have a stereo output stream then...and you should not be anymore to have this warning if you decide to downmix your encoding.

im such newbie would u please help me more and explain what am i doing ? in sound config a select downmix to stereo but how to configure FFdshow ?!

soehest
14th February 2013, 12:55
Just updated to 2287 I am running into trouble using one click encoder on a fresh install:

Selecting source it will abort with: Megui encountered a fatal error and may not be able to proceed. Reason: Index was out of range. Must be non-negative and less than size of collection. Parameter name: Index

I am pretty sure it worked on previous version (2237) so i am a bit puzzled why this new error comes. Tried different dvd rippers and it does not seem the problem is related to the ripper software:

Log:

Preliminary log file only. During closing of MeGUI the well formed log file will be written.

-[Information] Versions
--[Information] [14-02-2013 12:47:49] MeGUI: 2287
--[Information] [14-02-2013 12:47:49] Operating System: Windows 7 Premium Edition x64 SP1 (6.1.65536.7601)
--[Information] [14-02-2013 12:47:49] .Net Framework: 4.0 (4.0.30319)
--[Information] [14-02-2013 12:47:49] AviSynth: 2.5.8.5 (21-12-2008 21:46:54)
--[Information] [14-02-2013 12:47:49] AvisynthWrapper: 02-01-2009 20:34:04
--[Information] [14-02-2013 12:47:49] Haali Matroska Splitter: 1.11.96.14 (03-03-2011 11:40:46)
--[Information] [14-02-2013 12:47:49] Haali DSS2: 03-03-2011 11:37:50
--[Information] [14-02-2013 12:47:49] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008 20:31:12)
--[Information] [14-02-2013 12:47:49] LinqBridge: 1.0.0.0 (28-05-2009 01:24:34)
--[Information] [14-02-2013 12:47:49] MediaInfo: 0.7.61.0 (21-10-2012 16:29:04)
--[Information] [14-02-2013 12:47:49] MediaInfoWrapper: 0.7.61.0 (06-01-2013 14:47:14)
--[Information] [14-02-2013 12:47:49] MessageBoxExLib: 1.0.2218.28317 (19-12-2008 20:53:04)
--[Information] [14-02-2013 12:47:49] SevenZipSharp: 0.64.3890.29348 (02-01-2011 10:59:32)
--[Information] [14-02-2013 12:47:49] 7z: 9.20 (18-11-2010 16:27:34)
-[Information] Update detection
--[Information] [14-02-2013 12:47:49] Connecting to server: http://megui.org/auto/stable/
--[Information] [14-02-2013 12:47:49] All files are up to date
-[Information] OneClick
--[Information] [14-02-2013 12:48:09] MediaInfo
---[Information] File: D:\rip\NORDKRAFT\VIDEO_TS\VTS_01_1.VOB
---[Information] DVD source detected. Using IFO file: D:\rip\NORDKRAFT\VIDEO_TS\VTS_01_0.IFO
-[Information] Format: MPEG-PS
-[Information] FormatString: MPEG-PS
-[Information] FileSize: 1073686528
-[Information] PlayTime: 00:19:49.120
-[Information] PGCCount: 4
-[Information] PGCNumber: 3
---[Information] General
-[Information] ID: 224
-[Information] StreamOrder:
-[Information] Width: 720
-[Information] Height: 576
-[Information] FrameCount: 29728
-[Information] FrameRate: 25.000
-[Information] FrameRateOriginal:
-[Information] FrameRateMode:
-[Information] ScanType: Interlaced
-[Information] Codec: MPEG-2V
-[Information] CodecString: MPEG-2 Video
-[Information] Format: MPEG Video
-[Information] AspectRatio: 1.778
-[Information] AspectRatioString: 16:9
-[Information] Delay: 360.000
-[Information] Title:
-[Information] Language:
-[Information] LanguageString:
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Video
-[Information] ID: 189-128
-[Information] StreamOrder: 0
-[Information] Format: AC-3
-[Information] FormatProfile:
-[Information] FormatSettingsSBR:
-[Information] FormatSettingsPS:
-[Information] SamplingRate: 48000
-[Information] SamplingRateString: 48.0 KHz
-[Information] Channels: 6
-[Information] ChannelsString: 6 channels
-[Information] ChannelPositionsString2: 3/2/0.1
-[Information] BitRateMode: CBR
-[Information] Delay: 360.000
-[Information] Title:
-[Information] Language:
-[Information] LanguageString: Danish
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Audio
-[Information] ID: 189-130
-[Information] StreamOrder: 0
-[Information] Format: AC-3
-[Information] FormatProfile:
-[Information] FormatSettingsSBR:
-[Information] FormatSettingsPS:
-[Information] SamplingRate: 48000
-[Information] SamplingRateString: 48.0 KHz
-[Information] Channels: 2
-[Information] ChannelsString: 2 channels
-[Information] ChannelPositionsString2: 2/0/0
-[Information] BitRateMode: CBR
-[Information] Delay: 360.000
-[Information] Title:
-[Information] Language:
-[Information] LanguageString: Danish
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Audio
-[Information] ID: 189-137
-[Information] StreamOrder: 0
-[Information] Format: DTS
-[Information] FormatProfile:
-[Information] FormatSettingsSBR:
-[Information] FormatSettingsPS:
-[Information] SamplingRate: 48000
-[Information] SamplingRateString: 48.0 KHz
-[Information] Channels: 6
-[Information] ChannelsString: 6 channels
-[Information] ChannelPositionsString2: 3/2/0.1
-[Information] BitRateMode: CBR
-[Information] Delay: 360.000
-[Information] Title:
-[Information] Language:
-[Information] LanguageString: Danish
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Audio
-[Information] ID:
-[Information] StreamOrder: 0
-[Information] Codec:
-[Information] CodecString: Vobsub
-[Information] Delay:
-[Information] Title:
-[Information] Language:
-[Information] LanguageString: Danish
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Text
-[Information] ID:
-[Information] StreamOrder: 1
-[Information] Codec:
-[Information] CodecString: Vobsub
-[Information] Delay:
-[Information] Title:
-[Information] Language:
-[Information] LanguageString: Finnish
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Text
-[Information] ID:
-[Information] StreamOrder: 2
-[Information] Codec:
-[Information] CodecString: Vobsub
-[Information] Delay:
-[Information] Title:
-[Information] Language:
-[Information] LanguageString: Norwegian
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Text
-[Information] ID:
-[Information] StreamOrder: 3
-[Information] Codec:
-[Information] CodecString: Vobsub
-[Information] Delay:
-[Information] Title:
-[Information] Language:
-[Information] LanguageString: Swedish
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Text
-[Information] ID:
-[Information] StreamOrder: 4
-[Information] Codec:
-[Information] CodecString: Vobsub
-[Information] Delay:
-[Information] Title:
-[Information] Language:
-[Information] LanguageString: English
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Text
-[Information] ID:
-[Information] StreamOrder: 5
-[Information] Codec:
-[Information] CodecString: Vobsub
-[Information] Delay:
-[Information] Title:
-[Information] Language:
-[Information] LanguageString: English
-[Information] Default:
-[Information] DefaultString:
-[Information] Forced:
-[Information] ForcedString:
---[Information] Text
-[Error] Unhandled error
-[NoImage] Index was out of range. Must be non-negative and less than the size of the collection.
-[NoImage] Parameter name: index
--[Information] [14-02-2013 12:48:09] Exception message
-[NoImage] at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
-[NoImage] at System.ThrowHelper.ThrowArgumentOutOfRangeException()
-[NoImage] at MeGUI.OneClickWindow.AudioResetTrack(List`1 arrAudioTrackInfo, OneClickSettings settings)
-[NoImage] at MeGUI.OneClickWindow.setInputData(MediaInfoFile iFile, List`1 arrFilesToProcess)
-[NoImage] at MeGUI.packages.tools.oneclick.OneClickProcessing.getInputDVDBased(OneClickSettings oSettings)
-[NoImage] at MeGUI.packages.tools.oneclick.OneClickProcessing..ctor(OneClickWindow oWindow, String strFileOrFolderName, OneClickSettings oSettings, LogItem oLog)
-[NoImage] at MeGUI.OneClickWindow.openInput(String fileName)
-[NoImage] at MeGUI.OneClickWindow.input_SelectionChanged(Object sender, String val)
-[NoImage] at MeGUI.core.gui.NiceComboBox.set_SelectedItem(NiceComboBoxItem value)
-[NoImage] at MeGUI.core.gui.StandardAndCustomComboBox.set_SelectedObject(Object value)
-[NoImage] at MeGUI.OneClickWindow.setInput(String strFileorFolderName)
-[NoImage] at MeGUI.MainForm.openOneClickFile(String fileName)
-[NoImage] at MeGUI.MainForm.openDGIndexFile(String fileName)
-[NoImage] at MeGUI.MainForm.openFile(String file)
-[NoImage] at MeGUI.MainForm.mnuFileOpen_Click(Object sender, EventArgs e)
-[NoImage] at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
-[NoImage] at System.Windows.Forms.MenuItem.MenuItemData.Execute()
-[NoImage] at System.Windows.Forms.Command.Invoke()
-[NoImage] at System.Windows.Forms.Command.DispatchID(Int32 id)
-[NoImage] at System.Windows.Forms.Control.WmCommand(Message& m)
-[NoImage] at System.Windows.Forms.Control.WndProc(Message& m)
-[NoImage] at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
-[NoImage] at System.Windows.Forms.ContainerControl.WndProc(Message& m)
-[NoImage] at System.Windows.Forms.Form.WndProc(Message& m)
-[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
-[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
-[NoImage] at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--[Information] [14-02-2013 12:48:09] Stacktrace
--[Information] [14-02-2013 12:48:09] Inner exception: null



Best regards

ryszardzonk
14th February 2013, 15:51
I had a similar issue the other day only admittedly I was trying to append a new encode to an old one and according to the "private data doesn't match" error the numbers were 41 and 42, but in your case they're the same. Mind you I googled but couldn't find any info which explained what it all meant anyway.

As a workaround, maybe try this. Using your original AVIsynth scripts as the source videos, create a new script to encode the three of them as a single encode. All you need to do is manually create a new script like this one:

Import("E:\HD1.avs")+Import("E:\HD2.avs")+Import("E:\HD3.avs")

Load the new script into MeGUI and encode it.

You can also splice the source videos together using a single script but given you've already created the scripts you might as well use the above method. For future reference though:
http://avisynth.org/mediawiki/AlignedSplice

If each source has it's own audio stream then encoding them as a single file by combining the scripts or joining them after encoding could give you sync issues which might require some messing around to fix, but I assume from your post you've already got a single audio stream to add to the three encodes, so it won't matter either way. If it'd be in sync after joining the three individual encodes it'll be the same when using the scripts to join them while encoding.

I have similar issues and yes I confirm that this workaround works, but my question is would that issue be fixed? Was anyone able to find a cause of the problem for this issue?

PS I have problems joining the files with the stable and dev ver 2294

Zathor
14th February 2013, 23:04
Please update to 2294 and try again (switch to development update server). I still cannot reproduce the problem.

More details here:
http://sourceforge.net/p/megui/bugs/703/
Including a debug build. Maybe you can try that one and post the error log.

dj-big
15th February 2013, 07:19
Just configure FFdshow to have a stereo output stream then...and you should not be anymore to have this warning if you decide to downmix your encoding.

i think you mean ffdshow main program not megui but i cant find option that set output stream in audio decoder confug > output > its just ac3 dts and ... can u help me more with that ?

LigH
15th February 2013, 07:56
You should have a look into the "Mixer" page of the "Audio decoder configuration".

dj-big
15th February 2013, 09:55
You should have a look into the "Mixer" page of the "Audio decoder configuration".

as a defualt in audio config output speaker config is 2/0/0 Stereo and i set my megui to downmix to stereo so i dont think its the problem coz they are all correct

Taurus
15th February 2013, 11:53
as a default in audio config output speaker config is 2/0/0 Stereo
But is the mixer enabled?
Default value: Mixer disabled (if not ticked during install)

dj-big
15th February 2013, 12:15
But is the mixer enabled?
Default value: Mixer disabled (if not ticked during install)

yes its enabled as a default

soehest
15th February 2013, 14:50
Please update to 2294 and try again (switch to development update server). I still cannot reproduce the problem.

More details here:
http://sourceforge.net/p/megui/bugs/703/
Including a debug build. Maybe you can try that one and post the error log.

Seems i lost access to my sourceforge account so i will post the debug log here:


[Error] Log
-[Information] Versions
--[Information] [15-02-2013 13:29:10] MeGUI: 2294
--[Information] [15-02-2013 13:29:10] Operating System: Windows 7 Premium Edition x64 SP1 (6.1.65536.7601)
--[Information] [15-02-2013 13:29:10] .Net Framework: 4.0 (4.0.30319)
--[Information] [15-02-2013 13:29:10] AviSynth: 2.5.8.5 (21-12-2008 21:46:54)
--[Information] [15-02-2013 13:29:10] AvisynthWrapper: 02-01-2009 20:34:04
--[Information] [15-02-2013 13:29:10] Haali Matroska Splitter: 1.11.96.14 (03-03-2011 11:40:46)
--[Information] [15-02-2013 13:29:10] Haali DSS2: 03-03-2011 11:37:50
--[Information] [15-02-2013 13:29:10] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008 20:31:12)
--[Information] [15-02-2013 13:29:10] LinqBridge: 1.0.0.0 (28-05-2009 01:24:34)
--[Information] [15-02-2013 13:29:10] MediaInfo: 0.7.61.0 (21-10-2012 16:29:04)
--[Information] [15-02-2013 13:29:10] MediaInfoWrapper: 0.7.61.0 (06-01-2013 14:47:14)
--[Information] [15-02-2013 13:29:10] MessageBoxExLib: 1.0.2218.28317 (19-12-2008 20:53:04)
--[Information] [15-02-2013 13:29:10] SevenZipSharp: 0.64.3890.29348 (02-01-2011 10:59:32)
--[Information] [15-02-2013 13:29:10] 7z: 9.20 (18-11-2010 16:27:34)
-[Information] Update detection
--[Information] [15-02-2013 13:29:10] Connecting to server: http://megui.org/auto/
--[Information] [15-02-2013 13:29:10] All files are up to date
-[Information] OneClick
--[Information] [15-02-2013 13:29:18] MediaInfo
---[Information] File: D:\rip\NORDKRAFT\VIDEO_TS\VTS_01_1.VOB
---[Information] DVD source detected. Using IFO file: D:\rip\NORDKRAFT\VIDEO_TS\VTS_01_0.IFO
---[Information] General
----[Information] Format: MPEG-PS
----[Information] FormatString: MPEG-PS
----[Information] FileSize: 1073686528
----[Information] PlayTime: 00:19:49.120
----[Information] PGCCount: 4
----[Information] PGCNumber: 3
---[Information] Video
----[Information] ID: 224
----[Information] StreamOrder:
----[Information] Width: 720
----[Information] Height: 576
----[Information] FrameCount: 29728
----[Information] FrameRate: 25.000
----[Information] FrameRateOriginal:
----[Information] FrameRateMode:
----[Information] ScanType: Interlaced
----[Information] Codec: MPEG-2V
----[Information] CodecString: MPEG-2 Video
----[Information] Format: MPEG Video
----[Information] AspectRatio: 1.778
----[Information] AspectRatioString: 16:9
----[Information] Delay: 360.000
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 189-128
----[Information] StreamOrder: 0
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2: 3/2/0.1
----[Information] BitRateMode: CBR
----[Information] Delay: 360.000
----[Information] Title:
----[Information] Language:
----[Information] LanguageString: Danish
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 189-130
----[Information] StreamOrder: 0
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2: 2/0/0
----[Information] BitRateMode: CBR
----[Information] Delay: 360.000
----[Information] Title:
----[Information] Language:
----[Information] LanguageString: Danish
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 189-137
----[Information] StreamOrder: 0
----[Information] Format: DTS
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2: 3/2/0.1
----[Information] BitRateMode: CBR
----[Information] Delay: 360.000
----[Information] Title:
----[Information] Language:
----[Information] LanguageString: Danish
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Text
----[Information] ID:
----[Information] StreamOrder: 0
----[Information] Codec:
----[Information] CodecString: Vobsub
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString: Danish
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Text
----[Information] ID:
----[Information] StreamOrder: 1
----[Information] Codec:
----[Information] CodecString: Vobsub
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString: Finnish
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Text
----[Information] ID:
----[Information] StreamOrder: 2
----[Information] Codec:
----[Information] CodecString: Vobsub
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString: Norwegian
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Text
----[Information] ID:
----[Information] StreamOrder: 3
----[Information] Codec:
----[Information] CodecString: Vobsub
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString: Swedish
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Text
----[Information] ID:
----[Information] StreamOrder: 4
----[Information] Codec:
----[Information] CodecString: Vobsub
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString: English
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Text
----[Information] ID:
----[Information] StreamOrder: 5
----[Information] Codec:
----[Information] CodecString: Vobsub
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString: English
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
-[Error] Unhandled error
--[Information] [15-02-2013 13:29:18] Exception message
---[NoImage] Index was out of range. Must be non-negative and less than the size of the collection.
---[NoImage] Parameter name: index
--[Information] [15-02-2013 13:29:18] Stacktrace
---[NoImage] at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
---[NoImage] at System.ThrowHelper.ThrowArgumentOutOfRangeException()
---[NoImage] at System.Collections.Generic.List`1.get_Item(Int32 index)
---[NoImage] at MeGUI.OneClickWindow.AudioResetTrack(List`1 arrAudioTrackInfo, OneClickSettings settings) in D:\MeGUI\MeGUI_SVN\packages\tools\oneclick\OneClickWindow.cs:line 1681
---[NoImage] at MeGUI.OneClickWindow.setInputData(MediaInfoFile iFile, List`1 arrFilesToProcess) in D:\MeGUI\MeGUI_SVN\packages\tools\oneclick\OneClickWindow.cs:line 428
---[NoImage] at MeGUI.packages.tools.oneclick.OneClickProcessing.getInputDVDBased(OneClickSettings oSettings) in D:\MeGUI\MeGUI_SVN\packages\tools\oneclick\OneClickProcessing.cs:line 157
---[NoImage] at MeGUI.packages.tools.oneclick.OneClickProcessing..ctor(OneClickWindow oWindow, String strFileOrFolderName, OneClickSettings oSettings, LogItem oLog) in D:\MeGUI\MeGUI_SVN\packages\tools\oneclick\OneClickProcessing.cs:line 44
---[NoImage] at MeGUI.OneClickWindow.openInput(String fileName) in D:\MeGUI\MeGUI_SVN\packages\tools\oneclick\OneClickWindow.cs:line 380
---[NoImage] at MeGUI.OneClickWindow.input_SelectionChanged(Object sender, String val) in D:\MeGUI\MeGUI_SVN\packages\tools\oneclick\OneClickWindow.cs:line 315
---[NoImage] at MeGUI.core.gui.NiceComboBox.set_SelectedItem(NiceComboBoxItem value) in D:\MeGUI\MeGUI_SVN\core\gui\NiceComboBox.cs:line 106
---[NoImage] at MeGUI.core.gui.StandardAndCustomComboBox.set_SelectedObject(Object value) in D:\MeGUI\MeGUI_SVN\core\gui\StandardAndCustomComboBox.cs:line 291
---[NoImage] at MeGUI.OneClickWindow.setInput(String strFileorFolderName) in D:\MeGUI\MeGUI_SVN\packages\tools\oneclick\OneClickWindow.cs:line 352
---[NoImage] at MeGUI.MainForm.openOneClickFile(String fileName) in D:\MeGUI\MeGUI_SVN\core\gui\MainForm.cs:line 626
---[NoImage] at MeGUI.MainForm.openDGIndexFile(String fileName) in D:\MeGUI\MeGUI_SVN\core\gui\MainForm.cs:line 619
---[NoImage] at MeGUI.MainForm.openFile(String file) in D:\MeGUI\MeGUI_SVN\core\gui\MainForm.cs:line 679
---[NoImage] at MeGUI.MainForm.mnuFileOpen_Click(Object sender, EventArgs e) in D:\MeGUI\MeGUI_SVN\core\gui\MainForm.cs:line 495
---[NoImage] at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
---[NoImage] at System.Windows.Forms.MenuItem.MenuItemData.Execute()
---[NoImage] at System.Windows.Forms.Command.Invoke()
---[NoImage] at System.Windows.Forms.Command.DispatchID(Int32 id)
---[NoImage] at System.Windows.Forms.Control.WmCommand(Message& m)
---[NoImage] at System.Windows.Forms.Control.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.ContainerControl.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.Form.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
---[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--[Information] [15-02-2013 13:29:18] Inner exception: null


Hope that is enough to locate this bug, else i am happy to help further.

Best Regards

Kurtnoise
16th February 2013, 11:58
@Zathor : to reproduce soehest issue :

- Remove OneClick profile (or create a backup elsewhere) and choose a DVD folder as input. Note that the source must have 2 Audio tracks at least...the bug appears.
- This seems to be caused by the AudioSettings in the OneClick profile that are not saved by default. The UseFirstTrackOnly variable is not defined or assigned when AudioSettings are not there.

Hope this helps...

Zathor
16th February 2013, 12:48
Hope that is enough to locate this bug, else i am happy to help further.
Yes, together with the advise of Kurtnoise it was hopefully easy to fix the problem. Please test:
http://www.mediafire.com/?slzs2q3ob22yo3j

can someone explain why i have this error on my log ?


-[Warning] [2/14/2013 6:36:53 AM] channel count mismatch! ignoring downmix as the input file is reporting 6 channels and the AviSynth script is reporting 2 channels


This error is caused because mediainfo reports 6 channels and avisynth only 2. So no downmix in AviSynth itself is required as your decoder already did it.

dj-big
16th February 2013, 12:56
This error is caused because mediainfo reports 6 channels and avisynth only 2. So no downmix in AviSynth itself is required as your decoder already did it.

i dont understand how can i stop it ? the mediainfo said its 6ch when i open it in megui it said 6ch so i want to downmix it to 2ch !? im so confused? and i just config my audio decoder to downmix it not in avisynth

Zathor
16th February 2013, 13:20
Use NicAudio as decoder and avoid using DirectShowSource

dj-big
16th February 2013, 13:43
Use NicAudio as decoder and avoid using DirectShowSource

cant use nicaudio coz its not good with incorrect streams and make it silence can i ignore this warning ? and continue my job ? i checked some files with this warning and they havent any problem

Zathor
16th February 2013, 15:34
Ignor it

soehest
16th February 2013, 18:09
Yes, together with the advise of Kurtnoise it was hopefully easy to fix the problem. Please test:
http://www.mediafire.com/?slzs2q3ob22yo3j

Thanks for the quick reply. Just tested the version from above link and must sadly say it did not fix the issue:

[Error] Log
-[Information] Versions
--[Information] [16-02-2013 18:06:03] MeGUI: 2294
--[Information] [16-02-2013 18:06:03] Operating System: Windows 7 Premium Edition x64 SP1 (6.1.65536.7601)
--[Information] [16-02-2013 18:06:03] .Net Framework: 4.0 (4.0.30319)
--[Information] [16-02-2013 18:06:03] AviSynth: 2.5.8.5 (21-12-2008 21:46:54)
--[Information] [16-02-2013 18:06:03] AvisynthWrapper: 02-01-2009 20:34:04
--[Information] [16-02-2013 18:06:03] Haali Matroska Splitter: 1.11.96.14 (03-03-2011 11:40:46)
--[Information] [16-02-2013 18:06:03] Haali DSS2: 03-03-2011 11:37:50
--[Information] [16-02-2013 18:06:03] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008 20:31:12)
--[Information] [16-02-2013 18:06:03] LinqBridge: 1.0.0.0 (28-05-2009 01:24:34)
--[Information] [16-02-2013 18:06:03] MediaInfo: 0.7.61.0 (21-10-2012 16:29:04)
--[Information] [16-02-2013 18:06:03] MediaInfoWrapper: 0.7.61.0 (06-01-2013 14:47:14)
--[Information] [16-02-2013 18:06:03] MessageBoxExLib: 1.0.2218.28317 (19-12-2008 20:53:04)
--[Information] [16-02-2013 18:06:03] SevenZipSharp: 0.64.3890.29348 (02-01-2011 10:59:32)
--[Information] [16-02-2013 18:06:03] 7z: 9.20 (18-11-2010 16:27:34)
-[Information] Update detection
--[Information] [16-02-2013 18:06:03] Connecting to server: http://megui.org/auto/
--[Information] [16-02-2013 18:06:04] All files are up to date
-[Information] OneClick
--[Information] [16-02-2013 18:06:09] MediaInfo
---[Information] File: D:\rip\NORDKRAFT_nosplitting\VIDEO_TS\VTS_01_1.VOB
---[Information] DVD source detected. Using IFO file: D:\rip\NORDKRAFT_nosplitting\VIDEO_TS\VTS_01_0.IFO
---[Information] General
----[Information] Format: MPEG-PS
----[Information] FormatString: MPEG-PS
----[Information] FileSize: 7093327872
----[Information] PlayTime: 02:05:02.840
----[Information] PGCCount: 4
----[Information] PGCNumber: 3
---[Information] Video
----[Information] ID: 224
----[Information] StreamOrder:
----[Information] Width: 720
----[Information] Height: 576
----[Information] FrameCount: 187571
----[Information] FrameRate: 25.000
----[Information] FrameRateOriginal:
----[Information] FrameRateMode:
----[Information] ScanType: Interlaced
----[Information] Codec: MPEG-2V
----[Information] CodecString: MPEG-2 Video
----[Information] Format: MPEG Video
----[Information] AspectRatio: 1.778
----[Information] AspectRatioString: 16:9
----[Information] Delay: 360.000
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 189-128
----[Information] StreamOrder: 0
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2: 3/2/0.1
----[Information] BitRateMode: CBR
----[Information] Delay: 360.000
----[Information] Title:
----[Information] Language:
----[Information] LanguageString: Danish
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 189-130
----[Information] StreamOrder: 0
----[Information] Format: AC-3
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2: 2/0/0
----[Information] BitRateMode: CBR
----[Information] Delay: 360.000
----[Information] Title:
----[Information] Language:
----[Information] LanguageString: Danish
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Audio
----[Information] ID: 189-137
----[Information] StreamOrder: 0
----[Information] Format: DTS
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 KHz
----[Information] Channels: 6
----[Information] ChannelsString: 6 channels
----[Information] ChannelPositionsString2: 3/2/0.1
----[Information] BitRateMode: CBR
----[Information] Delay: 360.000
----[Information] Title:
----[Information] Language:
----[Information] LanguageString: Danish
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Text
----[Information] ID:
----[Information] StreamOrder: 0
----[Information] Codec:
----[Information] CodecString: Vobsub
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString: Danish
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Text
----[Information] ID:
----[Information] StreamOrder: 1
----[Information] Codec:
----[Information] CodecString: Vobsub
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString: Finnish
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Text
----[Information] ID:
----[Information] StreamOrder: 2
----[Information] Codec:
----[Information] CodecString: Vobsub
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString: Norwegian
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Text
----[Information] ID:
----[Information] StreamOrder: 3
----[Information] Codec:
----[Information] CodecString: Vobsub
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString: Swedish
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Text
----[Information] ID:
----[Information] StreamOrder: 4
----[Information] Codec:
----[Information] CodecString: Vobsub
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString: English
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
---[Information] Text
----[Information] ID:
----[Information] StreamOrder: 5
----[Information] Codec:
----[Information] CodecString: Vobsub
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString: English
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
-[Error] Unhandled error
--[Information] [16-02-2013 18:06:09] Exception message
---[NoImage] Index was out of range. Must be non-negative and less than the size of the collection.
---[NoImage] Parameter name: index
--[Information] [16-02-2013 18:06:09] Stacktrace
---[NoImage] at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
---[NoImage] at System.ThrowHelper.ThrowArgumentOutOfRangeException()
---[NoImage] at System.Collections.Generic.List`1.get_Item(Int32 index)
---[NoImage] at MeGUI.OneClickWindow.AudioResetTrack(List`1 arrAudioTrackInfo, OneClickSettings settings) in D:\MeGUI\MeGUI_SVN\packages\tools\oneclick\OneClickWindow.cs:line 1683
---[NoImage] at MeGUI.OneClickWindow.setInputData(MediaInfoFile iFile, List`1 arrFilesToProcess) in D:\MeGUI\MeGUI_SVN\packages\tools\oneclick\OneClickWindow.cs:line 428
---[NoImage] at MeGUI.packages.tools.oneclick.OneClickProcessing.getInputDVDBased(OneClickSettings oSettings) in D:\MeGUI\MeGUI_SVN\packages\tools\oneclick\OneClickProcessing.cs:line 157
---[NoImage] at MeGUI.packages.tools.oneclick.OneClickProcessing..ctor(OneClickWindow oWindow, String strFileOrFolderName, OneClickSettings oSettings, LogItem oLog) in D:\MeGUI\MeGUI_SVN\packages\tools\oneclick\OneClickProcessing.cs:line 44
---[NoImage] at MeGUI.OneClickWindow.openInput(String fileName) in D:\MeGUI\MeGUI_SVN\packages\tools\oneclick\OneClickWindow.cs:line 380
---[NoImage] at MeGUI.OneClickWindow.input_SelectionChanged(Object sender, String val) in D:\MeGUI\MeGUI_SVN\packages\tools\oneclick\OneClickWindow.cs:line 315
---[NoImage] at MeGUI.core.gui.NiceComboBox.set_SelectedItem(NiceComboBoxItem value) in D:\MeGUI\MeGUI_SVN\core\gui\NiceComboBox.cs:line 106
---[NoImage] at MeGUI.core.gui.StandardAndCustomComboBox.set_SelectedObject(Object value) in D:\MeGUI\MeGUI_SVN\core\gui\StandardAndCustomComboBox.cs:line 291
---[NoImage] at MeGUI.OneClickWindow.setInput(String strFileorFolderName) in D:\MeGUI\MeGUI_SVN\packages\tools\oneclick\OneClickWindow.cs:line 352
---[NoImage] at MeGUI.MainForm.openOneClickFile(String fileName) in D:\MeGUI\MeGUI_SVN\core\gui\MainForm.cs:line 626
---[NoImage] at MeGUI.MainForm.openDGIndexFile(String fileName) in D:\MeGUI\MeGUI_SVN\core\gui\MainForm.cs:line 619
---[NoImage] at MeGUI.MainForm.openFile(String file) in D:\MeGUI\MeGUI_SVN\core\gui\MainForm.cs:line 679
---[NoImage] at MeGUI.MainForm.mnuFileOpen_Click(Object sender, EventArgs e) in D:\MeGUI\MeGUI_SVN\core\gui\MainForm.cs:line 495
---[NoImage] at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
---[NoImage] at System.Windows.Forms.MenuItem.MenuItemData.Execute()
---[NoImage] at System.Windows.Forms.Command.Invoke()
---[NoImage] at System.Windows.Forms.Command.DispatchID(Int32 id)
---[NoImage] at System.Windows.Forms.Control.WmCommand(Message& m)
---[NoImage] at System.Windows.Forms.Control.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.ContainerControl.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.Form.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
---[NoImage] at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
---[NoImage] at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--[Information] [16-02-2013 18:06:09] Inner exception: null



Best regards.

Zathor
16th February 2013, 18:33
Strange, but next try:
http://www.mediafire.com/?tu5b5vmdrzzn5bb

soehest
16th February 2013, 19:44
Strange, but next try:
http://www.mediafire.com/?tu5b5vmdrzzn5bb

Much better it seems. No more crashing and it seems to be working now, only did a quick test using the default fresh install options. Can i ask what the problem was? I did retest old (2237) just to be sure i wasn't doing anything odd and the old version do work. Thanks for the quick fix :-)

While we are at bugs on fresh installs. Noticed this some time ago but never mentioned it. It will always use --crf 0 if you do not visit the encoder settings. Find this a bit odd as the default is 20: Was driving me insane as i thought there was a x264 regression producing large files :D


--[Information] [16-02-2013 19:43:49] Job commandline: "C:\Rip\MeGUI\tools\x264\avs4x264mod.exe" --crf 0 --partitions p8x8,b8x8,i4x4 --qpfile "D:\rip\NORDKRAFT_nosplitting\VIDEO_TS\oxgeyeym.0rx\VTS_01 - Chapter Information.qpf" --output "D:\rip\NORDKRAFT_nosplitting\VIDEO_TS\oxgeyeym.0rx\VTS_01_1_Video.264" "D:\rip\NORDKRAFT_nosplitting\VIDEO_TS\oxgeyeym.0rx\VTS_01_3.avs"



Best regards

Zathor
17th February 2013, 12:05
Thanks, fixed both things in 2296. Please try it. If everything is fine I push that also out as stable build.

Tiny Mud
17th February 2013, 12:07
Well I built a new OS Platform ASUS P8Z68-V Pro GEN3 / i7 2700k with 16G's of Samsung MV-3V4G3D-US_DDR3 and loaded it with Win7 x64 SP1 Ultimate UpDated it and of course wanted to get the latest version of MeGUI v2294 working.

MeGUI worked wonderful on my old GA-7N400 Pro2 (rev2) running an AMD 3200 Barton and 2G's of DDR with Win7 x86 SP1 loaded; however, its just too Slow by to days standards.

Well you guest it I'm having big issues with AVISource AVS Script Creator in MeGUI.

My Source Files are a number of 1.9G 720*296 (2.40:1) 30fps PIC Video 3 mJpeg / 1411.2 Kbps 44.1KHz 16 Bit 2 Chnl PCM (Little/Signed) Screen Captures.

I had no problems with my old Win7 32 bit Platform Appending and Editing these files with either VirtualDub or VirtualDubMOD to get them ready to encode to a Single File H264/HE-AAC.MKV using AVISource AVS Script Creator in MeGUI with the Win7 32 bit platform.

The AVS Script looks like this:

AVISource("I:\(Studio_NT)\[PPS RIP]\Part_1.avi", "I:\(Studio_NT)\[PPS RIP]\Part_2.avi", "I:\(Studio_NT)\[PPS RIP]\Part_3.avi", "I:\(Studio_NT)\[PPS RIP]\Part_4.avi", "I:\(Studio_NT)\[PPS RIP]\Part_5.avi", "I:\(Studio_NT)\[PPS RIP]\Part_6.avi", "I:\(Studio_NT)\[PPS RIP]\Part_7.avi", audio=false).AssumeFPS(24,1)
#deinterlace
#crop
#resize
#denoise

Of course that's for a 24fps Capture. The Old Platform could do 24fps but this new platform can easily do 30. I create a X264 Video File and a separate encode to make the single WAV into HE-ACC then use MeGUI's MKV Muxer to produce the final AVC/HE-AAC.MKV file.

Both the Win7 x86 and x64 platforms are Identically loaded with the same Codecs and Filters - However: MeGUI CRASHES on the Win7 x64 Platform after loading the AVI Source File into AVS Script Creator upon clicking on the "AviSource" tab.

Zoom Player will Play any thing I throw at it on Win7 x64.

Even if I make my own AVS / AVISource Script Files in Win7 x64 MeGUI will Crash when I attempt to Load them.

It's as if I lost all support for AviSynth, AviSource and DirectShowSource files to encode x264.

I done a lot of reading about this issue and can usually come up with a FIX but I'm about at wit's end over this one.

I'm seriously thinking about dumping Win7 x64 and loading Win7 x86 but what a waste of 16G's of Ram - LOL

Any help will be greatly appreciated.

PS: MeGUI's File Indexer does seem work on the Win7 x64 platform for single AVI file encodes but then how do I Script multiple File Merge in FFVideoSource ? - I suppose I could use MKVmerge but it's not what I'm really after.

Zathor
17th February 2013, 12:26
Please provide the error message and the log file.

Tiny Mud
17th February 2013, 15:19
Error message:

MeGUI has stopped working

A problem caused the program to stop working
correctly, Please close the Program

Close the Program
Debug the program



Log File: The Crash generates no log file in MeGUI/Logs Directory


I'm wondering if I should Un-Install MeGUI and build her up fresh again.

Abdelhachim
17th February 2013, 16:21
Hi,

I noticed 2 issues in the 2287 version of MeGui...

1. OneClick : The Aspect Ratio is not properly detected and set to 1... I still can force it after selecting a file and before launching the encode... But there is no workaround when processing a whole folder...

2. OneClick : When Processing Interlaced videos, The Field Order is improperly set... I Encode using xvid with -interlaced 2 option (TFF)... On prior version (up to 2237), the output was properly configured and videos worked fine on my TV... On the last Version (2287) some videos seems to have their field order inversed...

Thank you in advance
Abdel

Zathor
17th February 2013, 17:00
Error message:

MeGUI has stopped working

A problem caused the program to stop working
correctly, Please close the Program

Do you have an option there for more information? Likely a filter/codec is missing. Are you able to open the AVS file with VirtualDub x86 (not the x64 one!).
Uninstall/Reinstall will very likely not help.
Also please upload the log file even when there is no crash message. I am interested in the version information.

I noticed 2 issues in the 2287 version of MeGui...
Please update to 2296 (on the development update server). Also please upload the logs and sample files.

misagh72
17th February 2013, 17:05
how to use SSSharp code on megui ?

soehest
17th February 2013, 17:11
Thanks, fixed both things in 2296. Please try it. If everything is fine I push that also out as stable build.

Gave it a quick test run. Inital issue (crashing on index is fixed) but still uses --crf 0

Installed 2287. Updated to 2296 using developemt server.


--[Information] [17-02-2013 17:03:46] Job commandline: "C:\rip\Megui\tools\x264\avs4x264mod.exe" --crf 0 --partitions p8x8,b8x8,i4x4 --qpfile "D:\rip\NORDKRAFT_nosplitting\VIDEO_TS\5cbcii3o.zwj\VTS_01 - Chapter Information.qpf" --output "D:\rip\NORDKRAFT_nosplitting\VIDEO_TS\5cbcii3o.zwj\VTS_01_1_Video.264" "D:\rip\NORDKRAFT_nosplitting\VIDEO_TS\5cbcii3o.zwj\VTS_01_3.avs"
--[Information] [17-02-2013 17:03:46] Encoding started


Best regards

Zathor
17th February 2013, 17:14
but still uses --crf 0
Installed 2287. Updated to 2296 using developemt server.

Do you have started 2287 inbetween (very likely you have done so in order to update to 2296)? If yes, the problem is not fixed as the wrong value is already applied. You have to install 2287 and copy 2296 on top of it (or wait until 2296 is used on the stable server). Do not start MeGUI beforfe you have 2296 - or delete the x264 profiles...
http://megui.org/auto/megui-core_2296.zip

soehest
17th February 2013, 17:26
Do you have started 2287 inbetween (very likely you have done so in order to update to 2296)? If yes, the problem is not fixed as the wrong value is already applied. You have to install 2287 and copy 2296 on top of it (or wait until 2296 is used on the stable server). Do not start MeGUI beforfe you have 2296 - or delete the x264 profiles...
http://megui.org/auto/megui-core_2296.zip

I did run it first, as you said to update to 2296 ;-) Just retried but problem still persists:
Cleaned out dir. Installed 2287. Installed the linked 2296 into the dir and did not start 2287. Still --crf 0 :/

Zathor
17th February 2013, 17:32
Mhm, it is working on my side. Please follow these steps:
- Install 2296 (does not matter how)
- Start it
- Delete all jobs in the queue (if there are any)
- Close MeGUI
- Delete the allprofiles directory
- Start MeGUI again
- Try to reproduce --crf 0

EDIT: If it still fails I need all your steps of "Try to reproduce --crf 0"

Abdelhachim
17th February 2013, 17:35
Please update to 2296 (on the development update server). Also please upload the logs and sample files.

I have updated to 2296... I still have the aspect ratio issue (see log.txt).

I didn't yet tested the Field Order issue...

soehest
17th February 2013, 17:56
- Try to reproduce --crf 0

EDIT: If it still fails I need all your steps of "Try to reproduce --crf 0"

I can't reproduce after removing the allprofiles dir:


--[Information] [17-02-2013 17:48:54] Job commandline: "C:\rip\Megui\tools\x264\avs4x264mod.exe" --crf 20 --qpfile "D:\rip\NORDKRAFT_nosplitting\VIDEO_TS\1n2euec0.nsc\VTS_01 - Chapter Information.qpf" --output "D:\rip\NORDKRAFT_nosplitting\VIDEO_TS\1n2euec0.nsc\VTS_01_1_Video.264" "D:\rip\NORDKRAFT_nosplitting\VIDEO_TS\1n2euec0.nsc\VTS_01_3.avs"
--[Information] [17-02-2013 17:48:54] Encoding started


Looking at x264_dp_ _st_scratchpad_st_.xml before deletion:
<QuantizerCRF>0</QuantizerCRF>
After deletion it will be set to:
<QuantizerCRF>20</QuantizerCRF>

Best regards

Tiny Mud
17th February 2013, 18:52
Well evidentially I can not make an AVS File with AVS Script Creator but I can open the avi.avs file generated by the File Indexer with both VirtualDub, VirtualDubMOD and Zoom Player will play both the avi.avs and track_1_.avs.


I made the following "Part_1.AVS" File with notepad:

AVISource("H:\(Studio_NT)\Part_1.avi", audio=false).AssumeFPS(30000,1001)
#deinterlace
#crop
#resize
#denoise


virtualDub, VirtualDubMOD and Zoom Player opened it just fine so it doesn't appear to be a codec or filter issue.



VirtualDubMOD generated this "Part_1--default.avs" file in the process:

#ASYNTHER Default (AVISource)
AVISource("H:\(Studio_NT)\Part_1.avs")



When I try to open either the "Part_1.avs or " or "Part_1--default.avs" with MeGUI - Megui CRASHES.

Here are the MeGUI log files for each incident.

1 - Attempting to open AVISource with AVS Script Creator - MeGUI CRASHES:

Preliminary log file only. During closing of MeGUI the well formed log file will be written.

-[Information] Versions
--[Information] [17/02/2013 12:34:26 PM] MeGUI: 2294
--[Information] [17/02/2013 12:34:26 PM] Operating System: Windows 7 Ultimate Edition x64 SP1 (6.1.65536.7601)
--[Information] [17/02/2013 12:34:26 PM] .Net Framework: 4.0 (4.0.30319)
--[Information] [17/02/2013 12:34:26 PM] AviSynth: 2.5.8.5 (21/12/2008 9:46:54 PM)
--[Information] [17/02/2013 12:34:26 PM] AvisynthWrapper: 02/01/2009 8:34:04 PM
--[Information] [17/02/2013 12:34:26 PM] Haali Matroska Splitter: 1.9.42.1 (10/01/2009 10:17:14 PM)
--[Information] [17/02/2013 12:34:26 PM] Haali DSS2: 10/01/2009 10:15:32 PM
--[Information] [17/02/2013 12:34:26 PM] ICSharpCode.SharpZipLib: 0.85.5.452 (08/08/2008 3:31:12 AM)
--[Information] [17/02/2013 12:34:26 PM] LinqBridge: 1.0.0.0 (28/05/2009 8:24:34 AM)
--[Information] [17/02/2013 12:34:26 PM] MediaInfo: 0.7.61.0 (21/10/2012 4:29:05 PM)
--[Information] [17/02/2013 12:34:26 PM] MediaInfoWrapper: 0.7.61.0 (06/01/2013 2:47:15 PM)
--[Information] [17/02/2013 12:34:26 PM] MessageBoxExLib: 1.0.2218.28317 (20/12/2008 3:53:04 AM)
--[Information] [17/02/2013 12:34:26 PM] SevenZipSharp: 0.64.3890.29348 (02/01/2011 5:59:32 PM)
--[Information] [17/02/2013 12:34:26 PM] 7z: 9.20 (18/11/2010 11:27:34 PM)
-[Information] Update detection
--[Information] [17/02/2013 12:34:26 PM] Connecting to server: http://megui.org/auto/
--[Information] [17/02/2013 12:34:26 PM] There is 1 file which can be updated.





2 - Attempting to open my "Part_1.avs" file - MeGUI HANGS and prrocess has to
be ended in TaskMgr:


Preliminary log file only. During closing of MeGUI the well formed log file will be written.

-[Information] Versions
--[Information] [17/02/2013 12:36:54 PM] MeGUI: 2294
--[Information] [17/02/2013 12:36:54 PM] Operating System: Windows 7 Ultimate Edition x64 SP1 (6.1.65536.7601)
--[Information] [17/02/2013 12:36:54 PM] .Net Framework: 4.0 (4.0.30319)
--[Information] [17/02/2013 12:36:54 PM] AviSynth: 2.5.8.5 (21/12/2008 9:46:54 PM)
--[Information] [17/02/2013 12:36:54 PM] AvisynthWrapper: 02/01/2009 8:34:04 PM
--[Information] [17/02/2013 12:36:54 PM] Haali Matroska Splitter: 1.9.42.1 (10/01/2009 10:17:14 PM)
--[Information] [17/02/2013 12:36:54 PM] Haali DSS2: 10/01/2009 10:15:32 PM
--[Information] [17/02/2013 12:36:54 PM] ICSharpCode.SharpZipLib: 0.85.5.452 (08/08/2008 3:31:12 AM)
--[Information] [17/02/2013 12:36:54 PM] LinqBridge: 1.0.0.0 (28/05/2009 8:24:34 AM)
--[Information] [17/02/2013 12:36:54 PM] MediaInfo: 0.7.61.0 (21/10/2012 4:29:05 PM)
--[Information] [17/02/2013 12:36:54 PM] MediaInfoWrapper: 0.7.61.0 (06/01/2013 2:47:15 PM)
--[Information] [17/02/2013 12:36:54 PM] MessageBoxExLib: 1.0.2218.28317 (20/12/2008 3:53:04 AM)
--[Information] [17/02/2013 12:36:54 PM] SevenZipSharp: 0.64.3890.29348 (02/01/2011 5:59:32 PM)
--[Information] [17/02/2013 12:36:54 PM] 7z: 9.20 (18/11/2010 11:27:34 PM)
-[Information] Update detection
--[Information] [17/02/2013 12:36:54 PM] Connecting to server: http://megui.org/auto/
--[Information] [17/02/2013 12:36:54 PM] There is 1 file which can be updated.



and finally ;o)



3 - Attempting to open VirtualDubMOD's generated "Part_1--default.avs" file:

I get a Megui current position window 120/239 saying:

Evaluate: System exception - Access Violation
(H:\(Studio_NT)\Part_1.avs, line1)


[Information] Log
-[Information] Versions
--[Information] [17/02/2013 12:39:57 PM] MeGUI: 2294
--[Information] [17/02/2013 12:39:57 PM] Operating System: Windows 7 Ultimate Edition x64 SP1 (6.1.65536.7601)
--[Information] [17/02/2013 12:39:57 PM] .Net Framework: 4.0 (4.0.30319)
--[Information] [17/02/2013 12:39:57 PM] AviSynth: 2.5.8.5 (21/12/2008 9:46:54 PM)
--[Information] [17/02/2013 12:39:57 PM] AvisynthWrapper: 02/01/2009 8:34:04 PM
--[Information] [17/02/2013 12:39:57 PM] Haali Matroska Splitter: 1.9.42.1 (10/01/2009 10:17:14 PM)
--[Information] [17/02/2013 12:39:57 PM] Haali DSS2: 10/01/2009 10:15:32 PM
--[Information] [17/02/2013 12:39:57 PM] ICSharpCode.SharpZipLib: 0.85.5.452 (08/08/2008 3:31:12 AM)
--[Information] [17/02/2013 12:39:57 PM] LinqBridge: 1.0.0.0 (28/05/2009 8:24:34 AM)
--[Information] [17/02/2013 12:39:57 PM] MediaInfo: 0.7.61.0 (21/10/2012 4:29:05 PM)
--[Information] [17/02/2013 12:39:57 PM] MediaInfoWrapper: 0.7.61.0 (06/01/2013 2:47:15 PM)
--[Information] [17/02/2013 12:39:57 PM] MessageBoxExLib: 1.0.2218.28317 (20/12/2008 3:53:04 AM)
--[Information] [17/02/2013 12:39:57 PM] SevenZipSharp: 0.64.3890.29348 (02/01/2011 5:59:32 PM)
--[Information] [17/02/2013 12:39:57 PM] 7z: 9.20 (18/11/2010 11:27:34 PM)
-[Information] Update detection
--[Information] [17/02/2013 12:39:57 PM] Connecting to server: http://megui.org/auto/
--[Information] [17/02/2013 12:39:57 PM] There is 1 file which can be updated.



All logs are the same. It's as if AviSynth ain't doing nothing either. I Re-Installed AviSynth a few times and NOTHING.

Zathor
17th February 2013, 19:11
When you see the crash window from .NET usually there is an option or link to get more information. Please post this information.

Tiny Mud
17th February 2013, 20:11
Gads I feel stupid today kinda thought that's the Log you wanted - I have Error Reporting disabled - Will put it back online and recreate the incidents - Sorry Man.

I believe this is what you want:

- System

- Provider

[ Name] Application Error

- EventID 1000

[ Qualifiers] 0

Level 2

Task 100

Keywords 0x80000000000000

- TimeCreated

[ SystemTime] 2013-02-17T19:28:42.000000000Z

EventRecordID 9074

Channel Application

Computer LOKI

Security


- EventData

MeGUI.exe
1.0.2294.0
5117b1c7
unknown
0.0.0.0
00000000
c0000005
09a84e10

Seems Doom9 Forums will not allow you to log-in from a different PC - Its got me rotating a USB Flash with the Info from one PC to the other.

More Thoughts:

I used MeGUI "megui-0.3.1.1056-setup.exe" to build the Win7 32-Bit platform and have not had problems. I used the same installer on the Win7 64-Bit platform then rather then using the Developers UpDate I over-wrote the installation with my Win7 32-Bit installation of MeGUI. When I opened the Over-Write MeGUI picked up the Developers UpDate and averything seem OK.

I'm starting to think the Over-Write from a 32-Bit PC may have something to do with MeGUI Crashing over Creating AviSource AVS Files as it doesn't seem to recognize AviSynth. I noted that Win7 x64 didn't respond to 1/2 my Script Files from the 32-Bit Win7 system and I had to rewrite them on the Win7 64-Bit OS even though they where Identical to the 32-Bit version.

My other AviSynth apps like VirtualDub and VirtualDubMod which use AVS files work just fine as so do all my TMPGEnc apps - It's only MeGUI that I'm having issue with.

It may not make sense but I think I will Un-Install MeGUI and build the app up using the Developer's Up Date Site as there very well just might be a broken MeGUI link to AviSynth in the procedure I used.

StainlessS
18th February 2013, 13:28
Seems Doom9 Forums will not allow you to log-in from a different PC - Its got me rotating a USB Flash with the Info from one PC to the other.


Perhaps I misunderstand, but I sometimes log in via a touchpad as well as a PC (EDIT: several PCs) without any problems, think I did this simultaneously at some point.
I believe only 1 account permitted, but from which PC is not an issue. Also, I have a dynamic IP address so is not fixed to only one IP.
Perhaps you have just made the assumption that it is not allowed, give it a try.

EDIT: I'm permanently logged in on both my No 1 PC and Touchpad.

Zathor
18th February 2013, 20:47
I have updated to 2296... I still have the aspect ratio issue (see log.txt).
Thx, this will be fixed in 2297.
EDIT: online

Tiny Mud
19th February 2013, 09:22
I originally installed megui-0.3.1.1056-setup.exe to C:\Program Files (86)\MEDIA STUDIO\VIDEO\3_ENCODERS\MeGUI just to have the entry in the Registry and Programs and Features. I deleted the contents of the installed directory saving the Uninstall.exe and the ICO then extracted v2296 into the directory.

NO GO - MeGUI still Crashed after clicking on AVS Script Creator/AVISource button when opening a mJpeg/PCM.AVI.

Ran the Developer UpDater to v2297 - Still CRASHED

OK I'm thinking it's an AviSynth Issue with x64 and know MeGUI has a Portable AviSynth module - so I Un-Install AviSynth 2.5.8 ReBoot and try it again but still MeGUI Crashed.

OK I UnInstall MeGUI Using Program and Features from the Program Files (86) Directory and ReBoot then extract a copy of MeGUI 2297 into C:\MeGUI and Run MeGUI as Administrator - MeGUI still Crashed trying to create an AVS Script.

ReBoot, Re-Install AviSynth 2.5.8 to C:\AviSynth ReBoot and try again to Create an AVS Script through MeGUI - Still MeGUI Crashed - with or with out opening with Administer Rights.

VirtualDub and VirtualDubMOD will open a Jpeg/PCM.AVI through my own AVS Script but MeGUI will Crash opening the script.

Zplayer opens and plays anything I throw at it so I don't think this is a Codec or Filter issue.

I really need to get MeGUI to Create AVS Script Files - at least be able to Open them on my Win7 x64 platform - MeGUI works great on my Win7 32-Bit Platform. Every other Application I've loaded on this Win7 x64 Platform works great except for MeGUI


This is all I get from Win7 x64 Event Viewer log:

Log Name: Application
Source: Application Error
Date: 19/02/2013 2:45:59 AM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: LOKI
Description:
Faulting application name: MeGUI.exe, version: 1.0.2297.0, time stamp: 0x512290f0
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x09fede10
Faulting process id: 0x%9
Faulting application start time: 0x%10
Faulting application path: %11
Faulting module path: %12
Report Id: %13
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2013-02-19T07:45:59.000000000Z" />
<EventRecordID>9667</EventRecordID>
<Channel>Application</Channel>
<Computer>LOKI</Computer>
<Security />
</System>
<EventData>
<Data>MeGUI.exe</Data>
<Data>1.0.2297.0</Data>
<Data>512290f0</Data>
<Data>unknown</Data>
<Data>0.0.0.0</Data>
<Data>00000000</Data>
<Data>c0000005</Data>
<Data>09fede10</Data>
</EventData>
</Event>


This tells me NOTHING but it appears MeGUI is not recognizing AviSynth on my Win7 x64 platform.

What does MeGUI need different in Win7 x64 compared to Win7 x86 in order to create and recognize AVS Scripts?

soehest
19th February 2013, 14:43
Back to testing now at 2296. As allprofiles has now been removed from the zip file i find that allprofiles directory will never populate with the presets found before. Only scratchpad options are available. e.g i no longer have presets for nero aac besides the default scratchpad options. Am i missing something?

Best regards

Tiny Mud
19th February 2013, 16:02
I still have my allprofiles working with MeGUI 2297 but I've another issue - LOL

I've read and read until my mind is a blur and most agree that there is a problem with AviSynth and Win7 [64]

Some say it's AviSynth 2.58 and AviSynth 2.57 is OK - Neither work for me; but isn't MeGUI's Portable AviSynth suppose to do it without AviSynth installed?

It seems Lord Mulder has a FIX for M2TS Piping but what about Piping AVISource and DirectShowSource for AVI Files. Sish! Really what could be so Simple after all, it was MicroSoft that emphasized Direct Show.

Is there anyone running Win7 SP1 [64] that can use MeGUI to create a Simple AVISource or DirectShowSource AVS Script File or have MeGUI use an AVS Script File in reference to AVI Files for x264 Encoding with out MeGUI crashing? If so, I would be very grateful to know just how you did it. Please - Please ;o)

Kurtnoise
19th February 2013, 17:01
@Tiny Mud :

1/ Open your AVI through MediaInfoGUI and copy the result here.

2/ Upload a sample of your input somewhere...Hence, we can test on your side.

Morku
19th February 2013, 18:09
2297 [MediaInfo] fixed wrong aspect ratio in some cases
Ironically, since that version the aspect ratio of my converted video is wrong.
In my script I have:
global MeGUI_darx = 93
global MeGUI_dary = 68

After conversion my video was played (MPC-HC) as 5:4. Also MediaInfo says 5:4. I switched back to 2296 and everything is fine. (Video with 720x576 converted to mkv with x264 and LAME)

Tiny Mud
19th February 2013, 20:29
I'll do you better then showing you just one Source AVI Format.

Platform Win7 SP1 [64]

MeGUI will Open and Create AVS Scrips when clicking AviSource for:

MS mPeg4/MP3.AVI, MS mPeg4(v2)/AC3.AVI, XviD mPeg4/AC3.AVI,
DivX mPeg4/Vorbis-Ogg.OGM, Sorenson Spark FLV-1/MP3.FLV

mPeg1/MP2.MPG


MeGUI will Crash when clicking AviSource for:

XviD mPeg4/MP3.AVI, DivX mPeg4/AC3.AVI, DivX mPeg4/PCM.AVI,
IV5 Indeo 4/PCM.AVI,

AVC-x264/LC & HE-AAC.MP4 and MKV

mPeg2/AC3.mpeg (Lord Mulder's M2TS Fix?)


The Failure of these next 2 really get me as these are Basic Formats used in Video Capture and Editing.
MeGUI works just fine for these two in Win7 SP1 [32]

Pegasus PicVideo or Morgan v3 mJpeg/PCM.AVI and Huffyuv/PCM.AVI


Script Error for: VR9 VC-1(WM3)/AC3.AVI


ZPlayer and VirtualDub will open AVISource for all of the above why can't Megui. Am I missing something perhaps a Filter specific for MeGUI on Win7 [64] ?

I even Over-Wrote the Fresh Win7 SP1 [64] installation using UpGrade thinking something was Broke in Windows but to no avail.

I gotta take a Break - Going for a Walk and perhaps buy a 6-PAC -LOL

Zathor
19th February 2013, 21:37
Ironically, since that version the aspect ratio of my converted video is wrong.
In my script I have:
global MeGUI_darx = 93
global MeGUI_dary = 68

After conversion my video was played (MPC-HC) as 5:4. Also MediaInfo says 5:4. I switched back to 2296 and everything is fine. (Video with 720x576 converted to mkv with x264 and LAME)

Please post the full log of the conversion process.

Zathor
19th February 2013, 21:55
Back to testing now at 2296. As allprofiles has now been removed from the zip file i find that allprofiles directory will never populate with the presets found before. Only scratchpad options are available. e.g i no longer have presets for nero aac besides the default scratchpad options. Am i missing something?
Thx for the hint. Just uploading a new ZIP for 2296 including the missing profiles

Morku
19th February 2013, 22:12
Here my log.

EDIT: I tried to reproduce the problem. Same video, same settings, version 2297, but now the final video is correct. Maybe the reason was, I added the job in 2296 and started with 2297. Who knows.

Zathor
19th February 2013, 23:23
While waiting for the approval for your log I played a little bit with anamorph AVS scripts. They do not report the correct AR since somewhere between 2237 and 2287. I have already most ports of a fix and it will likely be release in the next 48 hours.

LigH
20th February 2013, 08:39
@ Tiny Mud:

You have some strange habit of formatting MPEG... :rolleyes:

Why do you think Kurtnoise asked you to alanyze the files which don't work using MediaInfo? Don't you believe there is a reason? We want to be certain. Everyone can take any random file (may it be e.g. a ZIP archive), rename it to "Xvid+AC3.avi", and any media player or converter will fail. You cannot trust file names. You cannot be certain that a file named *.avi has the content and the structure an AVI file should have. MediaInfo can tell us what the content and structure is.

And even if the structure is correct ... AviSynth expects complete sources. It is not very tolerant about "files with holes". Your large variety of available formats might suggest that your sources are not very reliable. Incomplete and corrupted content is quite common in files from sources addressed by Forum Rule #6.

Another reason of such selective issues may be that one installed some "Super Duper Codecpack" which messed the general media interfaces of Windows; it could have been avoidable by installing only original VfW codecs or DirectShow filters, where ffdshow or LAV lack of comprehensive open-source implementations.

But MeGUI seems to get part of the blame too. You said you were able to open an MPEG file via AviSource? :scared: IMPOSSIBRU! – So I can only imagine that the created script instead used DirectShowSource() instead of AviSource(). A quite different technology. I remember this behaviour from an older version of MeGUI; newer versions switch the button text already.

You may be more successful trying the File Indexer with the FFmpegSource option, instead of AviSource or DirectShowSource. FFmpegSource is an AviSynth native decoder, it does not depend on the VfW codecs or DirectShow filters installed in your system. But it works best with MKV files as input. Converting a variety of sources to MKV first, using MKVmergeGUI, may require more space for the copy, but has an advantage of pre-checking for incompleteness, corruption, and possibly fixing minor issues, making a more reliable source file to process.

Tiny Mud
20th February 2013, 12:33
You have some strange habit of formatting MPEG..

I thank you for you advise to use File Indexing and MKVmerge_GUI but that should not be necessary using mJpeg/PCM.avi Source Files and AVISource as it should work in Win7 [64].

I've been Encoding since Win95 days and yes I got a Collection.

MPG was the original DSS and all we had where mpg encoders like TMPGEnc or MainConcept mpg Encoders.

In 98 MS released a hidden file on the Win98 Golden Edition named mpg4c32.dll that revelutionized AVI encoding to mpeg4 which in turn evolved into H264 AVC. Today DVD and Theaders are about the only industies still using M2TS.

I'm not particularily into ripping DVD. Most my Source Files where generated by Capture to mJpeg/PCM.AVI or Huff/PCM.AVI and sometimes Indeo.

Believe me my files are real, plus I do checked them using MediaInfo. I haven't used Codec Packages since WinXP. Basically I use Haali, FDDShow, specific Gabest Filters and AviSynth with Win7.

You say it's impossible for AVISource to open a mPeg container and transcode using MeGUI to X264/He-AAC.MKV. I got news for you. I suggest you make a mPeg1 or mPeg2 using old TMPGEnc with mv1 or mv2/mp2 or mp3.mpg file then tell me AVISource will not open it and make an AVS File. I'm supprized you didn't pick out the Sorenson Spark FLV1/mp3.FLV.

And here's a Lesson: AVS File generated by MeGUI when opening a mv2/mp3.mpg File using AVISource:


Step-1

LoadPlugin("D:\MEDIA Studio\VIDEO\3_ENCODERS\MeGUI\tools\avs\directshowsource.dll")
DirectShowSource("I:\(Studio_NT)\File Name.mpg", fps=29.970, audio=false, convertfps=true).AssumeFPS(30000,1001)
#deinterlace
#crop
#resize
#denoise

ConvertToYV12()


Step-2

Extract the Audio using Cool Edit or Audition and save as Wav.


Step-3

Use MeGUI to convert the WAV to HE-AAC and MUX the x264 and mp4 into a MKV


You have just transcoded a 115MB mpg to a 22MB MKV using AVISource.


I'm not about to post a whole lot of MediaInfo Charts for every Video Format I name. You just have to take my word that I'm using legitimate files when I say they are so.

My particular concern is having MeGUI Create an AVS Script/AVISource for Capture Formats such as Pegasus PIC Video v3 mJpeg/PCM.AVI or Huff Lossless/PCM.AVI in Win7 [64] as it works in Win7 [32].

I'm starting to think I may have to play around with the FDDShow configuration much more then I had to then in Win7 [32].

LigH
20th February 2013, 13:09
You say it's impossible for AVISource to open a mPeg container and transcode using MeGUI to X264/He-AAC.MKV. I got news for you. I suggest you make a mPeg1 or mPeg2 using old TMPGEnc with mv1 or mv2/mp2 or mp3.mpg file then tell me AVISource will not open it and make an AVS File.

There are two completely different things.

a) The AviSynth function AviSource() as written in a *.avs script file. Use a plain text editor; write 'AviSource("test.mpg")' and save as test.avs; try to open that in VirtualDub. Result:

---------------------------
VirtualDub Error
---------------------------
Avisynth open failure:
AVIFileSource: couldn't open file 'test.mpg'
(test.avs, line 1)
---------------------------
OK
---------------------------

b) The button "AVISource" in MeGUI. Well. You see yourself in your "lesson" to me:

LoadPlugin("D:\MEDIA Studio\VIDEO\3_ENCODERS\MeGUI\tools\avs\directshowsource.dll")
DirectShowSource("I:\(Studio_NT)\File Name.mpg", fps=29.970, audio=false, convertfps=true).AssumeFPS(30000,1001)

Surprise!

MeGUI created a script containing the function DirectShowSource().

Not the function AviSource().

When I say that the AviSynth function AviSource() can only load AVIs, neither MPGs nor FLVs, then I mean the script function. I already suggested Zathor to use a different name for a button which may insert different functions into its generated scripts, not necessarily the one the button caption suggests.

You have just transcoded a 115MB mpg to a 22MB MKV using AVISource.

Pressing a button with the text "AVISource". But executing an AviSynth script containing the function DirectShowSource().

The unnecessary detour via sample editor and WAV file shall not be a topic here; it would have been possible to process the audio stream of the MPEG file directly.

My particular concern is having MeGUI Create an AVS Script/AVISource for Capture Formats such as Pegasus PIC Video v3 mJpeg/PCM.AVI or Huff Lossless/PCM.AVI in Win7 [64] as it works in Win7 [32].

I'm starting to think I may have to play around with the FDDShow configuration much more then I had to then in Win7 [32].

Possible. To be able to load AVIs with AviSource, a matching VfW ICM codec needs to be installed which is able to decode the video stream (FourCC 'mjpg' or 'hfyu'), that shall be ffdshow, but their VfW decoders have to be enabled in the VfW Codec Configuration of your ffdshow (Win32 installation). If not, another original VfW codec has to be installed already.

FFmpegSource2 should also be able to read MJPG/PCM or HFYU/PCM AVIs. But I remember issues with some uncompressed AVIs and the indexer...

Weirdo
20th February 2013, 17:35
I'm trying to use vobsub.dll for creating burn-in subtitles with MeGUI from an .srt file. All good, but is there a way to access vobsub's.dll properties for changing subtitle transparency? I somehow recall this was possible. Using LoadPlugin("...VSFilter.dll") and TextSub(".srt").

Zathor
20th February 2013, 20:52
When I say that the AviSynth function AviSource() can only load AVIs, neither MPGs nor FLVs, then I mean the script function. I already suggested Zathor to use a different name for a button which may insert different functions into its generated scripts, not necessarily the one the button caption suggests.
I am lost a little bit in the whole discussion. Is there still a button with the wrong name? I thought I had changed that a while ago.

Tiny Mud
20th February 2013, 21:33
I am lost a little bit in the whole discussion. Is there still a button with the wrong name? I thought I had changed that a while ago

Well that Button sure had me Spoofed now I know Better - Use the File Indexer Button - ROLF

After reviewing what I've written and your replies in this forum, I've come to the conclusion that MS has Written more Copy Right Protection into Win7 [64] then Win7 [32]

Very much like when we lost Recording from "What You Hear" after WinXP.

Just look at the Source Examples I've shown as to what files MeGUI can accept or not accept for Creating AVS Scripts under AviSource.

You will note a Pattern with the exception of some XviD/Audio combinations were only MicroSoft Encoders will allow MeGUI to Create AVS Scripts.

With this in mind I went about it this way.

I need a MS Capture Codec. Guess What? I resurrected "mpg4c32.dll from the Win98 Gold Edition.

Win7 [64], unlike Win7 [32], by MS Instruction doesn't permit the installation of this Codec - The Stinkers, so I installed it through CMD to System32.

I'm presently constructing a Screen Capture Utility and the Principle App will only write 1.9G's of AVI before resetting to append or corrupt AVI's if going over 1.9G's (That's why I was stuck on Merging AVI Parts through AVISource Scripts or as suggested use the File Indexer and merge a series of MKV's with MKVmerge_GUI: BUT in my opinion AVISource DSS should still work for AVI)

I'm using a VGA Monitor with the Refresh Rate set as high as possible for that Monitor. 75 to 80Hz with a 1024x768 Res should be good enough. I believe VGA Monitors have smaller pixels then LCD - Right? However, you should have descent results with a LCD as well. I also set the Screen Recorder Priority Above Normal to ensure a steady 30FPS Capture.

Here are my results: Screen Capture at 720x296 Res - 30FPS with MS-MP4 v2 Configured: VKI 1 sec - Sharpness 100% ( I think 97% would be better) and 4000Kbps (you could probably slide it right over to full capacity for Max-Bitrate as there is no way you will create an avi larger then 1.9G's unless the Flic is over 3hrs). Resulted in a 1.68G 784Kbps MS_mPeg4/44.1Hz PCM.AVI (MS-MP4 v2 / 720x296 / 30FPS / 1:49:00 (109mins) / 196217 Frames) for a PPS Movie.

MeGUI Created the AVS AVISource Script for x264 encoding.

To establish an Audio Track Volume, I 1st Encoded the Audio with MeGUI to Nero HE-AAC 64 Kbps resulting in a 50.4MB mp4 File.

My Goal; for example, is to fit a MKV on to a 703MB CD.

With a little calculation I choose a 835kbps x264 BitRate.

After 15mins of work I ended up with a 702MB MKV ;o)

I realize the 835Kbps is an over kill but I wanted to show a Desired Result and I must say it is impressive. Not too Shabby for a 1st go at it considering all the Copy Write Bull-Shit I'm discovering built into Win7 SP1 [64].

I can't believe the power of this Platform 1st Pass @ 415FPS and 2nd Pass @ 225FPS and that's using a Compressed Source. I can't wait to get that new Swift Tech H220 and perhaps a SSD.

Thanks a lot you Guys and Gals for putting up with an OLD Foggy GEEK. The argument was a success for me as I now can approach this Win7 SP1 [64] OS on the assumption if something doesn't happen the way you want, MS has Blocked it with Copy Write - That's another Story - LOL.

Been a Pleasure and Thanks again. I've learned a few more Great aspects of MeGUI.

Special Thanks to Ligh for the time taken and I will play with FDDShow VFW as I suspected.
You will have to forgive me as it's kinda in my nature to Egg when I know someone has something to teach me - I'm an addicted learner. VFW Decoders Enable Huffyuv and mJpeg - Right? (The File Indexer is just too easy)I'll be back writing AVS Merge Scripts in no time ;o)

By the way my 2nd attempt using MS MP4 v2 for Screen Capture yield a 1420Kbps 1.74G 720x392 30FPS 158,412 Frame 1:28:00 Hr Mpeg4/PCM.avi as a Source File to do whatever I want with - Trans code to AVC or say make a DVD. I'm impressed.

PS:
You Guys on Doom9 are the BEST - I'll be back when I beat this DVD Format and get into HD ;o)

Zathor
20th February 2013, 21:45
Here my log.

EDIT: I tried to reproduce the problem. Same video, same settings, version 2297, but now the final video is correct. Maybe the reason was, I added the job in 2296 and started with 2297. Who knows.
Please try 2300.

Morku
21st February 2013, 00:04
Everything fine with my example.
I will tell, if I get a problem again.

LigH
21st February 2013, 08:15
Resurrecting MS-MPG4, the non-ISO-compliant crap... and happily riding a dead horse?!

Why not using Xvid with real-time template and CQ 2 or 3?

Tiny Mud
21st February 2013, 11:18
OK

But I was basically testing out Zathor's AVISource Button and Win7 [64] Copy-Write issues.
So far I'm on the right track.

I loaded DivX Codec and Web Player on FF and was astonished the WAR over mPeg4 DS Filters is still on going.

I don't know if it's the latest version of DivX or what but when the DivX Codec is loaded Win7 [64] relinquishes it's ability to Decode DivX Encoded mPeg4. Win7 [64] will not even play DivX Encoded mPeg4 when you UN-Register the DivX the DS Filters if DivX is installed. You have to UN-Install DivX in order for Windows regain it's ability to Decode DivX mPeg4. Win7 [32] does not behave this way as you can UN-Register the DivX Direct Show Filters with DivX installed and Window Native Decoder will take over.

Geez - The Crap User's have to put up with. The only reason I loaded DivX was for the Encoder and Web Player - NOT have DivX lay claim to the Dead Horse MS-MP4 v2 which they stole to begin with.

You can tell this is my 1st time loading Win7 [64]

I made a Fantastic MKV and DVD from that 1420Kbps 1.74G 720x392 Dead Horse file.

LigH
21st February 2013, 11:55
:o You make me crazy with this "mPeg" formatting of the "MPEG = Motion Picture Expert Group" (all uppercase)...
__

DirectShow filters and their merits are a complex issue. Even more because Windows 7 already handles DirectShow as "deprecated" and prefers Media Foundation decoders in their own media players, until you use the Preferred Filter Tweaker for Windows 7 and 8 (http://codecguide.com/windows7_preferred_filter_tweaker.htm) to overrule Microsoft.

And then you have the 64 bit version, and 32 bit players will use a different set of decoders than 64 bit players.

The safer way is to use players which prefer their own, integrated decoders; VLC will use its internals only, MPC-HC has an option to disable internals and use DirectShow as alternative.

And DivX ... well. DivX is commercial. DivX is interested in being preferred. It may decide without telling you.

Xvid is interested in being accepted and convenient. It will respect your decision. It will offer itself as solution, but leave the choices to you. And it is free of charge with full features, even more than DivX.

Tiny Mud
21st February 2013, 15:19
I have always preferred XviD myself.

I have thousands of 320x240 Xvid/Ogg.ogm - I got hooked with an ATi Tv-Wonder Full version PCI with Stereo running 95B capturing Music Videos and Movies on TV. I still use it in my Win7 [32] platform. you can't beat VirtualDub for Capturing but ATV2000 can do almost as well with a nice TV interface. WinDVR does nice mPeg2.AC3.mpg captures. I actually preferred the Intervideo mPeg2 Video Decoder over most including the MS Versions when they finally decided to let us have one. I've made concoctions of Video formats over the years.

I did do that XviD unrestricted Single Pass Q2 Real Time Screen Capture and it worked real nice giving me a 1035Kbps @ 720x296 Res. It rang a Bell because I've used it in the past to no use as my Platforms were never fast enough - I got KRAFT disease. The Capture Volume is almost identical to the MS MP4 v2 but I noticed that the Rate was much more consistent then the OLD Horse.

Zathor's AVISource Button will Crash MeGUI if I attempt to create an AVS Script with that Xvid/PCM.avi (Still working on FDDShow to get it working) any ways you Guys want me to click the File Indexing button. Well it's too easy and besides I'm really getting into this war between MS and Other's over DSS. So what MS has contained and renamed it Media Foundation, it's still a sneaky marketing ploy that makes it difficult to understand why something worked yesterday and not today - I don't think I can trust the MS Update Site anymore. I've never used the MicroSoft Media Center nor MPlayer for that matter. About the only thing I assign to that marketing device is to play DVD's and then I kinda skipped CD's and DVD's when I got a Cyrix 386DX-40 that could do Direct Draw One Pixel at a time. Those where the days of BBC, IRC (It's still around) and Net Meeting with lots of Rooms Free of CRAP. I got into DX Big Time when it was in development. I would lock myself in a room with a computer for weeks. I finally got off it when I saw DX3 was actually taking off then hid myself from MicroSoft.

I've been using a Dos Boot Disc and DOS GHOST.EXE since 95B and still use it, sometimes 3 or 4 times a day when thrashing the OS to track down the culprit that won't let me do my thing.

The Joy's of being an Old Geek.

Kurtnoise
21st February 2013, 16:02
So, what's your point exactly ?

AVISource requires VFW interface...you have to enable xvid & pcm in the vfw decoder settings.

Tiny Mud
21st February 2013, 16:07
Geez - PCM that's what I forgot - Thanks ;o)

You pulling my leg, I don't see no PCM in there.

Now I dropped my cup on the Keyboard - lol

One thing I do note is that with the ffindex and avi.avs file present after running File Indexer clicking on the AVISource Button will open the AviSynth script creator for ffm2. Wolla AviSynth ;o)

QUESTION: Can I Edit the FFVideoSource Script as if it where an AVISource or DirectShowSource for VFW? Like for MERGING a string of AVI's for a single x264 Enc without having to use MKVmerge_GUI.

It's probably a DUMP Question but I need a Definite YES of NO so I can let go of it.

You got to remember I'm OLD, grew up on DOS and Scripting Fortran which I can't remember anymore because I'm OLD.

Kurtnoise
21st February 2013, 16:22
LPCM and/or Uncompressed...

soehest
21st February 2013, 16:31
So testing out 2296 i found this odd thing. This is not a bug but more the gui not showing the configured settings. A new install selecting a source will bring up this window:

http://static.inky.ws/image/3703/megui-subfun.jpg

As shown only 1 sub has been selected. The odd thing is that the encoded file will include all available subs. This is probably as the underlying language setting is to include all languages if a match is not found. It is IMHO confusing especially for new users why all the subs will be included when only 1 sub has been selected. Hope this makes any sense :-)

Mediainfo of file encoded:

General
Unique ID : 233775660285025947874318091647834555058 (0xAFDF8DEFDB7C4491A79C32C1217A82B2)
Complete name : D:\rip\NORDKRAFT\VIDEO_TS\VTS_01_1_2.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 1.10 GiB
Duration : 2h 5mn
Overall bit rate : 1 254 Kbps
Encoded date : UTC 2013-02-21 14:57:53
Writing application : mkvmerge v6.0.0 ('Coming Up For Air') built on Jan 20 2013 09:52:00
Writing library : libebml v1.3.0 + libmatroska v1.4.0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.0
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 2h 5mn
Bit rate : 781 Kbps
Width : 720 pixels
Height : 304 pixels
Display aspect ratio : 2.35:1
Frame rate mode : Constant
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.143
Stream size : 699 MiB (62%)
Writing library : x264 core 129 r2245 bc13772
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default : Yes
Forced : No

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 2h 5mn
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 401 MiB (36%)
Language : Danish
Default : Yes
Forced : No

Text #1
ID : 3
Format : VobSub
Muxing mode : zlib
Codec ID : S_VOBSUB
Codec ID/Info : The same subtitle format used on DVDs
Language : Danish
Default : No
Forced : No

Text #2
ID : 4
Format : VobSub
Muxing mode : zlib
Codec ID : S_VOBSUB
Codec ID/Info : The same subtitle format used on DVDs
Language : Finnish
Default : No
Forced : No

Text #3
ID : 5
Format : VobSub
Muxing mode : zlib
Codec ID : S_VOBSUB
Codec ID/Info : The same subtitle format used on DVDs
Language : Norwegian
Default : No
Forced : No

Text #4
ID : 6
Format : VobSub
Muxing mode : zlib
Codec ID : S_VOBSUB
Codec ID/Info : The same subtitle format used on DVDs
Language : Swedish
Default : No
Forced : No

Text #5
ID : 7
Format : VobSub
Muxing mode : zlib
Codec ID : S_VOBSUB
Codec ID/Info : The same subtitle format used on DVDs
Language : English
Default : No
Forced : No

Text #6
ID : 8
Format : VobSub
Muxing mode : zlib
Codec ID : S_VOBSUB
Codec ID/Info : The same subtitle format used on DVDs
Language : English
Default : No
Forced : No

Menu
00:00:00.000 : en:Chapter 01
00:04:39.840 : en:Chapter 02
00:08:23.000 : en:Chapter 03
00:11:44.400 : en:Chapter 04
00:16:06.400 : en:Chapter 05
00:17:45.000 : en:Chapter 06
00:25:09.280 : en:Chapter 07
00:30:45.000 : en:Chapter 08
00:37:30.600 : en:Chapter 09
00:44:47.840 : en:Chapter 10
00:46:16.720 : en:Chapter 11
00:49:40.920 : en:Chapter 12
00:56:35.160 : en:Chapter 13
00:59:21.480 : en:Chapter 14
01:02:14.400 : en:Chapter 15
01:09:24.360 : en:Chapter 16
01:15:31.960 : en:Chapter 17
01:22:57.880 : en:Chapter 18
01:24:12.320 : en:Chapter 19
01:29:13.200 : en:Chapter 20
01:36:09.000 : en:Chapter 21
01:37:10.240 : en:Chapter 22
01:40:19.680 : en:Chapter 23
01:41:30.120 : en:Chapter 24
01:47:20.160 : en:Chapter 25
01:50:34.120 : en:Chapter 26
01:56:13.160 : en:Chapter 27
02:00:39.480 : en:Chapter 28
02:05:02.000 : en:Chapter 29


Off topic: I saw that someone is including logs etc as attachment. Is this preferred over putting stuff in code tags as i do?

Best Regards

Tiny Mud
21st February 2013, 18:59
Well KurtNoise:

I've Enabled, Disabled and Toggled FFDShow Filters until I'm Blue.

Specifically various combinations of LPCM and or Uncompressed in Audio Decoders Config and Xvid in VFW and Video Decoders Config and MeGUI Crashes with every combination when clicking Zathor's Crash, I mean AVISource, Button.

It will only respond to MS mPeg4/PCM.AVI encoded AVI's. keep in mind the AVISource Button also responds to the following on my Win7 [64] System:

MS mPeg4/MP3.AVI

MS mPeg4(v2)/AC3.AVI

XviD mPeg4/AC3.AVI

DivX mPeg4/Vorbis-Ogg.OGM

and needles to say the least: Sorenson Spark FLV-1/MP3.FLV

Notice the system is Protecting PCM Specifically for MS mPeg4 encoded AVI's.

With all this Ownership Copy-Write Crap over DS mPeg4 between MS and DivX I bet if I Un-Install DivX Win7 [64] will recognize Xvid/PCM.AVI as Free Agent.

Man did MS do a number on this Win7 [64]. Win7 [32] is a charm to work with.

I got to say I love Win7 [64] especially running on the platform I just bought ASUS P8Z68-V Pro Gen3, i7 2700K with 16 G's a Sampsung Green - It's just begging to be unleashed with a Swift Tech H220 and an SSD but I've got to get the OS down pat before I go further and believe it or not every other app is working perfectly an it's heavily loaded.

The one main thing I did want is AVS Scripting for mJpeg/PCM, Huffyuv/PCM and XviD/PCM AVI's and that I do NOT have as of yet and I've messing around with it for days.

My next step is to get rid of DivX.

LigH
22nd February 2013, 08:25
Which version of MeGUI do you use, at all? With the current 2230, I get the following result in the File Indexer:

a) If I open a *.avi, the rightmost button is named "AviSource".
b) If I open anything else, the rightmost button is named "DirectShowSource".

But always, the explanation above warns me: "... (manual, expert, may cause problems)?"

There is no similar warning for the second, the "File Indexer"; so I wonder why this was not your preferred choice.

Both VfW and DirectShow have a system of preference or hierarchy. You can configure both systems separately (partially in the decoders by disabling support for specific FourCCs, partially by manually fixing assignments or – for DirectShow – tweaking Merits).

You can set it up so that either the DivX VfW codec or the Xvid VfW codec or the ffdshow VfW codec is preferred to decode Xvid in AVIs when using AviSource() in a script.
You can set it up so that either the DivX DShow filter or the Xvid DShow filter or the ffdshow DShow filter is preferred to decode Xvid in any container when using DirectShowSource() in a script.

But if you use the File Indexer and FFmpegSource2, you will be certain that neither VfW nor DirectShow will be used, only the libav decoders in FFMS2.

LeXXuz
22nd February 2013, 16:10
I have a question regarding the Chapter Creator.

Until now I used Chapter Grabber to create keyframe lists (qp files for x264) from time-code based chapter files.

It seems the Chapter Creator supports writing qp files from imported time-code based chapter files. However, I can't find a way to set the proper fps value. Do I miss something here? :o

Kurtnoise
22nd February 2013, 18:16
@LeXXuz : why do you want to set frame rate ? qp files don't have such thing...

@soehest : cannot reproduce this on my side...beside, your screenshot mentions VTS_01_1.mkv output file whereas MediaInfo reports VTS_01_1_2.mkv as filename.

LeXXuz
22nd February 2013, 19:55
@LeXXuz : why do you want to set frame rate ? qp files don't have such thing...


Of course they don't. Sorry, maybe I've put it the wrong way.

Let's say I want to create a qp file from a source file with time-codes. Therefor I need a frame rate setting to get the correct conversion from time-code to the corresponding frame-number.

Tiny Mud
23rd February 2013, 08:23
I see no use beating my head against the wall over AVSource, DSS and let go of my OLD Fliker Building methods in Win7 [64] and accept the "File Indexer" is the Button to click in MeGUI. Perhaps as I get use to the OS I may find some of my old encoding practices still alive in there - somewhere.

Needless to say I am impressed with that File Indexer Button. It is easy to learn and Encodes are great.

Taking LigH's advice, I used Xvid Codec set Default/Unrestricted/RealTime/Q2 and restricted the Scrn Recorder app to capture a Max of 630MB's at 30FPS. A 720x296 Res Capture yielded a 33min/18.7MBpermin Stream (That's Max's my 121KBps Download Link). The Scrn Recording Utility is restricted to a 1900MB limit for AVI. Rather then diluting the Quality of the Xvid CBR Enc, I elected to use Q2 and divide the Capture into 3 or 4 Parts. Depending the length of the movie, say 1:40Hrs for 3 x 33min Captures and 2:12Hrs for 4 x 33min Captures. NOTE: Each capture has to run the Full 33mins or you will loose Audio Sync when Editing, Splicing and Appending the Parts with VirtualDub into ONE Xvid mPeg4/PCM.AVI Source File ready for AVC x264 encoding or making a DVD.

The Soruce AVI File will have these Properties, with a 121KBps DL Link: 1188Kbps Video Bitrate - 720 x 296 (or > divided by 2 or 4) - 44.1KHz PCM Stereo Audio Track and approx 2.35GB's for a 2:12Hr Capture. Lots of Data for working with ;o)

I've concluded that other then MS mPeg4 Encoders Win7 [64] natively does not support the use of AVISource or DirectShowSource for any AVI file made by other mPeg4 Encoders; SO USE Zathor's File Indexer Button ;o)

I can't believe the power of this i7 2700k. I did manage to MAX all 8 threads with a x264 encode for 15 mins and ended up with a 701MB - 2:09Hr V_MPEG4/ISO/AVC with a 694Kbps Video Bitrate. Perfect for burning onto a 700MB CD - If you can find them anymore - LOL.

That Enc would have taken my Barton XP a Day or more to process - Love it.

Capturing Scrn Recording at 30FPS isn't all that bad. Due to the 30FPS shutter, you do notice some strobing in scenes when large objects sweep across the background; but, it isn't all that bad. I'm going to try Higher shutter speeds in the future.

Come to think about it as long as you can render video the speed of your Download link would not have anything to do with it. That's the purpose of Screen Recording ;o)

You Guys are Great - THANKS ;o)


PS: Found a BT848 64-Bit Dvr for my Old ATi Tv-Wonder PCI - YaHoo!

I've been looking at the Hauppauge WinTV-HVR-1250 Low Profile TV Tuner PCI-E - Really Cheap like $23 - Anyone have experience with it - Does it have Stereo Audio?

LigH
23rd February 2013, 09:36
Read yourself: Hauppauge WinTV-HVR-1250 (http://www.hauppauge.com/site/products/data_hvr1250.html)

Kurtnoise
23rd February 2013, 12:45
Let's say I want to create a qp file from a source file with time-codes. Therefor I need a frame rate setting to get the correct conversion from time-code to the corresponding frame-number.
Create a feature request then...this is not doable right now.

Tiny Mud
23rd February 2013, 14:08
Thanks Ligh - Stereo and HD - That's nice for $23 on eBay.

Administrators have warned me that my posting in this Thread is irrelevant to MeGUI but I posted here initially because Zathor's "AVISource" Button does not work in Win7 [64] as it does in Win7 [32].

Well I got answers that lead me to understand that it's not a MeGUI issue.

I will have to be more selective where I post in the future but I don't think I would have found a better answer if I had not posted here.

Thanks Guys.

soehest
24th February 2013, 00:51
@soehest : cannot reproduce this on my side...beside, your screenshot mentions VTS_01_1.mkv output file whereas MediaInfo reports VTS_01_1_2.mkv as filename.

Fair i did select another encode that my screenshot showed. Here we go again. It is easily reproducible. On source select:

http://static.inky.ws/image/3713/megui-subfun2.jpg

Notice that only 1 sub is shown as selected (Finnish)

Attachment included are:

Megui logfile: Notice that more subs than 1 are being processed.

Mediainfo of encoded file. This time now the correct one: Notice that more than 1 sub is in the final encode.

Zathor
24th February 2013, 11:44
Fair i did select another encode that my screenshot showed. Here we go again. It is easily reproducible.

Sorry, but I cannot reproduce it. Please upload the file allprofiles\OneClick\OneClick_dp_ _st_scratchpad_st_.xml from your MeGUI directory as I have to check your language settings in the profile.

soehest
25th February 2013, 11:18
Sorry, but I cannot reproduce it. Please upload the file allprofiles\OneClick\OneClick_dp_ _st_scratchpad_st_.xml from your MeGUI directory as I have to check your language settings in the profile.

Np Zathor :-) This is not a big issue and it would seem that i am the only one experiencing this. It can be "fixed" by configuring the Language setting properly:

http://static.inky.ws/image/3728/megui-subfun3.jpg

Source can be found here:
http://eth0.dk/files/meguisubfun.rar
Please note this is only for testing purposes.


Best regards

Kurtnoise
25th February 2013, 18:53
Looks like a bug in MediaInfo...subtitles IDs are the same. That why you got the 3 tracks instead the 1st.

Traps
28th February 2013, 21:07
Will there be an update to the avs4x264mod from the current version in MeGUI to the newest one?

Zathor
28th February 2013, 23:23
Together with the next x264 update so in the next days. I do not have access to the FTP at the moment.

Betsy25
2nd March 2013, 12:18
I saw x264 was updated to rev2273, however there seem to be an encoding bug in that revision, according to the latest commit :
http://git.videolan.org/?p=x264.git;a=commit;h=c832fe995bf3d41cae1d3d22e10cb2288e8a650a

Zathor
2nd March 2013, 13:01
Thanks, but that is for ARM only so it should not affect x86/x64.

Betsy25
2nd March 2013, 13:29
Thanks, but that is for ARM only so it should not affect x86/x64.

Ah, Thank you Zathor. I wasn't sure it had no impact on the regular x-versions.:thanks:

magsoud
2nd March 2013, 19:40
I've been working with Megui to re encode my video files .
I want to increase the resolution of a video to 1280x720 from 848x480.
But Megui seems to lock me on the same Resolution without allowing to increase it.
Please Unlock This field

Shevek
2nd March 2013, 19:44
I've been working with Megui to re encode my video files .
I want to increase the resolution of a video to 1280x720 from 848x480.
But Megui seems to lock me on the same Resolution without allowing to increase it.
Please Unlock This field

in the AviSynth script creator, I/O tab, AviSynth Config button, Extra Setup tab, Upsizing allowed checkbox

magsoud
2nd March 2013, 23:29
in the AviSynth script creator, I/O tab, AviSynth Config button, Extra Setup tab, Upsizing allowed checkbox

@Shevek :thanks:

x265
3rd March 2013, 13:53
Is it possible to resume an encode in meGUI?

LigH
4th March 2013, 13:06
Only if it is possible to resume an encode in the called encoder (MeGUI is only a GUI).

For x264: No.

x265
4th March 2013, 13:20
I have a dts audio track demuxed from a BD, what settings should i use to achieve maximum compression with the flac encoder?

tebasuna51
4th March 2013, 15:58
I have a dts audio track demuxed from a BD, what settings should i use to achieve maximum compression with the flac encoder?

With MeGUI-AviSynth you can't decode DTS-MA to do a lossless conversion to Flac.

Use eac3to, with ArcSoft installed, to recode to Flac (by default with maximum compression).