Manual FFmpeg update

Is it possible to manually use newer versions of ffmpeg? I know 3.4 just added some cuda enhancements.