{"id":47937825,"url":"https://github.com/lextrack/godotvideoconverterpy","last_synced_at":"2026-04-08T16:00:58.257Z","repository":{"id":343353347,"uuid":"1177357289","full_name":"lextrack/GodotVideoConverterPy","owner":"lextrack","description":"A video converter for Godot and Love2D - drag, drop, and get optimized OGV files without any plugins","archived":false,"fork":false,"pushed_at":"2026-03-24T22:38:01.000Z","size":231,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-04T07:53:49.639Z","etag":null,"topics":["ffmpeg","godot","love2d","opencv","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lextrack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-10T00:27:02.000Z","updated_at":"2026-03-24T22:23:33.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/lextrack/GodotVideoConverterPy","commit_stats":null,"previous_names":["lextrack/godotvideoconverterpy"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/lextrack/GodotVideoConverterPy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lextrack%2FGodotVideoConverterPy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lextrack%2FGodotVideoConverterPy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lextrack%2FGodotVideoConverterPy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lextrack%2FGodotVideoConverterPy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lextrack","download_url":"https://codeload.github.com/lextrack/GodotVideoConverterPy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lextrack%2FGodotVideoConverterPy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31562696,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ffmpeg","godot","love2d","opencv","python"],"created_at":"2026-04-04T07:53:47.863Z","updated_at":"2026-04-08T16:00:58.252Z","avatar_url":"https://github.com/lextrack.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Godot Video Converter\n\nDesktop utility for converting videos into game-ready formats, with a strong focus on OGV workflows for Godot and atlas generation for 2D pipelines.\n\nThis project is a Python rewrite of the original [.NET tool](https://github.com/lextrack/GodotVideoConverter).\n\n## What does this app mainly do?\n\n- Convert videos to `ogv`, `mp4`, `webm`, and `gif`\n- Switch between `Godot` and `Love2D` engine profiles for OGV-specific presets\n- Apply engine-oriented OGV presets for practical playback workflows\n- Generate PNG sprite atlases from video clips\n- Batch process multiple files from a simple GUI\n- Analyze the selected video before converting\n- Show a simple summary of what the video has and what to do next\n\n## Current Positioning\n\nThe app is still centered on Godot, but it now includes a dedicated Love2D OGV profile and engine-specific guidance. Love2D has its own OGV preset family and playback recommendations, while the rest of the output formats remain shared between engine profiles.\n\n## Main Workflows\n\n### 1. Convert Video for Godot\n\nUse this when you want a video file ready for in-engine playback.\n\n- `ogv` is the main target for Godot-oriented workflows\n- The engine profile changes only the `ogv` preset family; `mp4`, `webm`, and `gif` stay the same\n- The `Quality` selector changes the overall image/audio quality; the engine preset changes how the video behaves during playback\n- The app analyzes the selected video and shows two blocks: what the video has, and the recommended next step\n- Those suggestions can change based on duration, resolution, FPS, audio, source codec, aspect ratio, selected engine, and selected output format\n- Godot OGV modes:\n  - `Official Godot`: recommended starting point for most Godot videos\n  - `Seek Friendly`: better if the video needs to start from different points\n  - `Ideal Loop`: better for videos that need to repeat smoothly\n  - `Mobile Optimized`: safer choice for weaker devices\n  - `High Compression`: smaller file, but less agile when jumping through the video\n- Love2D OGV modes:\n  - `Love2D Compatibility`: safest starting point for Love2D\n  - `Seek Friendly`: better if the video needs to start from different points\n  - `Ideal Loop`: better for videos that need to repeat smoothly\n  - `Lightweight`: smaller file for simple or decorative playback\n- You can also export to `mp4`, `webm`, or `gif`\n- Resolution, FPS, and audio handling can be adjusted from the GUI\n\n### 2. Generate Atlas from a Video\n\nUse this when the video is really an animation source and you want frames packed into a texture.\n\n- Export atlas as PNG\n- Layout modes:\n  - `grid`\n  - `horizontal`\n  - `vertical`\n- Resolution presets:\n  - `Low`\n  - `Medium`\n  - `High`\n- Backends:\n  - `ffmpeg`\n  - `opencv`\n\nThis workflow is especially useful for 2D engines, prototyping, UI animation sources, and effects pipelines.\n\n## Why Use This Instead of Raw FFmpeg\n\nFFmpeg already does the heavy lifting. This app is useful because it reduces repeated setup work:\n\n- Presets instead of remembering long command lines\n- Safer defaults for common Godot OGV cases\n- Batch conversion from a GUI\n- Video analysis before export\n- Atlas generation in the same tool\n- Lightweight recommendations for format and playback decisions\n\n## Requirements\n\n- Python 3.11+\n- FFmpeg and FFprobe\n\nIn this project, `bin/` is mainly used for Windows builds.\n\n### Linux\n\n- Install `ffmpeg` with your distro package manager\n- Make sure `ffmpeg` and `ffprobe` are available in `PATH`\n\nVerify:\n\n```bash\nffmpeg -version\nffprobe -version\n```\n\n### Windows\n\nUse one of these options:\n\n- `bin/ffmpeg.exe` and `bin/ffprobe.exe`\n- `GVC_FFMPEG_DIR=/path/to/binaries`\n- FFmpeg binaries available in `PATH`\n\n## Installation (Linux)\n\nInstall dependencies for your distro:\n\n```bash\n# Arch / CachyOS\nsudo pacman -S ffmpeg python\n\n# Debian / Ubuntu\nsudo apt update\nsudo apt install ffmpeg python3 python3-venv python3-pip\n\n# Fedora\nsudo dnf install ffmpeg python3 python3-pip\n\n# openSUSE\nsudo zypper install ffmpeg python3 python3-pip\n```\n\nThen install the project:\n\n```bash\ncd python_converter\npython -m venv .venv\nsource .venv/bin/activate\npip install -r requirements.txt\npip install -e .\n```\n\n## Run the GUI\n\n```bash\ngvc-gui\n```\n\n## Portable Build\n\n### Linux\n\n1. Install FFmpeg on the system.\n2. Verify `ffmpeg` and `ffprobe` are available.\n3. Run:\n\n```bash\nbash scripts/build_linux.sh\n```\n\nOutput is generated in `dist/gvc/`.\n\nLinux distribution notes:\n\n- Ship the full `dist/gvc/` directory\n- End users still need `ffmpeg` and `ffprobe` available in `PATH`\n\n### Windows\n\n1. Copy binaries to `bin/ffmpeg.exe` and `bin/ffprobe.exe`\n2. Run:\n\n```powershell\n./scripts/build_windows.ps1\n```\n\nOutput is generated in `dist/gvc/`.\n\nWindows distribution notes:\n\n- Ship the full `dist/gvc/` directory\n- FFmpeg binaries are bundled only if they were present in `bin/` during the build\n\n## Project Structure\n\n- `src/gvc/gui.py`: PySide6 desktop interface\n- `src/gvc/convert.py`: conversion presets and FFmpeg argument building\n- `src/gvc/atlas.py`: atlas generation with FFmpeg or OpenCV\n- `src/gvc/probe.py`: metadata probing through FFprobe\n- `src/gvc/recommendations.py`: Godot-oriented playback recommendations\n- `src/gvc/ffmpeg_paths.py`: FFmpeg and FFprobe path resolution\n- `src/gvc/settings.py`: persisted UI settings\n- `src/gvc/i18n.py`: UI text and localization helpers\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flextrack%2Fgodotvideoconverterpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flextrack%2Fgodotvideoconverterpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flextrack%2Fgodotvideoconverterpy/lists"}