timelapse to video fail due to power outage
Ladies & Gents,
As always, much thanks and gratitude to those who provide guidance helping us that don't quite get it yet. That said; I have a some 6000 photos that were captured from a usb camera using motion, but something happened with the power to the laptop and so the output video was never created as in my tests. So now I need to turn these into a video for import to kdenlive as part of a larger construction experiment. I have ffmpeg installed and I tried from the director where the files are stored Code:
ffmpeg -y -i *.jpg imagestovideo.mpg Code:
ffmpeg version 2.8.5 Copyright (c) 2000-2016 the FFmpeg developers In the one example they have pic%04d.png which is for padding zeros to the file name , in their case all the files start with pic followed by a number string. In my case each files starts with a number string and zero padding is not needed as far as I can tell. The file names go as Code:
01-20160122091158-05.jpg Code:
ueser@host:~/path/to/folder$ motion Any pointers? Do I need to set a framerate or image size for ffmpeg? Some websites indicate that is not needed. Thanks |
Quote:
Install OpenShot. It seems that the names are a sequence that can be logically (read: by a program) followed. I ammaking videos as well, and I use OpenShot for that. As I import pictures that have a sequential name (pic001.jpg, pic002.jpg ect) OpenShot asks me to import the rest as part of a sequence...from there on, the rest should be a snap... Good luck... Melissa |
Thanks Thor_2.0
Openshot = epic fail on importing 6280 odd photos 103 cpu usage FYI: I am on Debian Testing |
I used the commands below to create a video of .jpg images from zoneminder, video surveillance software. Imagemagick and ffmpeg are needed. If you try it, I would suggest you test it with a smaller number of images in a separate directory first. I don't use these programs often so I don't really know what the various options do and must admit that I was surprised when it actually created a usable video. I believe I found the commands on Stack Exchange, and did have to make a modification to the original ffmpeg command based on a message from the output. Good luck.
mogrify -resize 200x200 *.jpg # Create the morph images convert *.jpg -delay 10 -morph 5 05d.jpg # Stitch them together into a video ffmpeg -r 50 -i %05d.jpg -q:a 2 output.mp4 |
Thanks yancek
I did get it with the examples here http://www.cenolan.com/2009/05/simpl...ideo-in-linux/ using mencoder I think zoneminder uses motion to do its captures. I have tried to setup zoneminder on a different box but the current Debian Testing version fails to install because of a mysql thing, wrong user name or password, something like that anyway. To many other things to do to try to get that figured out at the moment. |
All times are GMT -5. The time now is 07:02 AM. |