Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs

Reply
 
Thread Tools Search this Thread Display Modes
Old 5th July 2008, 19:57   #2441  |  Link
73ChargerFan
Registered User
 
73ChargerFan's Avatar
 
Join Date: Dec 2006
Posts: 523
DGDecode_mpeg2source("P:\min\min.d2v",info=3)

What does the "info=3" mean? Thanks.
73ChargerFan is offline   Reply With Quote
Old 5th July 2008, 21:41   #2442  |  Link
murrsturr
Registered User
 
Join Date: Oct 2004
Posts: 14
New encoding problem with 3.0.0.1014

First off I should say a big thank you for such a beautiful program. It does a lot for me an I appreciate it very much.

But.. I have a script which worked fine, but slow (12 fps), before the recent core update but now when I get to around 14% of a two hour encode now, the encoding fps rate drops to around 3 and then it just stops encoding. There is no error message and Megui hasn't frozen but there is no longer any CPU activity? Would this be a memory issue?

I am using the new TempGaussMC_beta in an otherwise simple script so apologies if I'm out of line for posting this here but I had no problems previously in Megui using this. Other scripts (the couple I tried) seem to work as they did previously.

Thanks in advance.

Last edited by murrsturr; 5th July 2008 at 21:45.
murrsturr is offline   Reply With Quote
Old 6th July 2008, 01:41   #2443  |  Link
check
phjbdpcrjlj2sb3h
 
check's Avatar
 
Join Date: Sep 2005
Location: Western Australia
Posts: 1,691
@73Char: Read the dgdecode manual (part of dgindex)

@murrsturr: doesn't sound like a MeGUI issue, sounds like an input issue. if you can encode the file correctly without megui (read: you use an identical commandline in cmd.exe and it works), report it as a bug
check is offline   Reply With Quote
Old 6th July 2008, 03:40   #2444  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
@murrsturr: MeGUI just feeds the .avs to x264.exe and reads the encoder stderr/stdout. the .avs doesnt influence the "reading" so i highly doubt it's a MeGUI problem. If the avs is complex or it includes particularly memory hungry filters, ensure you set enough memory in the script (SetMemoryMax() function).
Sharktooth is offline   Reply With Quote
Old 6th July 2008, 08:42   #2445  |  Link
Codex0nz
Doom9 Lover
 
Join Date: Oct 2007
Location: New Zealand
Posts: 117
Quote:
Originally Posted by Sharktooth View Post
MeGUI doesnt "copy" the audio, it always converts it to something. The volume function will normalize the volume in a pre-processing stage (look at the status window... if you see "Preprocessing" in the status bar then it's normalizing the volume... and no, it's not freezed. let it do the job).
after muxing the delay should be gone.

@simonhowson: the crop doesnt matter. the final picture size does though. it's always better (but not mandatory) to end up with a mod16 res. but do not get never below a mod4 res.
also some avisynth filters may require mod16...
ok thank you so if i also use the exact same bitrate as the source then it wont downsample it much if at all correct?
__________________
Creativity is the birth of a new era, will you be creative also?
Codex0nz is offline   Reply With Quote
Old 6th July 2008, 15:30   #2446  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
it will always recompress so you will loose quality. if the bitrate is not too different or equal to the original you wont loose too much though.
FYI "downsampling" means another thing... it's about the sampling rate...
Sharktooth is offline   Reply With Quote
Old 7th July 2008, 04:28   #2447  |  Link
arrirc
Aminei
 
arrirc's Avatar
 
Join Date: Feb 2007
Posts: 210
Hello Sharktooth

I reformatted my machine and reinstalled .NET, so MeGUI is running. But there is a new problem now. In AviSynth Script creator if I choose not to "resize", (but choosing the "auto crop" function to remove the black bars) then the AutoEncode> Queue is giving me an error related to AviSynth script resolution. Then I am getting a Fatal Error, but Megui keeps running.

The script is as follows:

Quote:
DGDecode_mpeg2source("J:\Movies\Backups\A Farewell To Arms\Project Files\A Farewell Of Arms.d2v",info=3)
ColorMatrix(hints=true)
#deinterlace
crop( 0, 56, 0, -60)

#resize
#denoise
Please see the screen shots below:








Lastly, what exactly is this "*Scratchpad*" avisynth profile? In the guide I founf the profile to beset as "default" in AviSynth Script Creator tool.

Please help me out

Thank you...

Last edited by arrirc; 7th July 2008 at 04:30.
arrirc is offline   Reply With Quote
Old 7th July 2008, 04:38   #2448  |  Link
73ChargerFan
Registered User
 
73ChargerFan's Avatar
 
Join Date: Dec 2006
Posts: 523
Quote:
Originally Posted by check View Post
@73Char: Read the dgdecode manual (part of dgindex)
Thanks, I found it, but the manual didn't answer my question.

AVS Script creator analyzes a certain mpeg2 video source(m2v or ts) and sometimes adds "info=3", sometimes not, and I don't know why.

