Frame-by-frame video processing in a Jupyter Notebook with PyTorch

Today&rsquo;s goal is just to load a video, display individual frames in the output from a Jupyter notebook cell, and write the video back out to a new file. In the middle I&rsquo;ll do a little processing on the video frames. The processing is beside the point today - I just want to make the input, interaction, and output work really well so that later I can focus more on that processing step in…