I needed to probe a remote video that required authorization, but ffprobe would not respect the input options I was passing. It turns out that ffprobe does not receive any of the input options set up in the command, instead, you must pass them in the ffprobe() call.
I could not find this difference in behavior documented anywhere in the docs. It would be nice if the documentation could be updated, or if our options were forwarded to the probe command.
I needed to probe a remote video that required authorization, but ffprobe would not respect the input options I was passing. It turns out that ffprobe does not receive any of the input options set up in the command, instead, you must pass them in the
ffprobe()
call.For example, if you do this:
Then the code will silently ignore anything you have set using
inputOption()
;What you must do instead is pass your additional options as a parameter to the
ffprobe()
call. This will do what I originally intended:I could not find this difference in behavior documented anywhere in the docs. It would be nice if the documentation could be updated, or if our options were forwarded to the probe command.