{"id":19306899,"url":"https://github.com/59de44955ebd/ffmpeghapglplayer","last_synced_at":"2026-04-09T23:04:40.881Z","repository":{"id":134462039,"uuid":"143196944","full_name":"59de44955ebd/FFmpegHapGlPlayer","owner":"59de44955ebd","description":"mattbeghin's FFmpegHapGlPlayer as VS2017 project (pre-configured for x64 Release only)","archived":false,"fork":false,"pushed_at":"2018-08-06T11:26:32.000Z","size":8304,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-06T01:09:29.403Z","etag":null,"topics":["ffmpeg","hap","opengl","vs2017","windows"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/59de44955ebd.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}},"created_at":"2018-08-01T19:04:07.000Z","updated_at":"2021-06-13T19:21:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"e74f39fc-9811-4263-ac5b-65d4400c1d54","html_url":"https://github.com/59de44955ebd/FFmpegHapGlPlayer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/59de44955ebd%2FFFmpegHapGlPlayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/59de44955ebd%2FFFmpegHapGlPlayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/59de44955ebd%2FFFmpegHapGlPlayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/59de44955ebd%2FFFmpegHapGlPlayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/59de44955ebd","download_url":"https://codeload.github.com/59de44955ebd/FFmpegHapGlPlayer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240408986,"owners_count":19796788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","hap","opengl","vs2017","windows"],"created_at":"2024-11-10T00:08:49.890Z","updated_at":"2026-04-09T23:04:40.841Z","avatar_url":"https://github.com/59de44955ebd.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FFmpegHapGlPlayer\n\nThis repo contains \"[FFmpegHapGlPlayer](https://github.com/mattbeghin/FFmpegHapGlPlayer)\" as VS2017 project, and includes all required binary libs and include files to build for x64 Release. If you want to build for Win32 and/or Debug, you have to configure and compile the needed libs (ffmpeg, SDL2, snappy) yourself.\n\nMatt's original FFmpegHapGlPlayer repo:\nhttps://github.com/mattbeghin/FFmpegHapGlPlayer\n\nOriginal README:\n\nVery simple cross-platform code to playback a HAP video file using FFMPEG for demuxing and HapDecode/OpenGL for decoding.\nIt handles Hap, Hap Alpha, HapQ but not HapQ+Alpha since it's not recognized by ffmpeg today (july 2018).\n\nThe idea in this project is to demonstrate how to:\n- demux a HAP video file using FFmpeg / libavformat\n- decompress the snappy compression using HapDecode\n- send the compressed DXT buffer to an OpenGL texture (or two if HapQ+Alpha but this format is not yet supported in FFMPEG...)\n- render the texture using OpenGL (with a specific shader in case of HapQ)\n\nIt uses SDL2 to create an OpenGL window.\n\nI've been searching for how to do this process and couldn't find a simple sample, so here it is.\nAs it's only to demonstrate the process, it ignores any audio track, and I took some shortcuts (freeing resources properly, SDL_Delay call etc.), so the code is small enough to focus on demux-\u003eHapDecode-\u003etexture(s)-\u003eshader-\u003edisplay.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F59de44955ebd%2Fffmpeghapglplayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F59de44955ebd%2Fffmpeghapglplayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F59de44955ebd%2Fffmpeghapglplayer/lists"}