I ran into an issue when encoding H.264 stream and mux it into mpegts:

This is how I specified the frame rate which is supposed to be 15 fps:
AVCodecContext *c;
...
c->time_base.den = 15;
c->time_base.num = 1;
And my AVStream time base is:
AVStream st;
...
st->time_base.den = 90000;
st->time_base.num = 1;

But when playing the stream back, my video analyzer reported 30 fps
which doubled my initial configuration. Is there anything else I
should pay attention to or is it a bug in the libavformat's mpeg-ts
muxer?

Thanks!
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to