{"id":13271,"date":"2022-12-30T00:56:29","date_gmt":"2022-12-30T04:56:29","guid":{"rendered":"http:\/\/nycphantom.com\/journal\/?p=13271"},"modified":"2024-01-12T00:49:00","modified_gmt":"2024-01-12T04:49:00","slug":"adding-subtitle-to-mp4-video-files","status":"publish","type":"post","link":"http:\/\/nycphantom.com\/journal\/?p=13271","title":{"rendered":"Adding\/Embed Subtitle to MP4 video files"},"content":{"rendered":"\n<p>Looks like the 86\" big screen LG TV downstairs support subtitle via Windows Media Stream. But these subtitle need to be \"embedded\" in the video and in this case, MP4 format. I am not sure about AVI. Media Stream subtitle doesn't seem to work well with subtitle files separately.<\/p>\n\n\n\n<p>To do this, thanks to <a href=\"https:\/\/www.quora.com\/How-do-I-embed-srt-subtitles-to-the-mp4-programmatically\" target=\"_blank\" rel=\"noreferrer noopener\">this site<\/a>:<\/p>\n\n\n\n<p>ffmpeg -i <strong><span style=\"text-decoration: underline;\">infile.mp4<\/span><\/strong> -i <strong><span style=\"text-decoration: underline;\">infile.srt<\/span><\/strong> -c copy -c:s mov_text <strong><span style=\"text-decoration: underline;\">outfile.mp4<\/span><\/strong><\/p>\n\n\n\n<p><strong>Update 1\/11\/2024<\/strong>: For <strong>hardcoding <\/strong>subtitle to mp4, <a href=\"https:\/\/www.happyscribe.com\/subtitle-tools\/add-srt-to-mp4\" data-type=\"link\" data-id=\"https:\/\/www.happyscribe.com\/subtitle-tools\/add-srt-to-mp4\" target=\"_blank\" rel=\"noreferrer noopener\">this online free tool<\/a> seems to work well, although it turned my 2GB mp4 into 3GB mp4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Looks like the 86\" big screen LG TV downstairs support subtitle via Windows Media Stream. But these subtitle need to be \"embedded\" in the video and in this case, MP4 format. I am not sure about AVI. Media Stream subtitle &hellip; <a href=\"http:\/\/nycphantom.com\/journal\/?p=13271\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-13271","post","type-post","status-publish","format-standard","hentry","category-technical"],"_links":{"self":[{"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts\/13271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=13271"}],"version-history":[{"count":4,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts\/13271\/revisions"}],"predecessor-version":[{"id":15201,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts\/13271\/revisions\/15201"}],"wp:attachment":[{"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13271"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}