Open mp4 files in VirtualDubMod

Locked
User avatar
Bunkaru
Joined: Tue Feb 05, 2008 1:33 pm
Org Profile

Open mp4 files in VirtualDubMod

Post by Bunkaru » Mon Feb 09, 2009 8:13 am

Hi,

When I try to open a mp4 file in VirtualDubMod it says "VirtualDub Error : Cannot detect file type of [...]".

Taskete Kudasai !

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: Open mp4 files in VirtualDubMod

Post by Qyot27 » Mon Feb 09, 2009 8:38 am

That's because VDubMod nor VDub itself support MP4 (well, there is a Quicktime-based MP4/MOV import plugin for new versions of VDub, but because it's restricted to Quicktime it's not actually desirable). You have to use AviSynth to do it, using either DirectShowSource or FFmpegSource.

You would have found this out by reading around here a bit more, though.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

User avatar
Bunkaru
Joined: Tue Feb 05, 2008 1:33 pm
Org Profile

Re: Open mp4 files in VirtualDubMod

Post by Bunkaru » Mon Feb 09, 2009 1:33 pm

Qyot27 wrote:You have to use AviSynth to do it, using either DirectShowSource or FFmpegSource.
How do I do that ? I know I installed AviSynth together with AMVapp, but I never used it nor do I know how to use it.

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: Open mp4 files in VirtualDubMod

Post by Qyot27 » Mon Feb 09, 2009 3:31 pm

If you want to understand how to work with AviSynth intimately, I'd suggest you start here. I can't stress firmly enough how much of a benefit knowing how to compose your own scripts really is, not to mention that doing any other sort of manipulation of the video stream with AviSynth requires that you know how to do so.


For the easy way, though, it depends on which version of VDubMod you're using, since you want to use the autogenerate feature.

In versions 1.5.10.1 and lower, you use the Open via AviSynth... menu, select the proper source filter from the drop-down, and select your file (you might need to have it display all files, though). Then Open.

In 1.5.10.2 and 1.5.10.3, the drop-down is part of the regular Open video file... menu. Everything else applies.

If you want to use FFmpegSource instead of DirectShowSource (for frame accuracy, as well as not having to bother installing the right DirectShow filters), then to add the proper template you'd copy and paste this into a file called ffmpegsource.avst and put that file in VDubMod's template folder:

Code: Select all

#ASYNTHER FFmpegSource
[FFmpegSource("%f",atrack=-1)]
That of course requires that you have the FFmpegSource plugin (version 1.21), which you need to put in AviSynth's plugins directory.


If you want to use FFmpegSource2 instead, then that would change to this:

Code: Select all

#ASYNTHER FFmpegSource
[FFmpegSource2("%f",atrack=-1)]
But you have to make sure that both the 2.00 beta 4 plugin AND this wrapper function are in AviSynth's plugins directory. While this does make usability the same between the two, I noticed discrepancies between the way 1.21 and the 2.00 beta versions handled decoding, and since 1.21 has never failed me, I would default to it in most cases (or at least until those discrepancies I mentioned with 2.00 are hammered out).
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Re: Open mp4 files in VirtualDubMod

Post by Scintilla » Mon Feb 09, 2009 5:45 pm

Qyot27 wrote:In versions below 1.5.10.1, you use the Open via AviSynth... menu, select the proper source filter from the drop-down, and select your file (you might need to have it display all files, though). Then Open.

In 1.5.10.1, 1.5.10.2, and 1.5.10.3, the drop-down is part of the regular Open video file... menu. Everything else applies.
Fixed.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

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: Open mp4 files in VirtualDubMod

Post by Qyot27 » Tue Feb 10, 2009 10:24 am

Scintilla wrote:
Qyot27 wrote:In versions below 1.5.10.1, you use the Open via AviSynth... menu, select the proper source filter from the drop-down, and select your file (you might need to have it display all files, though). Then Open.

In 1.5.10.1, 1.5.10.2, and 1.5.10.3, the drop-down is part of the regular Open video file... menu. Everything else applies.
Fixed.
Ah yeah, I forgot it was 1.5.4.1 that the AMVapp included.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

Locked

Return to “Video & Audio Help”