<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1256"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Mohamed,<div>Yes it is possible.</div><div>You don't even need to write a single line of code if you use FFMPEG.exe (which uses libav).</div><div>A simple shell script that takes source folder of images and runs the FFMPEG command with appropriate parameters would do the trick.</div><div>If you want to code it for any reason, there is an example among the source code that does this (set of pictures -> movie. AlthoughI couldn't certify it encodes in H264).</div><div><br></div><div>Good luck.</div><div><br></div><div><br><div><div>Le 16 juin 2015 à 13:48, Mohamed Moanis <<a href="mailto:mohamed_moanis@outlook.com">mohamed_moanis@outlook.com</a>> a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="hmmessage" style="font-size: 12pt; font-family: Calibri; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div dir="ltr">Hi all,<div>Is it possible to use libav to decode JPEG images coming from surveillance camera and encode them with H264?</div><div>I mean can it be done to make a function that takes a frame by frame of stream and encode it immediately?</div><div>or I have to store them in a file to be able to transcode it?</div><div><br></div><div>Thanks in advance  </div></div>_______________________________________________<br>Libav-user mailing list<br><a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br><a href="http://ffmpeg.org/mailman/listinfo/libav-user">http://ffmpeg.org/mailman/listinfo/libav-user</a></div></blockquote></div><br></div></body></html>