-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dave Phillips wrote: > Greetings, > > I use the following command to invoke mencoder to compile a series of > TGA image files into an animation : > > mencoder -ovc lavc -lavcopts vcodec=mpeg4:vme=1:keyint=30:vbitrate=1000 > -vf scale=800:600 -noskip -mf type=tga:fps=30 -o avs-001.avi mf://*.tga > > > (Sorry about the line breaks.) > > The problem starts with the "mf://*.tga" part of the command. When the > AVSynthesis program creates its TGA images it saves and labels them > sequenctially, i.e. 1.tga, 2.tga, 3.tga and so on, as expected. The > problem is that mencoder reads the files as they would be returned by a > plain ls command, i.e. 1.tga, 10.tga, 100.tga, 1000.tga, 1001.tga > ...101.tga, 1010.tga, thus interpolating frames out of their correct order. > > So, my question is, how do I get mencoder to read the TGA files by their > time of creation ? I'm not sure if you can > That should do the trick, yes ? Otherwise I have to > separate the single digit files from the double digit files and so > forth, then I have to create and join separate AVIs. Not terribly > difficult, just really annoying and time-consuming. > > Any suggestions ? Any mencoder users out there ? yes, but when I found myself at this crossing, I choose the pragmatic shell path: mkdir sl; i=100000; for file in $(ls -tr *.sgi); do ln -s $file sl/$i.sgi; i=$[ $i + 1 ]; done; (no line breaks) and run mencoder on the symlinks. > Also, what do you use in place of mencoder on a 64-bit system ? (It's > not available for 64 Studio.) It's not a 64-bit problem, but ffmpeg licensing issues with 64studio. robin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHTC7EeVUk8U+VK0IRAni3AJ9X3CDdiOQPEfeRegVxMy144PfqZQCgjj45 hzzqoXr2xiAbTF+/5MmEUFQ= =0AJp -----END PGP SIGNATURE----- _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user