dirty: restrict playback urls to http

better safe than sorry.
dirty: move global av initialization
dirty: ffmpeg works too

tested version 2.2