|
|
| mattad |
| Posted: Nov 8 2013, 08:59 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 146
Member No.: 16026
Joined: 26-July 05

|
I have got a *.mkv movie which I want to re-encode with VD. When I inspect the embedded codecs (with MediaInfo tool) I found a "DTS" audio (6 channels).
When I call menu "File information" in VD then audio section is empty.
So I guess I have to install an additional codec.
Which codec do I have to setup in detail?
Matt |
 |
| Abrazo |
| Posted: Nov 8 2013, 01:01 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 775
Member No.: 28995
Joined: 5-November 10

|
There is a fairly chance that you can open it with the FFInputdriver plugin. Actually it is not so obvious who is still following up this plugin. You can find it here: > http://www.mediafire.com/download/ev5u4d0t...faultresize.zip and here > http://www.mirrorservice.org/sites/dl.sour...0.8.0.2_bin.zip
Installation means extract the ZIP-file to the plugins32 subfolder of your VirtualDub installation. Do not forget to also extract the ffdlls subfolder to the plugins32 folder. (There is no need for additional video- nor audio-codecs.)
When in the "Open video file" dialogbox of VirtualDub, first select the MKV file, then at files of type : select "FFMPeg Supported files. Finally click "Open". |
 |
| mattad |
| Posted: Nov 14 2013, 09:13 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 146
Member No.: 16026
Joined: 26-July 05

