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

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 9th February 2011, 14:54   #2721  |  Link
Lighto
The Black Reaper
 
Lighto's Avatar
 
Join Date: Nov 2009
Posts: 320
@larrsz
I managed to do some upscaling by checking the resize check box and edit the script tab manually in the past.
Lighto is offline  
Old 9th February 2011, 14:57   #2722  |  Link
larrsz
Bitter Old Geek
 
larrsz's Avatar
 
Join Date: Apr 2010
Posts: 36
Quote:
Originally Posted by Sharktooth View Post
upscaling is pretty much useless.if you have an interlaced source, just deinterlace it.
It is a progressive source, but my hardware will always try to stretch the 480 source to fill the screen (eliminating black bars if they are needed makes everything look tall and thin). If I convert to 720P, it displays properly.

Can it be done without returning an error?
larrsz is offline  
Old 9th February 2011, 14:58   #2723  |  Link
larrsz
Bitter Old Geek
 
larrsz's Avatar
 
Join Date: Apr 2010
Posts: 36
Quote:
Originally Posted by Lighto View Post
@larrsz
I managed to do some upscaling by checking the resize check box and edit the script tab manually in the past.
I tried that, but I get an AVISynth error. Although, interestingly enough I did get it to work one time and it worked with my hardware.
larrsz is offline  
Old 9th February 2011, 15:06   #2724  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
the lighto suggestion works. just edit the script in the avs creator (just before saving it).
if you get an error, please post it.

Last edited by Sharktooth; 18th February 2011 at 03:21.
Sharktooth is offline  
Old 9th February 2011, 16:08   #2725  |  Link
larrsz
Bitter Old Geek
 
larrsz's Avatar
 
Join Date: Apr 2010
Posts: 36
Quote:
Originally Posted by Sharktooth View Post
the lighto suggestion works. just edit the script in the avs creator (just before saving it in).
if you get an error, plaease post it.
I get
ANISynth Script Error: Invalid Arguments to function "LanczosResize"

Here is the entry in the script tab:

LanczosResize(1280,720) # Lanczos (Sharp)LoadPlugin("C:\Users\admin\Documents\MeGUI_1911_x86_WithoutInstaller\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\Users\admin\Desktop\480 test file.d2v", info=3)
LoadPlugin("C:\Users\admin\Documents\MeGUI_1911_x86_WithoutInstaller\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
#deinterlace
#crop
LanczosResize(1280,720) # Lanczos (Sharp)
#denoise

And here is the log file after I saved it...

[Information] Log
-[Information] Versions
--[Information] MeGUI Version : 1911 (svn)
--[Information] OS : Windows Vista Premium Edition x64 SP2 (6.0.131072.6002)
--[Information] Latest .Net Framework installed : 4.0 (4.0.30319)
--[Information] Avisynth Version : 2.5.7.0 (12/31/2006 2:16:36 AM)
-[Information] Update detection
--[Information] [2/9/2011 9:58:17 AM] Connecting to server: http://megui.xvidvideo.ru/auto/stable/
--[Information] [2/9/2011 9:58:19 AM] All files are up to date
-[Information] Log for job1 (idx, 480 test file.mpg -> 480 test file.d2v)
--[Information] [2/9/2011 9:58:48 AM] Started handling job
--[Information] [2/9/2011 9:58:48 AM] Preprocessing
--[Information] Job commandline: "C:\Users\admin\Documents\MeGUI_1911_x86_WithoutInstaller\tools\dgindex\dgindex.exe" -SD=< -AIF=<C:\Users\admin\Desktop\480 test file.mpg< -OF=<C:\Users\admin\Desktop\480 test file< -FO=0 -exit -hide -OM=1 -TN=80
--[Information] [2/9/2011 9:58:48 AM] Indexing started
--[Information] Standard output stream
--[Information] Standard error stream
--[Information] [2/9/2011 9:58:51 AM] Running auto force film
---[Information] Film percentage: 99.03
---[Information] [2/9/2011 9:58:51 AM] Applied force film
--[Information] [2/9/2011 9:58:51 AM] Postprocessing
---[Information] Deleting intermediate files
----[Information] [2/9/2011 9:58:51 AM] Successfully deleted C:\Users\admin\Desktop\480 test file.log
--[Information] [2/9/2011 9:58:51 AM] Job completed


larrsz is offline  
Old 9th February 2011, 16:18   #2726  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
the first line is the cause. remove "LanczosResize(1280,720) # Lanczos (Sharp)" from it.
Sharktooth is offline  
Old 9th February 2011, 16:20   #2727  |  Link
Lighto
The Black Reaper
 
Lighto's Avatar
 
Join Date: Nov 2009
Posts: 320
Quote:
Originally Posted by larrsz View Post
I get
ANISynth Script Error: Invalid Arguments to function "LanczosResize"

Here is the entry in the script tab:

LanczosResize(1280,720) # Lanczos (Sharp)LoadPlugin("C:\Users\admin\Documents\MeGUI_1911_x86_WithoutInstaller\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("C:\Users\admin\Desktop\480 test file.d2v", info=3)
LoadPlugin("C:\Users\admin\Documents\MeGUI_1911_x86_WithoutInstaller\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
#deinterlace
#crop
LanczosResize(1280,720) # Lanczos (Sharp)
#denoise

And here is the log file after I saved it...

[Information] Log
-[Information] Versions
--[Information] MeGUI Version : 1911 (svn)
--[Information] OS : Windows Vista Premium Edition x64 SP2 (6.0.131072.6002)
--[Information] Latest .Net Framework installed : 4.0 (4.0.30319)
--[Information] Avisynth Version : 2.5.7.0 (12/31/2006 2:16:36 AM)
-[Information] Update detection
--[Information] [2/9/2011 9:58:17 AM] Connecting to server: http://megui.xvidvideo.ru/auto/stable/
--[Information] [2/9/2011 9:58:19 AM] All files are up to date
-[Information] Log for job1 (idx, 480 test file.mpg -> 480 test file.d2v)
--[Information] [2/9/2011 9:58:48 AM] Started handling job
--[Information] [2/9/2011 9:58:48 AM] Preprocessing
--[Information] Job commandline: "C:\Users\admin\Documents\MeGUI_1911_x86_WithoutInstaller\tools\dgindex\dgindex.exe" -SD=< -AIF=<C:\Users\admin\Desktop\480 test file.mpg< -OF=<C:\Users\admin\Desktop\480 test file< -FO=0 -exit -hide -OM=1 -TN=80
--[Information] [2/9/2011 9:58:48 AM] Indexing started
--[Information] Standard output stream
--[Information] Standard error stream
--[Information] [2/9/2011 9:58:51 AM] Running auto force film
---[Information] Film percentage: 99.03
---[Information] [2/9/2011 9:58:51 AM] Applied force film
--[Information] [2/9/2011 9:58:51 AM] Postprocessing
---[Information] Deleting intermediate files
----[Information] [2/9/2011 9:58:51 AM] Successfully deleted C:\Users\admin\Desktop\480 test file.log
--[Information] [2/9/2011 9:58:51 AM] Job completed


Not sure if this is the cause or not but why are there 2 lines for resize?
Lighto is offline  
Old 9th February 2011, 16:21   #2728  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
the first parameter for the resize function is the clip, the default is set to "last". if there is no input it will error out since the parameter is invalid.

Last edited by Sharktooth; 18th February 2011 at 03:22.
Sharktooth is offline  
Old 9th February 2011, 16:29   #2729  |  Link
larrsz
Bitter Old Geek
 
larrsz's Avatar
 
Join Date: Apr 2010
Posts: 36
Quote:
Originally Posted by Sharktooth View Post
the first line is the cause. remove "LanczosResize(1280,720) # Lanczos (Sharp)" from it.


Works!

However, I wondered the same thing, why were there two entries for resize? It seems that it is permanent now and I have to remove the first one every time I use resize, interesting...
larrsz is offline  
Old 9th February 2011, 16:35   #2730  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
have you modified the default avisynth profile adding a resize at the begin?
Sharktooth is offline  
Old 9th February 2011, 16:44   #2731  |  Link
larrsz
Bitter Old Geek
 
larrsz's Avatar
 
Join Date: Apr 2010
Posts: 36
Quote:
Originally Posted by Sharktooth View Post
have you modified the default avisynth profile adding a resize at the begin?
I guess I did, but quite by accident. I'll redo it.


Thanks again
larrsz is offline  
Old 15th February 2011, 18:08   #2732  |  Link
WILLIS
Registered User
 
Join Date: Dec 2009
Posts: 24
Hey I use MeGUI a ton and really love it! However I seem to have run into a problem when encoding to mp4...

I am using mp4 input via the file indexer which uses ffvideoindex, and am re-encoding to mp4 output as well. The encode runs smoothly but at about 99% or right before finishing the encode I receive an output error of some sort. I am currently running an encode so I cant paste the error log here right now, but if anyone has any insight on what my problem might be, plz chime in...thx!
WILLIS is offline  
Old 15th February 2011, 18:15   #2733  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
is the destination file name different from the source?
Sharktooth is offline  
Old 15th February 2011, 20:31   #2734  |  Link
WILLIS
Registered User
 
Join Date: Dec 2009
Posts: 24
yes i named it differently...I will post my error from the log as soon as this current encode finishes...im hoping it doesn't give me the error tho...
WILLIS is offline  
Old 15th February 2011, 21:23   #2735  |  Link
WILLIS
Registered User
 
Join Date: Dec 2009
Posts: 24
well it happened again after a 4 hour 30 minute encode ughhh!

heres the error log for the job...btw I was outputting in .264 format this time from mp4

--[Information] [2/15/2011 10:50:29 AM] Started handling job
--[Information] [2/15/2011 10:50:29 AM] Preprocessing
--[Information] Avisynth input script
---[NoImage] LoadPlugin("C:\Program Files\MeGUI\tools\ffms\ffms2.dll")
---[NoImage] FFVideoSource("C:\Documents and Settings\Administrator\Desktop\Slam Session_RAW.mp4").AssumeFPS(30000,1001)
---[NoImage] #deinterlace
---[NoImage] #crop
---[NoImage] #resize
---[NoImage] #denoise
--[Information] Job commandline: "C:\Program Files\MeGUI\tools\x264\x264.exe" --preset veryslow --tune fastdecode --crf 1 --threads 2 --keyint 95 --fullrange on --vbv-maxrate 20000 --vbv-bufsize 25000 --level 40 --bframes 3 --qpmax 51 --sar 1:1 --output "C:\Documents and Settings\Administrator\Desktop\Slam Session_RAW.264" "C:\Documents and Settings\Administrator\Desktop\Slam Session_RAW.mp4.avs"
--[Information] [2/15/2011 10:50:32 AM] Encoding started
--[Error] [2/15/2011 3:18:48 PM] Process exits with error code: -1073741819
--[Information] Standard output stream
--[Information] Standard error stream
---[NoImage] avs [info]: 640x360p 1:1 @ 30000/1001 fps (cfr)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 Cache64
---[NoImage] x264 [info]: profile High, level 4.0
---[NoImage] x264 [info]: cabac=0 ref=16 deblock=0:0:0 analyse=0x3:0x133 me=umh subme=10 psy=1 fade_compensate=0.10 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=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=0 open_gop=0 weightp=0 keyint=95 keyint_min=9 scenecut=40 intra_refresh=0 rc_lookahead=60 rc=crf mbtree=1 crf=1.0000 qcomp=0.60 qpmin=0 qpmax=51 qpstep=4 vbv_maxrate=20000 vbv_bufsize=25000 crf_max=0.0 nal_hrd=none ip_ratio=1.40 aq=1:1.00
---[NoImage] x264 [info]: started at Tue Feb 15 10:50:35 2011
--[Information] [2/15/2011 3:18:49 PM] Job completed
WILLIS is offline  
Old 16th February 2011, 01:30   #2736  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
it would be helpful to know the exact error you get.
from the log it seems x264 exited with an error code.
try using x264 directly from the commandline (using the same options) and see if you can catch the error.
Sharktooth is offline  
Old 17th February 2011, 20:14   #2737  |  Link
WILLIS
Registered User
 
Join Date: Dec 2009
Posts: 24
Quote:
Originally Posted by Sharktooth View Post
it would be helpful to know the exact error you get.
from the log it seems x264 exited with an error code.
try using x264 directly from the commandline (using the same options) and see if you can catch the error.
how would I go about doing that? Im just not very familiar with using things from CLI and have never used x264 before like that...
WILLIS is offline  
Old 18th February 2011, 03:25   #2738  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
it could be a memory problem too. since 32bit applications are limited to 2GB of ram, check in your task manager if the limit is hit.
before running x264 by command line, please check that.
Sharktooth is offline  
Old 19th February 2011, 14:04   #2739  |  Link
Tuik
Registered User
 
Join Date: Apr 2009
Posts: 85
Hello,

In the last update Megui installed a new xvid version (1.3 RC). I usually use Adaptative quantization but now that option was gone. The option of HVS masking was unlocked but now it has 2 options, Lumi and Variance, what should i use? I'm also using Didee's 6of9 HVS with 2 max bframes, with no QPEL and no GMC.
Tuik is offline  
Old 19th February 2011, 14:11   #2740  |  Link
Zathor
Registered User
 
Join Date: Nov 2009
Posts: 2,405
The old "AdaptiveQuant" in the GUI is now "lumi" in HVS masking. The settings in your profile have been updated automatically to reflect your old setting of AdaptiveQuant.
Zathor is offline  
Closed Thread

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 01:27.


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