Import issues - MKV

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.

Re: Import issues - MKV

Postby 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
Ardour
 
Joined: 03 May 2009
Location: On Top of a Strawberry Ice Cream Cake
Status: Spazzy

Re: Import issues - MKV

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

Re: Import issues - MKV

Postby 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
Qyot27
Surreptitious fluffy bunny
 
Joined: 30 Aug 2002
Location: St. Pete, FL
Status: Creepin' between the bullfrogs

Re: Import issues - MKV

Postby 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
Ardour
 
Joined: 03 May 2009
Location: On Top of a Strawberry Ice Cream Cake
Status: Spazzy

Re: Import issues - MKV

Postby 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
Bakadeshi
Abuses Spellcheck
 
Joined: 29 Sep 2003
Location: Atlanta, GA

Re: Import issues - MKV

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

Re: Import issues - MKV

Postby 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
Bakadeshi
Abuses Spellcheck
 
Joined: 29 Sep 2003
Location: Atlanta, GA

Re: Import issues - MKV

Postby 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
Burnt Frog
 
Joined: 06 Feb 2007
Location: England

Re: Import issues - MKV

Postby 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
Enigma
That jolly ol' bastid
 
Joined: 07 Mar 2009
Location: California
Status: Free

Re: Import issues - MKV

Postby 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
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo

Re: Import issues - MKV

Postby 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
Burnt Frog
 
Joined: 06 Feb 2007
Location: England

Re: Import issues - MKV

Postby Enigma » Wed Nov 25, 2009 10:40 pm

Do wut scintilla said,Much easier :P
User avatar
Enigma
That jolly ol' bastid
 
Joined: 07 Mar 2009
Location: California
Status: Free

Re: Import issues - MKV

Postby 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
Qyot27
Surreptitious fluffy bunny
 
Joined: 30 Aug 2002
Location: St. Pete, FL
Status: Creepin' between the bullfrogs

Re: Import issues - MKV

Postby 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
Burnt Frog
 
Joined: 06 Feb 2007
Location: England

Re: Import issues - MKV

Postby Enigma » Fri Nov 27, 2009 6:10 pm

Don't have too much fun |:>
User avatar
Enigma
That jolly ol' bastid
 
Joined: 07 Mar 2009
Location: California
Status: Free

Previous

Return to Footage Help

Who is online

Users browsing this forum: No registered users and 1 guest