Kristijonas Malisauskas <km at ...> writes: > pOutputContext->time_base.den = OUT_FRAMERATE; //FPS > pOutputContext->time_base.num = 1; Do you check these values after calling avformat_write_header()? Please use text-only here if possible, Carl Eugen