To precise my answer which was a bit out of scope:Yes you can take images from 
a video stream, and encode them in a H264 movie.


Le 16 juin 2015 à 13:48, Mohamed Moanis <[email protected]> a écrit 
:Hi all,Is it possible to use libav to decode JPEG images coming from 
surveillance camera and encode them with H264?I mean can it be done to make a 
function that takes a frame by frame of stream and encode it immediately?or I 
have to store them in a file to be able to transcode it?
Thanks in advance  

-------------------------------------------------------------------------------------------I
 think my question is too vague. The problem is that avcodec_encode_video2 
produce delayed frames. I am expecting to give it a frame and take a frame back 
as a result
So my question is basically, is there a way to to turn around the flushing and 
the delay.                                         
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to