{"id":29855869,"url":"https://github.com/qbixxx/datamosh","last_synced_at":"2026-04-09T21:04:26.504Z","repository":{"id":306945489,"uuid":"976767580","full_name":"qbixxx/datamosh","owner":"qbixxx","description":"A Bash abomination that slaps two videos together using unsupervised datamoshing magic. Works (barely) on my machine ","archived":false,"fork":false,"pushed_at":"2025-07-28T14:39:48.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-28T16:29:41.401Z","etag":null,"topics":["avi","bash","bash-script","datamosh","datamosh-glitch","datamosher","datamoshing","datamoshing-filter","ffmpeg","ffmpeg-script","linux","mp4","mp4-video","vlc"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/qbixxx.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,"zenodo":null}},"created_at":"2025-05-02T17:59:16.000Z","updated_at":"2025-07-28T14:39:52.000Z","dependencies_parsed_at":"2025-07-28T16:29:42.543Z","dependency_job_id":"44269bf8-c6a3-48c1-9eac-321d6bca308d","html_url":"https://github.com/qbixxx/datamosh","commit_stats":null,"previous_names":["qbixxx/datamosh"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/qbixxx/datamosh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbixxx%2Fdatamosh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbixxx%2Fdatamosh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbixxx%2Fdatamosh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbixxx%2Fdatamosh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qbixxx","download_url":"https://codeload.github.com/qbixxx/datamosh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbixxx%2Fdatamosh/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267779233,"owners_count":24143185,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"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":["avi","bash","bash-script","datamosh","datamosh-glitch","datamosher","datamoshing","datamoshing-filter","ffmpeg","ffmpeg-script","linux","mp4","mp4-video","vlc"],"created_at":"2025-07-29T23:23:43.429Z","updated_at":"2026-04-09T21:04:26.491Z","avatar_url":"https://github.com/qbixxx.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔥 Datamosh - The Glitchy Video Toy™\n\n![It Works On My Machine](https://img.shields.io/badge/It_Works-On_My_Machine-success?style=for-the-badge)\n![Not for Production](https://img.shields.io/badge/Not_for-Production-red?style=for-the-badge)\n![Glitch Level](https://img.shields.io/badge/Glitch_Level-Over_9000-blueviolet?style=for-the-badge)\n\nA small command-line tool for creating **datamosh** effects between video files. Expect glitches, weird colors, pixel trails… and a lot of happy accidents.\n\n---\n\n## What is this?\n\nThis is a bash script that intentionally manipulates video data to create the well-known glitch aesthetic: colors blend in strange ways, shapes smear across frames, and compression artifacts turn into visuals of their own.  \n\nIt’s not meant for professional use—think of it more like a digital art toy. Perfect for experimentation, music videos, or just messing around.\n\n---\n\n## Works On My Machine™ Guarantee\n\nThis was tested on my setup and it produced actual glitchy videos without catastrophic side effects. Your results may vary depending on OS, ffmpeg version, or cosmic alignment.  \n\nIf it runs fine for you, great! 🎉  \nIf not… well, glitches are part of the charm.\n\n---\n\n## Installation\n\nYou’ll need a couple of tools installed:\n\n- `ffmpeg` (video processing)\n- `bc` (basic math)\n\n```bash\n# Install dependencies\nsudo apt install ffmpeg bc\n\n# Clone this repository\ngit clone https://github.com/qbixxx/datamosh.git\ncd datamosh\n\n# Make the script executable\nchmod +x datamosh.sh\n```\n\n---\n\n## Usage\n\nBasic usage:\n\n```bash\n./datamosh.sh input1.mp4 input2.mp4\n```\n\nThis will generate an output file named something like:  \n`datamoshed_20250501_123045.mp4`\n\n### More options\n\n```bash\n# Custom output filename (timestamp still added)\n./datamosh.sh input1.mp4 input2.mp4 my_output.mp4\n\n# Apply a glitch profile\n./datamosh.sh --profile bloom input1.mp4 input2.mp4\n\n# Set intensity level (1–5)\n./datamosh.sh input1.mp4 input2.mp4 3\n\n# Also create a GIF\n./datamosh.sh --gif input1.mp4 input2.mp4\n\n# Show help\n./datamosh.sh --help\n```\n\n---\n\n## Profiles\n\n- **glitch** – Subtle static-like distortion  \n- **bloom** – Color bleeding effects  \n- **smear** – Trailing/motion smear  \n- **extreme** – Heavy destruction  \n- **rainbow** – Saturated and colorful chaos  \n\n---\n\n## How it works (in short)\n\n1. Convert videos to AVI (Xvid codec)  \n2. Extract parts of them as raw binary  \n3. Remove or shift bytes in key spots  \n4. Concatenate the broken data  \n5. Re-encode back to MP4  \n\nNot the most efficient process, but it does the job.\n\n---\n\n## Demo\nhttps://github.com/user-attachments/assets/9058e940-7ae0-4e25-9e86-bc477d0b8115\n\n---\n\n## Troubleshooting\n\n**Q: Output is just black?**  \nA: That’s still valid glitch art—minimalist edition.  \n\n**Q: The video crashes my player?**  \nA: Try VLC or MPV. Some players don’t enjoy corrupted streams.  \n\n**Q: Doesn’t look glitchy enough?**  \nA: Use `--profile extreme` or increase intensity.\n\n---\n\n## Disclaimer\n\nThis script breaks video files on purpose. Use at your own risk. No warranties.  \n\nIf it accidentally generates your next music video masterpiece, even better.\n\n---\n\n## License\n\nMIT-style, with extra shrugging. Do what you want, just don’t hold me liable.\n\n---\n\n## Contributions\n\nPull requests are welcome! Bug fixes, new profiles, or unexpected new bugs that look cool are all appreciated.\n\n---\n\n## Acknowledgments\n\n- Codec developers everywhere (sorry for abusing your work 🙏)  \n- ffmpeg, for being endlessly hackable  \n- Everyone who sees glitches and says “that looks broken”… when in fact, it’s working perfectly  \n\n---\n\n👉 If someone asks what you’re doing, just say:  \n**“I’m experimenting with video compression artifacts.”**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqbixxx%2Fdatamosh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqbixxx%2Fdatamosh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqbixxx%2Fdatamosh/lists"}