{"id":19867483,"url":"https://github.com/erkaman/ffmpeg-add-text-to-video-tutorial","last_synced_at":"2025-08-16T11:10:03.524Z","repository":{"id":141382710,"uuid":"131585154","full_name":"Erkaman/ffmpeg-add-text-to-video-tutorial","owner":"Erkaman","description":"Tutorial that shows how to add text to a video file with ffmpeg","archived":false,"fork":false,"pushed_at":"2018-04-30T10:59:07.000Z","size":8916,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-27T04:51:04.045Z","etag":null,"topics":["ffmpeg","tutorial"],"latest_commit_sha":null,"homepage":"","language":null,"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/Erkaman.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}},"created_at":"2018-04-30T10:58:19.000Z","updated_at":"2025-03-03T16:06:56.000Z","dependencies_parsed_at":"2024-04-16T07:47:59.018Z","dependency_job_id":"ca5756c9-5531-435b-9107-c51197517403","html_url":"https://github.com/Erkaman/ffmpeg-add-text-to-video-tutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Erkaman/ffmpeg-add-text-to-video-tutorial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erkaman%2Fffmpeg-add-text-to-video-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erkaman%2Fffmpeg-add-text-to-video-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erkaman%2Fffmpeg-add-text-to-video-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erkaman%2Fffmpeg-add-text-to-video-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Erkaman","download_url":"https://codeload.github.com/Erkaman/ffmpeg-add-text-to-video-tutorial/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erkaman%2Fffmpeg-add-text-to-video-tutorial/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270702562,"owners_count":24630877,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ffmpeg","tutorial"],"created_at":"2024-11-12T15:29:27.412Z","updated_at":"2025-08-16T11:10:03.483Z","avatar_url":"https://github.com/Erkaman.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Adding Text to a Video File with ffmpeg\n\nBy burning text subtitles into a video, we can use ffmpeg as a quick and dirty way\nof adding text to a video. Let us say we want to add text to the video `original.mp4`, which\nis rendered a `.gif` below\n\n![Animated](gifs/original.gif)\n\nThen we simply specify a subtitle file of the format `.ass`(Advanced Substation Alpha), \nand feed it to ffmpeg as follows:\n\n```\nffmpeg -y -i original.mp4 -vf subtitles=text.ass original_with_subs.mp4\n```\n\nand this gives us a video with text added:\n\n![Animated](gifs/original_with_subs.gif)\n\nThe file `text.ass` can be found in the repo, and it contains explanatory comments. The\nspecification of the subtitle format can be found [here](https://www.matroska.org/technical/specs/subtitles/ssa.html).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferkaman%2Fffmpeg-add-text-to-video-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferkaman%2Fffmpeg-add-text-to-video-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferkaman%2Fffmpeg-add-text-to-video-tutorial/lists"}