niiyan/2007-09-16 のバックアップソース(No.3)

** [[FFmpegSource 1.12:http://forum.doom9.org/showthread.php?p=1014981#post1014981]](ffmpeg ベースのソース/ポストプロセッシングフィルタ) [#y7519f26]

-変更点
> ffmpegsource.html より引用(括弧内試訳)
-1.12
--Now caches the last fully decoded frame to increase the reliability of seekmode=-1 and possibly reduce seeking in other modes(seekmode=-1 の信頼性を増し、その他のモードでのシークを可能な限り減らすために、最後に完全にデコードされたフレームをキャッシュするようになった。)
--Video that needs to converted to a suitable output format should now always have correct colors (was reversed in 1.11 and inconsistent in earlier versions)(適切な出力フォーマットに変換される必要があるビデオは、つねに正しい色を持つようになった(1.11 では反転され、それよりも古いバージョンでは一貫性がなかった))
--Added seekmode=-1 which is mostly useful for opening image files very carefully(seekmode=-1 を追加。非常に注意深く画像ファイルを開くのにたいてい役立つ)
--Now throws an error if the container is unseekable and seekmode=-1 isn't set(コンテナがシーク不可で seekmode=-1 に設定されていない場合、エラーを投げるようになった)
--Updated FFmpeg to rev 10492 + camtasia swapped colors fix(FFmpeg をリビジョン 10492 に更新と libavcodec の camtasia デコーダで色がスワップされるのを修正)

-上の引用にも含まれていますが、seekmode=-1 にすると FFmpegSource を画像リーダとしても利用可能になったとのこと。
--ただし、GIF アニメについては、最初のフレームのみを返すそうです。
--参考: [[FFmpegSource - Page 8 - Doom9's Forum:http://forum.doom9.org/showthread.php?t=127037&page=8#post1045180]]
-Doom9's Forum 関連スレッド
--[[FFmpegSource - Doom9's Forum:http://forum.doom9.org/showthread.php?t=127037]]
-[[FFmpegSource]] に seekmode = -1 についての説明を追加しました。

** [[nnedi v1.1:http://forum.doom9.org/showthread.php?p=1045226#post1045226]](インターレース解除プラグイン) [#qa8776ff]

-nnedi とは?
--概要
> nnedi - Readme.txt より
>      NNEDI is an intra-field only deinterlacer.  It takes in a frame, throws away one field, and then interpolates the missing pixels.  It has same rate and double rate modes and works with YUY2 and YV12 input.
>(試訳: NNEDI は、イントラフィールドのみのインターレース解除フィルタです。これは、フレームを取り込んで、1 つのフィールドを捨てます。そして失われたピクセルを補間します。同レートモードと 2 倍レートモードを持ち、YUY2 入力と YV12 入力についてのみ動作します。)

--eedi2 の代替([[Help tritical's interpolation research by contributing CPU cycles - Page 2 - Doom9's Forum:http://forum.doom9.org/showthread.php?p=1045296#post1045296]] における foxyshadis 氏の発言)、もしくは、eedi2 のような補間フィルタ([[Help tritical's interpolation research by contributing CPU cycles - Page 2 - Doom9's Forum:http://forum.doom9.org/showthread.php?p=1045318#post1045318]] における tritical 氏の発言)。
--(リサイズフィルタなどと組み合わせて)リサイズに使ってもいい結果が得られるとのこと。
---[[Help tritical's interpolation research by contributing CPU cycles - Page 2 - Doom9's Forum:http://forum.doom9.org/showthread.php?p=1045226#post1045226]] にリサイズ用のサンプルの関数が掲載されています。
---また [[Help tritical's interpolation research by contributing CPU cycles - Page 2 - Doom9's Forum:http://forum.doom9.org/showthread.php?p=1045296#post1045296]] には nnedi を使った Bob 関数も掲載されています。
-書式(nnedi - Readme.txt より)
#code{{
nnedi(int field, bool Y, bool U, bool V, int threads, int opt, string name)
}}
-パラメータ(nnedi - Readme.txt より)
--field: どのフィールドが保持されるかと、出力フレームレートが入力と同じか 2 倍かを決定する(デフォルト: -1)。
#pre{{
         -2 = 2 倍のフレームレート(各フレームを交互にする)。AviSynth 内部のパリティ値を使ってスタート。
         -1 = 同一フレームレート。AviSynth 内部のパリティ値を使用。
          0 = 同一フレームレート。ボトムフィールドを保持。
          1 = 同一フレームレート。トップフィールドを保持。
          2 = 2 倍のフレームレート(各フレームを交互にする)。ボトムからスタート。
          3 = 2 倍のフレームレート(各フレームを交互にする)。トップからスタート。
}}
--Y, U, V: 指定されたプレーンが処理されるかどうかの選択(デフォルト: true)。
--threads: 処理に仕様されるスレッド数。0 なら検出されたスレッド数と同じ(デフォルト: 0)。
--opt: CPU 最適化の設定(デフォルト: 0)。
#pre{{
         0 = 自動検出
         1 = C ルーチンを使用
         2 = SSE ルーチンを使用
}}
--name: プラグイン名の指定。dll の名前を変更した場合は、このパラメータを使って nnedi に知らせる必要がある(デフォルト: "nnedi.dll")
-現時点では、まだ完全ではないとのこと([[Help tritical's interpolation research by contributing CPU cycles - Page 2 - Doom9's Forum:http://forum.doom9.org/showthread.php?p=1045226#post1045226]] より)。
-tritical 氏作。
-2007-09-16 00:27:18 現在、[[tritical 氏のホームページ:http://bengal.missouri.edu/~kes25c/]]には掲載されていないようです。
-Doom9's Forum 関連スレッド
--[[Help tritical's interpolation research by contributing CPU cycles - Doom9's Forum:http://forum.doom9.org/showthread.php?t=128699]]
-''2007-09-16 22:30:32 追記:'' SSE ルーチン(opt = 2)を使った場合に、画像がおかしくなるという報告があります。現時点では、まだ解決していないようです。
--参考: [[NNEDI - intra-field deinterlacing filter - Doom9's Forum:http://forum.doom9.org/showthread.php?p=1045399#post1045399]]

** [[a3r (ASS_Help3r) 0.0.9.15-alpha:http://mion.faireal.net/a3r/]](ASS タイプセッティング補助ツール) [#bd2c1ee7]

-変更点
>[[a3r (ASS_Help3r) 0.0.9.15:http://mion.faireal.net/a3r/]]
-2007-09-14 v0.0.9.15-alpha: Minor fixes.(試訳: 小さい修正)

** [[yadifmod v1.0:http://forum.doom9.org/showthread.php?p=1045451#post1045451]](インターレース解除プラグイン) [#g03d656e]

-Fizick 氏の Yadif プラグイン(([[インターレース解除]]を参照))の修正版。
--Yadif は mplayer のインターレース解除フィルタ。
-tritical 氏作。
-Fizick 版との違い
--空間軸の予測を内部で生成せず、代わりに外部のクリップ(edeint パラメータで指定)から取る。
--C プラグイン(([[LoadCPlugin]] を参照))ではなく、C++ で書かれた一般的な AviSynth プラグイン。
---つまり、LoadCPlugin や Load_Stdcall_plugin で読み込むのではなく、LoadPlugin または[[プラグインのオートローディング]]機能を使って読み込む。
--YUY2 と YV12 に対応。
-2007-09-16 22:24:01 現在、[[tritical 氏のホームページ:http://bengal.missouri.edu/~kes25c/]]には掲載されていないようです。
-[[インターレース解除]]に追加しました。
-暫定的に[[アーカイブ]]にアップしました。