Hi, im having a really annoying problem joining avi files using mencoder.

Im batch joining them using the following

for %%f in (*.avi) DO (mencoder.exe -oac mp3lame -ofps 15 -ovc copy -noskip -skiplimit 0 c:\ffmpeg\batch\wc\flyingsting15.avi "%%f" -o "stung%%f")

i had it working yesterday but after reinstalling divx 6.2 mencoder has started to mess up giving errors with the headers. also riverpast refuses to encode using divx 6.2 half the time, i can bring up the divx config panel, the codec doesnt seem to be corrupt.

ive changed to divx 5.2 but now the clips are out of sync even though the audio/video frame rate, codecs are the same, converted the same using riverpast.

Im tearing my hair out as ive spent hours and hours trying towork this out, 25 clips need to be done in 2 days. does anyone have any idea how to clean up divx 6.2 or make mencoder work with 5? or any other way to join avi's, maybe using different formats? Any help is very much appreciated.

thanks