Video encode using c++

Hello,

When I try to run the copy and run the code, it pops with a message “Not Enough Parameters”.