Repository navigation
LogoScan 0.1.0
最初の公開版です。AviUtl のロゴ解析プラグインと同じ形式の .lgd を、録画ファイルから作れます。
できること
- ロゴの解析:画素ごとに不透明度と色を求めて、透過性ロゴフィルタでそのまま読める
.lgd(ver0.1)を書きます。AviUtl で作った.lgdと比べると、輝度の不透明度の相関は 0.9996 です。 - ロゴの位置の検出:録画全体から取り出したキーフレームで、動かない縁を探して枠を合わせます。候補が複数あれば選べます。
- 画面で直す:枠は絵の上でドラッグして、または矢印キーで 1 画素ずつ動かせます。解析が終わると、ロゴを消した絵で仕上がりを確かめられます。
- ロゴ名は CP932:AviUtl と同じ文字コードで書きます。CP932 に無い文字は保存の前に知らせます。
CM や場面転換でロゴが消えるフレームは自動で外すので、解析する範囲を選ばなくても使えます。
ダウンロード
- Windows:
LogoScan-0.1.0-windows-x86_64.zipを展開してlgdscan-gui.exeを起動してください。FFmpeg 8.1 をffmpegフォルダーに同梱しています。 - Linux:
LogoScan-0.1.0-linux-x86_64.tar.gz。Ubuntu 22.04 以降など、glibc 2.35 以上で動きます。FFmpeg はディストリビューションのものを入れてください。
どちらにも、画面版の lgdscan-gui とコマンド版の lgdscan が入っています。
The first release. LogoScan builds the same .lgd files as AviUtl's logo analysis plugin, straight from a recording.
What it does
- Analyses the logo: finds the opacity and colour of every pixel and writes a ver0.1
.lgdthe transparent-logo filter reads as it is. Against a.lgdmade by AviUtl, the luma opacity correlates at 0.9996. - Finds the logo: looks for edges that stay put across keyframes taken from the whole recording and places the box there. When there are several candidates, you choose.
- Lets you adjust it on the picture: drag the box, or move it a pixel at a time with the arrow keys. When the analysis is done, the picture shows the logo removed so you can judge the result.
- Writes names in CP932, as AviUtl does, and tells you before saving if a character cannot be written.
Frames in which the logo is gone — commercials, scene changes — are set aside on their own, so there is no need to pick a range.
Download
- Windows: unpack
LogoScan-0.1.0-windows-x86_64.zipand runlgdscan-gui.exe. FFmpeg 8.1 comes with it, in theffmpegfolder. - Linux:
LogoScan-0.1.0-linux-x86_64.tar.gz, for Ubuntu 22.04 or later and the like (glibc 2.35). Install FFmpeg from your distribution.
Both contain the window, lgdscan-gui, and the command, lgdscan.