Import issues - MKV

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: Import issues - MKV

Post by mirkosp » Thu Oct 22, 2009 11:00 am

Ardour wrote:Nope. No japanese or other worldly texts in my script.
Anybody have any other suggestions?

And thanks Qyot for the links. :]
Not necessarily in the script. Even if you are calling the files with relative paths (eg: just ffvideosource("video.mp4")), if somewhere in the path where these files are located there is a bad character, then it's still going to give error.
Image

User avatar
Bakadeshi
Abuses Spellcheck
Joined: Mon Sep 29, 2003 9:49 am
Location: Atlanta, GA
Contact:
Org Profile

Re: Import issues - MKV

Post by Bakadeshi » Fri Oct 23, 2009 10:33 am

mirkosp wrote:
Ardour wrote:Nope. No japanese or other worldly texts in my script.
Anybody have any other suggestions?

And thanks Qyot for the links. :]
Not necessarily in the script. Even if you are calling the files with relative paths (eg: just ffvideosource("video.mp4")), if somewhere in the path where these files are located there is a bad character, then it's still going to give error.
True, didn't think of that, try renaming the mp4 file to something simple like video.mp4 in mirk's example. (It can still be using Japanese character codes and have english letters, so rename it anyway to be safe)

User avatar
Burnt Frog
Joined: Tue Feb 06, 2007 11:54 am
Location: England
Org Profile

Re: Import issues - MKV

Post by Burnt Frog » Wed Nov 25, 2009 8:56 pm

I've got a LOT of anime eps in mkv and I'm trying to figure out how to open them up for AMV editing!

I'm trying to test this whole craziness out on a Doctor Who file of the most recent special, just because it's the closest .mkv file I have to experiment on (the others on external drives).

I've downloaded this version of ffmpegsource = FFmpegSource-1.21 and that gave me this = FFMpegSource.dll

After Vax said put the dll in your avisynth plugins folder (which in my case is: C:\program files\avisynth 2.5\plugins), I went and did that.

I opened up the Who episode in notepad and it said the message that the file was too "large for notepad" same as Jack-Hammer on page 1 on this topic.

So I looked at the advice Vox gave and copied and pasted this, after of course moving the .mkv file to the correct destination:

ffmpegsource("C:\Users\Joseph\doctor_who_2005.the_waters_of_mars_2009_special.720p_hdtv_x264-fov.mkv", vtrack=-1, atrack=-1)

And saved the notepad file to the same destination as "Mars.avs"

(Now I gather that you have to open the .avs file that is in the same folder as the .mkv itself when you get onto the "Open" part of VDM)

Then I went to open up VirtualDubMod. But when I go to the little drop-down window that says "Use AviSynth template" I press DirectShowSource, click on the .avs file and it just doesn't work!!!! :x

It says "Couldn't locate decompressor for format "YV12" (unknown)
VirtuaDub requires a Video for Windows (VFW) compatible codec to decompress video. Direct Show codecs, such as those used by Windows Media Player are not suitable. Only "Direct stream copy" is available for this video"

What's wrong now? Am I missing a download somewhere? :?

Where am I going wrong? I am very confused and it's quite late at night........

User avatar
Enigma
That jolly ol' bastid
Joined: Sat Mar 07, 2009 3:55 pm
Status: Free
Location: California
Org Profile

Re: Import issues - MKV

Post by Enigma » Wed Nov 25, 2009 9:18 pm

Burnt Frog wrote: ffmpegsource("C:\Users\Joseph\doctor_who_2005.the_waters_of_mars_2009_special.720p_hdtv_x264-fov.mkv", vtrack=-1, atrack=-1)

Then I went to open up VirtualDubMod. But when I go to the little drop-down window that says "Use AviSynth template" I press DirectShowSource, click on the .avs file and it just doesn't work!!!! :x
There is your problem,Instead of going for FFMPegsource.....u tried DirectShowSource :X(U can just change your script from saying FFMpegsource too DirectShowSource)

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Re: Import issues - MKV

Post by Scintilla » Wed Nov 25, 2009 9:41 pm

Burnt Frog wrote:(Now I gather that you have to open the .avs file that is in the same folder as the .mkv itself when you get onto the "Open" part of VDM)

Then I went to open up VirtualDubMod. But when I go to the little drop-down window that says "Use AviSynth template" I press DirectShowSource, click on the .avs file and it just doesn't work!!!! :x
Don't use the "Use AVISynth template" option. That's for opening normal video files, NOT scripts. Set it back to "none" and just open the script normally.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

User avatar
Burnt Frog
Joined: Tue Feb 06, 2007 11:54 am
Location: England
Org Profile

Re: Import issues - MKV

Post by Burnt Frog » Wed Nov 25, 2009 10:13 pm

Soup wrote:
Burnt Frog wrote: ffmpegsource("C:\Users\Joseph\doctor_who_2005.the_waters_of_mars_2009_special.720p_hdtv_x264-fov.mkv", vtrack=-1, atrack=-1)
Then I went to open up VirtualDubMod. But when I go to the little drop-down window that says "Use AviSynth template" I press DirectShowSource, click on the .avs file and it just doesn't work!!!! :x
There is your problem,Instead of going for FFMPegsource.....u tried DirectShowSource :X(U can just change your script from saying FFMpegsource too DirectShowSource)
Okay, I put DirectShowSource in the .avs text.

DirectShowSource("C:\Users\Joseph\doctor_who_2005.the_waters_of_mars_2009_special.720p_hdtv_x264-fov.mkv", vtrack=-1, atrack=-1)

Now when I just go to the .avs file without any AviSynth template I get this:
AviSynth open failure:
Script failure: DirectShowSource does not have a named argument "vtrack"
(C:\Users\Joseph\Mars.avs, line 1)
If I do use DirectShowSource as a AviSynth template it comes up with this:

Image

Is it possible that the FFmpeg thingy that Vax mentioned has a different avs code in Notepad than the DirectShowSource?

User avatar
Enigma
That jolly ol' bastid
Joined: Sat Mar 07, 2009 3:55 pm
Status: Free
Location: California
Org Profile

Re: Import issues - MKV

Post by Enigma » Wed Nov 25, 2009 10:40 pm

Do wut scintilla said,Much easier :P

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: Import issues - MKV

Post by Qyot27 » Thu Nov 26, 2009 11:10 pm

Burnt Frog wrote:Is it possible that the FFmpeg thingy that Vax mentioned has a different avs code in Notepad than the DirectShowSource?
It does. vtrack and atrack are only valid parameters for FFmpegSource (and vtrack=-1 is the default anyway; you don't need to specify it). DirectShowSource loads video and audio by default, so if you wanted to disable either one, you'd use video=false or audio=false.

But it would likely have worked if you didn't use the template option and simply opened the script*.

*The only way I could see it not working is if the YV12 message came up again, which means you either need to install the Helix YUV codecs or set ffdshow's VFW interface to 'all supported' or 'all YUV' next to the Raw video option.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

User avatar
Burnt Frog
Joined: Tue Feb 06, 2007 11:54 am
Location: England
Org Profile

Re: Import issues - MKV

Post by Burnt Frog » Fri Nov 27, 2009 4:31 pm

Yahoo! It's working now and I can save it to .avi! :D :D :D

Image

Thanks a ton guys, going to try it with anime files now!

User avatar
Enigma
That jolly ol' bastid
Joined: Sat Mar 07, 2009 3:55 pm
Status: Free
Location: California
Org Profile

Re: Import issues - MKV

Post by Enigma » Fri Nov 27, 2009 6:10 pm

Don't have too much fun |:>

Locked

Return to “AviSynth Help”