Re: [OT] a sorting problem with AVSynthesis and mencoder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux