{"id":18564227,"url":"https://github.com/andrewtyw/ffmpeg-reverse-playback","last_synced_at":"2026-03-10T19:32:24.079Z","repository":{"id":163563896,"uuid":"500324376","full_name":"andrewtyw/ffmpeg-reverse-playback","owner":"andrewtyw","description":"A demo of using ffmpeg to play a video in reverse.","archived":false,"fork":false,"pushed_at":"2023-08-03T03:33:03.000Z","size":2685,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T18:54:50.651Z","etag":null,"topics":["cpp","ffmpeg","qt"],"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/andrewtyw.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":"2022-06-06T06:54:48.000Z","updated_at":"2024-11-19T06:08:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"efcb4e88-a548-49e5-8798-0ae357c3abfd","html_url":"https://github.com/andrewtyw/ffmpeg-reverse-playback","commit_stats":null,"previous_names":["andrewtyw/ffmpeg-reverse-playback"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andrewtyw/ffmpeg-reverse-playback","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewtyw%2Fffmpeg-reverse-playback","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewtyw%2Fffmpeg-reverse-playback/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewtyw%2Fffmpeg-reverse-playback/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewtyw%2Fffmpeg-reverse-playback/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewtyw","download_url":"https://codeload.github.com/andrewtyw/ffmpeg-reverse-playback/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewtyw%2Fffmpeg-reverse-playback/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30350073,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T15:55:29.454Z","status":"ssl_error","status_checked_at":"2026-03-10T15:54:58.440Z","response_time":106,"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":["cpp","ffmpeg","qt"],"created_at":"2024-11-06T22:14:38.618Z","updated_at":"2026-03-10T19:32:24.052Z","avatar_url":"https://github.com/andrewtyw.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Video-reverse-playing\nA pretty easy demo of using FFmpeg to play video in reverse\n\n## Environment\n- Qt 5.14 MinGW 64-bit \n- ffmpeg n4.4.2-20220415\n\n## How it works?\n- I use the producer-consumer design pattern. The video decoder will decode video frames into a blocking queue. Once the queue is non-empty, the frame render will be notified and then retrieve frames from the buffer and render them on the screen.  \n\n## Important classes:\n- `ReverseDisplay` in `/reverse_v3/reversedisplay.h`,  rendering thread.\n- `ReverseDecode` in `/reverse_v3/reversedecode.h`, video-decoding thread.\n- `Controller` in `/reverse_v3/utils.h`, a structure that contains a blocking queue to control the rendering and decoding thread.\n\n\n\n![demo](https://user-images.githubusercontent.com/78400045/172114723-67d8f044-c21b-4da7-9f41-3c2ed10d79d3.jpg)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewtyw%2Fffmpeg-reverse-playback","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewtyw%2Fffmpeg-reverse-playback","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewtyw%2Fffmpeg-reverse-playback/lists"}