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
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to