Created by: billyshambrook
This is recommended, since it avoids the overhead of implicitly doing the setup for each session.
This avoids the following warning message when the input is over HTTP:
Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
And cleaning up the example scripts to work with either PIL or Pillow.