BTW, the colors in the preview window still don't match those displayed by mpc-hc. (latest stable 3 version).
73ChargerFan is offline   Reply With Quote
Old 7th July 2008, 07:55   #2449  |  Link
jeffy
Registered User
 
Join Date: Jan 2007
Posts: 943
Quote:
Originally Posted by arrirc View Post
Lastly, what exactly is this "*Scratchpad*" avisynth profile? In the guide I founf the profile to beset as "default" in AviSynth Script Creator tool.

*Scratchpad*
I think this is an unsaved profile (video, audio or an AviSynth template).
jeffy is offline   Reply With Quote
Old 7th July 2008, 09:21   #2450  |  Link
check
phjbdpcrjlj2sb3h
 
check's Avatar
 
Join Date: Sep 2005
Location: Western Australia
Posts: 1,691
73char: I'm not sure about that either sorry. Regarding MPC-HC: which renderer are you using? Different renderers have different levels of sanity, in particular avoid VMR*. Haali's is generally the best choice, you can also choose between the 609 and 710 matrix if that sort of colour correction is a big deal for you.
check is offline   Reply With Quote
Old 7th July 2008, 12:05   #2451  |  Link
berrinam
Registered User
 
berrinam's Avatar
 
Join Date: Apr 2005
Posts: 1,740
info=3 forces DGDecode to output "hints" via avisynth. This hints are used by colormatrix to determine the source color space. Unfortunately, this information was wrong in some recent versions of DGDecode, but the problem should be fixed in the latest one provided in megui's autoupdate.
berrinam is offline   Reply With Quote
Old 7th July 2008, 13:13   #2452  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
@arrirc: what's not clear in what megui told you?
"This could cause problems"...
Use a mod 16 res (overcrop to mod 16 or resize to mod 16).
Sharktooth is offline   Reply With Quote
Old 7th July 2008, 15:19   #2453  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
If the Auto Crop option is using the autocrop avisynth plugin, there are two parameters: wMultOf(default 4) and hMultOf(default 2) that can be used to ensure the final width/height is a multiple of x. Since autocrop seems to be an "I'm lazy, do everything for me" option I think it would make sense to use them.
squid_80 is offline   Reply With Quote
Old 7th July 2008, 15:28   #2454  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
it's not the avs autocrop function.
Sharktooth is offline   Reply With Quote
Old 7th July 2008, 16:25   #2455  |  Link
check
phjbdpcrjlj2sb3h
 
check's Avatar
 
Join Date: Sep 2005
Location: Western Australia
Posts: 1,691
@squid: Out of interest, does that over or under-crop? Or is that also configurable?

@berrinam: Why would some files have info=3 and some not? Did previous builds of MeGUI remove it while it was borked?
check is offline   Reply With Quote
Old 7th July 2008, 16:28   #2456  |  Link
rebkell
Registered User
 
Join Date: Oct 2006
Posts: 303
Quote:
Originally Posted by check View Post
@squid: Out of interest, does that over or under-crop? Or is that also configurable?

@berrinam: Why would some files have info=3 and some not? Did previous builds of MeGUI remove it while it was borked?
I always/only got info=3 if I had Color Correction checked in the avisynth creator.
rebkell is offline   Reply With Quote
Old 7th July 2008, 18:20   #2457  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
Quote:
Originally Posted by check View Post
@squid: Out of interest, does that over or under-crop? Or is that also configurable?
Looking at the source code it appears to be designed to overcrop.
squid_80 is offline   Reply With Quote
Old 7th July 2008, 18:39   #2458  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
however why should we force a mod16 crop when we have a mod16 resize? overcropping is not always good.
Sharktooth is offline   Reply With Quote
Old 7th July 2008, 19:23   #2459  |  Link
arrirc
Aminei
 
arrirc's Avatar
 
Join Date: Feb 2007
Posts: 210
Quote:
Originally Posted by Sharktooth View Post
@arrirc: what's not clear in what megui told you?
"This could cause problems"...
Use a mod 16 res (overcrop to mod 16 or resize to mod 16).
I am not clear about why the error is given when I use Not To Resize+AutoCrop function.
If I resize the final output according to the suggested resolution: 720x364, then anyway it is a resize!

So what exactly should I do so that the original wxh is maintained (that is no resizing)?

Quote:
Originally Posted by Sharktooth View Post
Use a mod 16 res (overcrop to mod 16 or resize to mod 16).
Very sorry Sharktooth, but I have no idea what exactly are you asking me to do.

Thank you for relying.
arrirc is offline   Reply With Quote
Old 7th July 2008, 19:41   #2460  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
OMG...
ok, you dont want to resize? then adjust the CROP so the final width and height can BOTH be divided by 16 (MOD 16!)
If you still dont understand... RTFM!
http://mewiki.project357.com/wiki/Co...es/Video/Mod16

Last edited by Sharktooth; 7th July 2008 at 19:46.
Sharktooth is offline   Reply With Quote
Reply

Tags
megui

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 16:20.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.