>>If you use libx264 encoder, have you tried tune zerolatency compensation flag?
Of course I use it like this
 
av_dict_set(&pDicOut, "tune", "zerolatency", 0);
avcodec_open2(pCdcCtxOut, pCdcOut, &pDicOut);
 
I probably still have a mistake somewhere in incorrect values or incorrect use 
of these variables
AVCodecContext->time_base
AVStream->avg_frame_rate
AVStream->r_frame_rate
 
Maybe for outgoing AVFrames it is necessary to count pts/dts in 
AVStream->time_base, but for AVPacket use AVCodecContext->time_base?
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to