I have a raw_pixels of YUV_240 that I can supply to the encoder using avcodec_send_frame but is it possible to encode raw AVPacket without sending it to the encoder?
I need this to parallelise encoding as much as possible but supplying raw frames only possible when frames are in correct order and we can not store all the raw data in memory.
I checked av_packet_from_data but it required already encoded data.