ffmpeg/doc
Olivier Langlois 0eec06ed87 lavu: add av_gettime_relative()
These functions are using the POSIX clock_gettime() function with the
CLOCK_MONOTONIC clock id. If these are not present on the targeted
platform, the new functions will fallback on using the original realtime functions
av_gettime() and av_usleep().

Monotonic support can be added on other platforms with their
equivalent native system API eventually if possible.

Whenever time is requested to measure relative time, the monotonic clock,
when available, is superior to the system realtime clock because it is
not affected by discontinuous jumps in the system time

In a future step, offering the flexibility to let the user choose between
rt and monotonic clock for avdevices packets will be investigated.

It is very easy to experience the issues that this patch attempt to address
by rewinding back in the past the system time while ffmpeg is running.

this is breaking the ffmpeg report printing (ffmepg.c:print_report()) and
the the rate emulator functionality (-re) without the patch.

Signed-off-by: Olivier Langlois <olivier@trillion01.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-17 15:28:03 +02:00
..
examples examples: rename avcodec.c to decoding_encoding.c 2014-04-23 10:32:42 +02:00
APIchanges lavu: add av_gettime_relative() 2014-05-17 15:28:03 +02:00
authors.texi doc: use a common authors.texi file blurb 2012-12-19 09:33:43 +01:00
bitstream_filters.texi doc/bitstream_filters: remove mp3_header_decompress filter 2013-12-14 21:47:51 +01:00
build_system.txt cosmetics: Delete empty lines at end of file. 2012-02-09 12:26:45 +01:00
codecs.texi avcodec: add option to make is_intra_more_likely() from error concealment return "no" 2014-05-12 22:55:39 +02:00
decoders.texi Fix texinfo error due to wrong @subsubsection 2014-03-27 03:58:29 +01:00
default.css doc/default.css: sync with ffmpeg-web 2013-11-28 10:27:25 +01:00
demuxers.texi lavf/concatdec: implement automatic conversions. 2014-04-29 13:25:59 +02:00
developer.texi Merge commit '57ead8449e' 2013-12-23 12:52:50 +01:00
devices.texi doc: remove encoder/muxer/sinks docs from ffplay- and ffprobe-all 2014-01-09 12:12:10 +01:00
doxy-wrapper.sh Merge commit 'b339182eba' 2014-02-17 02:22:01 +01:00
Doxyfile Merge commit 'e6c175dfd5' 2014-02-14 14:38:21 +01:00
encoders.texi Merge remote-tracking branch 'qatar/master' 2014-04-09 04:54:26 +02:00
errno.txt doc: add a list of errno codes on some systems. 2011-12-21 19:59:45 +01:00
faq.texi doc/faq: remove "-profile option fails when encoding H.264 video with AAC audio" entry 2014-01-03 17:05:44 +01:00
fate.texi Merge remote-tracking branch 'qatar/master' 2013-07-28 14:21:11 +02:00
fate_config.sh.template Merge remote-tracking branch 'qatar/master' 2013-05-29 11:19:25 +02:00
ffmpeg-bitstream-filters.texi doc: extend "See Also" chapters in component manuals 2012-12-19 09:33:44 +01:00
ffmpeg-codecs.texi doc: move ffmpeg-codecs.texi content to separated file 2013-04-05 10:11:57 +02:00
ffmpeg-devices.texi doc: move ffmpeg-devices.texi content to separated file 2013-04-05 10:11:57 +02:00
ffmpeg-filters.texi doc: extend "See Also" chapters in component manuals 2012-12-19 09:33:44 +01:00
ffmpeg-formats.texi doc: move ffmpeg-formats.texi content to separated file 2013-04-05 10:11:57 +02:00
ffmpeg-protocols.texi doc: extend "See Also" chapters in component manuals 2012-12-19 09:33:44 +01:00
ffmpeg-resampler.texi Fix spelling errors in texi files: accomodate -> accommodate allows to -> allows one to choosen -> chosen compability -> compatibility explictly -> explicitly overriden -> overridden specifed -> specified Trasmission -> Transmission 2014-03-06 21:12:40 +01:00
ffmpeg-scaler.texi Fix spelling errors in texi files: accomodate -> accommodate allows to -> allows one to choosen -> chosen compability -> compatibility explictly -> explicitly overriden -> overridden specifed -> specified Trasmission -> Transmission 2014-03-06 21:12:40 +01:00
ffmpeg-utils.texi doc: merge syntax.texi, eval.texi and opencl.texi into utils.texi 2013-04-12 18:21:57 +02:00
ffmpeg.texi Merge commit '1839fafa95' 2014-05-12 02:44:28 +02:00
ffmpeg.txt Fix "ouput" typo and add a check. 2012-01-28 11:04:19 +01:00
ffplay.texi ffplay: add support for toggling between multiple video filters with the w key 2014-05-17 13:18:29 +02:00
ffprobe.texi doc: remove encoder/muxer/sinks docs from ffplay- and ffprobe-all 2014-01-09 12:12:10 +01:00
ffprobe.xsd ffprobe: show best_effort_timestamp in the frame section 2013-12-15 10:46:46 +01:00
ffserver.conf ffserver: add stream Metadata option 2013-12-16 19:18:45 +01:00
ffserver.texi Fix spelling errors in texi files: more informations --> more information allows to --> allows one to 2014-03-27 03:58:56 +01:00
fftools-common-opts.texi Merge remote-tracking branch 'qatar/master' 2014-03-13 14:21:27 +01:00
filter_design.txt doc/filter_design.txt: Fix duplicate words 2013-08-12 19:40:29 +02:00
filters.texi doc/filters: fix typo 2014-05-17 04:57:35 +02:00
formats.texi avformat/options_table: add named constants for avoid_negative_ts 2014-02-24 19:46:11 +01:00
general.texi Merge commit 'e2834567d7' 2014-04-23 20:47:13 +02:00
git-howto.texi Fix spelling errors in texi files: accomodate -> accommodate allows to -> allows one to choosen -> chosen compability -> compatibility explictly -> explicitly overriden -> overridden specifed -> specified Trasmission -> Transmission 2014-03-06 21:12:40 +01:00
indevs.texi Add AVFoundation input device. 2014-04-11 17:51:33 +02:00
issue_tracker.txt doc/issue_tracker: add 2 missing issue types 2013-10-26 11:29:42 +02:00
libavcodec.texi doc: extend "See Also" chapters in library manuals 2012-12-19 09:33:44 +01:00
libavdevice.texi doc: extend "See Also" chapters in library manuals 2012-12-19 09:33:44 +01:00
libavfilter.texi doc: Libavfilter English cleanup 2014-04-12 14:34:11 +02:00
libavformat.texi doc: extend "See Also" chapters in library manuals 2012-12-19 09:33:44 +01:00
libavutil.texi doc/libavutil: add things from avutil.txt 2013-11-14 09:51:10 +01:00
libswresample.texi Fix wrong use of "an" in some comments. 2013-08-12 03:27:26 +02:00
libswscale.texi doc: extend "See Also" chapters in library manuals 2012-12-19 09:33:44 +01:00
Makefile doc/examples: Add example transcoding.c 2014-03-17 20:56:33 +01:00
metadata.texi doc/metadata: add notes and examples regarding metadata usage with ffmpeg 2013-06-11 01:07:16 +02:00
mips.txt libavcodec: Implementation of 32 bit fixed point FFT 2013-08-04 14:01:41 +02:00
multithreading.txt Merge commit '759001c534' 2013-03-12 03:23:28 +01:00
muxers.texi Document smoothstreaming muxer 2014-05-10 00:06:32 +02:00
nut.texi Drop Snow codec 2013-01-06 16:30:02 +01:00
optimization.txt Merge commit '57f09608e1' 2014-03-22 23:26:23 +01:00
outdevs.texi doc: fix message names in opengl doc 2014-05-03 00:56:21 +02:00
platform.texi doc/platform: mention that yuvis gas-preprocessor is currently missing some changes 2014-03-12 23:08:41 +01:00
print_options.c Reinstate proper FFmpeg license for all files. 2013-08-30 15:47:38 +00:00
protocols.texi doc: Add udp broadcast option description 2014-05-15 20:52:42 +02:00
rate_distortion.txt miscellaneous typo fixes 2012-12-21 00:18:34 +01:00
RELEASE_NOTES RELEASE_NOTES: mention new filters 2014-03-23 17:30:52 +01:00
resampler.texi doc: add a few links to the Channel Layout syntax section 2013-10-25 15:44:12 +02:00
scaler.texi swscale: add two spatially stable dithering methods 2014-03-25 13:48:06 +01:00
snow.txt doc/snow: add gray/alpha/gbr 2013-08-29 22:52:04 +02:00
swresample.txt Fix a few "its" vs "it's" typo. 2013-02-14 23:45:48 +01:00
swscale.txt x86: mmx2 ---> mmxext in comments and messages 2012-10-31 00:37:42 +01:00
t2h.init doc/default.css + doc/t2h.init: New styles 2013-10-09 04:01:46 +02:00
tablegen.txt Update tablegen documentation for WRITE_ARRAY macro. 2010-06-27 14:31:50 +00:00
texi2pod.pl Merge commit 'be59675add' 2014-04-09 04:26:20 +02:00
texidep.pl doc: add script to compute texi files dependencies 2013-12-06 10:40:38 +01:00
utils.texi Fix spelling errors in texi files: accomodate -> accommodate allows to -> allows one to choosen -> chosen compability -> compatibility explictly -> explicitly overriden -> overridden specifed -> specified Trasmission -> Transmission 2014-03-06 21:12:40 +01:00