[FFmpeg-devel] [RFC] mpegts: Provide a monotonic timestamp to the outside world

Michael Niedermayer michaelni at gmx.at
Sat Dec 15 21:30:06 CET 2012


On Sun, Dec 02, 2012 at 07:27:21PM +0100, Harald Axmann wrote:
> Am 27.11.2012 12:50, schrieb Andrey Utkin:
> >(I did not follow the conversation, but by the title this work feels great.)
> 
> Just to sum up shortly, since the title does not describe the
> current status optimally: We currently detect one time stamp
> overflow in any input format and remove it. The main target of this
> development are mpegts TV recordings, because perhaps 10 % of the
> recordings contain one overflow which prohibits trick speed and
> seeking.
> 
> >No, this option should be runtime-switchable, look at set of AVOption
> >mpegts demuxer already has.
> 
> Thanks, I added the command line option -correct_ts_overflow [0/1]
> with default 1. It must be supplied before the input file (-i) to
> take effect.

>  avformat.h      |   34 +++++++++++++++
>  options_table.h |    1 
>  utils.c         |  123 +++++++++++++++++++++++++++++++++++++++++++++++++++-----
>  3 files changed, 148 insertions(+), 10 deletions(-)
> 34290896c26ab0d7ebd45eb54fc7d2be06d15a82  utils-pcr-wrap-fix6a.diff
> diff --git a/libavformat/avformat.h b/libavformat/avformat.h

patch applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121215/945cf27e/attachment.asc>


More information about the ffmpeg-devel mailing list