ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
does not work because it cannot find the command mpg2encode
is not found. The only reference I can find to that is an obsolete (unsupported) mpeg client at mpeg.org.
I assume there are other ways to get the convert utiltiy to convert a sequence of png to an mpeg, or perhaps a totally different program in Linux?
Originally posted by dovkruger I assume there are other ways to get the convert utiltiy to convert a sequence of png to an mpeg, or perhaps a totally different program in Linux?
Walk me through why you think that a sequence of png formated images can be make into an animated image. In particularly a video movie image format.
>Why is this in the Programming forum?
The programming forum is a hodge podge of stuff. There does not appear to be any other forum as relevant to this question. I might well ask why various problems in C++, Java, etc unrelated to Unix are here. This is a UNIX-based programming question. I want to write a shell script, or perl, or C++ or Java for that matter, program to convert a sequence of images to an mpg. I am fairly sure this is reasonably easy to do, and have no desire to do it at the library level.
>Walk me through why you think that a sequence of png formated images can be make into an animated image
???
Huh? Did you read my post? How about BECAUSE I'VE DONE IT?
I think my initial post established that I can convert a sequence of png files to an animgif, and that clearly the intention is that convert should be able to convert to an mpeg, since it tries to invoke a program called mpeg2encode, but the encoder is not there on Red Hat EE 3. I'll gladly take any solution. I didn't think it would be difficult.
Great answer! I didn't know mplayer had an associated encoder, and it's already on my system because I installed mplayer.
I get some errors related to missing files. Any suggestions?
Reading /home2/dkruger/.mplayer/codecs.conf: Can't open '/home2/dkruger/.mplayer/codecs.conf': No such file or directory
Reading /opt/etc/mplayer/codecs.conf: Can't open '/opt/etc/mplayer/codecs.conf':
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.