Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am running ubuntu 5.04, and want to convert a series of JPEG snapshots taken from an internet camera into a "movie" file. The output format isn't critical - mpeg, xvid, quicktime, mjpeg - I really don't care, anything viewable from mplayer or xine is fine.
I'm trying to get mencoder to do this, since it claims it can, and while the most recent version number 1.0pre7-3.3.5 compiles and executes normally, the output movie flickers and crashes mplayer. Xine only flickers. By flicker, I mean it displays a black frame between every video frame. Doesn't seem to matter what video codec I use, the result is nearly identical.
I also tried using the mencoder deb package that is available under Ubuntu's Synaptic package manager, but that older version of mencoder crashes with Segmentation Fault when it comes time to write the output file.
Does anyone know how I can get this to work? The command line options I'm using come straight from the examples in the man page and other documents.
Or does anyone know of some other Linux package I can use to perform this task?
I actually have a very similar problem. I am wanting to convert a large number of jpeg images to an AVI (or mpeg, anything, but preferably AVI) for playback on a Windows machine. But I am unable to play back any of the resulting movie files. I have also tried just about all of the output options. Usually I use the Windows machine for this process but I have more than a million jpegs in the sequence so I don't dare
I am using mencoder 1.0pre7 on linux-2.4.2 i586. Mencoder appeared to compile and install without problems, and the encode process throws up no errors. The resulting files have an unknown 4cc code of "FMP4" which I have not seen before and appears to be unheard of. I am using an identical command line to whistl.
I downloaded MJPEGTOOLS (http://mjpeg.sourceforge.net), and while reading it's docs, happened to learn that the Imagemagick "convert" tool is able to convert multiple jpeg images into an MNG format movie. Xine is able to play MNG movies (MNG is to PNG what MJPEG is to JPEG), so my problem is solved.
One of my friends found an MNG codec for windows on the net somewhere, and was able to view my movie on his windows box. Sorry, but I don't know where he got it, but you can try http://www.libpng.org/pub/mng/ or just google "MNG codec windows".
Distribution: Fedora FC23, Raspbian, Ubuntu Precise via Chrome/Crouton
Somehow I think this is related to a problem with the mf://*.jpg specification.
I have nearly a 1000 jpegs.
The first 100 frames of the rendered movie seem to alternate between a the first and a blank frame, then it switches to alternating between the first and a frame much further along. As the movie progresses, the frames slowly change but always are out of order.
I have submitted a bug report.
Mencoder seems the only option at this point. I tried convert and it blew out my system with overload. MS Moviemaker, croaks with this many files too.
It does take a lot of resources to complete. Convert first translates every JPEG frame into YUV format (stored as temporary files in /tmp), and finally all the YUV frames are fed to mpeg2encode to create the .mpg movie file. On my AMD Sempron 2800 with 512 Mb RAM, converting 720 jpegs (640x480) to a MPEG2 movie takes 100% CPU, 1.5Gb virtual memory (it was paging like mad) and about 35 minutes clock time. I'm sure it would be a lot quicker, if I could afford a 2Gb RAM upgrade and separate SATA disk drives for the data and /tmp directories.
If you can read this Whistl or anyone else with experience with ImageMagick, please help.
my email is frank78 [A T} gmail.com. Help is greatly appreciated. Basically I'm stuck in a bind of not enough documentation in regards to the writing of avis. I hope to use convert too, but am always "missing a codec". How would I go about obtaining the correct AVI codec for IM?
Actually, MPEG would be just as convinient. Do you think it would be possible to get your email? I am unsure about how to proceed in terms of compiling and using the MPEG2ENCODE tool you provided. I am rather new at Unix in general and would appreciate the help.