{"id":40286898,"url":"https://github.com/xinwu-yang/trans","last_synced_at":"2026-01-20T04:33:31.701Z","repository":{"id":46511313,"uuid":"513586695","full_name":"xinwu-yang/trans","owner":"xinwu-yang","description":"简单易用的批量转码小工具","archived":false,"fork":false,"pushed_at":"2025-03-23T08:12:19.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T09:20:35.802Z","etag":null,"topics":["tool","video-encoding"],"latest_commit_sha":null,"homepage":"","language":"Go","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/xinwu-yang.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":"2022-07-13T16:04:12.000Z","updated_at":"2025-03-23T08:12:23.000Z","dependencies_parsed_at":"2025-03-23T09:20:14.791Z","dependency_job_id":"db49fa59-3501-42ef-b155-0f102f87cc90","html_url":"https://github.com/xinwu-yang/trans","commit_stats":null,"previous_names":["xinwu-yang/trans"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/xinwu-yang/trans","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xinwu-yang%2Ftrans","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xinwu-yang%2Ftrans/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xinwu-yang%2Ftrans/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xinwu-yang%2Ftrans/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xinwu-yang","download_url":"https://codeload.github.com/xinwu-yang/trans/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xinwu-yang%2Ftrans/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28596079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["tool","video-encoding"],"created_at":"2026-01-20T04:33:31.641Z","updated_at":"2026-01-20T04:33:31.692Z","avatar_url":"https://github.com/xinwu-yang.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Media transcoding tool\n\n### 功能\n\n- 指定目录下视频转码`av1`\n- 指定目录下音频转码`aac`\n- 像素格式转化为`yuv420p`\n- 声道数量变更为`2`\n- 支持GPU加速\n- 支持递归目录\n- 支持处理完成后删除源文件\n\n### 如何使用\n\n1. 下载[FFmpeg](https://www.gyan.dev/ffmpeg/builds/)\n\n2. 配置把ffmpeg下`bin`目录添加到系统PATH环境变量\n\n3. 使用trans.exe\n\n```\n# 构建\ngo build\n\n# 使用帮助\ntrans.exe -h\n\nUsage of trans.exe:\n  -D    处理完成后是否删除源文件\n  -d string\n        视频路径 (default \"./\")\n  -p string\n        指定pattern跳过处理(文件名) (default \"NOT-HANDLE\")\n  -r    是否递归子目录(useage: -r=false) (default true)\n  -vc string\n        视频编码 (default \"av1_nvenc\")\n\n# 基本使用\ntrans.exe -d \"D:\\\\demo-video\\\\test\"\n\n# 使用hevc_nvenc转码\ntrans.exe -d \"D:\\\\demo-video\\\\test\" -vc hevc_nvenc\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxinwu-yang%2Ftrans","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxinwu-yang%2Ftrans","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxinwu-yang%2Ftrans/lists"}