PDA

View Full Version : Having problem encoding MJPEG video


St Devious
12th April 2009, 19:20
Trying to convert a MJPEG Video file with Megui and Avisynth.

it says can't find decompressor for it. i have set all supported formats in ffdshow to libvacodec in ffdshow vfw, video and audio options.

here's the avisynth script

AVISource("D:\Recorded Videos\STALKER 2.avi", audio=true)
#deinterlace
#crop
#denoise
LanczosResize(1920,1200) # Lanczos (Sharp)
MSharpen(10,150,true,false,false)

Original video file is 1024x819.

Then i changed AVISource to DirectShowSource and the video encoded, but the audio doesn't . it says YUV2 mod2 something not compatible. what to do ?

Leak
12th April 2009, 20:09
Trying to convert a MJPEG Video file with Megui and Avisynth.

it says can't find decompressor for it. i have set all supported formats in ffdshow to libvacodec in ffdshow vfw, video and audio options.
Try adding
fourCC="FFDS"
to your AviSource call. That'll make sure ffdshow's VfW codec gets used, as in VfW codec mapping is done via the fourCC alone through a few registry entries...

np: AGF/Delay - My God Gave Me Backbones Mix (My God Gave Me Backbones Mix)

St Devious
12th April 2009, 22:17
thanks, how do i get the audio going ?

Leak
12th April 2009, 22:32
thanks, how do i get the audio going ?
I really can't say - what kind of audio (uncompressed, MP3, whatever) is it?

Do you have a short sample? Or what happens if you open the AVI file in VirtualDub and/or GraphStudio?

np: Ricardo Villalobos - Y.G.H. (Alcachofa)

Blue_MiSfit
12th April 2009, 22:54
Instead of suffering through VFW and ACM, you could try using DirectShowSource, or DSS2 :)

~MiSfit