FFPEG on CUDA?

Hello Sirs

    I am very new to CUDA programming ,  I need to convert FFMPEG (Linux Source ) with cuda support .Is it possible ? 

Already i changed the FFMPEG Source into Windows comparability using mingw + msys , but i dont know how to convert into cuda

support both linux and windows .

please replay me sir!

Thanks