Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs

Reply
 
Thread Tools Search this Thread Display Modes
Old 5th May 2013, 02:08   #281  |  Link
Mr. Monte
Registered User
 
Join Date: Feb 2005
Posts: 350
I get this error when using the new 6.2.0 mkvextract

The last timecode processed before the error was encountered was 00:49:01.376000000.
Resync failed: no valid Matroska level 1 element found.
Mr. Monte is offline   Reply With Quote
Old 5th May 2013, 15:22   #282  |  Link
Marchand
Registered User
 
Marchand's Avatar
 
Join Date: Jan 2013
Location: Brazil
Posts: 14
Would include support for Hi10p ??

x264 [error]: high profile doesn't support a bit depth of 10
x264 terminated with error: 4294967295

Just missing include support for Hi10p because the software is very, very good
Marchand is offline   Reply With Quote
Old 5th May 2013, 16:57   #283  |  Link
luke83
Registered User
 
luke83's Avatar
 
Join Date: Oct 2010
Posts: 109
mkv chapters are taken?
what's the meaning of the field "Encoding Parameters"? I don't want to re-encode. The conversion is very fast so i don't think it encodes the mkv but i've a dubt.

What's "repack parameters"?

If i check the option:"Enable MP4 Optimization when loading the file", the mp4 optimization is applied at every file loaded/converted?
I read that this feature can speed up the streaming of the file. I have all video on a sharecenter in my LAN and i see them on my ps3 without having pc turned on. Can this speed up the loading/streaming?

Last edited by luke83; 5th May 2013 at 23:55.
luke83 is offline   Reply With Quote
Old 6th May 2013, 09:55   #284  |  Link
oreons
MkvToMp4 author
 
Join Date: Nov 2011
Location: Russia
Posts: 105
Mr. Monte,
Error is not repeated on my files.

Marchand,
You can encode Hi10p to 8bit. Version h264.exe in the tools directory support it.


luke83,
Quote:
mkv chapters are taken?
Yes.

Quote:
what's the meaning of the field "Encoding Parameters"? I don't want to re-encode. The conversion is very fast so i don't think it encodes the mkv but i've a dubt.

What's "repack parameters"?
By default, h264 and MPEG4 Visual format is repacking. The other formats encodes.

Quote:
If i check the option:"Enable MP4 Optimization when loading the file", the mp4 optimization is applied at every file loaded/converted?
This option is for ready mp4 files. For repacked files optimization not needed.
oreons is offline   Reply With Quote
Old 6th May 2013, 13:28   #285  |  Link
luke83
Registered User
 
luke83's Avatar
 
Join Date: Oct 2010
Posts: 109
thanks
luke83 is offline   Reply With Quote
Old 17th May 2013, 17:45   #286  |  Link
luke83
Registered User
 
luke83's Avatar
 
Join Date: Oct 2010
Posts: 109
hi,
i'm converting mkv with aac audio 6 channels into mp4 stereo. I checked AAC 2.0 encoding to downmix channels and Sox as DRC. When the conversion is finished, your software show me a yellow triangle of danger about the audio track. I says that the new track (2:14:ss) is shorter than the source (2:22:ss). Infact, when i open my video, the audio is good until that point. Then it's cutted out and no more audio.

Some screen



Quote:
Repack/encoder video to MP4 for Apple iPhone, iPad, ATV2. MkvToMp4 version 0.223
Build from: Mar 15 2013 15:12:21
Use log file: Temp\Logs\17_05_2013_18_40_15.txt
QuickTime version: 7.7.3
CoreAudioToolbox version: 7.9.7.3
Added on list: K:/Documents and Settings/Luca/Documenti/Video/The Avengers.mkv


Started processing file: K:/Documents and Settings/Luca/Documenti/Video/The Avengers.mkv
Starting MkvExtract with the parameters:
Tools\mkvextract\mkvextract tracks "K:/Documents and Settings/Luca/Documenti/Video/The Avengers.mkv" 0:"Temp\video.264" 2:"Temp\The Avengers_internal_audio_3.AAC"
Estrazione traccia 0 con ID codec 'V_MPEG4/ISO/AVC' nel file 'Temp\video.264'. Formato contenitore: AVC/h.264 elementary stream
Estrazione traccia 2 con ID codec 'A_AAC' nel file 'Temp\The Avengers_internal_audio_3.AAC'. Formato contenitore: raw AAC file with ADTS headers
Starting FFmpeg with the parameters:
Tools\ffmpeg\ffmpeg -i "K:/Documents and Settings/Luca/Documenti/Software/Video Editing/MkvToMp4_0.223/Temp/The Avengers_internal_audio_3.AAC" -y "Temp\The Avengers_internal_audio_3.wav"
Starting Eac3To with the parameters:
Tools\eac3to\eac3to "K:\Documents and Settings\Luca\Documenti\Software\Video Editing\MkvToMp4_0.223\Temp\The Avengers_internal_audio_3.wav" "Temp\The Avengers_internal_audio_3_new.wav" -down2 -phaseShift -mixlfe -normalize -progressnumbers
WAV, 5.1 channels, 2:22:55, 16 bits, 4608kbps, 48kHz
Reading WAV...
Downmixing multi channel audio to stereo...
Writing WAV...
Creating file "Temp\The Avengers_internal_audio_3_new.pass1.wav"...
Clipping detected, a 2nd pass will be necessary.
The original audio track has a constant bit depth of 16 bits.
Caution: The WAV file is bigger than 4GB.
Some WAV readers might not be able to handle this file correctly.
Starting 2nd pass...
Reading WAV...
Reducing depth from 64 to 24 bits...
Writing WAV...
Applying -14.22dB gain...
Creating file "Temp\The Avengers_internal_audio_3_new.wav"...
Caution: The WAV file is bigger than 2GB.
Some WAV readers might not be able to handle this file correctly.
Done.
Starting Sox with the parameters:
Tools\sox\sox "K:/Documents and Settings/Luca/Documenti/Software/Video Editing/MkvToMp4_0.223/Temp/The Avengers_internal_audio_3_new.wav" "Temp\The Avengers_internal_audio_3_new_drc.wav" -S compand 0.0,1 6:-53,-43,-20 -6 -90 0.1 gain -n -0.1 treble +0.1
Input File : 'K:/Documents and Settings/Luca/Documenti/Software/Video Editing/MkvToMp4_0.223/Temp/The Avengers_internal_audio_3_new.wav'
Channels : 2
Sample Rate : 48000
Precision : 24-bit
Duration : 02:22:54.98 = 411598848 samples ~ 643123 CDDA sectors
File Size : 2.47G
Bit Rate : 2.30M
Sample Encoding: 24-bit Signed Integer PCM
Done.
Starting Qaac with the parameters:
Tools\qaac\qaac --quality 2 --ignorelength --tvbr 127 "K:/Documents and Settings/Luca/Documenti/Software/Video Editing/MkvToMp4_0.223/Temp/The Avengers_internal_audio_3_new_drc.wav" -o "Temp\The Avengers_internal_audio_3_new_drc.m4a"
initializing QTML...done
qaac 0.86, QuickTime 7.7.3
The Avengers_internal_audio_3_new_drc.wav
391552512/-1 samples processed in 04:26.995
Overall bitrate: 191.275kbps
Starting Mp4Box with the parameters:
Tools\MP4Box\MP4Box.exe -new -delay 1=1 -add "Temp\video.264":fps=23.976:lang=eng:name="[ Source ]....:720p.BluRay.x264-YIFY" -add "K:/Documents and Settings/Luca/Documenti/Software/Video Editing/MkvToMp4_0.223/Temp/The Avengers_internal_audio_3_new_drc.m4a"#1:fps=23.976:lang=ita:name="" -itags tool="MkvToMp4 [www.mkvtomp4.ru] version 0.223" "K:/Documents and Settings/Luca/Documenti/Video/Lupin III - Serie 2/mp4\The Avengers.mp4" -tmp "Temp/Mp4Box"
AVC-H264 import - frame size 1280 x 720 at 23.976 FPS
AVC Import results: 205591 samples - Slices: 3812 I 101700 P 100079 B - 1 SEI - 2865 IDR
Stream uses forward prediction - stream CTS offset: 3 frames
IsoMedia import The Avengers_internal_audio_3_new_drc.m4a - track ID 1 - Audio (SR 48000 - 2 channels)
Saving K:/Documents and Settings/Luca/Documenti/Video/Lupin III - Serie 2/mp4\The Avengers.mp4: 0.500 secs Interleaving
Correction mp4 file.
TKHD atom correction for video. TRAK 1
TKHD atom correction for audio. TRAK 2
Writing tags in file: K:/Documents and Settings/Luca/Documenti/Video/Lupin III - Serie 2/mp4\The Avengers.mp4
Optimizing the file K:/Documents and Settings/Luca/Documenti/Video/Lupin III - Serie 2/mp4\The Avengers.mp4
Open result file K:/Documents and Settings/Luca/Documenti/Video/Lupin III - Serie 2/mp4\The Avengers.mp4 for test.
Audio 1 error. Does not match time source (02:22:54.976) and result (02:15:57.397) files.
The file K:/Documents and Settings/Luca/Documenti/Video/The Avengers.mkv is processed successfully
File processing time: 29 min. 44 sec.
Total time: 29 min. 44 sec.
1 files processed.
What can i do?

