[Libav-user] avformat_write_header() changed streams[0]->time_base

wucg 249165510 at qq.com
Fri Jan 8 03:00:26 CET 2016


Hi, I found that avformat_write_header() changed (AVStream)streams[video_index]->time_base, when I mux .h246 stream into mp4 file. I already set time_base for the AVCodecContext:
out_stream->codec->time_base = av_make_q(1, ctx->param->v_frame_rate);
How to avoid that ?Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160108/0b8967c6/attachment.html>


More information about the Libav-user mailing list