Skip to content

Commit

Permalink
ffprobe: add -o option
Browse files Browse the repository at this point in the history
This enables printing to a resource specified with -o OUTPUT.

In case the output is not specified, prints to stdout as usual.

Address issue: http://trac.ffmpeg.org/ticket/8024

Signed-off-by: Marton Balint <[email protected]>
  • Loading branch information
saste authored and cus committed Jun 13, 2022
1 parent 7cae3d8 commit ff07492
Show file tree
Hide file tree
Showing 3 changed files with 156 additions and 61 deletions.
1 change: 1 addition & 0 deletions Changelog
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ version 5.1:
- blurdetect filter
- tiltshelf audio filter
- QOI image format support
- ffprobe -o option


version 5.0:
Expand Down
7 changes: 7 additions & 0 deletions doc/ffprobe.texi
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ If a url is specified in input, ffprobe will try to open and
probe the url content. If the url cannot be opened or recognized as
a multimedia file, a positive exit code is returned.

If no output is specified as output with @option{o} ffprobe will write
to stdout.

ffprobe may be employed both as a standalone application or in
combination with a textual filter, which may perform more
sophisticated processing, e.g. statistical processing or plotting.
Expand Down Expand Up @@ -348,6 +351,10 @@ on the specific build.
@item -i @var{input_url}
Read @var{input_url}.

@item -o @var{output_url}
Write output to @var{output_url}. If not specified, the output is sent
to stdout.

@end table
@c man end

Expand Down
Loading

0 comments on commit ff07492

Please sign in to comment.