[Libav-user] encoder h264

Francesco Damato francesco.damato7 at gmail.com
Wed Oct 16 16:34:35 CEST 2013


Hi,

i am writing a C program (encoder) that use h264 to encode video read from
avi or mp4 file; the avcodec_encode_video2 function takes input raw video
data from frame, so i demux my files and i obtain a raw video file; now i
want encode it, so how can i open the raw file, read the frames and encode
them into h264??


I saw the example decoding_encoding.c that generates a video from dummy
pictures... but how do I replace this part and read and encode my rawvideo
file?

Can you help me, there are other examples or books available?

Thanks!!!

-- 
Francesco Damato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20131016/f940c50f/attachment.html>


More information about the Libav-user mailing list