Commit b35e5d98 authored by Justin Ruggles's avatar Justin Ruggles

doc: improve documentation for the asyncts filter first_pts option

Note the time base for the option. Add an additional example description.
parent c143de40
...@@ -250,11 +250,12 @@ Maximum compensation in samples per second. Relevant only with compensate=1. ...@@ -250,11 +250,12 @@ Maximum compensation in samples per second. Relevant only with compensate=1.
Default value 500. Default value 500.
@item first_pts @item first_pts
Assume the first pts should be this value. Assume the first pts should be this value. The time base is 1 / sample rate.
This allows for padding/trimming at the start of stream. By default, no 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 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 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. silence if an audio stream starts after the video stream or to trim any samples
with a negative pts due to encoder delay.
@end table @end table
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment