Problems muxing raw h264 stream with qtmux
t.i.m at zen.co.uk
Fri Feb 24 05:41:44 PST 2012
On Fri, 2012-02-24 at 05:26 -0800, laena wrote:
> Hi all,
> I am trying to mux a raw h264 video stream (already encoded) into a
> QuickTime file using the following pipeline:
> appsrc => qtmux => filesink
> The appsrc and qtmux components are connected filtered with the following
> gst_caps_new_simple (
> "stream-format", G_TYPE_STRING, "avc",
> "alignment", G_TYPE_STRING, "au",
> "bpp", G_TYPE_INT, 32,
> "framerate", GST_TYPE_FRACTION, 1, 5,
> "endianness", G_TYPE_INT, 4321,
> "width", G_TYPE_INT, 1280,
> "height", G_TYPE_INT, 1024,
> The pipeline runs properly without errors.
> The end-of-stream event is also arriving when it should and the container
> itself seems valid, because VLC is able to extract aspect ratio and format
> information from it.
> However, I am not able to play the resulting video file with any media
> player I know.
the "bpp" and "endianness" fields don't make sense here. You are missing
a "codec_data" field, which should contain the sps/pps in a GstBuffer
PS: the frame rate is really 1 frame every 5 seconds?
More information about the gstreamer-devel