our code does:
st->pts= pkt->dts;   -> both AVPacket->dts and AVStream->pts must be in
the same timebase (AVStream->timebase)
but
st->pts += (int64_t)st->time_base.den * st->codec->time_base.num;
for 1 frame which should be st->pts += 1*codec_timebase/container_timebase

IMHO drop "support" for missing dts on the encoder side completely it makes
no sense at all, its like sending emails with no To: field
- Show quoted text -


[...]
--
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@mplayerhq.hu
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
