Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Import Plugin: Mkv - First Frame Solid Green
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
MrSmite
Posted: Sep 17 2012, 06:32 AM


Advanced Member


Group: Members
Posts: 102
Member No.: 25620
Joined: 30-May 09



I'm having an issue with VirtualDub 1.9.11 and the MKV input plugin. Every MKV that I open ends up having the first frame solid green. This green frame also ends up in the rendered output.

According to the file info, it is using FFDshow (AVC1) to decode and I don't get this green frame when watching the original MKV in MPC HomeCinema which also uses the FFDshow decoder.

Any ideas?

Note:

If I drag the time slider in VirtualDub and scroll it back and forth a couple times, when I press the "go to beginning" button the green frame disappears from the VirtualDub output window but it still appears in the rendered AVI.
 
     Top
Abrazo
Posted: Sep 18 2012, 06:39 PM


Advanced Member


Group: Members
Posts: 775
Member No.: 28995
Joined: 5-November 10



In VirtualDub you can also use the FFInputdriver plugin to open MKV-files (except when they have multchannel audio):
http://code.google.com/p/ffinputdriver/downloads/list

The first frame(s) displayed as a solid green image is probably due to an actual shortcoming in the Matroska inputdriver plugin.
Via a delete/cut of the first frame(s) in the original file via VirtualDub it should be possible to avoid this problem in the output file.
 
     Top
MrSmite
Posted: Sep 19 2012, 10:14 AM


Advanced Member


Group: Members
Posts: 102
Member No.: 25620
Joined: 30-May 09



QUOTE (Abrazo @ Sep 18 2012, 06:39 PM)
In VirtualDub you can also use the FFInputdriver plugin to open MKV-files (except when they have multchannel audio):
http://code.google.com/p/ffinputdriver/downloads/list

The first frame(s) displayed as a solid green image is probably due to an actual shortcoming in the Matroska inputdriver plugin.
Via a delete/cut of the first frame(s) in the original file via VirtualDub it should be possible to avoid this problem in the output file.

@Abrazo

I had tried that plugin before but it failed. I didn't know why because all it said is "unable to set filename" but now that you mention it, the video has multichannel audio.

I ended up adding a FadeFX filter and chose "blackout frames 0 to 1" which worked just fine. I didn't want to cut the video because VirtualDub couldn't handle the audio track so I needed to keep the video at the original length for when I demuxed the DTS audio and converted it.
 
     Top
ale5000
Posted: Sep 19 2012, 10:36 AM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



The green frame problem isn't caused by input plugins but it is caused by some VFW decoders.
For example if you have an mkv with H.264 video: Using ffdshow to decode H.264 you will see the first frame green instead if you use x264vfw you won't have the problem (but x264vfw doesn't support multithreading).

Try selecting ffdshow VFW configuration => Decoder => Codecs => VC-1 => wmv9

Note: ffdshow through VFW isn't exactly the same of ffdshow through DirectShow.


--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
3 replies since Sep 17 2012, 06:32 AM Track this topic | Email this topic | Print this topic

<< Back to Codec Discussion