Hi, I have recently switched to a new computer with Vista (as opposed to XP), but now when trying to view videos in general media players (ZoomPlayer/Media Player Classic etc) using the following script, I am getting audio output only:
loadplugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
video = mpeg2source("name of file.d2v")
audio = DirectShowSource("name of file.mp3")
AudioDub(video, audio)
Thing is, when I open the .avs file in virtualdub, the video and audio play together as normal, so presume problem isn't with the script, so would anyone have an idea as to why the video won't play in said media players? There aren't any error message that come up, and videos worked when using same script (accounting for different location of DGDecode.dll file) on XP in previous computer.
Am using Vista Home Premium 32bit btw, thanks.
.d2v video files not playing via AviSynth in media players
-
- Joined: Fri Dec 23, 2005 8:01 am
- Scintilla
- (for EXTREME)
- Joined: Mon Mar 31, 2003 8:47 pm
- Status: Quo
- Location: New Jersey
- Contact:
Re: .d2v video files not playing via AviSynth in media players
Try adding ConvertToRGB32() to the bottom of your script. If that works, then the problem is probably that you don't have any codec that can handle raw YV12 video, in which case you would want to (say) set FFDShow to handle it.
-
- Joined: Fri Dec 23, 2005 8:01 am
Re: .d2v video files not playing via AviSynth in media players
Hi Scintilla, added code to bottom of script and now video works! Thanks so much for your help!
-
- Joined: Fri Dec 23, 2005 8:01 am
Re: .d2v video files not playing via AviSynth in media players
Forgot to say that I do actually have FFDShow installed, so is there something I specifically need to do to get players to recognise that?
- Qyot27
- Surreptitious fluffy bunny
- Joined: Fri Aug 30, 2002 12:08 pm
- Status: Creepin' between the bullfrogs
- Location: St. Pete, FL
- Contact:
Re: .d2v video files not playing via AviSynth in media players
Go into ffdshow's video decoder configuration (Start->Programs->ffdshow->Video decoder configuration), and scroll to the bottom of the codecs listing. Where it says 'raw video', click on the 'disabled' next to it, and change the setting to 'all supported' or 'all YUV'. Repeat for the VFW configuration (Start->Programs->ffdshow->VFW configuration).
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog
-
- Joined: Fri Dec 23, 2005 8:01 am
Re: .d2v video files not playing via AviSynth in media players
Cheers Qyot27, that's sorted it for me.