Mede8er Forum

Mede8er Products => MED500X / MED400X => Tips, Tricks and Tutorials => Topic started by: tachita on September 12, 2010, 05:00:36 PM

Title: how to fix your mkv
Post by: tachita on September 12, 2010, 05:00:36 PM
sience mkvtoolnix v4.2.0 bring a header compression that is not supported on realtek players and until this will be fixed, i dare to post a link found on asus oplay forum that will fix mkv's automaticaly for non-tehnical minds.

or you could use the mkvtoolnix interface where you can choose non compression.
both variants work fine:

Quote
So in the last few days there have been a few posts from people getting "invalid file" when trying to play some mkv's. This is likely due to header compression that became a default feature in the lastest editions of mkvmerge (software used to create the mkv's).

I was using mkvmerge to remux the files without compression. I was recently "googling" and found a "simple" way to fix them. I found this on some forum (unfortunately I don't remember which one or whom to credit for creating this file).

1) First you need to install mkvtoolnix on your computer:

http://www.bunkus.org/videotools/mkvtoolnix/win32/mkvtoolnix-unicode-4.2.0-setup.exe

2) Create a folder in a location of your choice...say "My Documents" for eg. Name it something like MKV Fixer.

3) Download this zip file and extract the file "FixMkv_toolnix_installed.cmd" to the folder you just created.

http://hotfile.com/dl/67560690/e5159db/file.rar.html


Alternate:

http://rapidshare.com/files/417531881/file.rar

4) Now when you get a .mkv that shows up invalid, simply place it in the Mkv Fixer folder, click on the FixMkv_toolnix_install.cmd file, and a command prompt window should open showing progress and it should repair the file,and it should then play on the Oplay.

I've tested it on a few "invalid files" and it has worked perfectly!
the original link:
http://vip.asus.com/forum/view.aspx?id=20100808111057218&board_id=19&model=O%21Play+HDP-R1&page=1&SLanguage=en-us (http://vip.asus.com/forum/view.aspx?id=20100808111057218&board_id=19&model=O%21Play+HDP-R1&page=1&SLanguage=en-us)

and the cmd line, for you to not have to wait that much:
Title: Re: how to fix your mkv
Post by: Maasbommel on September 12, 2010, 05:18:44 PM
ThanksTachita. Really helpfull!
Title: Re: how to fix your mkv
Post by: stayfunkey on September 13, 2010, 03:43:48 PM
Also thanks, great tool  ;D
Because of this tool I finally can watch my (only audio) movie on the mede8er.

Tip: Instead of copying the mkv file to the "mkv fixer" folder, copy the "FixMKV_toolnix_installed.CMD" file to the movie folder!
Is much faster!

Ciao
Title: Re: how to fix your mkv
Post by: tachita on September 13, 2010, 05:19:40 PM
or you can drag your mkv over mkvmerge app and choose no compression  ;)
Title: Re: how to fix your mkv
Post by: greywall on September 13, 2010, 05:46:50 PM
...or merging with mkvtoolnix 4.1.1  ;)
Title: Re: how to fix your mkv
Post by: Teki Ninjo on September 18, 2010, 11:45:13 AM
Can anyone who has the .cmd file successfully downloaded pls post itīs content? All the download links are down :(
Title: Re: how to fix your mkv
Post by: MarioB on September 18, 2010, 12:54:02 PM
Can anyone who has the .cmd file successfully downloaded pls post itīs content? All the download links are down :(

Code: [Select]
REM Whipped up by TEKNO to fix MKV header compression issues on Standalone media players!
REM fixMKV version 1.2
REM Requires MKVToolnix v4.1.1 INSTALLED (it auto detects where)
@ECHO OFF
cd "%~dp0"
SET KEY="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\mmg.exe"
FOR /F "tokens=2*" %%A IN ('REG QUERY %KEY%') DO SET MKVTOOLPATH=%%B
ECHO MKVToolnix found at %MKVTOOLPATH% > logging.txt
FOR /F "delims=*" %%A IN ('dir /b /s *.MKV') do CALL :MKVFIXMUX "%%A" "%MKVTOOLPATH%"
START "" logging.txt
GOTO :eof
:MKVFIXMUX
"%~dp2mkvmerge.exe" -o "%~dpn1_fix.MKV" --engage keep_bitstream_ar_info -A -S --compression -1:none "%~dpnx1" -D -S --compression -1:none "%~dpnx1" -A -D --compression -1:none "%~dpnx1"
if not errorlevel 0 (
ECHO Failed on %~nx1 remux! >> logging.txt
goto :eof)
if exist "%~dpn1_fix.MKV" (
del "%~dpnx1"
rename "%~dpn1_fix.MKV" "%~nx1")
ECHO Processing of %~nx1 successful! >> logging.txt
goto :eof
Title: Re: how to fix your mkv
Post by: tachita on September 18, 2010, 01:00:09 PM
Can anyone who has the .cmd file successfully downloaded pls post itīs content? All the download links are down :(

if you will use the link from our forum wiil be no problem, thats why it was posted and uploaded .
Title: Re: how to fix your mkv
Post by: JIGSAW on September 19, 2010, 08:01:37 AM
Thanks for this  ;)
Title: Re: how to fix your mkv
Post by: Nosoul on October 04, 2010, 09:37:14 PM
Quote
2010-09-04  Moritz Bunkus  <moritz@bunkus.org>

   * Released v4.3.0.

   * mkvmerge: bug fix: Appending tracks which would normally be
   compressed (e.g. with header removal compression) and turning off
   compression for those tracks with "--compression TID:none" (or the
   corresponsing option in mmg) was resulting in the second and all
   following appended tracks to be compressed all the same.
Source : http://www.bunkus.org/videotools/mkvtoolnix/doc/ChangeLog

Is that mean that the problem is solved with that new version ?
Title: Re: how to fix your mkv
Post by: novanod on October 10, 2010, 05:31:53 AM
i installed version 4.2... of mkvtoolnix. I then copied the code aboved into notebook, removed the three lines that state 'REM' and saved it as a *.cmd..., placed the file into the mkvtoolnix folder. placed my 'corrupt mkv' (badmkv) into the folder aswell and ran the cmd file. A dos box appeared for like 1 second. i did not see any changes happen to the badmkv. it still does not work, however if i run the program mkvtoolnix (mmk.exe i think it's called) and add the badmkv and go through all the settings and 'remux' it, it works... my question is why does my .cmd file not work? even dragging the badmkv onto the .exe as stated above, i get a 1 second dos window...but anyways at least i can get it working even if i must do it the long way. thanks for the help guys. i just revived some awesome episodes i had missed.     windows xp with sp2.
Title: Re: how to fix your mkv
Post by: saskir on October 10, 2010, 08:21:26 AM
Try to right click on the cmd.exe file and somewhere is an option where you can choose it should stay open. atleast it was so in windows 2000. In windows 7 there is no option whatsoever.

Another way would be to open the cmd.exe and simply go to the folder where the files is (it would be helpful if it would be an easy to reach folder) Example if it is on C:\movies\ . Normally the DOS box starts in you folder eg c:\users\admin\ . Simply type "cd\" and then "cd movies". Now you need to type in simply the name of the cmd file.
Title: Re: how to fix your mkv
Post by: RoadDevil on October 16, 2010, 03:25:44 PM
hey cant download the .cmd file because its offline?
Title: Re: how to fix your mkv
Post by: Maasbommel on October 16, 2010, 04:36:31 PM
The command file is attached to the first post:
http://www.mede8erforum.com/index.php/topic,3010.msg19618.html#msg19618
Title: Re: how to fix your mkv
Post by: RoadDevil on October 16, 2010, 05:11:57 PM
yo it worked, thanks a lot
Title: Re: how to fix your mkv
Post by: carlalva01 on October 23, 2010, 03:06:12 AM
Spam content removed.
Title: Re: how to fix your mkv
Post by: Nosoul on October 23, 2010, 07:34:14 AM
Fuc***g spam for useless paying product...

In fact, just use mkvmerge as usual (totally free), and in the third tab for the video file, chose to disable the header compression.
The file will be readable without any problem.

http://www.bunkus.org/videotools/mkvtoolnix/
Title: Re: how to fix your mkv
Post by: benalva02 on November 01, 2010, 08:23:28 AM
Spam content removed.
Title: Re: how to fix your mkv
Post by: Nosoul on November 01, 2010, 02:03:17 PM
Same spammer with other nickname...
http://www.mede8erforum.com/index.php?action=profile;u=10425;sa=showPosts

Must be a lovely swindle if you have to spam like this to spread this paying product....
Title: Re: how to fix your mkv
Post by: mtest on March 06, 2011, 03:45:19 PM
I had the same problem on my mede8er with some mkv files: a blank (black) screen, but i could hear the audio. Some mkv files didnt work at all ("invalid file").

I tried the solution from the opening post, but the .CMD file didnt work. The cmd file says that it requires mkvtoolnix 4.1.1, but the downloadlink from the post is mkvtoolnix 4.2.0, so maybe thats why. So i now i fix my files manually in mkvtoolnix 4.2.0.

Here is a screenshot with instructions:
http://i52.tinypic.com/rmtsn7.jpg

Its dutch but the layout for other languages is the same so it will be useful for non-dutch too.
Title: Re: how to fix your mkv
Post by: Nosoul on March 06, 2011, 05:32:32 PM
This bug is fixed since v4 firmware.
Just upgrade.
Title: Re: how to fix your mkv
Post by: tachita_ on March 07, 2011, 01:29:05 AM
I had the same problem on my mede8er with some mkv files: a blank (black) screen, but i could hear the audio. Some mkv files didnt work at all ("invalid file").

I tried the solution from the opening post, but the .CMD file didnt work. The cmd file says that it requires mkvtoolnix 4.1.1, but the downloadlink from the post is mkvtoolnix 4.2.0, so maybe thats why. So i now i fix my files manually in mkvtoolnix 4.2.0.

Here is a screenshot with instructions:
http://i52.tinypic.com/rmtsn7.jpg

Its dutch but the layout for other languages is the same so it will be useful for non-dutch too.
that cmd don't require 4.1.1, in principles can be done to work with any version.
it is just a batch script.

@Nosoul is right, use v4 if is fine for you
Title: Re: how to fix your mkv
Post by: mtest on March 18, 2011, 09:51:29 PM
that cmd don't require 4.1.1, in principles can be done to work with any version.
it is just a batch script.

@Nosoul is right, use v4 if is fine for you
For me this problem actually started after i updated to firmware 4.
Title: Re: how to fix your mkv
Post by: tachita_ on March 19, 2011, 12:32:46 AM
Try latest v4.0.4 or beta5.
is very possible to have another issue quite different then header compression
Title: Re: how to fix your mkv
Post by: johnnyboy62969 on July 02, 2014, 07:52:52 PM
i dont know what the problem is exactly......
but i had a problem with an mkv file which just wont be able play,rename or delete.....
the only thing that shows when i right click is send to,open with etc.
so i was searching the internet and FOUND THE SOLUTION FOR MY PROBLEM.
i just renamed the folder of the mkv file and the mkv file started acted normally.
now i am able to play it and do watever stuff i want

JUST RENAME THE FOLDER OF THE MKV FILE

i did not discover this solution but i found it on other forums where the user has the same problem with a jpeg file.he just renamed the folder and it worked for him. i done the same and it worked with me too...........
Title: Re: how to fix your mkv
Post by: DewaldMeyer on November 12, 2017, 12:31:48 PM
it appear this topic has gone quiet for a long time but i have the same issue with my mede8ers and mkv files. all of the previous links are not working anymore. can anyone give me advice on fixing the issue?
Title: Re: how to fix your mkv
Post by: Pasqulino on February 21, 2019, 05:00:22 AM
This is a very good thread and can be used in real life.