[x264-devel] commit: Improve DTS generation, move DTS compression into libx264 ( Yusuke Nakamura )

git version control git at videolan.org
Sat Jan 30 13:58:00 CET 2010


x264 | branch: master | Yusuke Nakamura <muken.the.vfrmaniac at gmail.com> | Tue Jan 26 16:01:54 2010 -0800| [d81c26db6909e2e3d9b85b21a2618287dce29575] | committer: Jason Garrett-Glaser 

Improve DTS generation, move DTS compression into libx264
This change fixes some cases in which PTS could be less than DTS.

Additionally, a new parameter, b_dts_compress, enables DTS compression.
DTS compression eliminates negative DTS (i.e. initial delay) due to B-frames.
The algorithm changes timebase in order to avoid duplicating DTS.
Currently, in x264cli, only the FLV muxer uses it.  The MP4 muxer doesn't need it, as it uses an EditBox instead.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=d81c26db6909e2e3d9b85b21a2618287dce29575
---

 common/common.c     |    1 +
 common/common.h     |    5 ++++
 common/frame.c      |    2 +-
 common/frame.h      |    2 +-
 encoder/encoder.c   |   39 ++++++++++++++++++++++++++++++++-
 encoder/slicetype.c |    4 +-
 output/flv.c        |   58 ++++++++++++++++----------------------------------
 output/mp4.c        |   28 ++----------------------
 x264.c              |   10 ++++++++-
 x264.h              |    5 +++-
 10 files changed, 82 insertions(+), 72 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/x264.git/?a=commitdiff;h=d81c26db6909e2e3d9b85b21a2618287dce29575


More information about the x264-devel mailing list