Optimized command construction for video to webp conversion, improved error handling, and updated encoder options.