{"id":16302715,"url":"https://github.com/z7pz/hls-encryption-prototype","last_synced_at":"2026-03-18T18:53:32.182Z","repository":{"id":215128613,"uuid":"738075668","full_name":"z7pz/HLS-encryption-prototype","owner":"z7pz","description":"Basic prototype implementation for HLS encryption process for protection videos. (AES-128 based)","archived":false,"fork":false,"pushed_at":"2024-01-02T18:45:42.000Z","size":1185,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T09:48:25.729Z","etag":null,"topics":["hls","hls-player","protection"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/z7pz.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-01-02T11:09:33.000Z","updated_at":"2024-01-04T21:35:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"52b9b33c-5816-4b9f-9477-762f5425890f","html_url":"https://github.com/z7pz/HLS-encryption-prototype","commit_stats":null,"previous_names":["z7pz/hls-encryption-prototype"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/z7pz/HLS-encryption-prototype","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z7pz%2FHLS-encryption-prototype","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z7pz%2FHLS-encryption-prototype/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z7pz%2FHLS-encryption-prototype/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z7pz%2FHLS-encryption-prototype/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/z7pz","download_url":"https://codeload.github.com/z7pz/HLS-encryption-prototype/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z7pz%2FHLS-encryption-prototype/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28664656,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T14:01:31.714Z","status":"ssl_error","status_checked_at":"2026-01-22T13:59:23.143Z","response_time":144,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["hls","hls-player","protection"],"created_at":"2024-10-10T20:58:39.287Z","updated_at":"2026-01-22T14:37:50.187Z","avatar_url":"https://github.com/z7pz.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HLS encryption prototype (AES-128 based)\n\n## Try to setup\n### BACKEND\nFirst of all you need to create an encryption key `enc.key` by using the following command:\n```sh\nopenssl rand 16 \u003e enc.key\n``` \nthen create `keyinfo` file\nand it should be in this format:\n```\nlink_of_enc.key\nkey_file_path\nIV (optional)\n```\nfor example\n```\nhttp://127.0.0.1:8080/enc.key\nenc.key\n```\n\nand add your video in `./database`\n\nrun the following command to create the encrypted video\n```sh\nffmpeg -y\n  -i './database/{{ your video name }}'\n  -hls_time 200\n  -hls_key_info_file enc.keyinfo\n  -hls_playlist_type vod\n  -hls_segment_filename \"./d/chunk-%d.ts\"\n  ./d/test.m3u8\n```\n### FRONTEND\nthen you can go to the frontend file and run the html file \n\nor you can run it through running `Live Server`\n\n\n![image](https://github.com/z7pz/HLS-encryption-prototype/assets/63007978/fd799e84-4604-430c-85f2-6a924278fcd7)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz7pz%2Fhls-encryption-prototype","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz7pz%2Fhls-encryption-prototype","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz7pz%2Fhls-encryption-prototype/lists"}