Log in

View Full Version : [SOLVED] - [HELP] Importing .MKV/.MP4 to VirtualDub not working (Green/gray screen).


AiDz0r
26th October 2012, 12:06
Hi all, i have a AVS file. Inside this file I've typed:
DirectShowSource("D:\des\as.mkv")

When i try to open it up with VirtualDub I end up with this:
http://i.cubeupload.com/e4nJxb.jpg


Media Information
General
UniqueID/String : 212212304667628584942508057889727190168 (0x9FA69A6C2572BF358D2829BEB57E1498)
CompleteName : D:\des\as.mkv
Format : Matroska
Format_Version : Version 2
FileSize/String : 313 MiB
Duration/String : 23mn 39s
OverallBitRate/String : 1 851 Kbps
Movie : x - x - x
Encoded_Date : UTC 2012-06-25 00:41:27
Encoded_Application : mkvmerge v5.0.1 ('Es ist Sommer') built on Oct 9 2011 11:55:43
Encoded_Library/String : libebml v1.2.2 + libmatroska v1.3.0
Attachment : Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes

Video
ID/String : 1
Format : AVC
Format/Info : Advanced Video Codec
Format_Profile : High 10@L5.0
Format_Settings_CABAC/String : Yes
Format_Settings_RefFrames/String : 16 frames
MuxingMode : Header stripping
CodecID : V_MPEG4/ISO/AVC
Duration/String : 23mn 39s
Width/String : 1 280 pixels
Height/String : 720 pixels
DisplayAspectRatio/String : 16:9
FrameRate_Mode/String : Constant
FrameRate/String : 23.976 fps
ColorSpace : YUV
ChromaSubsampling : 4:2:0
BitDepth/String : 10 bits
ScanType/String : Progressive
Title : H.264
Encoded_Library/String : x264 core 125 r2200+677M 3a754e7
Encoded_Library_Settings : cabac=1 / ref=16 / deblock=1:1:1 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / fade_compensate=0.80 / psy_rd=0.60:0.04 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / fgo=0 / bframes=10 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=16.7000 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / ip_ratio=1.40 / aq=3:0.80
Default/String : Yes
Forced/String : No
Matrix coefficients : BT.709

Audio
ID/String : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format_Profile : LC
CodecID : A_AAC
Duration/String : 23mn 39s
Channel(s)/String : 2 channels
ChannelPositions : Front: L R
SamplingRate/String : 48.0 KHz
Compression_Mode/String : Lossy
Title : Japanese 2.0 AAC
Language/String : Japanese
Default/String : Yes
Forced/String : No

Text #1
ID/String : 3
Format : ASS
CodecID : S_TEXT/ASS
CodecID/Info : Advanced Sub Station Alpha
Compression_Mode/String : Lossless
Title : English subtitles
Language/String : English
Default/String : Yes
Forced/String : No

Text #2
ID/String : 4
Format : ASS
CodecID : S_TEXT/ASS
CodecID/Info : Advanced Sub Station Alpha
Compression_Mode/String : Lossless
Title : Wapanese subtitles
Language/String : English
Default/String : No
Forced/String : No

Menu
00:00:00.000 : en:Intro
00:01:54.988 : en:Part A
00:09:23.937 : en:Eyecatch
00:09:28.358 : en:Part B
00:21:57.148 : en:Outro


I have installed:
*Avsynth 2.5.8
*FFdshow rev4422_20120409
*MatroskaSplitter
*VirtualDub 1.9.11

I'm not sure what I must do in order to view this mkv file in VirtualDub. I really don't want to compress it to .avi or any other codec because this would be just useless, because of the quality loss within the conversion no matter high high you keep your bitrate, the more you keep encoding a file the more it would be jittered. So if you could suggest something else besides converting the file to .avi then importing it, it would be great.

Kurtnoise
26th October 2012, 12:15
If you don't want to recompress it, why you're opening into VDub ?

AiDz0r
26th October 2012, 12:23
When i meant recompress, i mean like i don't want:
.mkv -> .avi -> virtualdub -> .avi -> converter -> .mkv

It would be better without it, especially when you want clean video.

AiDz0r
26th October 2012, 12:24
If you know any other way, i can compress,cut frames like in vdub it would be good. Although I would like to import the .mkv's without compressing, if this is impossible and i have no choice then i will recompress

AiDz0r
26th October 2012, 14:42
Solution:

Only Requirements:
*ffmpegsource
*VirtualDub
*Avisynth 2.5.8

1- Download FFmpegSource (http://code.google.com/p/ffmpegsource/) (ffms-2.17.7z)
2- Create a .avs file with notepad and type:


LoadPlugin("C:\LOCATION\ffms2.dll")
ffvideosource("C:\LOCATION\encodethisfile.mkv")
3- Using VirtualDub you can drag and drop the file .avs after you have saved it, and it would work, also you can open the .avs with other encoders that supports avisynth. Like, RipBot.

Kurtnoise
26th October 2012, 15:11
I don't know what are you doing exactly but if it's solved...good for you.