{"id":156,"date":"2013-05-02T00:38:34","date_gmt":"2013-05-01T14:38:34","guid":{"rendered":"http:\/\/www.davidandkiyomi.com\/bloodandsoil\/?p=156"},"modified":"2023-08-20T23:58:12","modified_gmt":"2023-08-20T13:58:12","slug":"mkv-with-10bit-h264-video-and-5-1-flac-on-a-popcorn-hour-a110","status":"publish","type":"post","link":"https:\/\/www.davidandkiyomi.com\/bloodandsoil\/2013\/05\/02\/mkv-with-10bit-h264-video-and-5-1-flac-on-a-popcorn-hour-a110\/","title":{"rendered":"MKV with 10bit h264 video and 5.1 Flac on a Popcorn Hour A110"},"content":{"rendered":"<p>Years ago we bought a Popcorn Hour A110 (Network Media Tank NMT) to play back high definition video files (mostly in MKV format) on the TV and not have to hook the PC up to the TV to watch videos in MKV.<\/p>\n<p>Network Media Tank<\/p>\n<p>The NMT has been and continues to be great (touch wood ? ). It plays nearly any video format thrown at it. The only problem is recently some MKV video files have been encoded in 10bit which the NMT cannot play. Previously all video files had been 8bit which were okay. Files have also included the audio track in 5.1 FLAC (not the usual AC3 or DTS tracks) \u2013 the NMT cannot play multi-channel FLAC.<\/p>\n<p>After much reading, searching and a little trial and error I finally managed to convert a 10bit 5.1 FLAC file to an 8bit 5.1 DTS file and have it play back flawlessly.<\/p>\n<p>Here\u2019s what I did.<\/p>\n<p>1. Get MKVExtractGUI-2 and load the MKV file into it. Select the Video Track (usually \u201cTrack 1\u201d) and the FLAC track (usually \u201cTrack 2\u201d) plus any subtitle tracks you wish to keep. Make sure \u201cUse source dir for output\u201d is checked (keep your files together! ? ) and then click on \u201cExtract\u201d wait until finished.<\/p>\n<p>2. When MKVExtractGUI-2 has finished go to the directory \/ folder where your MKV file is and you should see your original file along with a .h264 file and a .flac file. The h264 is the video and the FLAC is the audio.<\/p>\n<p>3. Next, you want to convert the 10bit video (h264) to 8 bit. Get x264 encoder (32bit or 64 bit depending on your system). Save the .exe (I\u2019m assuming Windows) in the same directory you have your video file. Create a new text file and paste the following in \u201cx264 \u2013preset veryfast \u2013tune animation \u2013crf 12 -o %1.8bit.mkv %1\u201d. Save as encode.bat (Many thanks for the guide I found at commiesubs for this part).<\/p>\n<p>4. Drag and drop your extracted .h264 file onto your encode.bat file. A DOS window should open and the x264 encoder should start reencoding the 10bit file to an 8bit file. The finished file will be the same file with \u201c.8bit.mkv\u201d for the extension. (if the finished file is too big change the \u2013crf value to something larger \u2013 in my tests I found a crf value of 18 gave me a video bitrate 2 Mbps (smaller file) while a crf value of 8 gave me a video bitrate of 18.0 Mbps (larger file)<\/p>\n<p>5. Once you have your 8 bit video file you have to convert the audio. Load the .flac file (from step 2) in FLAC Frontend (you need both the frontend and FLAC codec) \u2013 click \u201cAdd Files\u201d and browse to where the .flac file is located, double click .flac file and click on \u201cDecode\u201d. When the .flac has been decoded you should have a .wav file (same name) in the directory. This .wav file will be much bigger than the .flac and it will contain all 6 channels.<\/p>\n<p>6. Next we have to separate the multi-channel .wav file into individual (mono) .wav files. Using Audiomuxer click Tools menu and Select Audio button, browse to where the the 6 channel .wav file is located and load it into Audiomuxer, next click Mono Wavs button. When Audiomuxer has finished you should have six .wav files, one for (L)eft, (R)ight, (C)entre, (Ls)Left Surround, LFE sub-woofer etc.<\/p>\n<p>7. Using Surcode DVD-DTS encoder load the six mono .wav files (from step 6) into their respective channels, make sure your destination is the same directory where your mono files are located and your output file has a .dts extension \u2013 click \u201cEncode\u201d. When finished you should have a 5.1 DTS audio file in your folder.<\/p>\n<p>8. Now time to put it all together. ? Using mkvmerge GUI (mmg.exe) from MKVToolNix click \u201cadd\u201d and browse to where the .8bit.mkv video file is located (step 4) and double click. The video file should now be loaded, click \u201cadd\u201d again and browser to and double click the .dts audio file (steps 5 -7), that too should now be loaded into mkvmerge, if you extracted any subtitles (step 1) add them too, make sure you give your Output filename (located at the bottom of the mmg window) a meaningful name and make sure the file is in the same directory as the original files. Click Start muxing. Once finished you should have a new MKV file with 8bit video and a 5.1 DTS audio track.<\/p>\n<p>9. Copy new file to NMT and watch. ?<\/p>\n<p>This is what worked for me.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Years ago we bought a Popcorn Hour A110 (Network Media Tank NMT) to play back high definition video files (mostly in MKV format) on the TV and not have to hook the PC up to the TV to watch videos in MKV. Network Media Tank The NMT has been and continues to be great (touch [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":437,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[59,5,60],"tags":[61,62,64,65,66,63,67,68],"class_list":["post-156","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-audio","category-computer","category-video","tag-10-bit","tag-8-bit","tag-a110","tag-dts","tag-flac","tag-h264","tag-mkv","tag-popcorn-hour"],"_links":{"self":[{"href":"https:\/\/www.davidandkiyomi.com\/bloodandsoil\/wp-json\/wp\/v2\/posts\/156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.davidandkiyomi.com\/bloodandsoil\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.davidandkiyomi.com\/bloodandsoil\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.davidandkiyomi.com\/bloodandsoil\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.davidandkiyomi.com\/bloodandsoil\/wp-json\/wp\/v2\/comments?post=156"}],"version-history":[{"count":1,"href":"https:\/\/www.davidandkiyomi.com\/bloodandsoil\/wp-json\/wp\/v2\/posts\/156\/revisions"}],"predecessor-version":[{"id":157,"href":"https:\/\/www.davidandkiyomi.com\/bloodandsoil\/wp-json\/wp\/v2\/posts\/156\/revisions\/157"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.davidandkiyomi.com\/bloodandsoil\/wp-json\/wp\/v2\/media\/437"}],"wp:attachment":[{"href":"https:\/\/www.davidandkiyomi.com\/bloodandsoil\/wp-json\/wp\/v2\/media?parent=156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.davidandkiyomi.com\/bloodandsoil\/wp-json\/wp\/v2\/categories?post=156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.davidandkiyomi.com\/bloodandsoil\/wp-json\/wp\/v2\/tags?post=156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}