This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
#modified ffmpeg-python tensorflow implentation from https://github.com/kkroening/ffmpeg-python/blob/master/examples/tensorflow_stream.py | |
### pip install ffmpeg-python numpy | |
import os | |
import subprocess # required for ffmpeg-python | |
import logging as logger # you could clean out the logger if you like | |
import ffmpeg # ffmpeg-python | |
import numpy as np # required for ffmpeg-python |