[Libav-user] Transcoding with H264

Mohamed Moanis mohamed_moanis at outlook.com
Tue Jun 16 15:46:08 CEST 2015

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 <mohamed_moanis at outlook.com> 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. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20150616/a93e33b6/attachment.html>

More information about the Libav-user mailing list