Log in

View Full Version : MkvТоMp4 v0.224 - rapid tool for repack Mkv to Mp4


Pages : [1] 2 3 4 5 6 7 8

oreons
10th November 2011, 20:47
Download - http://www.mediafire.com/?1a0oc04u539b5eg

Features:
- Change the container to Mp4 without transcoding video (If the original video in h264 format)
- Support for multiple internal and external audio tracks
- Support subtitle formats: srt, ass, ssa, ttxt. Changing colors for subtitles.
- Add and edit tags for Mp4 files (m4v, m4a, m4b)
- Artworks and chapters for Mp4 files.
- Encode video for non-h264
- Correction of the atoms in Mp4 files to be able to change the audio and subtitle on Apple devices.
- Searching tags on TheTvDB, TheMovieDB and iTunes web sites
- English and Russian interface.



Requirements:
Microsoft Visual C++ 2008 Redistributable Package (http://www.microsoft.com/download/en/details.aspx?id=29) for WinXP only
QuickTime codec (http://support.apple.com/kb/DL837) (recommended)

Screenshots:
http://i41.fastpic.ru/big/2012/0808/92/9f78e370a7e45cd6730e3998cdfed792.jpg
http://img94.imageshack.us/img94/5407/90890569.jpg
http://i35.fastpic.ru/big/2012/0428/6c/520aa99773c51bef43ce75fb8ec70e6c.jpg
http://img35.imageshack.us/img35/9436/35605327.jpg
http://i35.fastpic.ru/big/2012/0428/b4/c470eb53aa3310bf5e94d7db26cdb6b4.jpg
http://i30.fastpic.ru/big/2012/0221/7f/8739d89be68d3a9615c4278f1ac1437f.jpg
http://i30.fastpic.ru/big/2012/0221/d3/536fe8d7e14039e9daeb015432828bd3.jpg
http://i30.fastpic.ru/big/2012/0221/63/8f6a00ff4738eaf62f860749eef7a063.jpg

b66pak
10th November 2011, 20:49
thanks a lot...
_

Vize99
11th November 2011, 20:12
Nice one !
So far all remuxed files I tried stream nicely to the iPhone 4 using the "Air Video"-App. :cool:
10x faster then using conversion (or re-encoding) and no strain on CPU (greetings from my Laptop).

Only thing missing would be a remote control app for the Iphone...
Using Remote Desktop Apps to initiate the re-muxing is quite a challenge for people with full sized hands&fingers like me :rolleyes:
:thanks:

Hobbe
12th November 2011, 11:40
Thanks! Great program! Any plans to support downmix of multichannel audio.. 7.1,6.1 -> 5.1 ?

I think I also have found a bug.. dts-es 6.1 audio encoding dosent seams to work.. you just get one channel aac in the resulting file.

oreons
12th November 2011, 17:48
Any plans to support downmix of multichannel audio.. 7.1,6.1 -> 5.1 ?

You need AAC 5.1 or AC3 5.1 from DTS 6.1?

I think I also have found a bug.. dts-es 6.1 audio encoding dosent seams to work.. you just get one channel aac in the resulting file.
Try to install Arcsoft dts decoder. Eac3To uses the default libav decoder that works incorrectly with DTS 6.1-7.1

Hobbe
12th November 2011, 23:28
aac 5.1.. ac3 always downmix to 5.1.

I'm using arcsoft dts decode v1.1.0.0..

oreons
13th November 2011, 14:37
I tested the file 7.1 DTS -> 2.0 AAC. The sound is normal.
When make DTS 7.1 -> AAC multichannel, the sound is wrong. In future versions I will add a decrease to 5.1. This is one option for Eac3To (-down6).
log:
Started processing file: D:/Video/dts71/file7_1.dts
Copy file D:/Video/dts71/file7_1.dts to Temp\file7_1_internal_audio_0.DTS
Starting Eac3To with the parameters:
Tools\eac3to\eac3to "D:/Download/MkvToMp4/0.217/Temp/file7_1_internal_audio_0.DTS" "Temp\file7_1_internal_audio_0.wav" -down2 -normalize -down16 -progressnumbers
DTS Master Audio, 7.1 channels, 16 bits, 48kHz
(core: DTS, 5.1 channels, 16 bits, 1509kbps, 48kHz)
Decoding with ArcSoft DTS Decoder...
Mixing surround channels...
Downmixing multi channel audio to stereo...
Reducing depth from 64 to 16 bits...
Writing WAV...
Creating file "Temp\file7_1_internal_audio_0.pass1.wav"...
Clipping detected, a 2nd pass will be necessary.
The original audio track has a constant bit depth of 16 bits.
Starting 2nd pass...
Reading WAV...
Reducing depth from 64 to 16 bits...
Writing WAV...
Applying -2,99dB gain...
Creating file "Temp\file7_1_internal_audio_0.wav"...
Done.
Starting Qaac with the parameters:
Tools\qaac\qaac --tvbr 95 "D:/Download/MkvToMp4/0.217/Temp/file7_1_internal_audio_0.wav" -o "Temp\file7_1_internal_audio_0.m4a"
initializing QTML...done
qaac 0.86, QuickTime 7.7.0
file7_1_internal_audio_0.wav

Rat Killer
16th November 2011, 14:48
Does this support placing ac3 5.1 audio in an mp4 file? IE recoding from AAC or DTS TO AC3?
:thanks:

oreons
16th November 2011, 15:57
Does this support placing ac3 5.1 audio in an mp4 file? IE recoding from AAC or DTS TO AC3?
:thanks:
You can put original AC3 to Mp4 file, select the checkbox in the settings of track.
http://i31.fastpic.ru/big/2011/1116/00/3a44eb8ccae34f191d3cf3608856e500.jpg

DTS can transcoded to AC3. AAC is not encoded.
http://i28.fastpic.ru/big/2011/1116/8b/2541ed5b7b2bbf94d542b24e112ec68b.jpg

Hobbe
17th November 2011, 08:14
Some requests if it's possible :)

Show fps and remaining time when encoding.
Allow encode from mov and mp4. You may want lower resolution/bitrate.
Make it possible to change number of channels when edit audio stream from wmv. I have set 5.1 in global aac options but if audio source is 2 channel I want 2 channels :)

Is it possible to use quicktime/itunes portable? And use qaac with just the required dll's?

oreons
17th November 2011, 09:13
Allow encode from mov and mp4. You may want lower resolution/bitrate.
From Mov and Mp4 you can encode for this turn to edit mode in the stream window (right mouse click).
http://i29.fastpic.ru/big/2011/1117/6f/987f28ff273f9b5026e3980ddb743e6f.jpg
Make it possible to change number of channels when edit audio stream from wmv. I have set 5.1 in global aac options but if audio source is 2 channel I want 2 channels
If source is 2-channel, the output will also be 2 channel.
Is it possible to use quicktime/itunes portable? And use qaac with just the required dll's?
What about portable I do not know, but it works with QT Lite (http://www.free-codecs.com/download/QT_Lite.htm)

Hobbe
17th November 2011, 12:56
From Mov and Mp4 you can encode for this turn to edit mode in the stream window (right mouse click).

If source is 2-channel, the output will also be 2 channel.



Ahh ok. Thanks. I missed edit mode :)

Ok. It said Output AAC 5.1 in the audio window..

oreons
17th November 2011, 13:05
Ok. It said Output AAC 5.1 in the audio window..
This is a display information bug :)

