Setting codec_data in h264 caps for qtmux
Mohammed Sameer
msameer at foolab.org
Tue Apr 3 03:41:49 PDT 2012
On Tue, Apr 03, 2012 at 12:57:44AM -0700, coezbek wrote:
[,,,]
> Does GStreamer have any helper function / datastructure to construct this
> header?
I hope there will be. I'm not aware of any helpers and I had to do it manually.
However you can check how gst-dsp constructs the header here:
https://github.com/felipec/gst-dsp/blob/master/tidsp/td_h264enc.c#L189
> Does qtmux expect the record to be given as a raw buffer or wrapped somehow?
I was doing the same a few weeks ago. Constructed the structure, copied it to a GstBuffer
and handed it over to mp4mux and it was happy so I can say that no wrapping was needed.
Cheers,
--
GPG-Key: 0xA3FD0DF7 - 9F73 032E EAC9 F7AD 951F 280E CB66 8E29 A3FD 0DF7
Debian User and Developer.
Homepage: www.foolab.org
More information about the gstreamer-devel
mailing list