{"id":23388464,"url":"https://github.com/trikko/raylib-ffmpeg-video","last_synced_at":"2026-05-01T13:31:10.065Z","repository":{"id":268107254,"uuid":"903337361","full_name":"trikko/raylib-ffmpeg-video","owner":"trikko","description":"Hacky way to display video with raylib, in C or D programming language","archived":false,"fork":false,"pushed_at":"2024-12-14T21:08:53.000Z","size":2884,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T20:48:52.336Z","etag":null,"topics":["c","d","dlang","ffmpeg","raylib","video"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trikko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-12-14T10:48:45.000Z","updated_at":"2025-03-25T08:43:19.000Z","dependencies_parsed_at":"2024-12-14T11:29:52.891Z","dependency_job_id":"1a110c1b-4bd0-4871-9cea-2a9abffcb73f","html_url":"https://github.com/trikko/raylib-ffmpeg-video","commit_stats":null,"previous_names":["trikko/raylib-ffmpeg-video"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trikko/raylib-ffmpeg-video","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trikko%2Fraylib-ffmpeg-video","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trikko%2Fraylib-ffmpeg-video/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trikko%2Fraylib-ffmpeg-video/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trikko%2Fraylib-ffmpeg-video/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trikko","download_url":"https://codeload.github.com/trikko/raylib-ffmpeg-video/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trikko%2Fraylib-ffmpeg-video/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32499681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["c","d","dlang","ffmpeg","raylib","video"],"created_at":"2024-12-22T02:22:05.974Z","updated_at":"2026-05-01T13:31:09.759Z","avatar_url":"https://github.com/trikko.png","language":"C","funding_links":["https://paypal.me/andreafontana/5"],"categories":[],"sub_categories":[],"readme":"# Raylib with FFmpeg - Audio/Video Rendering Example\n\n![Demo](ffmpeg.gif)\n\nA simple example showcasing how to use FFmpeg (the executable) with Raylib to render audio and video content.\n\nIf you find this example useful, consider buying me a beer! 🍺\nhttps://paypal.me/andreafontana/5\n\n## Build\n\nTo compile the project:\n- C version: simply run `make` in the project directory\n- D version: run `dub --single main.d` in the project directory\n\n## Description\n\nThis project demonstrates how to integrate FFmpeg (via command line) with Raylib to:\n- Play video content\n- Handle synchronized audio\n- Manipulate display in real-time\n\nSince it leverages FFmpeg's extensive codec support, this solution can play almost any video format, even rare or exotic ones that FFmpeg can read.\n\nIn this example the video is streamed from Wikipedia, but FFmpeg can read content from any supported source (local files, HTTP, RTSP, UDP, etc.).\n\n## Controls\n\n- **Mouse**: Drag video around the window\n- **Mouse Wheel**: Zoom in/out video content\n\n## Requirements\n\n- FFmpeg installed and available in system PATH\n- Raylib\n\n## Note\n\nThis example uses FFmpeg as an external executable and not the native libraries (libavcodec, libavformat, etc.). This approach greatly simplifies the implementation while maintaining good performance for basic use cases.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrikko%2Fraylib-ffmpeg-video","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrikko%2Fraylib-ffmpeg-video","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrikko%2Fraylib-ffmpeg-video/lists"}