doc/metadata: add notes and examples regarding metadata usage with ffmpeg
Check more completely for invalid pix_fmts in planarRgb16ToRgb16Wrapper()

This makes the conversion function more robust.