yunapolaris
9th December 2011, 00:08
Very helpful tool!! I use it to convert MKV movies to watch on PS3 with my family :D . Thank you so much for sharing this !

DarkT
9th December 2011, 01:35
I've read through it, I saw somebody write that he/she did dts --> something else, does this program allow one to change that? Right now I got WDTV, and it reads lots of things, but DTS... Ugh... So, would be nice if I could just auto-reencode the DTS with 1 program... Right now I extract, use behappy on the DTS, then I re-package... Also, does it have batching?

oreons
9th December 2011, 08:59
I've read through it, I saw somebody write that he/she did dts --> something else, does this program allow one to change that? Right now I got WDTV, and it reads lots of things, but DTS... Ugh... So, would be nice if I could just auto-reencode the DTS with 1 program... Right now I extract, use behappy on the DTS, then I re-package... Also, does it have batching?

You can convert DTS to AC3 or AAC.

http://i29.fastpic.ru/big/2011/1209/89/a06d3dc581827d3aa4df4078163bbb89.jpg

Rat Killer
9th December 2011, 14:28
It saves files with the extension .m4v

any way to have it output .mp4 files so I do not have to rename every file? I could not find an option for this but perhaps do not know where to look.

Thanks!

oreons
9th December 2011, 14:36
It saves files with the extension .m4v

any way to have it output .mp4 files so I do not have to rename every file? I could not find an option for this but perhaps do not know where to look.

Thanks!

The program is not possible to switch to mp4 extension. You can rename the files manually. M4v extension is chosen because that Apple only allows to switch tracks on m4v files.

Rat Killer
9th December 2011, 15:03
Any way to specify AC3 audio as the default output rather than aac?

Can the AC3 audio bitrate be set?

Can the files be output in IMSA standard streamable mp4 format (IE with the moov atom at the front of the file)?

Thanks for your help. The utility is very useful and fast. Appreciate your work on this.

oreons
9th December 2011, 20:12
Any way to specify AC3 audio as the default output rather than aac?

You can disable the encoding to AAC taking off checkbox in the settings. Change the number of tracks can not be.

Can the AC3 audio bitrate be set?
Yes, when encoding DTS.

Can the files be output in IMSA standard streamable mp4 format (IE with the moov atom at the front of the file)?
Yes, in the tags settings you can set the MP4 optimization checkbox.

http://i29.fastpic.ru/big/2011/1209/66/aeacb446505d1296b7c4c56b3fe61866.jpg

oreons
2nd January 2012, 19:17
Version 0.218 - http://www.mediafire.com/?u08lyu6ogma1duq

New in version:

1. Added labels to the buttons
http://img593.imageshack.us/img593/2629/35482745.jpg

2. Separate settings for encoding music files. Ability encode to ALAC.
http://img189.imageshack.us/img189/1551/74524851.jpg

3. The choice of variant for the encoder CoreAudioToolbox. It uses the QAAC version 1.0 and above.
http://img252.imageshack.us/img252/8711/76650927.jpg

4. Settings for dynamic range compression (DRC) for AC3 and DTS tracks. Using Sox to DRC.
Ability to create a spectrogram for the audio tracks. They are placed to the directory Temp\Spectrograms
http://img860.imageshack.us/img860/5532/12280774.jpg

5.The output of tags in text form, comfortable for copying.
http://img35.imageshack.us/img35/9436/35605327.jpg

6. The "About" form.
7. Correction of the subtitle for the normal display in QuickTime Player.
http://img85.imageshack.us/img85/2246/62899163.jpg

8. Logs are stored in a separate directory Temp\Logs and have a unique name for each run.
http://img545.imageshack.us/img545/9185/59302189.jpg

9. Copy chapters from one film to another.

Foofaraw
10th January 2012, 21:47
So what do you do when there is no sound in the output?

It's odd though, because in the Temp directory there is a wav file with the sound track (downcoded from ac3)

oreons
11th January 2012, 05:56
Please write program log (at the directory Temp\log)

Balthazar2k4
15th January 2012, 18:19
Oreons, are you still looking into the TrueHD->AC3 issue? I know you have been busy and you mentioned you might take a look at it for the next version. The more I use your program the more I wish it worked with TrueHD. I have said several times already, but fantastic tool and that is really the only issue left for me.

oreons
15th January 2012, 18:41
Try this test version: http://www.mediafire.com/?f7lfejo1m4orpyc
(replace MkvToMp4.exe from the archive)

Kalle333
15th January 2012, 20:25
I only have stereo speaker equipment but after converting to AAC5.1
the centerspeaker track in ac3 is converted to left speaker in aac5.1
i other words: i can hear the center track of ac3 on left+right channel but
the center track of aac on left channel.

