Latest post Thu, Jul 11 2013 9:49 PM by Don Carignan. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • Thu, Jul 11 2013 2:40 PM

    • Francesco
    • Not Ranked
    • Joined on Wed, May 16 2012
    • Pisa - Italy
    • Posts 69
    • Points 680

    SampleMapping::SetWorkingImageQuality

    Hi to all

    according to docs, this routine is called by MC in order to set the image quality. It seems that it isn't called depending on video quality menu setting ( in the timeline bottom side window).  That is if I change from Best performance (yellow / yellow) to draft quality (yellow/green) to full quality (green/ green) I didn't see any call at the routine.  Here is the code:

      ACFRESULT ACFMETHODCALLTYPE BLTAPluginSampleMapping::SetWorkingImageQuality (const acfUInt32 track, const acfUInt32 quality)
               {
                 BEGIN_ACF_METHOD
                  if(track>1)
                    throw ACFRESULT(ACF_E_OUT_OF_RANGE);
                  if(quality>100)
                    throw ACFRESULT(ACF_E_OUT_OF_RANGE);
               
                  char db[128];
                  sprintf_s(db,128,"Working image quality %ld",quality);
                  OutputDebugStringA(db);


                   _imgQlty = quality; 
                 END_ACF_METHOD
               }

     

    In my case the only call I see is to SetWorkingImageScale each time I change the quality in the quality menu.

    This happens both in MC5.5 and in MC6.5. 

    Moreover : If we have for quality a value between 0 and 100, why in the quality menu we have only three values ?  Is foreseen that in future version of MC we will have a trackbar for quality ?

    Best regards

  • Thu, Jul 11 2013 9:49 PM In reply to

    Re: SampleMapping::SetWorkingImageQuality

    Hi Francesco,

    >In my case the only call I see is to SetWorkingImageScale each time I change the quality in the quality menu.

    You should be seeing the call to SetWorkingImageScale() whenever the clip is loaded, when you change the quality in the quality menu, and when doing a render/transcode/AMA-export.

    >If we have for quality a value between 0 and 100, why in the quality menu we have only three values ?

    >Is foreseen that in future version of MC we will have a trackbar for quality ?

    We don't currently have plans to provide a sliding scale in MC's UI, but we will reevaluate if the need arises.

    Note that the Media Creation Settings...Mixdown&Transcode...Source Quality (Debayer) setting provides finer control:

        kDebayerFull:
            scale = 1.0
            quality = 100
        kDebayerHalfBest:
            scale = 0.5
            quality = 100
        kDebayerHalfGood:
            scale = 0.5
            quality = 50
       kDebayerQuarter:
            scale = 0.25
            quality = 100
        kDebayerEighth:
            scale = 0.125
            quality = 100
        kDebayerSixteenth:
            scale = 0.0625
            quality = 100

    - Don

Page 1 of 1 (2 items)

© Copyright 2011 Avid Technology, Inc.  Terms of Use |  Privacy Policy |  Site Map |  Find a Reseller