summaryrefslogtreecommitdiff
path: root/doc/ffmpeg-resampler.texi
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-21 16:47:34 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-22 01:38:55 +0100
commit2338af0fb48e600a24ad740b0d996ca7274e8c18 (patch)
tree050507610236301c7357eb79da6ff37498d21209 /doc/ffmpeg-resampler.texi
parente4eebc2da9da886e1bdf87d29e9a4c5b55111036 (diff)
doc: document aresample:first_pts
Documentation copied from asyncts, the options are supposed to do the same thing. If not please submit a testcase where they differ so we can fix it. Disscussed-with: saste on IRC Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/ffmpeg-resampler.texi')
-rw-r--r--doc/ffmpeg-resampler.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/ffmpeg-resampler.texi b/doc/ffmpeg-resampler.texi
index 4fb5771687..e20279525d 100644
--- a/doc/ffmpeg-resampler.texi
+++ b/doc/ffmpeg-resampler.texi
@@ -172,6 +172,14 @@ may be stretched or squeezed for each second.
Default value is 0, thus no compensation is applied to make the samples match
the audio timestamps.
+@item first_pts
+For swr only, assume the first pts should be this value. The time unit is 1 / sample rate.
+This allows for padding/trimming at the start of stream. By default, no
+assumption is made about the first frame's expected pts, so no padding or
+trimming is done. For example, this could be set to 0 to pad the beginning with
+silence if an audio stream starts after the video stream or to trim any samples
+with a negative pts due to encoder delay.
+
@item min_comp
For swr only, set the minimum difference between timestamps and audio data (in
seconds) to trigger stretching/squeezing/filling or trimming of the