why doesn't qtmux support byte-stream encoding for h264?
Tim-Philipp Müller
t.i.m at zen.co.uk
Fri Nov 23 05:29:31 PST 2012
On Fri, 2012-11-23 at 18:45 +0530, Rahool Paliwal wrote:
Hi,
> I want to use my own h264 encoder plugin for the existing camera
> applications.
> The problem is it is only able to encode in byte-stream format and not
> avc. I am using Camerabin2, which in turn uses qtmux.
>
> I see that the qtmux does not support byte-stream encoding for h264.
> Is there a specific reason for this?
Yes, the reason is that data in the quicktime container is stored as AVC
and not as byte-stream.
> Is there a plan to add that support in future? I can see that qtmux in
> gst 1.0 also doesn't support byte-stream.
No, there is no such plan. The solution is to put an h264parse element
between the encoder and in front of the muxer, which should then convert
byte-stream to avc if needed. I *think* in 1.0 encodebin plugs parsers
now, so you might find it actually works with 1.0 already.
Cheers
-Tim
More information about the gstreamer-devel
mailing list