Error opening DirectShowSource

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
User avatar
Kawatta-kun
Joined: Wed Jul 27, 2005 3:19 pm
Status: Awesomely great
Location: Povoa de Santa Iria, Lisbon
Contact:
Org Profile

Error opening DirectShowSource

Post by Kawatta-kun » Mon Nov 15, 2010 12:48 pm

Image

When I tried a few days ago it was working just fine.

Then i re-instaled codecs and AMVapp, cuse i had to try something. Now that I do that, it shows me that error message.
Image Image

User avatar
Kawatta-kun
Joined: Wed Jul 27, 2005 3:19 pm
Status: Awesomely great
Location: Povoa de Santa Iria, Lisbon
Contact:
Org Profile

Re: Error opening DirectShowSource

Post by Kawatta-kun » Mon Nov 15, 2010 12:51 pm

This is the code.

Code: Select all

DirectShowSource("[Doki-SGKK] Black Rock Shooter - OVA (848x480 h264 DVD AAC) [A43E52A5].mkv")
ConvertToYV12
And I'm sure the directory is correct.
Image Image

User avatar
Kawatta-kun
Joined: Wed Jul 27, 2005 3:19 pm
Status: Awesomely great
Location: Povoa de Santa Iria, Lisbon
Contact:
Org Profile

Re: Error opening DirectShowSource

Post by Kawatta-kun » Mon Nov 15, 2010 1:14 pm

DirectShowSource("C:\Users\Cláudio\Downloads\[Doki-SGKK] Black Rock Shooter - OVA (848x480 h264 DVD AAC) [A43E52A5].mkv")
ConvertToYV12()

This one!
Image Image

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: Error opening DirectShowSource

Post by mirkosp » Mon Nov 15, 2010 1:26 pm

Mmmh... my guess is that the á character in the path is giving it hard times. Aside for the fact you don't have directshowsource.dll, but that's bad anyway and you shouldn't use it.
My suggestion is to rename the folder just to be safe and use ffvideosource. Get the ffmpegsource-2.14-mt.7z from there, unpack it and place the ffms2.dll in your C:\Program Files\Avisynth 2.5\plugins folder and then use the code

Code: Select all

FFVideoSource("[Doki-SGKK] Black Rock Shooter - OVA (848x480 h264 DVD AAC) [A43E52A5].mkv")
The converttoyv12 line is redundant because H.264 High Profile (what that encode very very very likely is) is already YV12. And YV12 is the only colorspace that x264 encodes to (at the current state of things), so since that's what gets used in the fansubbing community, there really is no doubt. One thing I'd point out, though, is that, while just saying ConvertToYV12 works, not putting the parentheses at the end could slightly slow down the code (or so I was reading about telecide and decimate in their documentation, I'm not sure if this applies to all commands, but better safe than sorry), so in case you need to use it, I suggest to call it as ConvertToYV12() just in case. Nevermind, seems it was just a typo in the code. Well, better to leave it there for future reference.

Anyway, in the case that you really want to keep the special character there, then the solution would be getting this version of ffms2 (as before, put the ffms2.dll in your plugins folder of avisynth) and then using the following code:

Code: Select all

FFVideoSource("C:\Users\Cláudio\Downloads\[Doki-SGKK] Black Rock Shooter - OVA (848x480 h264 DVD AAC) [A43E52A5].mkv", utf8="I swear by the Almighty BlankClip() that the Avisynth Script I will use shall be in UTF-8, only in UTF-8 and nothing but UTF-8.")
That's the exact code to be used. The command is case sensitive, btw.
Image

User avatar
Kawatta-kun
Joined: Wed Jul 27, 2005 3:19 pm
Status: Awesomely great
Location: Povoa de Santa Iria, Lisbon
Contact:
Org Profile

Re: Error opening DirectShowSource

Post by Kawatta-kun » Mon Nov 15, 2010 2:10 pm

Thanks for the help ^^ even with another topic that my girlfriend found for me, I was already messing up with the files, and just tried to re-install it, and it worked~
Image Image

Mister Hatt
Joined: Tue Dec 25, 2007 8:26 am
Status: better than you
Contact:
Org Profile

Re: Error opening DirectShowSource

Post by Mister Hatt » Tue Nov 23, 2010 5:25 am

Why are you using such a bad raw, why are you violating forum rules by using pirated material, why are you converting YV12 to YV12, why are you using full paths, why are you letting your girlfriend bugfix, why are you getting nakadashi'd by such simple stuff?

@mirko: be very careful with that UTF-8 flag, it has an actual purpose and isn't meant to be used arbitrarily.

User avatar
Kawatta-kun
Joined: Wed Jul 27, 2005 3:19 pm
Status: Awesomely great
Location: Povoa de Santa Iria, Lisbon
Contact:
Org Profile

Re: Error opening DirectShowSource

Post by Kawatta-kun » Tue Nov 23, 2010 7:31 am

Lol kthxbye

I am now all fine wit problems, thank ya'll ^^.
Image Image

Locked

Return to “AviSynth Help”