Log in

View Full Version : Preview error using ffdshow and FACAR


known_03
7th July 2004, 15:19
Hi there,

I'm wanting to preview video (still picture) my avi (that was captured using ffdshow MJPG codec) through dvd2svd. But i'm experiencing this error:

AVISource: Couldn't locate a decompressor for fourcc MJPG

If I replace AVISource with DirectShowSource in the preview.avs it plays through media player, but how would I get it to show correctly in DVD2SVCD? The reason is I wanting to use FACAR so that I can detect the borders.

Thanks for any help

ralphthedog
8th July 2004, 03:09
I think you should be able to alter that through the Frameserver tab dropdown, you can edit the setting there for how .AVI is handled (I'm not all that familiar with .avi stuff).

Also give the search button a go, I seem to remember some exellent info. on this type of problem being provided by Nick.

Manngo
8th July 2004, 15:09
install Xvid, and your problem will be solved.

Nick
8th July 2004, 18:55
I can't see how XviD would help with this but I could be missing something. If it works through DirectShow, try this

Open Avisynth.ini in Notepad (you will find it in your D2S installation folder). Ensure DVD2SVCD is NOT running.

In the Global section of avisynth.ini, replace

AVIReader=AVISource(!filename,audio=false)

with

AVIReader=DirectShowSource(!filename,^framerate,audio=false)

and resave.

Now launch DVD2SVCD, load up your AVI and try a preview.
If it works, do a conversion.

known_03
9th July 2004, 06:13
Works a charm Nick, thanks.

A dumb question so that I can understand this... How come aviSource wouldnt allow the picture to be displayed and DirectShowSource did?

Nick
9th July 2004, 15:43
Dumb answer - I don't know!
Many of the moderators here are real tech-heads and software developers and so on. Me? I just bluff my way through! :D

If you really need an answer, try a search on the two commands over in the avisynth forum. I'm sure you'll find it if you can spare the time to look.

Cheers
Nick

Manngo
12th July 2004, 12:49
There are 2 types of codecs: ACM and DirectShow.
Avisynth uses ACM codec with AVISource, and the DirectShow codec with DirectShowSource. FFDshow is a directshow codec for Xvid and divx, but not ACM. The Xvid codec is the ACM codec, it is required for encoding. So this means:
Video editing applications require ACM codec, such as VirtualDub. If you install FFDshow, you can watch your movie, but cannot open it with VirtualDub or AVISource.
DirectShowSource will open everything, that you can play.