On 2007-11-28 12:44 am, Dave Phillips wrote:
...
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
...
So, my question is, how do I get mencoder to read the TGA files by their
time of creation ? 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 ?
Probably not quite the best answer but here is a oneliner workaround...
for i in *.tga;do mv $i $(printf "%05d.tga\n" $(echo $i|cut -d. -f1));done
--markc