Closed Boscop closed 1 year ago
Ah, just found the unchecked
method -.-
Yep, unchecked
. If you're interested in stderr output, it's easier to stop using the read
helper method and go back to the more general run
function, with something like .stdout_capture().stderr_capture().run()
. Let me know if you have any feedback on this part of the API.
@Boscop I think it is safe to close this issue for now.
ffmpeg -list_devices true -f dshow -i dummy
always returns 1, even though it prints the desired output: https://trac.ffmpeg.org/wiki/DirectShowI'm calling duct like this:
duct fails with:
Thus not returning the output that I want to parse.
How can I get the output, regardless of exit status?
ffmpeg
prints the output instderr
always, to keepstdout
for piping video out. (It prints errors toffmpeg.log
). What's the closest to a.read()
equivalent forstderr
? :)