ChangeFPS のバックアップの現在との差分(No.2)


  • 追加された行はこの色です。
  • 削除された行はこの色です。
#code(nonumber){{
ChangeFPS(clip clip, float fps [, bool linear])
#pre{{
ChangeFPS (clip, float fps, bool "linear")
ChangeFPS (clip, int numerator [, int denominator], bool "linear")
ChangeFPS (clip1, clip2, bool "linear")
ChangeFPS (clip, string preset, bool "linear")
}}

#code(nonumber){{
ChangeFPS(clip clip, int numerator [, int denominator, bool linear])
}}
ChangeFPS は、フレームを削除するか複製することによって、フレームレートを変更します。

#code(nonumber){{
ChangeFPS(clip clip1, clip clip2, bool linear)
}}
v2.05 までのバージョンでは、再生速度と再生時間を保持するために、ビデオは切り捨てられるか、もしくは補填されます(フレーム数は変更されませんでした)。v2.05 より後のバージョンでは、フィルタの挙動が変更され、フレーム数は ConvertFPS のように増加または減少されます。

ChangeFPS changes the frame rate by deleting or duplicating frames.
v2.54 において、ChangeFPS に '''linear''' オプション(true または false)が追加されました。これは、フレームをスキップするときに、AviSynth に線形的にフレームをリクエストさせます。

Up to v2.05, the video gets truncated or filled up to preserve playback speed and play time (the number of frames was not changed). In later versions, the behaviour has been changed and the number of frames is increased or decreased like in ConvertFPS.
v2.56 から、'''clip2''' が指定されている場合、'''clip1''' のフレームレートは '''clip2''' のそれに合わせて調節されます。

In v2.54, an option '''linear'''=true/false is added to ChangeFPS?. This will make AviSynth request frames in a linear fashion, when skipping frames. Default is true.
v2.57 から、フレームレートに関する挙動が、若干、変更されました。AssumeFPS を参照してください。

In v2.56, if '''clip2''' is present, the framerate of '''clip1''' will be adjusted to match that of '''clip2'''.
''使用例 PAL->NTSC 変換:''

Examples PAL->NTSC conversion:

#code(nonumber){{
AVISource("PAL_clip.avi")              # Get clip
Bob(height=480)                        # Separate fields and interpolate them to full height.
BicubicResize(640,480)                 # Resize to NTSC square-pixel frame size.
ChangeFPS(60000, 1001)                 # Convert field rate to NTSC, by duplicating fields.
SeparateFields.SelectEvery(4,0,3)      # Undo Bob, even field first. Use SelectEvery(4,1,2) for odd field first.
Weave                                  # Finish undoing Bob.
#pre{{
AVISource("PAL_clip.avi")              # クリップを取得
Bob(height=480)                        # フィールドを分離して、高さをフルサイズに補間する。
BicubicResize(640,480)                 # NTSC 方式の正方ピクセルフレームサイズにリサイズする。
ChangeFPS(60000, 1001)                 # フィールドを複製することによって、フィールドレートを NTSC 方式に変換する。
SeparateFields.SelectEvery(4,0,3)      # Bob を取り消して、偶数フィールドファーストにする。奇数フィールドファーストにするには SelectEvery(4,1,2) を使う。
Weave                                  # Bob の取り消しを終了する。
}}

The effect is similar to 3-2 telecine pull down. Regular viewers of PAL material may notice a motion stutter that viewers of NTSC material readily ignore as for telecined film.
この効果は、3-2 テレシネプルダウンに似ています。PAL 素材の正規の視聴者は、NTSC 素材の視聴者がテレシネ化されたフィルムに関して簡単に無視するような、動きのカクカクに気づくかもしれません。

//#hr
//
//註: このページは、http://www.avisynth.org/FPSの中から、ChangeFPSに関する部分を日本語に翻訳したものです。
#hr

註: このページは、AviSynth 2.5.7 に同梱されているマニュアル(英語版)の日本語訳です。原文は、AviSynth をインストールしたフォルダ内の Docs/english/corefilters/fps.htm にあります。なお、このページのテキストおよび画像のライセンスは、オリジナルのそれに準じます。