video encoding completed (with some bugs :/)