Skip to content

Commit

Permalink
document inaccurate read-duration
Browse files Browse the repository at this point in the history
  • Loading branch information
slhck committed Aug 16, 2023
1 parent 7ade99d commit d3b3c67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ options:
or seconds) (default: None)
-rd READ_DURATION, --read-duration READ_DURATION
Duration for sampling stream (in HH:MM:SS.msec or
seconds) (default: None)
seconds). Note that seeking is not accurate, see
ffprobe documentation on '-read_intervals'. (default:
None)
-of {json,csv}, --output-format {json,csv}
output in which format (default: json)
-p, --plot Plot the bitrate over time (to STDERR) (default:
Expand Down
2 changes: 1 addition & 1 deletion ffmpeg_bitrate_stats/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def main() -> None:
"--read-duration",
type=str,
default=None,
help="Duration for sampling stream (in HH:MM:SS.msec or seconds)",
help="Duration for sampling stream (in HH:MM:SS.msec or seconds). Note that seeking is not accurate, see ffprobe documentation on '-read_intervals'.",
)

parser.add_argument(
Expand Down

0 comments on commit d3b3c67

Please sign in to comment.