found it! Bugfix for improperly allocated codec contexts!
FFMPEG encoding is working again