Hi

I joined to ask a question troubling me for 2 days now. I usually don't do any advanced editing beyond simple tested conversions, but now needed some more

I have a presentation which I managed to unpack in 1280x720 PNG files, then "mogrify" those PNGs to correct colorspace
Also have mp3 audio source of this presentation, which I cut with made cue sheet

Now I tried to make something useful, basically by this command (simplified a bit to avoid confusion):
Code:
mencoder mf://01.png -mf w=1280:h=720:fps=1/$X:type=png -audiofile 01.mp3 -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -oac copy out.avi
FPS (1/$X) is calculated inline 1/`mp3info -p "%S" $1` which outputs reciprocal mp3 length in seconds and above one-liner is processing all files in one quick pass

Then I join created AVI files:
Code:
mencoder -oac copy -ovc copy -idx -o output.avi *.avi
And result is perfect Very small AVI file (because it basically has couple of frames and it size is made just by audio files) it can easily be navigated to previous/next slide and quality is great in any player I tested.

Problem is that I can't upload this file as AVI so I need to convert it to M4V or FLV.

For example, I used x264 video codec though mencoder (tried ffmpeg too), but simply I cant join intermediate (M4V) files to make useful result file.
I used mp4box which does not complain about different FPS and joins them in valid M4V, but couldn't find player to play result file

Then I used same video codec as in AVI in FLV container, but it's same as I can join them to usable result FLV file

Does someone faced this problem? Is there a hope to do it this way - make reasonable MP4/FLV slide-show with uneven split points, without bloating file with 30 FPS?

Thanks for reading