Last edited by luke83; 17th May 2013 at 19:21.
luke83 is offline   Reply With Quote
Old 18th May 2013, 16:46   #287  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,101
The infamous size limit for WAVE files has struck again...

Other than doing the audio conversion separately, there is one thing you can try within MkvToMp4:

1. Make sure that the latest SoX version 14.4.1 is used. This version (kind of) supports WAVE files bigger than the usual size limit.

2. Edit the SoX parameters by inserting "--ignore-length" (without the quotes) at the beginning of the parameter list.


This will cause SoX to process the input file up to its real length. I have no idea if the following QAAC command will be able to process the whole file, you have to try this yourself...



Good luck
manolito
manolito is offline   Reply With Quote
Old 18th May 2013, 19:56   #288  |  Link
luke83
Registered User
 
luke83's Avatar
 
Join Date: Oct 2010
Posts: 109
Quote:
Originally Posted by manolito View Post
The infamous size limit for WAVE files has struck again...

Other than doing the audio conversion separately, there is one thing you can try within MkvToMp4:

1. Make sure that the latest SoX version 14.4.1 is used. This version (kind of) supports WAVE files bigger than the usual size limit.

2. Edit the SoX parameters by inserting "--ignore-length" (without the quotes) at the beginning of the parameter list.


This will cause SoX to process the input file up to its real length. I have no idea if the following QAAC command will be able to process the whole file, you have to try this yourself...



Good luck
manolito
Thanks, I'll try

i'm converting the audio of the movie becouse i've this 2.1 on my tv lcd.
The original audio without DRC applied, sounds better but there is a difference between high sounds (effects,music) and low sounds (speeches)

I play it on my PS3 via HDMI

My tv has an option in audio named "Dolby Digital". Is there a way to make sound good without DRC?

EDIT:
Quote:
Tools\sox\sox FAIL sox: missing filename
Sox terminated with error: 1

Last edited by luke83; 18th May 2013 at 22:16.
luke83 is offline   Reply With Quote
Old 21st May 2013, 01:19   #289  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,101
Yeah, I tried it myself, and it does not work because MkvToMp4 does not allow you to insert the "--ignore-length" parameter at the correct location.

The parameter must be inserted before the input file parameter, and MkvtoMp4 has no option to let the user edit the SoX command line. Something for oreons to correct...


If converting with DRC or not is a matter of personal taste. The default DRC command in MkvToMp4 also raises treble, so it might sound better depending on the source audio characteristics.



Cheers
manolito
manolito is offline   Reply With Quote
Old 21st May 2013, 21:50   #290  |  Link
luke83
Registered User
 
luke83's Avatar
 
Join Date: Oct 2010
Posts: 109
Quote:
Originally Posted by manolito View Post
Yeah, I tried it myself, and it does not work because MkvToMp4 does not allow you to insert the "--ignore-length" parameter at the correct location.

The parameter must be inserted before the input file parameter, and MkvtoMp4 has no option to let the user edit the SoX command line. Something for oreons to correct...


If converting with DRC or not is a matter of personal taste. The default DRC command in MkvToMp4 also raises treble, so it might sound better depending on the source audio characteristics.



Cheers
manolito
you can if you double click on the audio track
luke83 is offline   Reply With Quote
Old 26th May 2013, 19:56   #291  |  Link
luke83
Registered User
 
luke83's Avatar
 
Join Date: Oct 2010
Posts: 109
error with subtitle

Quote:
Repack/encoder video to MP4 for Apple iPhone, iPad, ATV2. MkvToMp4 version 0.223
Build from: Mar 15 2013 15:12:21
Use log file: Temp\Logs\26_05_2013_20_54_30.txt
QuickTime version: 7.7.4
CoreAudioToolbox version: 7.9.7.3
The file D:/Video/Naruto/Shippuden 1-3/001 - Ritorno A Casa.mkv has an unknown subtitle format: VobSub
Added on list: D:/Video/Naruto/Shippuden 1-3/001 - Ritorno A Casa.mkv



Started processing file: D:/Video/Naruto/Shippuden 1-3/001 - Ritorno A Casa.mkv
Starting MkvExtract with the parameters:
Tools\mkvextract\mkvextract tracks "D:/Video/Naruto/Shippuden 1-3/001 - Ritorno A Casa.mkv" 0:"Temp\video.264" 1:"Temp\001 - Ritorno A Casa_internal_audio_2.AAC" 4:"Temp\001 - Ritorno A Casa_internal_sub_5.ASS" 5:"Temp\001 - Ritorno A Casa_internal_sub_6.ASS"
Estrazione traccia 0 con ID codec 'V_MPEG4/ISO/AVC' nel file 'Temp\video.264'. Formato contenitore: AVC/h.264 elementary stream
Estrazione traccia 1 con ID codec 'A_AAC' nel file 'Temp\001 - Ritorno A Casa_internal_audio_2.AAC'. Formato contenitore: raw AAC file with ADTS headers
Estrazione traccia 4 con ID codec 'S_TEXT/ASS' nel file 'Temp\001 - Ritorno A Casa_internal_sub_5.ASS'. Formato contenitore: SSA/ASS text subtitles
Estrazione traccia 5 con ID codec 'S_TEXT/ASS' nel file 'Temp\001 - Ritorno A Casa_internal_sub_6.ASS'. Formato contenitore: SSA/ASS text subtitles
Starting GSConv with the parameters:
Tools\GSConv\GSConv SRT "K:/Documents and Settings/Luca/Documenti/Software/Video Editing/MkvToMp4_0.223/Temp/001 - Ritorno A Casa_internal_sub_5.ASS"
GSConv terminated with error: 3221225477
Skipping subtitle K:/Documents and Settings/Luca/Documenti/Software/Video Editing/MkvToMp4_0.223/Temp/001 - Ritorno A Casa_internal_sub_5.ASS
Starting GSConv with the parameters:
Tools\GSConv\GSConv SRT "K:/Documents and Settings/Luca/Documenti/Software/Video Editing/MkvToMp4_0.223/Temp/001 - Ritorno A Casa_internal_sub_6.ASS"
GSConv terminated with error: 3221225477
Skipping subtitle K:/Documents and Settings/Luca/Documenti/Software/Video Editing/MkvToMp4_0.223/Temp/001 - Ritorno A Casa_internal_sub_6.ASS
Starting Mp4Box with the parameters:
Tools\MP4Box\MP4Box.exe -new -delay 1=1 -set-meta "[:tk=2]" -add "Temp\video.264":fps=23.976:lang=eng:name="Naruto Shippuden 001 - Ritorno a casa by danny11" -add "K:/Documents and Settings/Luca/Documenti/Software/Video Editing/MkvToMp4_0.223/Temp/001 - Ritorno A Casa_internal_audio_2.AAC"#1:fps=23.976:lang=ita:name="[AAC]" -itags tool="MkvToMp4 [www.mkvtomp4.ru] version 0.223" "K:/Documents and Settings/Luca/Documenti/Video/Lupin III - Serie 2/mp4\001 - Ritorno A Casa.mp4" -tmp "Temp/Mp4Box"
AVC-H264 import - frame size 648 x 478 at 23.976 FPS
AVC Import results: 33910 samples - Slices: 375 I 10333 P 23202 B - 1 SEI - 346 IDR
Stream uses forward prediction - stream CTS offset: 2 frames
AAC import - sample rate 48000 - MPEG-4 audio - 2 channels
Saving K:/Documents and Settings/Luca/Documenti/Video/Lupin III - Serie 2/mp4\001 - Ritorno A Casa.mp4: 0.500 secs Interleaving
Writing tags in file: K:/Documents and Settings/Luca/Documenti/Video/Lupin III - Serie 2/mp4\001 - Ritorno A Casa.mp4
Optimizing the file K:/Documents and Settings/Luca/Documenti/Video/Lupin III - Serie 2/mp4\001 - Ritorno A Casa.mp4
Open result file K:/Documents and Settings/Luca/Documenti/Video/Lupin III - Serie 2/mp4\001 - Ritorno A Casa.mp4 for test.
The file D:/Video/Naruto/Shippuden 1-3/001 - Ritorno A Casa.mkv is processed successfully
File processing time: 48 sec.
Total time: 48 sec.
1 files processed.
luke83 is offline   Reply With Quote
Old 27th May 2013, 03:42   #292  |  Link
whiskey
Drunken munky
 
Join Date: Mar 2005
Location: US, IL
Posts: 62
Is there any command, option that would allow me to raise volume of converted AAC 2.0 track in mp4 files ? Many times when I'm downgrading from DTS final audio track volume is extremely low. Normalize option does not help much
whiskey is offline   Reply With Quote
Old 21st June 2013, 09:49   #293  |  Link
RamGuy
Registered User
 
Join Date: Jul 2012
Posts: 13
I love this tool so much! But there is one thing I can't seem to wrap my head around, is there any way to get MkvToMP4 to not automatically downscale 1080P into 720P upon encoding of video? I can't seem to find any such option so I have to manually keep an eye out for MKV containing video streams that have to be encoded for it to be compatible with the MP4 container and the manually deactivate the rescaling myself.

And is it just me, or does it actually convert Dolby True HD to Dolby Digital (AC3) instead of just grabbing the actual Dolby Core which is a part of 99% of all Dolby True HD tracks? Why start converting when you can simply pull out the Dolby Digital 5.1 (AC3) 640kbps core within the True HD stream?

It also seems to be bingo whether converting DTS and DTS:HD into AC3 gets in sync with the video stream or not, are there some options I can enable to make this better? It often seem to either be 20-50 ms early or too late in many of my MKV to MP4 repacks.


EDIT: I also miss the possibility of choosing 0 when using constant bitrate encoding of the video streams, some of us have loads of hard drive space and just don't wont to spoil any quality out of the video stream and not wait for the VBR to process.

Last edited by RamGuy; 21st June 2013 at 09:52.
RamGuy is offline   Reply With Quote
Old 21st June 2013, 13:15   #294  |  Link
oreons
MkvToMp4 author
 
Join Date: Nov 2011
Location: Russia
Posts: 105
RamGuy,

Try this version: https://dl.dropboxusercontent.com/u/7183431/0.224Test/5/MkvToMp4.exe
oreons is offline   Reply With Quote
Old 2nd July 2013, 13:08   #295  |  Link
Rat Killer
Registered User
 
Join Date: Mar 2004
Location: Houston
Posts: 112
I decided to come back and give this a try again. Thanks for all the development as it has come a long way. Mostly is working very well for me for mkv files where the video does not need recoding.

I am having a bit of difficulty with some mkv files that contain aac audio as the only track. All I really need is for the audio to pass through but I consistently get mp4 files with video only, no audio at all. I tried selecting enable aac, installed quick time, tried nero, quick time and core audio. All seem to still result in an mp4 with no audio.

mkv files with ac3 or dts audio do just fine.

What am I missing? Thanks for any suggestions.
Rat Killer is offline   Reply With Quote
Old 8th July 2013, 04:07   #296  |  Link
Mixer73
Registered User
 
Join Date: Nov 2007
Posts: 240
Wonder if you can give me a hand with this one, normally everything is working well but sometimes I get a file that process, here is one of them:

Quote:
Started processing file: H:/xvid/mkv/blah.mkv
Starting MkvExtract with the parameters:
Tools\mkvextract\mkvextract tracks "H:/xvid/mkv/blah.mkv" 0:"Temp\video.264" 1:"Temp\blah.AAC"
Extracting track 0 with the CodecID 'A_AAC' to the file 'Temp\video.264'. Container format: raw AAC file with ADTS headers
Extracting track 1 with the CodecID 'V_MPEG4/ISO/AVC' to the file 'Temp\blah_internal_audio_2.AAC'. Container format: AVC/h.264 elementary stream
Starting Mp4Box with the parameters:
Tools\MP4Box\MP4Box.exe -new -delay 1=1 -set-meta "[:tk=2]" -add "Temp\video.264":fps=25.000:lang=eng:name="(m)iCRO(S)iZED(D)OWNLOADS" -add "C:/Mkv2Mp4/Temp/blah_internal_audio_2.AAC"#1:fps=25.000:lang=eng:name="(m)iCRO(S)iZED(D)OWNLOADS" -itags tool="MkvToMp4 [www.mkvtomp4.ru] version 0.223" "G:/xvid/Converted\blah.m4v" -tmp "Temp/Mp4Box"
Cannot find H264 start code
Cannot find H264 start code
Error importing Temp\video.264:fps=25.000:lang=eng:name=(m)iCRO(S)iZED(D)OWNLOADS: BitStream Not Compliant
Mp4Box terminated with error: 1
Total time: 10 sec.
0 files processed.
1 errors.
Any suggestions?
Mixer73 is offline   Reply With Quote
Old 14th July 2013, 11:16   #297  |  Link
RamGuy
Registered User
 
Join Date: Jul 2012
Posts: 13
Quote:
Originally Posted by Rat Killer View Post
I decided to come back and give this a try again. Thanks for all the development as it has come a long way. Mostly is working very well for me for mkv files where the video does not need recoding.

I am having a bit of difficulty with some mkv files that contain aac audio as the only track. All I really need is for the audio to pass through but I consistently get mp4 files with video only, no audio at all. I tried selecting enable aac, installed quick time, tried nero, quick time and core audio. All seem to still result in an mp4 with no audio.

mkv files with ac3 or dts audio do just fine.

What am I missing? Thanks for any suggestions.

This is my biggest grip with the current version. There seems to be no way to get the MKVtoMP4 toolkit to work with MKV's featuring AAC tracks at all.

I've tried to output it to Dolby Digital (AC3), tried using both 2.0 and Multichannel AAC but it's just not working, all my M4V files outputs a M4V file without audio altogether.
RamGuy is offline   Reply With Quote
Old 23rd July 2013, 16:10   #298  |  Link
ArcticFox
Registered User
 
Join Date: Mar 2002
Posts: 190
Any way to fix this 2-4GB WAV file problem, I'm trying to convert my collection that I already ripped to MKV from my own sizeable collection of retail discs.

TV Shows are fine but I have 150+ movies that I really don't want to have to rip again.

I'd stick with MKV but I want compatibility with Apple devices and games consoles.
ArcticFox is offline   Reply With Quote
Old 31st July 2013, 19:55   #299  |  Link
ArcticFox
Registered User
 
Join Date: Mar 2002
Posts: 190
Guess not then?
ArcticFox is offline   Reply With Quote
Old 7th September 2013, 13:05   #300  |  Link
o-l-a-v
Registered User
 
Join Date: Feb 2013
Posts: 13
New qaac version, v2.20: https://sites.google.com/site/qaacpage/cabinet
New mkvtoolnix, v6.3.0-1: http://mkvtoolnix-releases.bunkus.or...s.html#windows

Why don't you remove the old qaac versions? The newer ones are much superior to 0.86 which is found in your tool.
o-l-a-v is offline   Reply With Quote
Reply

Tags
mkv, mkvtomp4, mp4, repack, video

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 19:45.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.