[Bug 747598] After make install gstreamer-1.0 and gst-libav-1.0, I could not find the element avdemux_mpegts.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 10 20:01:22 PDT 2015


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

--- Comment #4 from Bill Qin <qinyingsheng2002 at 163.com> ---
(In reply to Bill Qin from comment #3)
> (In reply to Jan Schmidt from comment #1)
> > The libav mpegts demuxer is disabled, because we have the native GStreamer
> > tsdemux element from the mpegtsdemux plugin in gst-plugins-bad.
> 
> How could I enable the mpegts demuxer, if I want to use mpegts demuxer in
> gst-libav plugin?
> Thank you very much.

I modified the code in function gst_ffmpegdemux_register() of gstavdemux.c
as below, and I could make element avdemux_mpegts.Is it right?
    /* Set the rank of demuxers known to work to MARGINAL.
     * Set demuxers for which we already have another implementation to NONE
     * Set All others to NONE*/
    if (
++        !strcmp (in_plugin->name, "mpegts") ||
++        !strcmp (in_plugin->name, "mpegtsraw") ||

        !strcmp (in_plugin->name, "wsvqa") ||
        !strcmp (in_plugin->name, "wsaud") ||
        !strcmp (in_plugin->name, "wc3movie") ||
        !strcmp (in_plugin->name, "voc") ||
        !strcmp (in_plugin->name, "tta") ||
        !strcmp (in_plugin->name, "sol") ||
        !strcmp (in_plugin->name, "smk") ||
        !strcmp (in_plugin->name, "vmd") ||
        !strcmp (in_plugin->name, "film_cpk") ||
        !strcmp (in_plugin->name, "ingenient") ||
        !strcmp (in_plugin->name, "psxstr") ||
        !strcmp (in_plugin->name, "nuv") ||
        !strcmp (in_plugin->name, "nut") ||
        !strcmp (in_plugin->name, "nsv") ||
        !strcmp (in_plugin->name, "mxf") ||
        !strcmp (in_plugin->name, "mmf") ||
        !strcmp (in_plugin->name, "mm") ||
        !strcmp (in_plugin->name, "ipmovie") ||
        !strcmp (in_plugin->name, "ape") ||
        !strcmp (in_plugin->name, "RoQ") ||
        !strcmp (in_plugin->name, "idcin") ||
        !strcmp (in_plugin->name, "gxf") ||
        !strcmp (in_plugin->name, "ffm") ||
        !strcmp (in_plugin->name, "ea") ||
        !strcmp (in_plugin->name, "daud") ||
        !strcmp (in_plugin->name, "avs") ||
        !strcmp (in_plugin->name, "aiff") ||
        !strcmp (in_plugin->name, "4xm") ||
        !strcmp (in_plugin->name, "yuv4mpegpipe") ||
        !strcmp (in_plugin->name, "mpc") || !strcmp (in_plugin->name, "gif"))
      rank = GST_RANK_MARGINAL;

-- 
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