Move extralibs variables using ldl after ldl definition
Add NVENC encoder