{"id":19906351,"url":"https://github.com/waliid/pillarbox-smooth-seeking","last_synced_at":"2026-06-11T17:31:08.913Z","repository":{"id":237043505,"uuid":"793688307","full_name":"waliid/pillarbox-smooth-seeking","owner":"waliid","description":"A small project showing how Pillarbox smooth seeking works.","archived":false,"fork":false,"pushed_at":"2024-05-02T18:10:29.000Z","size":2536,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-01T07:46:43.347Z","etag":null,"topics":["apple","avfoundation","avplayer","ios","media","smooth-seeking","stream","swift","video"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/waliid.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":"2024-04-29T17:22:23.000Z","updated_at":"2024-05-15T16:39:50.000Z","dependencies_parsed_at":"2024-04-29T18:44:36.059Z","dependency_job_id":"6455fa4b-64f3-4d59-b3ad-8611ce52d1c9","html_url":"https://github.com/waliid/pillarbox-smooth-seeking","commit_stats":null,"previous_names":["waliid/pillarbox-smooth-seeking"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/waliid/pillarbox-smooth-seeking","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waliid%2Fpillarbox-smooth-seeking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waliid%2Fpillarbox-smooth-seeking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waliid%2Fpillarbox-smooth-seeking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waliid%2Fpillarbox-smooth-seeking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/waliid","download_url":"https://codeload.github.com/waliid/pillarbox-smooth-seeking/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waliid%2Fpillarbox-smooth-seeking/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34211061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"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":["apple","avfoundation","avplayer","ios","media","smooth-seeking","stream","swift","video"],"created_at":"2024-11-12T20:36:02.832Z","updated_at":"2026-06-11T17:31:08.893Z","avatar_url":"https://github.com/waliid.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AVPlayer seek improvement\n\n## How AVPlayer's seek seems to work\n\nDuring a seek using AVPlayer, moving from the position **A** to the position **B** will result in the passage of several intermediate positions, from **I\u003csub\u003e0\u003c/sub\u003e** to **I\u003csub\u003en\u003c/sub\u003e**.\nAll intermediate **I** positions are cancelled. In other words, the move from **I\u003csub\u003e0\u003c/sub\u003e** to **I\u003csub\u003e1\u003c/sub\u003e** will take place and **I\u003csub\u003e1\u003c/sub\u003e** will cancel **I\u003csub\u003e0\u003c/sub\u003e**, the move from **I\u003csub\u003e1\u003c/sub\u003e** to **I\u003csub\u003e2\u003c/sub\u003e** will take place and **I\u003csub\u003e2\u003c/sub\u003e** will cancel the intermediate seek **I\u003csub\u003e1\u003c/sub\u003e**, and so on. In the end, all intermediate positions will be cancelled and the effective seek will be from position A to position B.\n\n![AVPlayer Seek](Resources/smooth-seeking-0.jpg)\n\n## Smooth Seeking\n\n\u003e Smooth Seeking, a concept introduced and term borrowed from the [Pillarbox project](https://github.com/SRGSSR/pillarbox-apple), offers a more advanced implementation than the one presented in this project.\n\nThe Smooth Seeking consists to ignore unnecessary intermediate seeks. When seeking from position **A** to position **B**, all intermediate positions will not be performed, some of them will be ignored. In other words, if we are on intermediate position **I\u003csub\u003e0\u003c/sub\u003e**, until position **I\u003csub\u003e0\u003c/sub\u003e** is completed, intermediate positions between **I\u003csub\u003e0\u003c/sub\u003e** and **I\u003csub\u003ex\u003c/sub\u003e** will be ignored.\n\n![Smooth Seek](Resources/smooth-seeking-1.jpg)\n\n## Demo\n\n![Demo Logs](Resources/demo.mov)\n\n### Logs\n\n```\nRaw Player: 🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🔴🟢\n\nSmooth Player: 🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢🟢\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaliid%2Fpillarbox-smooth-seeking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaliid%2Fpillarbox-smooth-seeking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaliid%2Fpillarbox-smooth-seeking/lists"}