{"id":24501435,"url":"https://github.com/code-mc/ffmpegblackframeremove","last_synced_at":"2025-03-15T07:25:58.845Z","repository":{"id":34988447,"uuid":"39074657","full_name":"code-mc/ffmpegblackframeremove","owner":"code-mc","description":"This script removes all black sections in a by FFMPEG supported video.","archived":false,"fork":false,"pushed_at":"2015-07-14T13:00:13.000Z","size":164,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-21T22:35:03.635Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/code-mc.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-14T12:53:10.000Z","updated_at":"2021-12-19T01:04:24.000Z","dependencies_parsed_at":"2022-08-24T14:24:42.661Z","dependency_job_id":null,"html_url":"https://github.com/code-mc/ffmpegblackframeremove","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-mc%2Fffmpegblackframeremove","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-mc%2Fffmpegblackframeremove/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-mc%2Fffmpegblackframeremove/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-mc%2Fffmpegblackframeremove/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code-mc","download_url":"https://codeload.github.com/code-mc/ffmpegblackframeremove/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243698138,"owners_count":20333064,"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":"2025-01-21T22:29:25.674Z","updated_at":"2025-03-15T07:25:58.823Z","avatar_url":"https://github.com/code-mc.png","language":"Python","readme":"# FFMPEG Black removal script\n\nInspired by the superuser post [here](http://superuser.com/questions/692489/automatically-split-large-mov-video-files-into-smaller-files-at-black-frames-s). This script removes all black sections in a by FFMPEG supported video. There's a couple params you can tweak, the default ones are tested and confirmed working.\n\n\n### Usage\n\n1. First up you'll have to download FFMPEG yourself, which can be found [here](http://ffmpeg.zeranoe.com/builds/). \n2. Put the ffmpeg.exe file in the appropriate location (indicated by the file called \"ffmpegEXEgoeshere\").\n3. Stash your black framed video files inside the video folder.\n4. Run the python script.\n5. The stripped files will be inside the video folder and have \"RED\" appended to their file name.\n\n\n### Params\n\nThere's a couple parameters you can tweak. These are located inside the \"detect.py\" file itself. \n\n`dur` Set the minimum detected black duration (in seconds)   \n`pic` Set the threshold for considering a picture as \"black\" (in percent)    \n`pix` Set the threshold for considering a pixel \"black\" (in luminance)    \n\n\n### Contributing\n\nIf you find bugs you can notify me by opening an issue. Already solved the bug? Great! Make a pull request and I'll merge it.\n\n----------------------------------------------------------------------------------------------\n\n# License\n\nReleased under the [Apache 2.0 License](https://github.com/code-mc/ffmpegblackframeremove/blob/master/license.md)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-mc%2Fffmpegblackframeremove","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-mc%2Fffmpegblackframeremove","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-mc%2Fffmpegblackframeremove/lists"}