Create MP4 or another playable video format from frame series of JPEG in a directory
0
votes
1
answer
168
views
So I have frame series of JPEG in a folder let's say folder
cctv
where inside of that folder is only series of JPEG with unix timestamp named in nanosecond.
I mean like this ( I used tail because too much to display).
.../uwc/cctv $ ls | tail
1660282994647450349.jpg
1660282994732146495.jpg
1660282994809953109.jpg
1660282994883480141.jpg
1660282994965326703.jpg
1660282995051919515.jpg
1660282995128582224.jpg
1660282995203676963.jpg
1660282995296646495.jpg
1660282995373804099.jpg
I can display MJPEG from those series with OpenCV or Flask, but idk how to convert it to mp4.
I expect I can convert those series to mp4 with specifying frame rates I want for example 60 FPS. So how do I achieve it? I suspect ffmpeg
can do it, but I never use so I don't know how to use it, maybe this will be my first time to use it.
Actually MJPEG is fine and playable in VLC but it will burden layman like entering URL stream of those JPEG or maybe need opening web browser.
And ofcourse I don't need audio.
Asked by Muhammad Ikhwan Perwira
(319 rep)
Aug 12, 2022, 06:11 AM
Last activity: Aug 12, 2022, 06:19 AM
Last activity: Aug 12, 2022, 06:19 AM