This is what MkvToMp4 v0.218 (and v0.219) do:

extract AC3
Azid -p 6ch -a -n true (ac3 to wav)
qaac --quality 2 --ignorelength --tvbr 107 (wav to aac)

the wav file and aac file sounds the same to me. (center on left channel only)
So azid conversion may be wrong. azid have an option to

to analyze this a bit I opened the wav file with reaper and I get this order:

front left
front right
rear left
rear right
center
LFE

which i figured out is wrong.
the right order should be:

front left
center
front right
LFE
rear left
rear right

which i get when i run azid with the following option:

azid -d 3/2 -o L,R,C,LFE,SL,SR "track.ac3" "track.wav"
(btw: this is the same result with LameXP)

please check this and maybe change it in the next version.

oreons
15th January 2012, 20:54
Kalle333
Thank you, I'll test this problem.

Balthazar2k4
16th January 2012, 00:35
Try this test version: http://www.mediafire.com/?f7lfejo1m4orpyc
(replace MkvToMp4.exe from the archive)

Thanks Oreons. I will give this a try tonight and let you know. Also, is the program supposed to keep the settings I save? I have to go into settings each time I open the program and change settings to what I want even after hitting "save".

Balthazar2k4
16th January 2012, 06:57
Try this test version: http://www.mediafire.com/?f7lfejo1m4orpyc
(replace MkvToMp4.exe from the archive)

TrueHD was a no-go in this version. Here's an excerpt from the log:

Starting FFmpeg with the parameters:
Tools\ffmpeg\ffmpeg -i "P:/Movies/abcd/abcd.Blu-ray.mkv" -map 0.1 -acodec copy -y "TEMP\abcd.Blu-ray_external_audio_0_track_1.TrueHD"
FFmpeg terminated with error: 1

oreons
16th January 2012, 08:18
Balthazar2k4
Yes, I'll fix it. I coded the external TrueHD track, not in a container.

Foofaraw
16th January 2012, 09:19
Please write program log (at the directory Temp\log)

Repack/encoder video to MP4 for Apple iPhone, iPad, ATV2. MkvToMp4 version 0.218
Build from: Jan 1 2012 22:57:24
Use log file: Temp\Logs\11_01_2012_16_29_57.txt
QuickTime version: 7.5.5
CoreAudioToolbox not installed.
Added on list: D:/File.mkv
Started processing file: D:/File.mkv
Starting MkvExtract with the parameters:
Tools\mkvextract\mkvextract tracks "D:/File.mkv" 1:"Temp\video.264" 2:"Temp\File_internal_audio_2.AC3"
Extracting track 1 with the CodecID 'V_MPEG4/ISO/AVC' to the file 'Temp\video.264'. Container format: AVC/h.264 elementary stream
Extracting track 2 with the CodecID 'A_AC3' to the file 'Temp\File_internal_audio_2.AC3'. Container format: Dolby Digital (AC3)
Starting DelayCut with the parameters:
Tools\DelayCut\delaycut.exe -start 24 "D:/MkvToMp4_0.218/Temp/File_internal_audio_2.AC3"
Starting Azid with the parameters:
Tools\Azid\Azid -a -n true -c heavy "D:/MkvToMp4_0.218/Temp/File_internal_audio_2.AC3" "Temp\File_internal_audio_2.wav"
Azid AC3 Decoder 1.9 (build 922) -- for Intel Pentium 4
Copyright (C) 1997-2003 By Midas <midas@egon.gyaloglo.hu>
Starting Qaac with the parameters:
Tools\qaac\qaac --quality 2 --ignorelength --tvbr 95 "D:/MkvToMp4_0.218/Temp/File_internal_audio_2.wav" -o "Temp\File_internal_audio_2.m4a"
initializing QTML...done
qaac 0.86, QuickTime 7.5.5
File_internal_audio_2.wav
Error: -206: setProperty: scda/osbd
Qaac terminated with error: 2
Starting Mp4Box with the parameters:
Tools\MP4Box\MP4Box.exe -new -delay 1=1 -add "Temp\video.264":fps=25.000:lang=eng:name="" -itags tool="MkvToMp4 [www.mkvtomp4.ru] version 0.218" "D:\File.m4v"
AVC-H264 import - frame size 1280 x 720 at 25.000 FPS
Import results: 926 samples - Slices: 18 I 283 P 625 B - 0 SEI - 13 IDR
Stream uses B-slice references - max frame delay 2
Setting up iTunes/iPod file...
Forcing AVC/H264 SAR to 1:1...
Saving D:\File.m4v: 0.500 secs Interleaving
Correction mp4 file.
TKHD atom correction for video. TRAK 1
The file <b>D:/File.mkv</b> is processed successfully
File processing time: 4 sec.
Total time: 4 sec.

