{"id":17962167,"url":"https://github.com/skyzyx/multimedia-scripts","last_synced_at":"2026-04-13T11:01:27.398Z","repository":{"id":66710422,"uuid":"105728353","full_name":"skyzyx/multimedia-scripts","owner":"skyzyx","description":"Multimedia management scripts for macOS.","archived":false,"fork":false,"pushed_at":"2018-05-12T18:57:10.000Z","size":198,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-18T22:20:55.323Z","etag":null,"topics":["aac","automator","bash","h264","mac","mp4","subler"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":false,"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/skyzyx.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":"2017-10-04T03:30:54.000Z","updated_at":"2025-09-13T08:52:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"700c06ab-2a76-437d-8fc7-8db59681af7b","html_url":"https://github.com/skyzyx/multimedia-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/skyzyx/multimedia-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyzyx%2Fmultimedia-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyzyx%2Fmultimedia-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyzyx%2Fmultimedia-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyzyx%2Fmultimedia-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skyzyx","download_url":"https://codeload.github.com/skyzyx/multimedia-scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyzyx%2Fmultimedia-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31749763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["aac","automator","bash","h264","mac","mp4","subler"],"created_at":"2024-10-29T11:14:22.106Z","updated_at":"2026-04-13T11:01:27.379Z","avatar_url":"https://github.com/skyzyx.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multimedia Scripts\n\nI have media files. I do some multimedia processing, and these scripts help me stay organized.\n\nYou can use these to write Automator-based services, for example.\n\n## Points of note\n\n* I only work with MP4 containers, so these are designed to work for that.\n* I am assuming you're putting metadata into your media files with [Subler](https://subler.org) or a similar tool.\n* I have installed [Bash 4 on my Mac](https://github.com/skyzyx/bash-mac), and some of these scripts _may_ use Bash 4 features.\n\n## Prerequisites\n\n* [SublerCLI](https://bitbucket.org/galad87/sublercli) (at `/usr/local/bin/SublerCLI`)\n* [Homebrew](https://brew.sh)\n* Install the `Brewfile`\n\n## Scripts\n\n### `rename-movies.sh`\n\nAfter you have added metadata using Subler (or similar), look inside the media file to find the title of the movie and its resolution, and rename the file.\n\n**Pattern:** `${TITLE} (${RESOLUTION}).mp4` (e.g., _Something in the Public Domain (480p).mp4_)\n\n### `rename-episodes.sh`\n\nAfter you have added metadata using Subler (or similar), look inside the media file to find the title of the episode, season number, episode number, and its resolution, and rename the file.\n\n**Pattern:** `${SEASON}.${EPISODE} - ${TITLE} (${RESOLUTION}).mp4` (e.g., _1.01 - Pilot (1080p).mp4_)\n\n### `rewrap-video.sh`\n\nMany media files exist where the person who did the encoding used _H.264_ video and _AC3_ audio inside of an _MKV_ container. These are non-standard formats that are popular among open-source players. Most _devices_ (iPhone, iPad, Apple TV, Xbox, Playstation, and others) support the ISO-backed trinity of _H.264_ video and _AAC_ audio inside an _MP4_ container.\n\nThis will look inside the file for an AAC stream.\n\n1. If it finds one, cool. It'll just make sure that its wrapped in an MP4 container and move the `moov` atom to the front of the file.\n\n2. If not, it'll convert the audio to AAC — and also make sure that its wrapped in an MP4 container and move the `moov` atom to the front of the file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyzyx%2Fmultimedia-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskyzyx%2Fmultimedia-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyzyx%2Fmultimedia-scripts/lists"}