Quantcast Mencalc: a Resizing Calculator for Mencoder - Page 4 - digitalFAQ.com Forums [Archives]
  #61  
05-27-2004, 03:03 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Do you know mencoders syntax?
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #62  
05-27-2004, 11:25 AM
Zyphon Zyphon is offline
Free Member
 
Join Date: Oct 2003
Location: London, England (UK)
Posts: 1,035
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks inc, love the new version.
__________________
Regards.

Michael.
Reply With Quote
  #63  
05-27-2004, 02:43 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
@ DigiDoc

Related to calculate the bitrates in that bitratecalculator...

You where right!!! I have to calculate the audios separately!

I left everything as it was except a modified audiocalculation (as you pointed me to) and the mediasize and overhead values suggested by Kwag .... now its correct.

If you want to test, use the old link to that bitratecalculator in this thread.

Also for shure thanks to Kwag!
Reply With Quote
  #64  
05-27-2004, 03:21 PM
DKruskie DKruskie is offline
Free Member
 
Join Date: May 2003
Location: Michigan
Posts: 147
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
Do you know mencoders syntax?
You'll have to forgive me , I havent had much sleep in the past few days. Do you mean the temp.conf or setting.ini ? I havent had to use MenCalc yet because I have been great results so far.



David
Reply With Quote
  #65  
05-27-2004, 04:26 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Well lets see it on an example by using aready made .fil file in the filters folder of mencodeme:
Quote:
vf=%%FORCEDFILM%%yuvcsp,scale=%%CROPPED_WIDTH%%:%% CROPPED_HEIGHT%%:0:0:60,%%CROP%%unsharp=l3x3:0.6,h qdn3d=3:6:8,unsharp=l3x3:-0.7:c3x3:-1.5,noise=2uh,expand=%%WIDTH%%:%%HEIGHT%%:-1:-1:1
use Mencalcs output:
i.E: "-vf scale=480:576::0:9,crop=448:544:16:16,expand=480:5 76:16:16"
(A 720x576 DVD to 480x576 overscanned kSVCD ...both PAL)

and change the filter file like this:

Quote:
vf=%%FORCEDFILM%%yuvcsp,scale=480:576::0:9,crop=44 8:544:16:16,unsharp=l3x3:0.6,hqdn3d=3:6:8,unsharp= l3x3:-0.7:c3x3:-1.5,noise=2uh,expand=480:576:16:16
I still left the filters between Crop and expand.
After this safe that fil file using a diff name and it will be seen next time you open MencodeMe ... and the new values will be forced, even if you set other resizing values in mencoder IF this fil file is choosen in the filter combo box of mencodeMe! ... so you could do several resizing templates, safe them as fil files in the filters folder and these you can simply use as often as you deal with same source/target size
Reply With Quote
  #66  
05-27-2004, 04:51 PM
DKruskie DKruskie is offline
Free Member
 
Join Date: May 2003
Location: Michigan
Posts: 147
Thanks: 0
Thanked 0 Times in 0 Posts
Ok, now I got it, thanks inc..can this be used with packshot too?





David
Reply With Quote
  #67  
05-27-2004, 04:53 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Well that programm is a result of developing a resizing routine FOR PACKSHOT !
So the next version of packshot will got it integrated!
Then you only have to choose your target resolution and the overscan factor, no more -- everything else will be automatically.

The next days Ill be in re-coding packshot.
Reply With Quote
  #68  
05-27-2004, 05:10 PM
DKruskie DKruskie is offline
Free Member
 
Join Date: May 2003
Location: Michigan
Posts: 147
Thanks: 0
Thanked 0 Times in 0 Posts
Cool, thanks inc can't wait to see this



David
Reply With Quote
  #69  
05-28-2004, 12:14 AM
clickit clickit is offline
Free Member
 
Join Date: May 2003
Location: Athens, Hellas
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
very understable explanation of how Mencalcs can be used !!!

many thanks Inc
__________________
it's one thing that i know for sure, that i know nothing for sure
Reply With Quote
  #70  
06-01-2004, 11:03 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
@Inc,

Could you add a "Real Film Area" (Film Pixels) fields to MenCalc

-kwag
Reply With Quote
  #71  
