Skip to content

Increase completed game fetch speed 30x and decrease file size by 90% via on-the-fly compression#14

Open
sachabest wants to merge 15 commits into
adam-ducker:masterfrom
sachabest:use-ffmpeg
Open

Increase completed game fetch speed 30x and decrease file size by 90% via on-the-fly compression#14
sachabest wants to merge 15 commits into
adam-ducker:masterfrom
sachabest:use-ffmpeg

Conversation

@sachabest
Copy link
Copy Markdown

Use ffmpeg on-the-fly encoding to save (--fetch'd) games in compressed mp4 format. Increase save speed by ~30x and decreases file size by 90% at 1080p resolution. Also allow configurable ffmpeg binary (for hardware encoding, for example) in config file.

Further enhancements would allow for configuration of compression parameters (cq/target bitrate/encoder) and hardware encoding options.

NOTE: this fork is based on #13 and that PR should be merged first.

@sachabest sachabest changed the title Use ffmpeg for fetching completed games and allow configurable ffmpeg binary Increase completed game fetch speed 30x and decrease file size by 90% via on-the-fly compression Apr 26, 2025
@mkomko
Copy link
Copy Markdown

mkomko commented Apr 26, 2025

Interesting. Did you make it an opt-in option?

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.

3 participants