{"id":16651812,"url":"https://github.com/fourjr/file2mp4","last_synced_at":"2025-06-12T04:39:55.039Z","repository":{"id":208044666,"uuid":"720674502","full_name":"fourjr/file2mp4","owner":"fourjr","description":"save file as binary in mp4","archived":false,"fork":false,"pushed_at":"2023-12-17T07:19:52.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T15:50:52.266Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/fourjr.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":"2023-11-19T08:14:42.000Z","updated_at":"2023-11-19T08:15:33.000Z","dependencies_parsed_at":"2023-11-19T11:25:08.324Z","dependency_job_id":"f34158e2-cc66-45f8-9158-220b9abb674b","html_url":"https://github.com/fourjr/file2mp4","commit_stats":null,"previous_names":["fourjr/file2mp4"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fourjr/file2mp4","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fourjr%2Ffile2mp4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fourjr%2Ffile2mp4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fourjr%2Ffile2mp4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fourjr%2Ffile2mp4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fourjr","download_url":"https://codeload.github.com/fourjr/file2mp4/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fourjr%2Ffile2mp4/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259400220,"owners_count":22851769,"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":[],"created_at":"2024-10-12T09:26:40.262Z","updated_at":"2025-06-12T04:39:55.016Z","avatar_url":"https://github.com/fourjr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## about\nUses pixel data to store file binary data\n[inspiration](https://youtu.be/_w6PCHutmb4)\n\n## example\n[sample video](https://youtu.be/zjfkkXb_CIE)\n```console\n\u003e certutil -hashfile 1Gb.dat MD5\nMD5 hash of 1Gb.dat:\nfae717cb3c1c7134ff7858246992f8b4\n\n\u003e python encode.py 1Gb.dat\nFile name: 1Gb.dat\nFile size: 1073741824 bytes\nVideo Size: 1280x720 @ 60fps 7.5Mbit/s\nVideo duration: 389 frame(s)\nProcessing frames\n100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 389/389 [00:52\u003c00:00,  7.40f/s]\nProcessing video\noutput/a6721a9a.mp4\n\n\u003e python decode.py output/a6721a9a.mp4\nFile name: output/a6721a9a.mp4\n100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 389/389 [01:05\u003c00:00,  5.91f/s]\nresult/1Gb.dat\n\n\u003e certutil -hashfile result/1GB.dat MD5\nMD5 hash of result/1GB.dat:\nfae717cb3c1c7134ff7858246992f8b4\n```\n\n## ideas\n- Use audio as well to store data\n- Combat yt compression?\n- when decoding, statically assign memory so no need for concat\n\n## libraries\n- ffmpeg\n- numpy\n- PIL\n- tqdm\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffourjr%2Ffile2mp4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffourjr%2Ffile2mp4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffourjr%2Ffile2mp4/lists"}