06-02-2004, 08:04 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
I see your point as its figured out in the "noise" thread that Mencoder isnt that "black border" smart as assumed before.

Yep! That will be on my todo list!
Till that time use avisynth/Makeavis OR do replace the vaules with the ones gotten from a MS calculation --- as the next Packshot supports "commandline only" where you simply can tweak these needings, and after that run the bat file manually. (as you shurely know all that so this is written here as an response directed to others )
Reply With Quote
  #72  
08-02-2004, 03:36 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
After vacations the new version is released.

Please do report bugs also in here.

Thanks
Reply With Quote
  #73  
08-02-2004, 04:00 PM
Zyphon Zyphon is offline
Free Member
 
Join Date: Oct 2003
Location: London, England (UK)
Posts: 1,035
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for updating this great calculator Inc.
__________________
Regards.

Michael.
Reply With Quote
  #74  
08-02-2004, 05:45 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks Inc.

-kwag
Reply With Quote
  #75  
08-02-2004, 06:06 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Gee, thanks Inc.
Great! Now we have crop/scale/expand
Many thanks buddy
Cheers
__________________
Rui
Reply With Quote
  #76  
08-02-2004, 06:14 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by rds_correia
Gee, thanks Inc.
Great! Now we have crop/scale/expand
Many thanks buddy
Cheers
Nice to "read" you rds.
Why now first crop?
Why last values change to -1 -1? I know what it means but why previous Mencalc did use another values?
Reply With Quote
  #77  
08-03-2004, 04:10 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Quote:
Why now first crop?
First crop .... because in that version of mencalc you can determine the active Px movie area (remember the min-bitrate noise trick?). So this one has to be cropped first.
And as I want to avoid a double-cropping command, the crop-scale routine does compensate that.

Also you now can see how the image proportion will do change when performing the image resize process and also how the AspectRatio Error will be finally (like in FitCD, I took that nice idea from shh).

Also a safe-routine is implementated, means the calculator will look which type of cropping/scaling will keep most pixels as by keeping the AR normally it can happen that many pixels have to be cropped for instance in the width ... I only do say 352 1/2DVD resolution!

Quote:
Why last values change to -1 -1?
In the previous version I did let calculate Mencalc how the image will be placed centered or Macroblock aligned, that will also be possible in the next final release as also you will be able to enter individual Xpositions and Ypositions of the active movie area.
And so in this release state I did let calculate mencoder internally the center position using -1,-1
Reply With Quote
  #78  
10-14-2004, 12:25 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
@Incredible: I'm trying to emulate MenCalc in cmd scripting language, and I don't understand something.

I can apply calculation based in http://www.uwasa.fi/~f76998/video/co...nversion_table
to standard PAL/NTSC resolutions.
But how to calculate resizes, etc. with avi sources.

e.g. 576*256. It can't be found in the table and I don't know how to do calculations.

Other question,why (is needed) and how (formula) calculates crop values?
Reply With Quote
  #79  
10-14-2004, 01:16 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
http://www.arachnotron.nl/videocap/d..._cap_v1_en.pdf

All you need is in there (at the end of the PDF where size calculations are explained: There also 768x576 is PAR 1:1 like mpeg4 avis)

576x256 is NOT mentioned in Jukka Ahos site as its NO valid Video output device resolution. Its just an individual PAR 1:1 mpeg4 resolution based on the DISPLAY AR (like 1.33:1 , 1.78:1 or 2.35:1 etc).

If I have time, on my to do list is the creation of an executable binary of mencalc, easy to call from a batch file. And also a .dll version so VMesquita can use it in DIKO.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
KDVD Calculator Help kvcdman Video Encoding and Conversion 1 08-24-2006 03:35 AM
Resizing MencodeMe - MenCalc comparation Prodater64 Video Encoding and Conversion 12 07-25-2004 08:15 AM
MenCalc or MEncodeMe crop/resize maurus Video Encoding and Conversion 13 05-27-2004 04:18 AM
AR Calculator kwag Video Encoding and Conversion 0 01-31-2004 01:28 PM
The calculator is gone kwag Off-topic Lounge 0 04-28-2002 04:20 PM

Thread Tools



 
All times are GMT -5. The time now is 01:51 PM  —  vBulletin © Jelsoft Enterprises Ltd