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.
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.
i have a series of images (anim0000.png, anim0001.png, anim0002.png . . . ) that i want to create a video clip out of. What is the easist way to do this?
after some tweaking for video quality, it works great. The only problem is, is that the software intentionally skips frames (making the video jerky) and generates a .par file with a list of the frames:
anim0000.png
anim0001.png
anim0001.png
anim0003.png
anim0003.png
anim0005.png
anim0005.png
anim0007.png
anim0007.png
anim0009.png
anim0010.png
and, creates a .pat file that looks like:
IPpPpPpPpPPpPpPpPpPPpPpPpPpPPp...
Jerky, meaning that it jumps, skipping a frame or two. the software that outputs these images does not render if 2 consecutive frames are the same. Given the list of files(the .par file), how could i write a script to copy the files to make a smooth animation?
(for each line in the .par file):
"cp" + (space) + (contents of line) + (space) + "out" + (line#) + ".png"
I'm not shure exactly how to translate this into a working script, but that's what i want to do.
Sorry Florian, You lost me... forgive my ignorance but I still don't know to what you are refering... you have cancatenated your .png files to a video format... are you saying that there are some .png images missing from the output video...?
I just have not run into your specific problem... perhaps someone else has but I am at a loss...
No, the images are missing from the source. Since it takes quite a while to render each frame, it will not render a frame if the two consecutive frames are the same. My question is, how would i write a script to either copy or link the missing png frames so that the encoder makes a smooth video.
Thank you,
Florian
P.S. I want to know how to write a script that, for each line of the .par file, it executes the following:
"cp" + (space) + (contents of line) + (space) + "out" + (line#) + ".png"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.