doc: fix examples.
port FFmpeg lavc frame specificities to lavu functions.