Hi, Thanks for answer I figured out i was not setting pixel format. This helped and i'm now encoding at real time. It was failing in every mode without that param About top post, sorry for that, i don't even think i know what this is about. J -- Sent from: http://www.ffmpeg-archive.org/