oreons
16th January 2012, 09:49
Foofaraw
An error occurred while encoding the sound, try changing the codec to Nero (Setup-tab Audio), or reinstall QuickTime.
http://i31.fastpic.ru/big/2012/0116/a2/6411efc390a8098e83c8eb6ee79d27a2.jpg

Foofaraw
16th January 2012, 15:56
Ah, so quicktime has to be installed. Oh well.

Hobbe
16th January 2012, 16:41
Is it ok to update programs in the tools folder?.. Some are very old.. like ffmpeg, mkvtoolnix, x264, qaac...

oreons
16th January 2012, 20:02
Hobbe
Complete set of programs been tested, the new version may be unstable.

Balthazar2k4
19th January 2012, 04:05
Not to be pushy, but any updates on the TrueHD issue?

oreons
19th January 2012, 15:24
Not yet.

Foofaraw
19th January 2012, 17:13
Are there plans to one day make this repack work without quicktime being installed?

oreons
19th January 2012, 17:58
Foofaraw
You can use Nero or CoreAudioToolbox codec, see Setup-Audio-AAC codec.

Foofaraw
20th January 2012, 10:33
Foofaraw
You can use Nero or CoreAudioToolbox codec, see Setup-Audio-AAC codec.

Let me rephrase: Will it ever be possible to remux without having to install codec on the computer.

oreons
20th January 2012, 10:40
For remux no need to install any codecs. QuickTime is recommended for higher quality audio processing.
For WinXP only: Microsoft Visual C++ 2008 Redistributable Package.

Foofaraw
20th January 2012, 15:54
For remux no need to install any codecs. QuickTime is recommended for higher quality audio processing.


Except as I said, it didn't add the sound to the output file...

Balthazar2k4
24th January 2012, 01:23
Any news on the TrueHD front? I also notice that multichannel FLAC has the same problem.

oreons
27th January 2012, 08:53
Balthazar2k4
Test version with TrueHD - http://www.mediafire.com/download.php?g67kmx08tjwjd7w

Balthazar2k4
27th January 2012, 16:16
Balthazar2k4
Test version with TrueHD - http://www.mediafire.com/download.php?g67kmx08tjwjd7w

Thank you Oreons. I am testing now.

Update: Brilliant! TrueHD is now working. Great work Oreons. Any chance we could see 5.1 FLAC->5.1 AC3?

oreons
27th January 2012, 19:27
Any chance we could see 5.1 FLAC->5.1 AC3?
Soon...

Balthazar2k4
30th January 2012, 05:38
Soon...

Great news! That is pretty much the last piece of the puzzle for me.

Balthazar2k4
2nd February 2012, 14:58
As I am in the process of converting over all of my MakeMKV Bluray backups of my collection to m4v for iTunes, I am amassing a large quantity of files with FLAC audio to be processed. Yeah, I could do it all manually (either rerip or command line eac3to), but it sure would be nice if MKVtoMP4 could do it. :)

ashneel83
4th February 2012, 07:05
Hi there

I'm trying to convert AVI file to MP4 and embed external subtitles SRT file into the MP4 file but I get an "Invalid format" error

Please advice what I'm doing wrong and what format my external subtitles should be in to work with MkvTpMp4

oreons
4th February 2012, 10:47
ashneel83
Write a program log (directory Temp\Logs) and place the external srt to mediafire.com for check.