|
ok, I have downloaded the plugin and copied all files into the VD installation directory.
1.) When I drag & drop (!) an *.mkv file onto VD then audio track is still NOT detected.
2.) Then (according to your suggestion) I loaded the *.mkv file through menu "Open video file". The result was a crash of VD (under 64bit Win7 with 8 GB memory). The crash is reproducable.
So is there another solution to load *.mkv files with DTS audio into VD?
Crash info see below.
VirtualDub crash report -- build 35491 (release) --------------------------------------
Disassembly: 7753c380: 48 dec eax 7753c381: 18e8 sbb al, ch 7753c383: 9aa8ffff8b0d54 call 8bffffa8:540d 7753c38a: 115377 adc [ebx+77h], edx 7753c38d: 89481c mov [eax+1ch], ecx 7753c390: e88ca8ffff call 77536c21 7753c395: c74020e7b45377 mov dword ptr [eax+20h], 7753b4e7 7753c39c: e880a8ffff call 77536c21 7753c3a1: c7402410b55377 mov dword ptr [eax+24h], 7753b510 7753c3a8: c3 ret 7753c3a9: cc int 3 7753c3aa: cc int 3 7753c3ab: cc int 3 7753c3ac: cc int 3 7753c3ad: cc int 3 7753c3ae: e86ea8ffff call 77536c21 7753c3b3: 33c9 xor ecx, ecx 7753c3b5: 817820beb45377 cmp dword ptr [eax+20h], 7753b4be 7753c3bc: 0f94c1 setz cl 7753c3bf: 8bc1 mov eax, ecx 7753c3c1: c3 ret 7753c3c2: cc int 3 7753c3c3: cc int 3 7753c3c4: cc int 3 7753c3c5: cc int 3 7753c3c6: cc int 3 7753c3c7: 8bff mov edi, edi 7753c3c9: 55 push ebp 7753c3ca: 8bec mov ebp, esp 7753c3cc: 83ec50 sub esp, 50h 7753c3cf: 8b4508 mov eax, [ebp+08h] 7753c3d2: 8945b0 mov [ebp-50h], eax 7753c3d5: 8b450c mov eax, [ebp+0ch] 7753c3d8: 83e001 and eax, 01h 7753c3db: 8945b4 mov [ebp-4ch], eax 7753c3de: 33c0 xor eax, eax 7753c3e0: 8945b8 mov [ebp-48h], eax 7753c3e3: c745bcc7c35377 mov dword ptr [ebp-44h], 7753c3c7 7753c3ea: 394514 cmp [ebp+14h], eax 7753c3ed: 7423 jz 7753c412 7753c3ef: 8b4510 mov eax, [ebp+10h] 7753c3f2: 83f80f cmp eax, 0fh 7753c3f5: 7603 jbe 7753c3fa 7753c3f7: 6a0f push 0fh 7753c3f9: 58 pop eax 7753c3fa: 8945c0 mov [ebp-40h], eax 7753c3fd: c1e002 shl eax, 02h 7753c400: 50 push eax 7753c401: ff7514 push dword ptr [ebp+14h] 7753c404: 8d45c4 lea eax, [ebp-3ch] 7753c407: 50 push eax 7753c408: e855ad0200 call 77567162 7753c40d: 83c40c add esp, 0ch 7753c410: eb03 jmp 7753c415 7753c412: 8945c0 mov [ebp-40h], eax 7753c415: 8d45b0 lea eax, [ebp-50h] 7753c418: 50 push eax 7753c419: ff155c115377 call dword ptr [7753115c] 7753c41f: c9 leave <-- FAULT 7753c420: c21000 ret 0010 7753c423: cc int 3 7753c424: cc int 3 7753c425: cc int 3 7753c426: cc int 3 7753c427: cc int 3 7753c428: 8bff mov edi, edi 7753c42a: 55 push ebp 7753c42b: 8bec mov ebp, esp 7753c42d: 56 push esi 7753c42e: 8b7508 mov esi, [ebp+08h] 7753c431: 83fef4 cmp esi, 0f4h 7753c434: 7218 jc 7753c44e 7753c436: 83fef6 cmp esi, 0f6h 7753c439: 7713 ja 7753c44e 7753c43b: 8d4508 lea eax, [ebp+08h] 7753c43e: 50 push eax 7753c43f: 6a00 push 00h 7753c441: 56 push esi 7753c442: e8dd020000 call 7753c724 7753c447: 85c0 test eax, eax 7753c449: 7403 jz 7753c44e 7753c44b: 8b7508 mov esi, [ebp+08h] 7753c44e: 56 push esi 7753c44f: ff1534105377 call dword ptr [77531034] 7753c455: 5e pop esi 7753c456: 85c0 test eax, eax 7753c458: 7c05 jl 7753c45f 7753c45a: 33c0 xor eax, eax 7753c45c: 40 inc eax 7753c45d: eb08 jmp 7753c467 7753c45f: 50 push eax 7753c460: e80db30200 call 77567772 7753c465: 33c0 xor eax, eax 7753c467: 5d pop ebp 7753c468: c20400 ret 0004 7753c46b: cc int 3 7753c46c: cc int 3 7753c46d: cc int 3 7753c46e: cc int 3 7753c46f: cc int 3 7753c470: 8bff mov edi, edi 7753c472: 55 push ebp 7753c473: 8bec mov ebp, esp 7753c475: 8b450c mov eax, [ebp+0ch] 7753c478: 83f8f4 cmp eax, 0f4h 7753c47b: 742c jz 7753c4a9 7753c47d: 83f8f5 cmp eax, 0f5h
Built on Althena on Sun Oct 27 15:59:07 2013 using compiler version 1400
Windows 6.1 (Windows 7 x64 build 7601) [Service Pack 1] Memory status: virtual free 1901M/2048M, commit limit 16152M, physical total 8077M
EAX = 0018facc EBX = 05f6a9a4 ECX = 00000001 EDX = 00000000 EBP = 0018fb1c ESI = 00000000 EDI = 00000000 ESP = 0018facc EIP = 7753c41f EFLAGS = 00000206 FPUCW = 027f FPUTW = ffff
Crash reason: unknown exception 0xc06d007e
Crash context: An exception occurred in module 'KERNELBASE'.
Pointer dumps:
EAX 0018fac8: 0018facc c06d007e 00000000 00000000 7753c41f 00000001 0018fb40 0018faf8 EBX 05f6a9a0: 05f629df 00000001 00019ee0 0001e8dc 0001d220 0001aa44 0001ae5c 00000000 ESP 0018fac8: 0018facc c06d007e 00000000 00000000 7753c41f 00000001 0018fb40 0018faf8 0018fae8: 779ce6a8 007b0000 00000000 04db4f80 0018fb08 779ce67f 04db4f80 00000000 0018fb08: 0018fb20 77542cfe 0018fb18 00000000 00000000 0018fb70 05f62f91 c06d007e 0018fb28: 00000000 00000001 0018fb7c 00814e70 00822828 00000000 00000024 05f6a9a4 EBP 0018fb18: 00000000 0018fb70 05f62f91 c06d007e 00000000 00000001 0018fb7c 00814e70 0018fb38: 00822828 00000000 00000024 05f6a9a4 05f6d240 05f69ee0 00000001 05f6aba4 0018fb58: 00000000 00000000 0000007e 05f6ae5c 00000008 00000000 0018fb90 05f62b9e 0018fb78: 05f6e8dc 0018fb40 007b78e0 00822828 05f527f8 0263b990 0018fbac 05f533fe
Thread call stack: 7753c41f: KERNELBASE!RaiseException [77530000+c3c7+58] 7753c41f: KERNELBASE!RaiseException [77530000+c3c7+58] 779ce6a8: ntdll!RtlDeleteBoundaryDescriptor [779a0000+2e68d+1b] 779ce67f: ntdll!RtlMultiByteToUnicodeN [779a0000+2e565+11a] 77542cfe: KERNELBASE!LoadLibraryExA [77530000+12ccc+32] 05f62f91: FFInputDriver!VDGetPluginInfo [05f50000+12b0+11ce1] 05f62b9e: FFInputDriver!VDGetPluginInfo [05f50000+12b0+118ee] 05f527f8: FFInputDriver!VDGetPluginInfo [05f50000+12b0+1548] 05f533fe: FFInputDriver!VDGetPluginInfo [05f50000+12b0+214e] 004f2135: VDInputDriverPlugin::CreateInputFile() 004762ed: VDProject::Open() 005210cc: VDAutoLogger::VDAutoLogger() 00461edc: OpenAVI() 0047f6f1: VDProjectUI::MenuHit() 76946b00: USER32!gapfnScSendMessage [76930000+15fc8+b38] 0048de10: VDUIFrame::DefProc() 00480e93: _catch$?MainWndProc@VDProjectUI@@IAEJIIJ@Z$0() 00477090: VDProjectUI::WndProc() 0048e525: VDUIFrame::StaticWndProc() 769462fa: USER32!gapfnScSendMessage [76930000+15fc8+332] 76946d3a: USER32!GetThreadDesktop [76930000+16c63+d7] 76946ce9: USER32!GetThreadDesktop [76930000+16c63+86] 769477c4: USER32!CharPrevW [76930000+1768c+138] 620f0a52: oawatch!000f0a52 76947bca: USER32!DispatchMessageA [76930000+17bbb+f] 00460736: WinMain@16() 005fc456: __tmainCRTStartup() 7728336a: kernel32!BaseThreadInitThunk [77270000+13358+12] 779d9f72: ntdll!RtlInitializeExceptionChain [779a0000+39f0f+63] 779d9f45: ntdll!RtlInitializeExceptionChain [779a0000+39f0f+36]
-- End of report |
 |
