[Bug 753257] avenc_mjpeg does not play well with appsrc do-timestamp=true

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Aug 4 09:27:35 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=753257

--- Comment #3 from Francois Gouget <fgouget at codeweavers.com> ---
Setting appsrc format=3 and/or framerate=0/1 in the appsrc caps makes no
change: I still get the Invalid timestamp error.

Here is the code creating the caps for appsrc:

    encoder->src_caps = gst_caps_new_simple(
        "video/x-raw",
        "format", G_TYPE_STRING, "BGRx",
        "bpp", G_TYPE_INT, encoder->format->bpp,
        "depth", G_TYPE_INT, encoder->format->depth,
        "width", G_TYPE_INT, encoder->width,
        "height", G_TYPE_INT, encoder->height,
        "endianness", G_TYPE_INT, encoder->format->endianness,
        "red_mask", G_TYPE_INT, encoder->format->red_mask,
        "green_mask", G_TYPE_INT, encoder->format->green_mask,
        "blue_mask", G_TYPE_INT, encoder->format->blue_mask,
        "framerate", GST_TYPE_FRACTION, get_source_fps(encoder), 1,
        NULL);
    g_object_set(G_OBJECT(encoder->appsrc), "caps", encoder->src_caps, NULL);


For the full source code, see the GitHub references in:
http://lists.freedesktop.org/archives/spice-devel/2015-July/020982.html

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list