Hello Gonzalo, Unfortunately, I can not do avcodec_encode_video2 because it would cost too many cpu resources in embedded system.
Normally, ffmpeg user will packet format with muxer and encode. But, I only use the muxer to packet rtp and send it. Thanks a lot. 2014-07-10 22:47 GMT+08:00 Gonzalo Garramuno <[email protected]>: > On 10/07/14 06:33, Psychesnet Hsieh wrote: > >> >> 2. Who has the sample code or any suggestion, please help me out?? >> >> Seems you are missing calling avcodec_encode_video2() to fill the packet > with compressed data. > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user >
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
