curl test.c and ffmpeg ffmpeg.cpp