Can't open MKV files

This forum is for questions and discussion of all the aspects of handling your footage. If you have questions about capturing/ripping footage, AviSynth, or compression/encoding/converting, look here.

Can't open MKV files

Postby ELITEeNergizer » Sat Dec 31, 2011 1:50 am

I've tried using FFMpegSource2("C:\file.mkv") as my script but windows media player is giving an error that it couldn't open the file I don't have the codecs. It works fine when I do FFAudioSource("C:\song.mp3") and Version(). I have CCP installed as well.

How can I open MKV files with AviSynth?
ELITEeNergizer
 
Joined: 31 Dec 2011

Re: Can't open MKV files

Postby Mister Hatt » Tue Jan 03, 2012 5:07 am

FFVideoSource() for starters. Then depending on the codec inside the MKV, you'd have to know if your LAVC decoder can handle it or if it's being offset elsewhere, and if so what that other decoder is doing.
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you

Re: Can't open MKV files

Postby Enigmo » Wed Feb 15, 2012 1:24 pm

Use DirectShowSource.
Image
User avatar
Enigmo
 
Joined: 29 Oct 2010
Location: London, United Kingdom

Re: Can't open MKV files

Postby mirkosp » Wed Feb 15, 2012 2:11 pm

EnIgMoZz2 wrote:Use DirectShowSource.

No, don't. It's not frame accurate. FFVideoSource is the better choice unless there is a more specific filter to better handle certain cases.
Image
User avatar
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Re: Can't open MKV files

Postby Mister Hatt » Sun Feb 19, 2012 3:10 am

Has anyone setup the LAV filter decoders for use in avs yet? FFMS2 uses libav direct and DSS uses ffdshow, but I wonder how accurate it is with LAV filters? Probably not very, but I'd be interested in actual stats on that.
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you

Re: Can't open MKV files

Postby mirkosp » Sun Feb 19, 2012 7:03 am

Mister Hatt wrote:DSS uses ffdshow

DSS/2 use whatever directshow is set to use, hence even LAV Filters or CoreAVC or whatever you have as default for DirectShow. They underlying issue is that DirectShow itself does not require frame accuracy when requesting a frame X and can give you X-1 or X+1, for example, which in turn means that LAV Filters can't be checked accurately with DSS/2 anyway.
Image
User avatar
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Re: Can't open MKV files

Postby Mister Hatt » Sun Feb 19, 2012 9:06 am

I know that, my question was more if anyone had tried DSS and friends with LAV filters instead of ffdshow. A sane setup will always use, for the moment, ffdshow though.
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you

Re: Can't open MKV files

Postby mirkosp » Sun Feb 19, 2012 1:27 pm

I did try but the issue is always the same, so that's the point.
Image
User avatar
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃


Return to Footage Help

Who is online

Users browsing this forum: No registered users and 1 guest

cron