The next problem, however, is that motion looks for PIX_FMT_YUV420P in ffmpeg's pixfmt.h header file provided by ffmpeg-3.0.2-1.fc24.x86_64from RPM Fusion but this variable has been renamed to AV_PIX_FMT_YUV420P

I need to find which files to edit with new variable names in order to compile motion...