{"id":395,"date":"2015-08-26T16:09:40","date_gmt":"2015-08-26T15:09:40","guid":{"rendered":"http:\/\/www.flat-planet.net\/?p=395"},"modified":"2015-09-08T14:47:57","modified_gmt":"2015-09-08T13:47:57","slug":"editing-mkv-flags-to-stop-subtitles","status":"publish","type":"post","link":"https:\/\/flat-planet.net\/?p=395","title":{"rendered":"Editing MKV flags to stop subtitles"},"content":{"rendered":"<p>When viewing some mkv files you end to find in some cases that the soft subtitles are enabled by default. To disable, follow this<\/p>\n<p>Check the current\u00a0 file info:<\/p>\n<pre>mkvinfo &lt;filename&gt;.mkv\r\n+ EBML head\r\n|+ EBML version: 1\r\n|+ EBML read version: 1\r\n|+ EBML maximum ID length: 4\r\n|+ EBML maximum size length: 8\r\n|+ Doc type: matroska\r\n|+ Doc type version: 2\r\n|+ Doc type read version: 2\r\n+ Segment, size 4687414538\r\n|+ Seek head (subentries will be skipped)\r\n|+ Segment tracks\r\n| + A track\r\n|\u00a0 + Track number: 1 (track ID for mkvmerge &amp; mkvextract: 0)\r\n|\u00a0 + Track UID: 1280263319\r\n|\u00a0 + Track type: video\r\n|\u00a0 + Forced flag: 1\r\n|\u00a0 + Lacing flag: 0\r\n|\u00a0 + MinCache: 1\r\n|\u00a0 + Codec ID: V_MPEG4\/ISO\/AVC\r\n|\u00a0 + CodecPrivate, length 40 (h.264 profile: High @L4.1)\r\n|\u00a0 + Default duration: 41.708ms (23.976 frames\/fields per second for a video track)\r\n|\u00a0 + Video track\r\n|\u00a0\u00a0 + Pixel width: 1280\r\n|\u00a0\u00a0 + Pixel height: 688\r\n|\u00a0\u00a0 + Display width: 1280\r\n|\u00a0\u00a0 + Display height: 688\r\n|\u00a0\u00a0 + Interlaced: 0\r\n|\u00a0 + Enabled: 1\r\n|\u00a0 + Default flag: 1\r\n|\u00a0 + Timecode scale: 1\r\n|\u00a0 + Max BlockAddition ID: 0\r\n|\u00a0 + Codec decode all: 1\r\n| + A track\r\n|\u00a0 + Track number: 2 (track ID for mkvmerge &amp; mkvextract: 1)\r\n|\u00a0 + Track UID: 1577341855\r\n|\u00a0 + Track type: audio\r\n|\u00a0 + Forced flag: 1\r\n|\u00a0 + Codec ID: A_DTS\r\n|\u00a0 + Audio track\r\n|\u00a0\u00a0 + Sampling frequency: 48000\r\n|\u00a0\u00a0 + Channels: 2\r\n|\u00a0 + Content encodings\r\n|\u00a0\u00a0 + Content encoding\r\n|\u00a0\u00a0\u00a0 + Content compression\r\n|\u00a0\u00a0\u00a0\u00a0 + Algorithm: 3 (header removal)\r\n|\u00a0\u00a0\u00a0\u00a0 + Settings: length 4, data: 0x7f 0xfe 0x80 0x01\r\n|\u00a0\u00a0\u00a0 + Order: 0\r\n|\u00a0\u00a0\u00a0 + Scope: 1 (1: all frames)\r\n|\u00a0\u00a0\u00a0 + Type: 0 (compression)\r\n|\u00a0 + Enabled: 1\r\n|\u00a0 + Default flag: 1\r\n|\u00a0 + Lacing flag: 1\r\n|\u00a0 + MinCache: 0\r\n|\u00a0 + Timecode scale: 1\r\n|\u00a0 + Max BlockAddition ID: 0\r\n|\u00a0 + Codec decode all: 1\r\n| + A track\r\n<strong>|\u00a0 + Track number: 3 (track ID for mkvmerge &amp; mkvextract: 2)<\/strong>\r\n|\u00a0 + Track UID: 957802682\r\n|\u00a0 + Track type: subtitles\r\n<span style=\"color: #ff0000;\"><strong>|\u00a0 + Forced flag: 1<\/strong><\/span>\r\n|\u00a0 + Lacing flag: 0\r\n|\u00a0 + Codec ID: S_TEXT\/UTF8\r\n|\u00a0 + Language: rum\r\n<span style=\"color: #ff0000;\"><strong>|\u00a0 + Enabled: 1<\/strong><\/span>\r\n<span style=\"color: #ff0000;\"><strong>|\u00a0 + Default flag: 1<\/strong><\/span>\r\n|\u00a0 + MinCache: 0\r\n|\u00a0 + Timecode scale: 1\r\n|\u00a0 + Max BlockAddition ID: 0\r\n|\u00a0 + Codec decode all: 1\r\n|+ EbmlVoid (size: 3734)\r\n|+ Segment information\r\n| + Timecode scale: 1000000\r\n| + Muxing application: libebml v1.0.0 + libmatroska v1.0.0\r\n| + Writing application: mkvmerge v4.1.1 ('Bouncin' Back') built on Jul\u00a0 3 2010 22:54:08\r\n| + Duration: 5985.440s (01:39:45.440)\r\n| + Date: Tue Feb\u00a0 8 11:55:23 2011 UTC\r\n| + Segment UID: 0xb4 0xc9 0x7c 0x1f 0x34 0xa2 0x1a 0x42 0xae 0x1c 0x29 0x97 0xe3 0x7d 0xc3 0xb3\r\n|+ EbmlVoid (size: 1351)\r\n|+ Cluster<\/pre>\n<p>So we want to disable, and remove the default flag, as well as the forced one<\/p>\n<pre><span style=\"color: #008000;\">mkvpropedit &lt;filename&gt;.mkv --edit track:3 --set flag-default=0<\/span>\r\n<span style=\"color: #008000;\">mkvpropedit &lt;filename&gt;.mkv --edit track:3 --set flag-forced=0<\/span>\r\n<span style=\"color: #008000;\">mkvpropedit &lt;filename&gt;.mkv --edit track:3 --set flag-enabled=0<\/span><\/pre>\n<pre>mkvinfo &lt;filename&gt;.mkv\r\n+ EBML head\r\n|+ EBML version: 1\r\n...\r\n| + A track\r\n<strong>|\u00a0 + Track number: 3 (track ID for mkvmerge &amp; mkvextract: 2)<\/strong>\r\n|\u00a0 + Track UID: 957802682\r\n|\u00a0 + Track type: subtitles\r\n<span style=\"color: #339966;\"><strong>|\u00a0 + Forced flag: 0<\/strong><\/span>\r\n|\u00a0 + Lacing flag: 0\r\n|\u00a0 + Codec ID: S_TEXT\/UTF8\r\n|\u00a0 + Language: rum\r\n<span style=\"color: #339966;\"><strong>|\u00a0 + Enabled: 0<\/strong><\/span>\r\n<span style=\"color: #339966;\"><strong>|\u00a0 + Default flag: 0<\/strong><\/span><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>When viewing some mkv files you end to find in some cases that the soft subtitles are enabled by default. To disable, follow this Check the current\u00a0 file info: mkvinfo &lt;filename&gt;.mkv + EBML head |+ EBML version: 1 |+ EBML read version: 1 |+ EBML maximum ID length: 4 |+ EBML maximum size length: 8 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38],"tags":[226,227,228,229,230,231,32,42],"series":[],"class_list":["post-395","post","type-post","status-publish","format-standard","hentry","category-linux","tag-mkv","tag-media","tag-mkvinfo","tag-mkvpropedit","tag-subtitles","tag-soft-subs","tag-simple-things","tag-linux-2"],"_links":{"self":[{"href":"https:\/\/flat-planet.net\/index.php?rest_route=\/wp\/v2\/posts\/395","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/flat-planet.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/flat-planet.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/flat-planet.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/flat-planet.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=395"}],"version-history":[{"count":2,"href":"https:\/\/flat-planet.net\/index.php?rest_route=\/wp\/v2\/posts\/395\/revisions"}],"predecessor-version":[{"id":398,"href":"https:\/\/flat-planet.net\/index.php?rest_route=\/wp\/v2\/posts\/395\/revisions\/398"}],"wp:attachment":[{"href":"https:\/\/flat-planet.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=395"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/flat-planet.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=395"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/flat-planet.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=395"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/flat-planet.net\/index.php?rest_route=%2Fwp%2Fv2%2Fseries&post=395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}