Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix thumbnails on videos #39

Merged
merged 1 commit into from
Dec 22, 2024
Merged

Fix thumbnails on videos #39

merged 1 commit into from
Dec 22, 2024

Conversation

resucutie
Copy link
Owner

@resucutie resucutie commented Nov 17, 2024

This pull request involves significant changes to the lib/utils/compressor.dart file to replace the ffmpeg_cli package with the fc_native_video_thumbnail package for generating video thumbnail. The reason behind is that ffmpeg has to be provided by the system, and not by the application, meaning that if the system does not have ffmpeg, then it cannot generate thumbnails. fc_native_video_thumbnail does use native implementations, but it does not support Linux
Sadly there's no other cross platform option when it comes to extracting a thumbnail other than ffmpeg, and screenshotting a video player is not possible (SachinGanesh/screenshot#62)

Package changes:

  • Removed ffmpeg_cli dependency and added fc_native_video_thumbnail

@resucutie resucutie added this to the 1.6.0 milestone Nov 17, 2024
@resucutie resucutie merged commit e0fd4de into dev Dec 22, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant