View Full Version : Known Issue: MKV Pass-Through
Red Kawa
05-31-2007, 03:08 PM
For some unknown reason, one of the tools (MP4box) used in the MKV pass-through conversion process crashes in the final moment of creating the playable MP4 video. This crash blocks the converter from performing any other operation until the crash error box is dismissed. This means that you must manually queue one of these files each time and you cannot queue more than one file.
Currently there is no fix for this issues and it’s quite possible that you will only be able to see 99% of your video after conversion. In most cases, this shouldn’t be a problem.
We will continue to look for new versions of the tool which will may stop this from happening and let you know if this issue is fixed.
adamnikyo
06-01-2007, 12:21 PM
I've tried the MKV Pass-Through on two different machines with no result. It says "Starting Conversion", then after a couple seconds goes to "Conversion Complete".
Am I missing something here?
Should I be installing MP4box seperately?
therealwakka
06-02-2007, 01:02 PM
@ adamnikyo
Turn console on, so that you can see whats the problem with the encoding!!!
My console log said that i have not enough disk space so i resolved this problem, so see what is your problem.
@redkawa
With some movie i start processing and after it says "COMPLETE" there is no file in the output folder.
I had a mkv with 6 Channel ac3 Audio so the log says:
FFmpeg version SVN-r9133, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-liba52 --enable-avisynth --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libogg --enable-libtheora --enable-libvorbis --enable-x264 --enable-xvid --cpu=i686 --enable-memalign-hack --extra-ldflags=-static --enable-dirac
libavutil version: 49.4.0
libavcodec version: 51.40.4
libavformat version: 51.12.1
built on May 27 2007 19:45:44, gcc: 4.2.0
E:\Aeton\H264\s-crank-sample.ac3: could not find codec parameters
EXEC: C:\Programme\Red Kawa\Video Converter\Tools\MP4Box_051807\MP4Box.exe -new -add "E:\Aeton\H264\s-crank-sample.h264" -add "E:\Aeton\H264\s-crank-sample.m4a" -fps 23.976 "E:\Aeton\H264\s-crank-sample.mp4"
AVC-H264 import - frame size 1280 x 720 at 0.000 FPS
Importing AVC-H264: | | (01/100)
Importing AVC-H264: | | (02/100)
Importing AVC-H264: | | (03/100)
Importing AVC-H264: | | (04/100)
...
Import results: 1467 samples - Slices: 28 I 1074 P 365 B - 0 SEI - 21 IDR
Stream uses B-slice references - max frame delay 2
Unknown input file type
Error importing E:\Aeton\H264\s-crank-sample.m4a: Requested URL is not valid or cannot be found
MSG - Converter - Exception: System.IO.FileNotFoundException: Die Datei E:\Aeton\H264\s-crank-sample.mp4 konnte nicht gefunden werden.
Dateiname: E:\Aeton\H264\s-crank-sample.mp4
bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
bei Videora.Conversion.Video.EncoderFlows.Xbox360.0206 bc7a79c93bb2.cd3f1502be9634e3()
DELETE: E:\Aeton\H264\s-crank-sample.h264
DELETE: E:\Aeton\H264\s-crank-sample.ac3
But when i extracted the mkv file manually and convert my ac3 audio to 2.1 with besweet and muxed it with mkvmerge the "MKV-Through" works without problems.
I hope i helped.:)
cooler
06-05-2007, 04:18 AM
Strange. It has worked fine for me with the 2 mkv's I have used. No errors and the resulting MP4 video file plays right to the end! :) I havent had to queue anything up either.
UPDATE: I have noticed that it doesnt work with any of my files that are over 4GB. My tv episodes convert fine, my movies don't. They say they can't read the audio/video files in the console log. Damn! My tv episodes look sweet.. was hoping for similar success with movies. However, I appreciate that there will be many factors that contribute to a successful conversion!
adamnikyo
06-06-2007, 05:25 PM
Thanks for your help. I didn't know about the console, I just started using the software recently. Here is my console log, says it can't detect track #, any ideas?
+ EBML head
|+ Doc type: matroska
|+ Doc type version: 1
|+ Doc type read version: 1
+ Segment, size 101760359
|+ Seek head (subentries will be skipped)
|+ EbmlVoid (size: 4027)
|+ Segment information
| + Timecode scale: 1000000
| + Muxing application: libebml v0.7.7 + libmatroska v0.8.0
| + Writing application: mkvmerge v2.0.0 ('After The Rain Has Fallen') built on Jan 13 2007 19:58:56
| + Duration: 1445.697s (00:24:05.697000000)
| + Date: Sat Mar 17 05:48:56 2007 UTC
| + Segment UID: 0x8b 0x62 0x95 0xf5 0x87 0x2f 0xfd 0xd9 0x9e 0x43 0xfc 0x26 0x1f 0x77 0x52 0xc1
|+ Segment tracks
| + A track
| + Track number: 1
MSG - MkvInfo - Track Number # detected: 1
| + Track UID: 3596689056
| + Track type: audio
| + Enabled: 1
| + Default flag: 1
| + Forced flag: 0
| + Lacing flag: 1
| + MinCache: 0
| + Timecode scale: 1.000000
| + Max BlockAddition ID: 0
| + Codec ID: A_MPEG/L3
MSG - MkvInfo - Codec ID # detected: A_MPEG/L3
| + Codec decode all: 1
| + Default duration: 24.000ms (41.667 fps for a video track)
| + Language: und
| + Name: [Ayako] Shuffle! Memories 10 - Sia Chapter II
| + Audio track
| + Sampling frequency: 48000.000000
| + Channels: 2
| + A track
| + Track number: 2
MSG - MkvInfo - Track Number # detected: 2
| + Track UID: 1370904729
| + Track type: video
| + Enabled: 1
| + Default flag: 1
| + Forced flag: 0
| + Lacing flag: 0
| + MinCache: 1
| + Timecode scale: 1.000000
| + Max BlockAddition ID: 0
| + Codec ID: V_MPEG4/ISO/AVC
MSG - MkvInfo - Codec ID # detected: V_MPEG4/ISO/AVC
| + Codec decode all: 1
| + CodecPrivate, length 39
| + Default duration: 41.708ms (23.976 fps for a video track)
| + Language: und
| + Name: [Ayako] Shuffle! Memories 10 - Sia Chapter II
| + Video track
| + Pixel width: 704
| + Pixel height: 396
| + Interlaced: 0
| + Display width: 704
| + Display height: 396
|+ EbmlVoid (size: 1024)
|+ Cluster
MSG - MkvInfo - A_AC3 Track: -1
MSG - MkvInfo - V_MPEG4/ISO/AVC Track: 2
MSG - Converter - Could not detect Audio/Video Track Number
therealwakka
06-07-2007, 08:28 AM
Try to extract the file with MKVExtractGUI and then remux it with mkvmerge GUI
At MKVMerge GUI you must only put in 23.976 fps for the Video, so it would work correctly.
http://img521.imageshack.us/img521/6938/mergexk7.png (http://imageshack.us)
I am trying to convert an MKV file that I was able to watch as an mkv, but after its done (it does that crash thing at the end), I can watch it, but I only get sound (and a gigantic black video window).
Here is the log.
Importing ISO File: |=========== | (55/100)
Importing ISO File: |=========== | (56/100)
Importing ISO File: |=========== | (57/100)
Importing ISO File: |=========== | (58/100)
Importing ISO File: |=========== | (59/100)
Importing ISO File: |============ | (60/100)
Importing ISO File: |============ | (61/100)
Importing ISO File: |============ | (62/100)
Importing ISO File: |============ | (63/100)
Importing ISO File: |============ | (64/100)
Importing ISO File: |============= | (65/100)
Importing ISO File: |============= | (66/100)
Importing ISO File: |============= | (67/100)
Importing ISO File: |============= | (68/100)
Importing ISO File: |============= | (69/100)
Importing ISO File: |============== | (70/100)
Importing ISO File: |============== | (71/100)
Importing ISO File: |============== | (72/100)
Importing ISO File: |============== | (73/100)
Importing ISO File: |============== | (74/100)
Importing ISO File: |=============== | (75/100)
Importing ISO File: |=============== | (76/100)
Importing ISO File: |=============== | (77/100)
Importing ISO File: |=============== | (78/100)
Importing ISO File: |=============== | (79/100)
Importing ISO File: |================ | (80/100)
Importing ISO File: |================ | (81/100)
Importing ISO File: |================ | (82/100)
Importing ISO File: |================ | (83/100)
Importing ISO File: |================ | (84/100)
Importing ISO File: |================= | (85/100)
Importing ISO File: |================= | (86/100)
Importing ISO File: |================= | (87/100)
Importing ISO File: |================= | (88/100)
Importing ISO File: |================= | (89/100)
Importing ISO File: |================== | (90/100)
Importing ISO File: |================== | (91/100)
Importing ISO File: |================== | (92/100)
Importing ISO File: |================== | (93/100)
Importing ISO File: |================== | (94/100)
Importing ISO File: |=================== | (95/100)
Importing ISO File: |=================== | (96/100)
Importing ISO File: |=================== | (97/100)
Importing ISO File: |=================== | (98/100)
Importing ISO File: |=================== | (99/100)
Saving C:\Documents and Settings\Neel \My Documents\Converted Videos\Xbox360\H264\south.park.good.times.with.wea pons.720p.h264.dd20-lulz.mp4: 0.500 secs Interleaving
ISO File Writing: | | (01/100)
ISO File Writing: | | (02/100)
ISO File Writing: | | (03/100)
ISO File Writing: | | (04/100)
ISO File Writing: |= | (05/100)
ISO File Writing: |= | (06/100)
ISO File Writing: |= | (07/100)
ISO File Writing: |= | (08/100)
ISO File Writing: |= | (09/100)
ISO File Writing: |== | (10/100)
ISO File Writing: |== | (11/100)
ISO File Writing: |== | (12/100)
ISO File Writing: |== | (13/100)
ISO File Writing: |== | (14/100)
ISO File Writing: |=== | (15/100)
ISO File Writing: |=== | (16/100)
ISO File Writing: |=== | (17/100)
ISO File Writing: |=== | (18/100)
ISO File Writing: |=== | (19/100)
ISO File Writing: |==== | (20/100)
ISO File Writing: |==== | (21/100)
ISO File Writing: |==== | (22/100)
ISO File Writing: |==== | (23/100)
ISO File Writing: |==== | (24/100)
ISO File Writing: |===== | (25/100)
ISO File Writing: |===== | (26/100)
ISO File Writing: |===== | (27/100)
ISO File Writing: |===== | (28/100)
ISO File Writing: |===== | (29/100)
ISO File Writing: |====== | (30/100)
ISO File Writing: |====== | (31/100)
ISO File Writing: |====== | (32/100)
ISO File Writing: |====== | (33/100)
ISO File Writing: |====== | (34/100)
ISO File Writing: |======= | (35/100)
ISO File Writing: |======= | (36/100)
ISO File Writing: |======= | (37/100)
ISO File Writing: |======= | (38/100)
ISO File Writing: |======= | (39/100)
ISO File Writing: |======== | (40/100)
ISO File Writing: |======== | (41/100)
ISO File Writing: |======== | (42/100)
ISO File Writing: |======== | (43/100)
ISO File Writing: |======== | (44/100)
ISO File Writing: |========= | (45/100)
ISO File Writing: |========= | (46/100)
ISO File Writing: |========= | (47/100)
ISO File Writing: |========= | (48/100)
ISO File Writing: |========= | (49/100)
ISO File Writing: |========== | (50/100)
ISO File Writing: |========== | (51/100)
ISO File Writing: |========== | (52/100)
ISO File Writing: |========== | (53/100)
ISO File Writing: |========== | (54/100)
ISO File Writing: |=========== | (55/100)
ISO File Writing: |=========== | (56/100)
ISO File Writing: |=========== | (57/100)
ISO File Writing: |=========== | (58/100)
ISO File Writing: |=========== | (59/100)
ISO File Writing: |============ | (60/100)
ISO File Writing: |============ | (61/100)
ISO File Writing: |============ | (62/100)
ISO File Writing: |============ | (63/100)
ISO File Writing: |============ | (64/100)
ISO File Writing: |============= | (65/100)
ISO File Writing: |============= | (66/100)
ISO File Writing: |============= | (67/100)
ISO File Writing: |============= | (68/100)
ISO File Writing: |============= | (69/100)
ISO File Writing: |============== | (70/100)
ISO File Writing: |============== | (71/100)
ISO File Writing: |============== | (72/100)
ISO File Writing: |============== | (73/100)
ISO File Writing: |============== | (74/100)
ISO File Writing: |=============== | (75/100)
ISO File Writing: |=============== | (76/100)
ISO File Writing: |=============== | (77/100)
ISO File Writing: |=============== | (78/100)
ISO File Writing: |=============== | (79/100)
ISO File Writing: |================ | (80/100)
ISO File Writing: |================ | (81/100)
ISO File Writing: |================ | (82/100)
ISO File Writing: |================ | (83/100)
ISO File Writing: |================ | (84/100)
ISO File Writing: |================= | (85/100)
ISO File Writing: |================= | (86/100)
ISO File Writing: |================= | (87/100)
ISO File Writing: |================= | (88/100)
ISO File Writing: |================= | (89/100)
ISO File Writing: |================== | (90/100)
ISO File Writing: |================== | (91/100)
ISO File Writing: |================== | (92/100)
ISO File Writing: |================== | (93/100)
ISO File Writing: |================== | (94/100)
ISO File Writing: |=================== | (95/100)
ISO File Writing: |=================== | (96/100)
ISO File Writing: |=================== | (97/100)
ISO File Writing: |=================== | (98/100)
ISO File Writing: |=================== | (99/100)
DELETE: C:\Documents and Settings\Neel \My Documents\Converted Videos\Xbox360\H264\south.park.good.times.with.wea pons.720p.h264.dd20-lulz.h264
DELETE: C:\Documents and Settings\Neel \My Documents\Converted Videos\Xbox360\H264\south.park.good.times.with.wea pons.720p.h264.dd20-lulz.ac3
DELETE: C:\Documents and Settings\Neel \My Documents\Converted Videos\Xbox360\H264\south.park.good.times.with.wea pons.720p.h264.dd20-lulz.m4a
RickyDun
06-15-2007, 05:43 PM
hey, i have used the mkv passthrough and have converted sample mkv's to h264 and they have worked perfectly, best results have been with the mkvpassthrough settings.
however...
it only takes a minute or so to convert a minute clip, but when i tried to convert an hour episode of planet earth it took over 10hours...doesnt seem right...is there something im doing wrong or is it just the way its supposed to be? Still havent played the planet earth video yet cos its still converting.
If i could do the mkv passthrough in a couple of mins this would be the most perfect software on the net.
RickyDun
06-18-2007, 07:22 PM
ok worked out that problem and turns out i changed the mkv passthrough settings and made it encode...new problem...crashes when i do certain videos at the audio stage.
have converted all of heroes and planet earth fine, done a couple of movies but i have a few that extracts the video and audio fine but cant do anything after it...console says....
Importing AVC-H264: |=================== | (99/100)
Import results: 155342 samples - Slices: 1957 I 65158 P 88227 B - 1 SEI - 1803 IDR
Stream uses B-slice references - max frame delay 2
Unknown input file type
Error importing E:\\Talladega.Nights.BluRay.720p.m4a: Requested URL is not valid or cannot be found
MSG - Converter - Exception: System.IO.FileNotFoundException: Could not find file 'E:\Talladega.Nights.BluRay.720p.mp4'.
File name: 'E:\Talladega.Nights.BluRay.720p.mp4'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Videora.Conversion.Video.EncoderFlows.Xbox360.0206 bc7a79c93bb2.cd3f1502be9634e3()
DELETE: E:\\Talladega.Nights.BluRay.720p.h264
DELETE: E:\\Talladega.Nights.BluRay.720p.ac3
This is at the end after it extracts the raw h264 file...have used mkvetract then merged it back into a mkv file and tried again but no luck...am i being stupid again?
Thameth
08-11-2007, 05:28 AM
@ adamnikyo
Turn console on, so that you can see whats the problem with the encoding!!!
My console log said that i have not enough disk space so i resolved this problem, so see what is your problem.
Thanx for the tip because the same thing was happening to me. But now I have a new problem. I have more than enough space on my drive but PS3 Video 9 I guess uses C:\ as a default for the buffer. I installed PV9 on my D:\ and I have more than 30GB free for conversion of a 8GB 1080p file. But since I have a separate partition for my OS which is only 15GB (C:\) and it only has 4gb free i keep getting the error.
Is there anyway to force PV9 to use my D:\ for its buffer to process the file for an MKV passthrough??
If not are there any other suggestions for getting an MKV of a 1080p H264 AC3 file to play on my PS3 without re-encoding it into another format and possible quality loss?
Mogly
08-24-2007, 03:59 AM
hi there,
i have the following problem. I tried a mkv movie with the passthrough method and the mp4 file plays fine on my pc but xbox refuses to play it (incompatible format).
The converter shows me no error. Everything should be fine.
The sample mkv file from the same movie works on my xbox.
Could it be because of the file size?
May it help if i change from 5.1 to 4.1 with h264info or could there be any other problem i haven't recognized?
Anyone had the same problem that the sample mkv file plays fine and the movie itself processed exactly the same doesn't work?
I wasted about 6 hours yesterday :D
Pitbull_Raven
10-07-2007, 12:24 PM
The problem seems to be in the encoding of the extracted ac3 files. If you look a bit higher up in the console, you should find this:
Seems stream 19 codec frame rate differs from container frame rate: 1.#J (1/0) -> 90000.00 (90000/1)
Input #0, mpeg, from 'D:\work\file.ac3':
Duration: N/A, start: 43609.223344, bitrate: N/A
Stream #0.0[0x1cd]: Audio: mp2, 96 kb/s
Stream #0.1[0x1da]: Audio: mp2, 416 kb/s
Stream #0.2[0x1c0]: Audio: mp2, 56 kb/s
Stream #0.3[0x1e9]: Video: mpeg2video, 90000.00 fps(r)
Stream #0.4[0x1e0]: Video: mpeg2video, 90000.00 fps(r)
Stream #0.5[0x1de]: Audio: mp2, 96 kb/s
Stream #0.6[0x1ee]: Video: mpeg1video, 3037x2467, 27781 kb/s, 60.00 fps(r)
Stream #0.7[0x1d6]: Audio: mp2, 384 kb/s
Stream #0.8[0x2c]: Subtitle: dvdsub
Stream #0.9[0x1cf]: Audio: mp2, 384 kb/s
Stream #0.10[0x1e1]: Video: mpeg1video, 1040x2287, 29413 kb/s, 24.00 fps(r)
Stream #0.11[0x1c5]: Audio: mp2, 32 kb/s
Stream #0.12[0x1dd]: Audio: mp2, 80 kb/s
Stream #0.13[0x1d2]: Audio: mp2, 80 kb/s
Stream #0.14[0x1d3]: Audio: mp2, 224 kb/s
Stream #0.15[0x1d7]: Audio: mp2, 352 kb/s
Stream #0.16[0x1d8]: Audio: mp2, 224 kb/s
Stream #0.17[0x9b]: Audio: dca
Stream #0.18[0x1ea]: Video: mpeg2video, 90000.00 fps(r)
Stream #0.19[0x1ef]: Video: mpeg2video, 90000.00 fps(r)
Output #0, mp4, to 'D:\work\file.m4a':
Stream #0.0: Audio: aac, 160 kb/s
Stream mapping:
Stream #0.0 -> #0.0
[aac @ 00AB2A40]libfaac doesn't support this output format!
Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
EXEC: D:\programs\Red Kawa\Video Converter\Tools\MP4Box_051807\MP4Box.exe -new -add "D:\work\file.h264" -add "D:\work\file.m4a" -fps 23.976 "D:\work\file.mp4"
Anyone have any solution for this yet? I have googled a bit and can't find a way around it.
Midiman
10-07-2007, 01:32 PM
Your video source has 19 streams....
perfp
10-12-2007, 05:39 PM
In my case, the MKV Pass-Through failed because the ac3 stream could not be converted to aac.
This is because ffmpeg believes the ac3 file to be a mp2 stream, and fails with the error "could not find codec parameters". This is the same error that therealwakka reported earlier in the thread.
By splitting the mkv and running ffmpeg manually, adding -f ac3 to force ffmpeg to see the file as an ac3 stream, the audio stream was converted properly.
Pitbull_Raven
10-14-2007, 04:35 PM
Your video source has 19 streams....
Nope, sorry. Only 1 video and 1 audio stream. It's a tv ep capture. And I get the same error with all of them. So I guess the detection is wrong, but even if it isn't, perfp is probably right:
In my case, the MKV Pass-Through failed because the ac3 stream could not be converted to aac.
My thought exactly. The problem is that having to do anything manually kind of defeats the purpose of using this app in the first place.
Midiman
10-14-2007, 05:26 PM
Can you count???
Stream #0.0[0x1cd]: Audio: mp2, 96 kb/s
Stream #0.1[0x1da]: Audio: mp2, 416 kb/s
Stream #0.2[0x1c0]: Audio: mp2, 56 kb/s
Stream #0.3[0x1e9]: Video: mpeg2video, 90000.00 fps(r)
Stream #0.4[0x1e0]: Video: mpeg2video, 90000.00 fps(r)
Stream #0.5[0x1de]: Audio: mp2, 96 kb/s
Stream #0.6[0x1ee]: Video: mpeg1video, 3037x2467, 27781 kb/s, 60.00 fps(r)
Stream #0.7[0x1d6]: Audio: mp2, 384 kb/s
Stream #0.8[0x2c]: Subtitle: dvdsub
Stream #0.9[0x1cf]: Audio: mp2, 384 kb/s
Stream #0.10[0x1e1]: Video: mpeg1video, 1040x2287, 29413 kb/s, 24.00 fps(r)
Stream #0.11[0x1c5]: Audio: mp2, 32 kb/s
Stream #0.12[0x1dd]: Audio: mp2, 80 kb/s
Stream #0.13[0x1d2]: Audio: mp2, 80 kb/s
Stream #0.14[0x1d3]: Audio: mp2, 224 kb/s
Stream #0.15[0x1d7]: Audio: mp2, 352 kb/s
Stream #0.16[0x1d8]: Audio: mp2, 224 kb/s
Stream #0.17[0x9b]: Audio: dca
Stream #0.18[0x1ea]: Video: mpeg2video, 90000.00 fps(r)
Stream #0.19[0x1ef]: Video: mpeg2video, 90000.00 fps(r)
Pitbull_Raven
10-15-2007, 02:09 PM
Can you count???
Yes. I actually learned how to when I was only 2. But if you don't believe me I can always provide the sample clip. There IS only 1 video and 1 audio stream in there. Even MKVExtract only detects 2 streams total. The question is, can you be humble enough to accept that something might be wrong in the detection phase?
jimbo
12-07-2007, 05:16 PM
I had the same problem where some ac3 files would encode but some would not. However I found a solution that works all the time so far with mkv files from 100mb to 7.9gb with AC3 audio of any bit rate.
The current ffmpeg that comes with Video 9 is r9133. Thinking if I update this program it may work I tried all the newer versions with the same or worse results. Then I decided to roll back and tried several from this site until I tried r7906. Magic.
http://ffdshow.faireal.net/mirror/ffmpeg/
Just rename your old one and replace it with this exe. So far it's been working great. The files play fine on PS3, although sadly in stereo of course. Now only I could get something to convert DTS audio.