| meowmeow |
| Posted: Nov 14 2013, 11:21 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 98
Member No.: 37160
Joined: 21-September 13

|
Windows: install K-Lite Mega Codec Pack
Optional: in ffdshow audio decoder configuration - enable mixer - to 2/0/0 - stereo
VirtualDub: Install DSInputDriver.vdplugin
open file as "DirectShow input driver" type (sets after you press Ctrl-O)
compress audio using AC-3 ACM, 5.1.
Optional: compress mixed stereo (safer) |
 |
| -vdub- |
| Posted: Nov 14 2013, 02:52 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10

|
For K-Lite and other codec packs they can be more trouble than they are worth
Better to get it from source and install if need it http://ffdshow-tryout.sourceforge.net/download.php |
 |
| meowmeow |
| Posted: Nov 14 2013, 03:49 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 98
Member No.: 37160
Joined: 21-September 13

|
It doesn't have VCM and ACM for 6 ch. audio.
K-Lite has no trouble. Instead, it may fix playback issues. meowmeow using it 5 years. |
 |
| -vdub- |
| Posted: Nov 14 2013, 04:53 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10

|
Use MKVMerge http://www.bunkus.org/videotools/mkvtoolnix/ drop you mkv on it. Then select the tracks and other bits you need for the video save. Start the mux process
1. Install AviSynth http://sourceforge.net/projects/avisynth2/ if don't already have it
2. Open a new text .txt document type the following insert the drive and your video file name where indicated
Directshow("drive:\file name for your video")
3. Save the document with any name you need, when save the document or after save change .txt extension to .avs
4. Drop this onto virtualdub to load your video and have 5.1 PCM audio
Avisynth has many options for file loading and manipulation, with many transform and other filters |
 |
| meowmeow |
| Posted: Nov 14 2013, 06:17 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 98
Member No.: 37160
Joined: 21-September 13

|
| QUOTE (-vdub- @ Nov 14 2013, 04:53 PM) | | Use MKVMerge |
What for? Video & audio already in mkv. Other bits add after video encode.
| QUOTE (-vdub- @ Nov 14 2013, 04:53 PM) | | Directshow("drive:\file name for your video") |
DirectShowSource("video.mkv") |
 |
| -vdub- |
| Posted: Nov 15 2013, 08:51 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10

|
| QUOTE (meowmeow @ Nov 14 2013, 06:17 PM) | | QUOTE (-vdub- @ Nov 14 2013, 04:53 PM) | | Use MKVMerge |
What for? Video & audio already in mkv. Other bits add after video encode.
| QUOTE (-vdub- @ Nov 14 2013, 04:53 PM) | | Directshow("drive:\file name for your video") |
DirectShowSource("video.mkv") |
An mkv can hold many many audio languages and subtitles this makes it easier to choose what you need.
So that avisynth knows exact location for video on multi drive pc. It maybe ok where VideoFile.avs is located with the video but we don't know that will happen so having the ("drive:\videoFileName.mkv") fixes that. Thanks for adding source for directshow typo |
 |
| meowmeow |
| Posted: Nov 16 2013, 09:23 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 98
Member No.: 37160
Joined: 21-September 13

|
| QUOTE (-vdub- @ Nov 15 2013, 08:51 PM) | | An mkv can hold many many audio languages and subtitles this makes it easier to choose what you need. |
Be afraid of 39GB video streams which you attempt to copy. Why not to extract just audio track and then mux virtually
run:
| CODE | | C:\>"c:\Program Files\mkvmerge\mkvextract.exe" tracks c:\movie\video.mkv 2:c:\movie\audio.dts |
2: - track number for dts master audio in my file was (0 - video, 1 - another audio, 3 - subtitle)
AVS script:
| CODE | vid = Directshowsource("c:\movie\video.mkv", audio=false) aud = Directshowsource("c:\movie\audio.dts") AudioDub(vid, aud) |
VD cannot mix this type 6 ch into stereo. But AC-3 can encode 6 ch with VD or mix stereo with ffdshow audio decoder. |
 |
| -vdub- |
| Posted: Nov 16 2013, 09:36 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10

|
I haven't tried with 39gb mkv likely never will since don't use mkv often, at all unless I have to. I have written about the bugs it has, elsewhere on the forum. Mkv know of the problem for a few years I have read in their forums, it's a major bug still needing to be fixed
Test mkv I have is a small video clip that has x5 audio DTS 5.1 with x12 subtitle languages
Mkv Cleaver could also help if need to extract where can someone can more easily choose which tracks to extract. Mkv merger I chose here because it has a UI where someone can use to see audio and subtitle language of each track when selecting. Most people prefer GUI to CLI as it is easier to use wysiwyg etc |
 |