Error opening DirectShowSource

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.

Error opening DirectShowSource

Postby 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: 27 Jul 2005
Location: Povoa de Santa Iria, Lisbon
Status: Awesomely great

Re: Error opening DirectShowSource

Postby 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: 27 Jul 2005
Location: Povoa de Santa Iria, Lisbon
Status: Awesomely great

Re: Error opening DirectShowSource

Postby 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
Kawatta-kun
 
Joined: 27 Jul 2005
Location: Povoa de Santa Iria, Lisbon
Status: Awesomely great

Re: Error opening DirectShowSource

Postby 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
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Re: Error opening DirectShowSource

Postby 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
User avatar
Kawatta-kun
 
Joined: 27 Jul 2005
Location: Povoa de Santa Iria, Lisbon
Status: Awesomely great

Re: Error opening DirectShowSource

Postby 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.
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you

Re: Error opening DirectShowSource

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

Lol kthxbye

I am now all fine wit problems, thank ya'll ^^.
Image Image
User avatar
Kawatta-kun
 
Joined: 27 Jul 2005
Location: Povoa de Santa Iria, Lisbon
Status: Awesomely great


Return to Footage Help

Who is online

Users browsing this forum: No registered users and 1 guest