Import issues - MKV

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
User avatar
Ardour
Joined: Sun May 03, 2009 2:44 am
Status: Spazzy
Location: On Top of a Strawberry Ice Cream Cake
Contact:
Org Profile

Re: Import issues - MKV

Post by Ardour » Wed Oct 21, 2009 11:36 pm

My Hatsukoi avisynth script was ANSI txt already...
Any other suggestions?
There are always two choices in life: the right one and the easy one.
Image

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 » Wed Oct 21, 2009 11:52 pm

Make sure you don't have any japanese or otherwise weird character in the path or filename.
Image

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 Oct 22, 2009 12:12 am

Ardour wrote:I was also wondering about the 1.21 version of ffmpegsource because I could only find version 1.12...
FFmpegSource 1.21:
http://code.google.com/p/ffmpegsource/d ... r&can=1&q=

and FFmpegSource2 2.12:
http://code.google.com/p/ffmpegsource/d ... z&can=1&q=

You can also find straight SVN builds on the downloads page too, but unless you've got some really esoteric problem I'd just wait for the next official release.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

User avatar
Ardour
Joined: Sun May 03, 2009 2:44 am
Status: Spazzy
Location: On Top of a Strawberry Ice Cream Cake
Contact:
Org Profile

Re: Import issues - MKV

Post by Ardour » Thu Oct 22, 2009 1:06 am

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

And thanks Qyot for the links. :]
There are always two choices in life: the right one and the easy one.
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 » Thu Oct 22, 2009 9:21 am

if all else fails, you can always get virtualdubmod and open the video using AVISynth template, choosing DirectSHowSOurce(), then click "Tools"-> "Script Editor" and change DirectShowSOurce to ffmpegsource. Virtualdubmod will always create the avs file in the proper character coding.

(I dunno why this was taken out of amvapp, its so convinient for avisynth script editing.)

ALso I think the latest version of amvapp has ffmpegsource built in. That might be your easiest method of getting it and making sure it all works out of the box.

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:

Locked

Return to “AviSynth Help”