Hi,
When I try to open a mp4 file in VirtualDubMod it says "VirtualDub Error : Cannot detect file type of [...]".
Taskete Kudasai !
Open mp4 files in VirtualDubMod
- Qyot27
- Surreptitious fluffy bunny
- Joined: Fri Aug 30, 2002 12:08 pm
- Status: Creepin' between the bullfrogs
- Location: St. Pete, FL
- Contact:
Re: Open mp4 files in VirtualDubMod
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.
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
- Bunkaru
- Joined: Tue Feb 05, 2008 1:33 pm
Re: Open mp4 files in VirtualDubMod
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.Qyot27 wrote:You have to use AviSynth to do it, using either DirectShowSource or FFmpegSource.
- Qyot27
- Surreptitious fluffy bunny
- Joined: Fri Aug 30, 2002 12:08 pm
- Status: Creepin' between the bullfrogs
- Location: St. Pete, FL
- Contact:
Re: Open mp4 files in VirtualDubMod
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:
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:
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).
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)]
If you want to use FFmpegSource2 instead, then that would change to this:
Code: Select all
#ASYNTHER FFmpegSource
[FFmpegSource2("%f",atrack=-1)]
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog
- Scintilla
- (for EXTREME)
- Joined: Mon Mar 31, 2003 8:47 pm
- Status: Quo
- Location: New Jersey
- Contact:
Re: Open mp4 files in VirtualDubMod
Fixed.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.
- Qyot27
- Surreptitious fluffy bunny
- Joined: Fri Aug 30, 2002 12:08 pm
- Status: Creepin' between the bullfrogs
- Location: St. Pete, FL
- Contact:
Re: Open mp4 files in VirtualDubMod
Ah yeah, I forgot it was 1.5.4.1 that the AMVapp included.Scintilla wrote:Fixed.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.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog