[Feature]: Video Cropping support with fixed aspect ratio presets (remove letterbox/black bars)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 48/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
-
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.
-
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
cropdetectfilter (e.g.,cropdetect=24:2).
- Apply FFmpeg's video filter:
- Lingua principale
- C#
- Stelle
- 3.6k
- Fork
- 192
- Merge medio
- 7h 12m
- PR unite (30g)
- 344
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di KnifeLemon/Filee
-
Format request: .cajApertaformats
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
KnifeLemon/Filee#837 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
KnifeLemon/Filee#835 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 18/100
KnifeLemon/Filee#832 ·
I maintainer di solito rispondono entro 1 giorno
-
[Format]: .exeApertaformats
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
KnifeLemon/Filee#831 ·
I maintainer di solito rispondono entro 1 giorno
-
[Format]: .accdbApertaformats
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
KnifeLemon/Filee#829 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di KnifeLemon/Filee
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 76/100
GameShowLDA/AskMkiM#1075 ·
I maintainer di solito rispondono entro 1 giorno
-
kind/bug triage/untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
unoplatform/uno.resizetizer#414 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno