Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Feature]: Video Cropping support with fixed aspect ratio presets (remove letterbox/black bars)

オープン
#830 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp
領域
desktop

調査の方向性

Start by reading the existing image crop feature and the video processing entry points to understand how Filee presents previews and invokes FFmpeg. Add video frame cropping with the requested aspect ratio presets and orientation toggle, preserving audio where supported. The issue does not name files or tests; done means users can crop video dimensions to remove borders, with spatial cropping kept distinct from duration trimming.

索引モデルが issue の本文から書いたものです。

説明

enhancement
What would you like Filee to do?

Add a spatial Video Cropping feature (similar to the existing image crop feature) that allows users to crop video dimensions and remove unwanted borders/black bars, with fixed aspect ratio presets (such as 16:9, 4:3, 1:1, 9:16) and orientation toggle (Landscape / Portrait).

Note: This is spatial cropping (frame dimensions), not trimming (video duration cut).

Why / when would you use it?

Use Case:
Many recorded, downloaded, or shared videos come with embedded black bars (letterboxing/pillarboxing) due to improper resolution matching. For instance, a 4:3 landscape video (e.g., 960x720) often gets wrapped inside a vertical 9:16 container (e.g., 720x1280) with huge black bars on top and bottom.

Current Friction / What gets in the way:
Currently, Filee has a great drag-and-drop workflow and image cropping, but there is no built-in way to crop video borders. Today, to fix this issue, I have to rely on external manual scripts (e.g., placing videos into an input/ folder, running an FFmpeg/Python script, and retrieving them from output/). This interrupts the fast, seamless offline workflow that Filee is so great at. Having this natively in Filee would save a lot of time.

Ideas for how it could work
  1. Crop Interface (similar to Image Crop):**

    • Provide a crop preview dialog when video processing is selected.
    • Fixed Aspect Ratio presets: 16:9, 4:3, 1:1, 9:16, 21:9.
    • Orientation switcher: Landscape / Portrait.
    • Unlike images, freeform crop is not strictly necessary; predefined aspect ratio boxes with an adjustable bounding box or center-crop would already cover 95% of use cases.
  2. Under the hood (FFmpeg integration):**

    • Apply FFmpeg's video filter: -vf "crop=out_w:out_h:x:y".
    • Keep audio stream untouched (-c:a copy) to maintain conversion speed and original audio quality.
    • (Optional / Advanced idea): A 1-click "Auto-detect Black Bars" option using FFmpeg's built-in cropdetect filter (e.g., cropdetect=24:2).
主要言語
C#
スター
3.6k
フォーク
192
平均マージ
7時間 12分
マージ済み PR(30日)
344

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

KnifeLemon/Filee のほかの issue

KnifeLemon/Filee の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。