.d2v video files not playing via AviSynth in media players

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
Kazeph
Joined: Fri Dec 23, 2005 8:01 am
Org Profile

.d2v video files not playing via AviSynth in media players

Post by Kazeph » Tue Jun 02, 2009 4:38 pm

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.

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

Re: .d2v video files not playing via AviSynth in media players

Post by Scintilla » Tue Jun 02, 2009 6:23 pm

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.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

Kazeph
Joined: Fri Dec 23, 2005 8:01 am
Org Profile

Re: .d2v video files not playing via AviSynth in media players

Post by Kazeph » Wed Jun 03, 2009 8:29 am

Hi Scintilla, added code to bottom of script and now video works! Thanks so much for your help!

Kazeph
Joined: Fri Dec 23, 2005 8:01 am
Org Profile

Re: .d2v video files not playing via AviSynth in media players

Post by Kazeph » Wed Jun 03, 2009 8:31 am

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?

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: .d2v video files not playing via AviSynth in media players

Post by Qyot27 » Wed Jun 03, 2009 11:07 am

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

Kazeph
Joined: Fri Dec 23, 2005 8:01 am
Org Profile

Re: .d2v video files not playing via AviSynth in media players

Post by Kazeph » Sat Jun 06, 2009 3:27 am

Cheers Qyot27, that's sorted it for me.

Locked

Return to “AviSynth Help”