Incompatible pixel format ‘gray16be’ for codec ‘ffv1’, auto-selecting format ‘yuv420p’
I am trying to encode a 16-bit grayscale image to movie using FFmpeg SVN-r0.5.1-4:0.5.1-1 Ubuntu1.1. I am using FLV1 codec but the pixel format changes to YUV420. I think the codec is not compatible with the colour space and I am receiving the following error: "Incompatible pixel format 'gray16be' for codec 'ffv1', auto-selecting format 'yuv420p'" I have also tried the raw video but ended up in container compatibility issue. I couldn’t find any codec that satisfies both the colour space and container requirements.
Please help me resolve the issue.
What should I do?