ffmpeg-cli-wrapper
ffmpeg-cli-wrapper copied to clipboard
Issue/138 build ffprobe command
Allow a customized FFprobe report.
Tasks:
- [x] Extend output with -show_packets
- [x] Extend output with -show_frames
- [x] Handle intermixed reports (-show_packets and -show_frames together produce a rather weird combined response)
- [x] Allow running custom commands similar to FFmpeg (taking a list as input)
- [x] Create an FFprobeBuilder
Fix #138
Added a builder to FFprobe.
Additionally implemented -show_packets
and -show_frames
.
There are some weird shenanigans if both -show_packets
and -show_frames
are set.
Rather than producing two distinct lists, they merge into one giant list.
The builder provides default values aligned with the original default command.
-show_packets
and -show_frames
can be relatively slow; therefore, they are disabled by default.
@bramp I've updated this pr with the changes merged in #254. This would also replace #203