A poster recently asked me why I convert MKV files to AVI. I thought it was neccesary to convert MKV->AVI->MPEG-2 if you wanted to put the original MKV files onto DVD?
I thought to myself, that is a very good question.
I did some research on the Internet and that is ongoing, but I wanted to ask, is there a way to load an MKV file, even one with H264 into CCE via a AviSynth Script, so I could totally bypass converting to an AVI file?
I tried a couple of things (including the script below) but pretty much got errors in CCE. VdubM said something about "No combination of filters could be found to render the stream"
<SCRIPT>
DirectShowSource("C:\input.mkv", audio=false)
LanczosResize(720,368,0,1,600,336)
AddBorders(0,56,0,56)
ConvertToYUY2()
</SCRIPT>
Is this even possible or must I continue with what I have been doing?
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 11 of 11
			
		- 
	
- 
	Yes, something like that should work if you have a Directshow MKV splitter like Haali and a Directshow codec installed. 
 
 Some codecs used in MKV support variable frame rates. You may need to add frame rate arguemnts to DirectShowSource():
 
 DirectShowSource("file.mkv", fps=23.976, convertfps=true)
- 
	The fewer conversions, the better, in terms of encoding time and quality 
 
 You should be able to frameserve just about anything with avisynth scripts.
 
 "No combination of filters could be found to render the stream"
 => Check to see if you have haali media splitter properly installed
 
 FYI, convertxtodvd and avidemux natively accept h264 encoded mkv files without scripts and they can be used to make dvds.
 
 Here is a guide for avidemux DVD authoring: http://www.avidemux.org/admForum/viewtopic.php?id=3570
 
 And convertxtodvd is so simple it doesnt even need a guide
 
 EDIT: HAHA I see Jagabo beat me to the punch  
- 
	Read my blog here.
 
- 
	I don't know.Originally Posted by mickgreen58
 
 Is there an error message? Can you open the AVS script in a media player?Originally Posted by mickgreen58
- 
	DGAVCDec http://neuron2.net/dgavcdec/dgavcdec.html 
 
 Think DGMPGDec for h264 streams.Linux _is_ user-friendly. It is not ignorant-friendly and idiot-friendly.
- 
	forget it, i.e., forget the use of AVISynth DS directly 
 
 - VSO ConvertXtoDVD accepts almost all MKV sources
 
 - Almost all-in-one with AVISynth DS that directly renders a MKV will work sometimes, and fail in much other cases
 
 Do you have all needed codecs installed and you can play them in WMP ? fine...then you are able to convert outside VSO bigbrother
 
 but does this simple script :
 
 DirectShowSource("High def source.mkv")
 
 work ?
 
 it's your case, it works 80% of the times. You must use another workaround
 
 it is easy to test, just Google for this keywords :
 
 mkv aac sample rapidshare
 
 you will get a bunch of samples that doesn't work with avisynth's DS directly
 
 any free tool that uses AviSynth's DS directly will fail in that samples over 99%, period...unless....
- 
	I have also found that often an mkv that will not open in avisynth will happily open if demux and remuxed without all the associated crap. mkv authors love to dump all sorts of bullsh*t into their files - stills etc. I just extract the audio and video streams, and remerge to a clean file. This usually then processes fine. Read my blog here.
 
- 
	yeah...because you are a experienced user, but let them google for this keywords :Originally Posted by guns1inger
 
 mkv aac sample rapidshare
 
 99% of the samples doesn't work with AViSythn's DS, and period
 
 I tested them all, and failed
 
 unless you build your DS Graph filter and input that in AVISynth's DS like this :
 
 DirectShowSource("my_hd_movie.grf")
 
 of course, you must know how to make that DS Graph Filter, it is easy using GraphEdit...but it is hard to do dynamically by a all-in-one soft
 
 TFM was close, but fails also...there is bugs in the DS Graph, bad connection of pins
 
 and more : all-in-one must be able to select only audio and video from multi-tracks mkv containers...period !
 
 that's why I deprecated AVISynth' DS with MKV...this weekend
Similar Threads
- 
  CCE, MP4 and AviSynth ErrorBy Maikeru-sama in forum Video ConversionReplies: 28Last Post: 11th Jun 2008, 05:24
- 
  aviSynth + CCE Basic (2.7) fails on certain scriptsBy binister in forum Video ConversionReplies: 6Last Post: 11th May 2008, 01:23
- 
  CCE, AviSynth and MP4 QuestionBy Maikeru-sama in forum Video ConversionReplies: 5Last Post: 31st Mar 2008, 12:19
- 
  Matted to anamorphic with aviSynth/CCE?By Sephiroth666 in forum Newbie / General discussionsReplies: 3Last Post: 7th Jan 2008, 01:00
- 
  Questions about CCE, H264 and AviSynthBy Maikeru-sama in forum Video ConversionReplies: 18Last Post: 21st Dec 2007, 21:38


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			

 Quote
 Quote 
			