Open dale-wahl opened 1 year ago
When running videohash as part of a program that has also used subprocess it seems to inherit the stdin and that can result in various failures for ffmpeg.
subprocess
stdin
ffmpeg
I have been documenting it here: https://github.com/digitalmethodsinitiative/4cat/pull/303#issue-1422452417 Essentially, I can use videohash alone, but not with additional subprocesses unless I edit it and provide it with stdin=subprocess.DEVNULL since the default stdin is in use.
stdin=subprocess.DEVNULL
Sending a PR shortly with needed edit.
When running videohash as part of a program that has also used
subprocess
it seems to inherit thestdin
and that can result in various failures forffmpeg
.I have been documenting it here: https://github.com/digitalmethodsinitiative/4cat/pull/303#issue-1422452417 Essentially, I can use videohash alone, but not with additional subprocesses unless I edit it and provide it with
stdin=subprocess.DEVNULL
since the default stdin is in use.Sending a PR shortly with needed edit.