Return whether a MovieWriter subclass is actually available.
(cls)
| 369 | |
| 370 | @classmethod |
| 371 | def isAvailable(cls): |
| 372 | """Return whether a MovieWriter subclass is actually available.""" |
| 373 | if sys.platform == 'emscripten': |
| 374 | return False |
| 375 | return shutil.which(cls.bin_path()) is not None |
| 376 | |
| 377 | |
| 378 | class FileMovieWriter(MovieWriter): |