Avisynth + Vdub + mkv = T_T

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
User avatar
ForeverZeroo
Joined: Sun Aug 03, 2003 7:08 pm
Location: Philadelphia, Pa
Contact:
Org Profile

Avisynth + Vdub + mkv = T_T

Post by ForeverZeroo » Sun Nov 30, 2008 5:07 pm

OK. I had this problem on my last computer and fixed it. But then my computer was stolen....and not only was the fixed solution....but all my notes on what different stuff to try.

I have some of the avs files which worked on my last computer...but now will not work on this one.
here is the code:

#ASYNTHER Default (Source)
DirectShowSource("G:\[A-FanRips]Dragonball_Z_-_Season_1.R1DVD_[3Audio][XviD]\[A-FanRips]Dragonball Z - 031[3Audio][XviD].mkv",fps=23.976)

That worked on my last computer but when i put it into Vdubmod on this one...i get this error:
Avisynth open failure:
Directshowsource: Could Not Open as video or audio

Video returned: Directshowsource: couldn't open file
Cannot play back the file. Format is not supported.

Please help one more time T_T
Image
Image

User avatar
Vax
Sexy black guy
Joined: Sat Oct 11, 2008 11:14 am
Status: Chayin
Location: New York
Org Profile

Re: Avisynth + Vdub + mkv = T_T

Post by Vax » Sun Nov 30, 2008 6:52 pm

Code: Select all

AVISource("path to video")
If that fails, try ...

Code: Select all

ffmpegsource("path to video file", vtrack=-1, atrack=-1)

User avatar
ForeverZeroo
Joined: Sun Aug 03, 2003 7:08 pm
Location: Philadelphia, Pa
Contact:
Org Profile

Re: Avisynth + Vdub + mkv = T_T

Post by ForeverZeroo » Sun Nov 30, 2008 6:57 pm

Vax wrote:

Code: Select all

AVISource("path to video")
If that fails, try ...

Code: Select all

ffmpegsource("path to video file", vtrack=-1, atrack=-1)
I tried the AVI one with no dice.

The 2nd one....would i have to change the numbers or anything for the Vtrack A Track stuff? or is it as is?
Image
Image

User avatar
Vax
Sexy black guy
Joined: Sat Oct 11, 2008 11:14 am
Status: Chayin
Location: New York
Org Profile

Re: Avisynth + Vdub + mkv = T_T

Post by Vax » Sun Nov 30, 2008 7:25 pm

ForeverZeroo wrote:
Vax wrote:

Code: Select all

AVISource("path to video")
If that fails, try ...

Code: Select all

ffmpegsource("path to video file", vtrack=-1, atrack=-1)
I tried the AVI one with no dice.

The 2nd one....would i have to change the numbers or anything for the Vtrack A Track stuff? or is it as is?
Download the ffmpegsource plugin from this Doom 9 thread (I personally recommend the 1.21 version, not the beta), put the dll in your avisynth plugins folder (usually c:\program files\avisynth 2.5\plugins), and create a script with the one i posted. The numbers, try it with them first, then if no luck, try without them.

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: Avisynth + Vdub + mkv = T_T

Post by Qyot27 » Mon Dec 01, 2008 2:54 am

DirectShowSource isn't working because you don't have Haali's Media Splitter and XviD or ffdshow installed.

FFmpegSource's parameters are completely optional. vtrack=-1 is practically redundant (-1 just tells the plugin to grab the first available track, which for video it would do anyway; if the file had multiple angles, vtrack=1 or vtrack=2 or so on would specify which track you want it to process), and atrack=-1 is only necessary if you want audio to be retained, as FFmpegSource doesn't load audio by default (again, the -1 specifies the first available track and positive numbers specify the track number if you need to be exact, such as in the case of files with multiple audio streams).
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

User avatar
ForeverZeroo
Joined: Sun Aug 03, 2003 7:08 pm
Location: Philadelphia, Pa
Contact:
Org Profile

Re: Avisynth + Vdub + mkv = T_T

Post by ForeverZeroo » Mon Dec 01, 2008 7:16 pm

Vax wrote:
ForeverZeroo wrote:
Vax wrote:

Code: Select all

AVISource("path to video")
If that fails, try ...

Code: Select all

ffmpegsource("path to video file", vtrack=-1, atrack=-1)
I tried the AVI one with no dice.

The 2nd one....would i have to change the numbers or anything for the Vtrack A Track stuff? or is it as is?
Download the ffmpegsource plugin from this Doom 9 thread (I personally recommend the 1.21 version, not the beta), put the dll in your avisynth plugins folder (usually c:\program files\avisynth 2.5\plugins), and create a script with the one i posted. The numbers, try it with them first, then if no luck, try without them.
No dice. None of that worked :-/
Image
Image

User avatar
Purge
Joined: Mon Oct 10, 2005 9:18 am
Location: Under Aus
Org Profile

Re: Avisynth + Vdub + mkv = T_T

Post by Purge » Mon Dec 01, 2008 9:43 pm

maybe its the audio - kill the audio

either dont include the atrack=1 line with ffmpeg
or include ",audio = false" if you use directshowsource

User avatar
ForeverZeroo
Joined: Sun Aug 03, 2003 7:08 pm
Location: Philadelphia, Pa
Contact:
Org Profile

Re: Avisynth + Vdub + mkv = T_T

Post by ForeverZeroo » Mon Dec 01, 2008 9:53 pm

Purge wrote:maybe its the audio - kill the audio

either dont include the atrack=1 line with ffmpeg
or include ",audio = false" if you use directshowsource
Negitive. That doesnt work either :-/
Image
Image

User avatar
Phantasmagoriat
Joined: Mon Feb 06, 2006 11:26 pm
Status: ☁SteamPunked≈☂
Contact:
Org Profile

Re: Avisynth + Vdub + mkv = T_T

Post by Phantasmagoriat » Mon Dec 01, 2008 10:10 pm

Does the file play in Media Player Classic, or Windows Media Player?
Does the file play in VLC?

Either way, I would usually suggest the cccp [from my sig]
if that doesn't work maybe try changing the file extension to mp4 or avi and then retry. I've come across a couple situations where that worked... although I don't really know why...

hope that helps :)
PLAY FREEDOOM!! | Phan Picks! | THE424SHOW | YouTube | "Painkiller" | Vanilla MIDI's
"Effort to Understand; Effort to be Understood; to See through Different Eyes."

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: Avisynth + Vdub + mkv = T_T

Post by Qyot27 » Tue Dec 02, 2008 1:18 am

Phantasmagoriat wrote:if that doesn't work maybe try changing the file extension to mp4 or avi and then retry. I've come across a couple situations where that worked... although I don't really know why...
Because perception is a bitch. At least for some people they think that using a different, common extension will warrant them more downloads. Or something. I've seen it with some videos uploaded on Local which were clearly H.264-encoded MP4 files, but had .avi extensions instead.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

Locked

Return to “AviSynth Help”