2005-12-25, 11:12 AM
(This post was last modified: 2005-12-25, 03:33 PM by Humperdinck.)
Ok, heheh, silly me. The 0.4.9-pre1 is even so old that there's no xvid support in it. What's strange is that it encoded to divx anyway, probably trying to use the 'risky codecs'.
Now, I grabbed the latest CVS 25/12 and compiled in the xvid library again (http://www.xvid.org, not xlib as it says on soenkeohde) and got yet another version of ffmpeg.
Let's do it like this instead. Edit the source code for the xvidff.c in the libavcodec directory. Look for the lines that says:
} else {
/* We are claiming to be XviD */
x->quicktime_format = 0;
avctx->codec_tag = ff_get_fourcc("xvid");
}
And change ff_get_fourcc("xvid"); to ff_get_fourcc("XVID");
Compile and run. (I had to omit the --enable-faad and --enable-faac, I'm probably missing some code for it.)
Use it with the below settings in config.xml.
<Conversion name="XviD" cmd="-y -i {SOURCE_FILE} -f avi -ab 224 -ac 2 -acodec mp3 -vcodec xvid -b 1250 {DEST_FILE}" targetExtension=".avi" />
However, the resulting files are blocky if there's fast motion involved. Maybe this can be tuned away by using another bitrate or some other ffmpeg setting?
I'll try and attach the files to this post later since it's not working now.
Merry Christmas!
Now, I grabbed the latest CVS 25/12 and compiled in the xvid library again (http://www.xvid.org, not xlib as it says on soenkeohde) and got yet another version of ffmpeg.
Let's do it like this instead. Edit the source code for the xvidff.c in the libavcodec directory. Look for the lines that says:
} else {
/* We are claiming to be XviD */
x->quicktime_format = 0;
avctx->codec_tag = ff_get_fourcc("xvid");
}
And change ff_get_fourcc("xvid"); to ff_get_fourcc("XVID");
Compile and run. (I had to omit the --enable-faad and --enable-faac, I'm probably missing some code for it.)
Use it with the below settings in config.xml.
<Conversion name="XviD" cmd="-y -i {SOURCE_FILE} -f avi -ab 224 -ac 2 -acodec mp3 -vcodec xvid -b 1250 {DEST_FILE}" targetExtension=".avi" />
However, the resulting files are blocky if there's fast motion involved. Maybe this can be tuned away by using another bitrate or some other ffmpeg setting?
I'll try and attach the files to this post later since it's not working now.
Merry Christmas!