I found out that the failed video conversion error was caused by user permission problem. The subfolder inside the "flvideo" folder where the video is saved must be owned by the virtualhost.