Log in

View Full Version : meGUI won't encode mjpeg properly


UncleWoja
5th January 2009, 04:41
After much hair pulling and yelling at computer, I'm coming here for help.

I'm trying to encode some movies taken with a Canon S3IS camera into h.264. When I create the avs script, it cuts the video in half horizontally, resizes it to the 640x480 of the original file and turns everything blue.

I have NO idea what I'm doing wrong to get this output. I've tried about 4 mjpeg codecs. Others cause megui come up with an error about YV12.

Guest
5th January 2009, 04:43
Post your full Avisynth script.

check
5th January 2009, 07:48
probably time to blame your decoder. Toggle YV12 output (ie, either enable or disable).

Buggle
5th January 2009, 11:59
Are you able to play the files on your computer normally (in a player like VLC or MPC(-HC)?
If so, using DirectShowSource might solve your problem I think.

You might also want to add what kind of movies they are (eg. container and codec).

7ekno
9th January 2009, 12:46
I've tried about 4 mjpeg codecs.

If they are .MOV, either:

1) install QuickTime Alternative v2.70 and download the QTSource filter for Avisynth (and use QTInput("filename") as the Avisynth loader) ...

or

2) Install ffdshow (or _tryout) and configure it to decode MJPEG (the option needs to be enabled from the decoding config page), then unregister the Nero MP4 Splitter, then inside the Avisynth script use DirectShowSource("filename") ... use GraphStudio to diagnose DirectShow Filter problems (Quartz should be splitting it, play with merits until Quartz plays right) ...

If they are .AVI, then:

1) Install ffdshow (or _tryout) and configure it to decode MJPEGs (there are two sections to cover all the MJPEG types), then in Avisynth use AVISource("filename") ...

For .MOV I recommend method 1) (using QTSource v0.8) because with problematic frames it behaves better ... method 2) tends to produce more white frames in problematic areas ...

7ek

uciekamy
25th March 2009, 18:29
I got similar problem.. Wanted to convert MJPEG files to x264 with MeGui, bit if i try to make an Avisnth script in MeGui is shows an error that DirectShowSource cannot open my file, and tells me to check if i can play it with my mediaplayer - of course i can (i use MPC-HC and Shark007's Win7 Codecs on Windows 7 Beta 1). It tells me also to try to load a file by AviSource, but i'm not advanced enough in it (love MeGui because don't know scripting at all) and i don't know how to make MeGui load files that way..

Can anybody help?