Originally created by: pleguen
Originally owned by: KnifeLemon
What would you like Filee to do?
I would like Filee to support Video Frame Splitting / Extraction when converting a video file (MP4, MKV, MOV, etc.) into an image format (JPEG or PNG).
Instead of converting the video into another single video container, Filee should be able to explode/split the video file into its individual frames (a full sequence of images) and save them inside a dedicated subfolder named after the original video (e.g., /MyVideo_frames/).
Why / when would you use it?
I'm a photographer doing Focus Stacking (especially in macrophotography). Many modern cameras or setups record focus bracketing sequences as high-resolution 4K video files.
Currently, web-based tools fail or skip frames and doing it manually via VLC or scripts is tedious. Having this natively at a "right-click" distance in Filee would be a nice to have feature.
Ideas for how it could work
Since Filee already relies on FFmpeg under the hood for video conversions, the engine is already there! The application just needs to detect if the source is a video and the target output is selected as JPEG or PNG, then run a frame extraction command instead of a standard format conversion.
Target Folder Creation: Automatically create a subfolder in the output directory to avoid flooding the user's workspace with thousands of images:
[Output_Directory]/[Video_Name]_frames/
Underlying FFmpeg command suggestion:
bash
ffmpeg -i "input.mp4" -q:v 2 "[Output_Directory]/[Video_Name]_frames/frame_%04d.jpg"
(Note: -q:v 2 ensures high-quality JPEG extraction without massive compression artifacts, which is critical for photography and stacking software).
Work in progress :
Originally posted by: KnifeLemon
Thanks for this, and for already getting it working in your fork! I'd love to have it in Filee. Could you open the PR against KnifeLemon/Filee? It'll be merged under your name, and you'll be in the release notes as a contributor.
A few changes it needs first, because video → JPG/PNG already has a job today:
CONTRIBUTING.md has the build and test steps. Ping me if anything is unclear, and no rush.