Decode AVPacket

Sebastian Dröge sebastian at centricular.com
Thu Dec 31 08:50:19 UTC 2020


On Wed, 2020-12-30 at 12:17 -0600, fre deric wrote:
> Hi,
> my goal is to demux video in libav and decode it in GStreamer. 
> 
> My approach is to take AVPacket from the video stream in the first
> thread
> and send it to GStreamer pipeline in the second thread. Important
> parts of
> code are here: [...]


Apart from what Edward replied already, the code in gst-libav should be
helpful to you.
Specifically everything in this file:
  https://gitlab.freedesktop.org/gstreamer/gst-libav/-/blob/master/ext/libav/gstavdemux.c
 

-- 
Sebastian Dröge, Centricular Ltd · https://www.centricular.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20201231/840759c9/attachment.htm>


More information about the gstreamer-devel mailing list