tzz
03-20-2006, 11:12 AM
For various reasons, I prefer Perl to Java. Easy source code availability and modifications, for example... I wrote a program that is similar to the Media Converter called 770encode.pl. It requires:
- Perl 5.6.1 or later (not tested with earlier versions)
- the mencoder program in your path
(I removed the AppConfig dependency, so that's it)
One specific feature I find more useful that the Java Media Encoder is that if you encode file A.avi, you'll get output in the directory 770/A.avi, and if 770/A.avi already exists, the mencoder process won't be run again. That way you can just say "770encode.pl *.avi" and encode only the files not encoded yet.
If people find it useful, I'll add features (more rates, more resolutions...) and more documentation. Right now it works great for me.
lifelogs.com/770encode.txt
save to 770encode.pl
Ted <tzz@lifelogs.com>
- Perl 5.6.1 or later (not tested with earlier versions)
- the mencoder program in your path
(I removed the AppConfig dependency, so that's it)
One specific feature I find more useful that the Java Media Encoder is that if you encode file A.avi, you'll get output in the directory 770/A.avi, and if 770/A.avi already exists, the mencoder process won't be run again. That way you can just say "770encode.pl *.avi" and encode only the files not encoded yet.
If people find it useful, I'll add features (more rates, more resolutions...) and more documentation. Right now it works great for me.
lifelogs.com/770encode.txt
save to 770encode.pl
Ted <tzz@lifelogs.com>