{"id":16323797,"url":"https://github.com/david-else/cpv-convert-and-proxy-video","last_synced_at":"2026-04-14T23:31:39.929Z","repository":{"id":103073139,"uuid":"180562696","full_name":"David-Else/cpv-convert-and-proxy-video","owner":"David-Else","description":"High quality, high speed shell script for converting and creating files for use in video editing software","archived":false,"fork":false,"pushed_at":"2019-04-10T11:22:36.000Z","size":4,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T04:26:56.052Z","etag":null,"topics":["bash","ffmpeg","video-editing"],"latest_commit_sha":null,"homepage":null,"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/David-Else.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":"2019-04-10T10:58:01.000Z","updated_at":"2024-09-27T06:09:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"40f0de30-636e-4bf2-88cb-af619af98e08","html_url":"https://github.com/David-Else/cpv-convert-and-proxy-video","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/David-Else%2Fcpv-convert-and-proxy-video","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David-Else%2Fcpv-convert-and-proxy-video/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David-Else%2Fcpv-convert-and-proxy-video/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/David-Else%2Fcpv-convert-and-proxy-video/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/David-Else","download_url":"https://codeload.github.com/David-Else/cpv-convert-and-proxy-video/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254170067,"owners_count":22026219,"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":["bash","ffmpeg","video-editing"],"created_at":"2024-10-10T22:55:41.361Z","updated_at":"2026-04-14T23:31:34.876Z","avatar_url":"https://github.com/David-Else.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CPV - Convert and Proxy Video\n\nHigh quality, high speed shell script for converting and creating files for use\nin video editing software.\n\n- Losslessly converts video files to the .mkv container for compatibility with\n  video editing software\n\n- Optionally creates lower resolution proxy files for editing to save CPU (for\n  replacement on final render)\n\nSome video editing software does not like certain file formats (like .MTS), and\noften you need to create much lower resolution versions of your source video to\nbe able to edit without the CPU overloading.\n\nIf your software does not support making proxy files then you need to create\nthem yourself and manually replace them for the final render. The new version of\nBlender 2.8 will do this for you automatically\nhttps://www.youtube.com/watch?v=NRhTiFAHL1k, but you might not be lucky enough\nto be using that :)\n\nTested for use in [Reaper](https://www.reaper.fm/) using FFmpeg as video\ndecoder.\n\n## Dependencies\n\nRequires [FFmpeg ](https://ffmpeg.org/) installed and available on the command\nline.\n\n## Usage\n\nDownload the script to a folder in your PATH so you can run it, and make it\nexecutable:\n[direct link to script to copy/paste](https://raw.githubusercontent.com/David-Else/cpv-convert-and-proxy-video/master/cpv)\n\n```\ncpv [options] [filename]\n\nOptional arguments:\n\n-c  specify container (defaults to .MTS)\n-i  specify input file\n-a  proccess all files in the directory\n\nExamples:\n\ncpv -i test.MTS     convert file to .mkv\ncpv -c .mp4 -a      convert all files with .mp4 extensions in current directory\ncpv -a              convert all files in current directory with default .MTS extension\n```\n\n## Editing proxy file defaults\n\nYou can edit this line of code in the script:\n\n```\nlocal video_settings=\"libx264 -preset ultrafast -crf 0 -vf scale=480:-1\"\n```\n\n`-crf 0` lossless encoding for speed/low CPU use, but very large file\n[FFmpeg H.264 Video Encoding Guide](https://trac.ffmpeg.org/wiki/Encode/H.264)\n\n`-vf scale=480:-1` reduce resolution to 480p preserving aspect ration\n[FFmpeg Filters Documentation](https://ffmpeg.org/ffmpeg-filters.html#scale-1)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavid-else%2Fcpv-convert-and-proxy-video","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavid-else%2Fcpv-convert-and-proxy-video","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavid-else%2Fcpv-convert-and-proxy-video/lists"}