{"id":13908457,"url":"https://github.com/amaurypm/transcode2H264","last_synced_at":"2025-07-18T07:31:23.239Z","repository":{"id":202202109,"uuid":"88915907","full_name":"amaurypm/transcode2H264","owner":"amaurypm","description":"Unattended video transcoder to H264 and ACC codecs, in MKV containers.","archived":false,"fork":false,"pushed_at":"2017-08-28T15:06:59.000Z","size":56,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-25T17:46:11.280Z","etag":null,"topics":["ffmpeg","h264","mkv-containers","transcoding","video"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amaurypm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-04-20T22:29:19.000Z","updated_at":"2023-03-15T05:51:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"cdc549e1-739b-487c-8ae0-786d4f3b898a","html_url":"https://github.com/amaurypm/transcode2H264","commit_stats":null,"previous_names":["amaurypm/transcode2h264"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/amaurypm/transcode2H264","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amaurypm%2Ftranscode2H264","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amaurypm%2Ftranscode2H264/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amaurypm%2Ftranscode2H264/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amaurypm%2Ftranscode2H264/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amaurypm","download_url":"https://codeload.github.com/amaurypm/transcode2H264/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amaurypm%2Ftranscode2H264/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265720567,"owners_count":23817259,"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":["ffmpeg","h264","mkv-containers","transcoding","video"],"created_at":"2024-08-06T23:02:44.996Z","updated_at":"2025-07-18T07:31:22.979Z","avatar_url":"https://github.com/amaurypm.png","language":"Python","readme":"# transcode2H264\nUnattended video transcoder to H264 and ACC codecs, in MKV containers.\n\n## What does this do?\nThis program transcode video files to H264 and AAC in MKV format. Output files are compatible with computers, Blu-ray and HD-players. Subtitles, if present, are automatically detected and soft subbed into the corresponding output files.\n\n## How does it work?\ntranscode2H264 uses ffmpeg, mkmerge and other system tools to convert the input videos.\n\n## How do I install it?\nAs a python script you can just run the transcode2H264.py file, or put a symbolic link in any directory of your PATH (e.g. /usr/local/bin)\nThe script needs ffmpeg and mkvtoolnix to work, so, if it can not find them in your system it will complain and exit.\n\n## Do not many similar programs already exist?\nProbably, but I use this. I like it and it works well for me, if you like it too, enjoy it.\n\n## How do I use it?\nJust do:\n`transcode2H264.py video_file[s]`\n\nIt has some options (type `transcode2H264 -h` to see them), but defaults should work in most cases. Maybe you would like to play with the `-l` option, if you are a perfectionist as myself.\n\n### Options\n```\npositional arguments:\n  video                 Input video file(s).\n\noptional arguments:\n  -h, --help            Show this help message and exit.\n  -p PRESET, --preset PRESET\n                        X264 preset [default: medium].\n  -q CRF, --crf CRF     CRF value [default: 23]. Determines the output video\n                        quality. Smaller values gives better qualities and\n                        bigger file sizes, bigger values result in less\n                        quality and smaller file sizes. CRF values should be\n                        in the range of 0 to 51. 0 is lossless (and with the\n                        biggest file size), 51 is worst possible quality (with\n                        the smallest file size) and 18 is visually lossless.\n                        Default value results in a nice quality/size ratio.\n  -r, --replace-original-video-file\n                        If set then original video files will be erased after\n                        transcoding. WARNING: deleted files can not be easily\n                        recovered!\n  -l AVLANG, --avlang AVLANG\n                        Default audio language for MKV files obtained (used\n                        only if the original stream languages fail to be\n                        determined) [default: eng].\n  -L SLANG, --slang SLANG\n                        Default subtitle language of soft-subbed subtitles\n                        (only used if original subtitle languages fail to be\n                        determined) [default: spa].\n  -x FILENAME_POSTFIX, --filename-postfix FILENAME_POSTFIX\n                        Postfix to be added to newly created H.264 video files\n                        [default: _h264].\n  -t THREADS, --threads THREADS\n                        Indicates the number of processor cores the script\n                        will use. 0 indicates to use as many as possible\n                        [default: 0].\n  -c, --auto-crop       Turn on autocrop function. WARNING: Use with caution\n                        as some video files has variable width horizontal (and\n                        vertical) black bars, in those cases you will probably\n                        lose data.\n  -v, --version         Show program's version number and exit.\n```\n","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famaurypm%2Ftranscode2H264","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famaurypm%2Ftranscode2H264","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famaurypm%2Ftranscode2H264/lists"}