ChangeFPS のバックアップ差分(No.3)


  • 追加された行はこの色です。
  • 削除された行はこの色です。
#code(nonumber){{
ChangeFPS(clip clip, float fps [, bool linear])
}}

#code(nonumber){{
ChangeFPS(clip clip, int numerator [, int denominator, bool linear])
}}

#code(nonumber){{
ChangeFPS(clip clip1, clip clip2, bool linear)
}}

ChangeFPS changes the frame rate by deleting or duplicating frames.
ChangeFPSは、フレームを削除するか、複製することによって、フレームレートを変更します。

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.05までは、再生速度と再生時間を保持するために、ビデオは切り捨てられるか、補填されます(フレームの数は変更されませんでした)。より後のバージョンでは、(フィルタの)挙動が変更され、ConvertFPSにおけるように、フレームの数は増減します。

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.54において、ChangeFPSに、'''linear'''(=true/false)オプションが追加されました。これは、フレームをスキップするときに、線形(linear)の方法で、AviSynthにフレームをリクエストさせるでしょう。

In v2.56, if '''clip2''' is present, the framerate of '''clip1''' will be adjusted to match that of '''clip2'''.
v2.56から、'''clip2'''がある場合は、'''clip1'''のフレームレートは、'''clip2'''のそれに合うように調節されるでしょう。

Examples PAL->NTSC conversion:
例 PAL->NTSC 変換:

#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.
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素材の視聴者がテレシネ化されたフィルムに関して簡単に無視する、動きの"どもり"(stutter)に気づくかもしれません。

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

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