fixes, unfinished swr, video-to-jpeg example