El 03/09/2016 a las 17:55, M J escribió:
Hi
while(av_read_frame(input_ctx, pkts) == 0)
{
//decoding
int ret1 = avcodec_send_packet(input_codecCtx, pkts);
int ret2 = avcodec_receive_frame(input_codecCtx, rawFrame);
//encoding
avcodec_send_frame(output_codecCtx, rawFrame);
avcodec_receive_packet(output_codecCtx, pktr);
int ret = av_interleaved_write_frame(output_ctx, pktr);
}
*************************************************
Hi, MJ.
AFAIK, the new API does not work yet. Use the deprecated functions for
the time being.
_______________________________________________
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user