av_packet implements an optionally buffer owning packet suitable for containing
all kinds of media data. This is a necessary part of a pipeline framework.