If the muxer supports it, this function allows to write an AVFrame
structure directly, without encoding it into a packet.
It is mostly useful for devices and similar special muxers that use raw
video or PCM data and will not serialize it into a byte stream.
To test whether it is possible to use it with a given muxer and stream,
use av_write_uncoded_frame_query().
The caller gives up ownership of the frame and must not access it
afterwards.
Write a uncoded frame to an output media file.
If the muxer supports it, this function allows to write an AVFrame structure directly, without encoding it into a packet. It is mostly useful for devices and similar special muxers that use raw video or PCM data and will not serialize it into a byte stream.
To test whether it is possible to use it with a given muxer and stream, use av_write_uncoded_frame_query().
The caller gives up ownership of the frame and must not access it afterwards.
@return >=0 for success, a negative code on error