commandline pipeline launched via gst-launch VS programmatic pipeline

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

commandline pipeline launched via gst-launch VS programmatic pipeline

Icarus Alive
Are there are performance comparisons available for the 2 approaches,
where the same logical pipeline is created via commandline & launched
via gst-launch, versus a programmatically coded pipeline, all C code ?

Or,

What are the factors which make the command-line pipeline slower than
an all-C application program representing same pipeline ?
I am thinking in terms of "parsing" the pipeline (but then, I believe
it is a one-time task).
Is there any way that a command-line pipeline can be converted to it's
C-language pipeline, automagically (code-generation) ?


Icarus.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: commandline pipeline launched via gst-launch VS programmatic pipeline

Stefan Sauer
On 10/06/2011 07:16 PM, Icarus Alive wrote:
> Are there are performance comparisons available for the 2 approaches,
> where the same logical pipeline is created via commandline & launched
> via gst-launch, versus a programmatically coded pipeline, all C code ?
Please look at the gst_parse_launch docs. The main disadvantage is lack
of flexibilty.
> Or,
>
> What are the factors which make the command-line pipeline slower than
> an all-C application program representing same pipeline ?
> I am thinking in terms of "parsing" the pipeline (but then, I believe
> it is a one-time task).
> Is there any way that a command-line pipeline can be converted to it's
> C-language pipeline, automagically (code-generation) ?
That would be less useful. You are not converting pipeline 3 times a day.

Stefan


>
> Icarus.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: commandline pipeline launched via gst-launch VS programmatic pipeline

Icarus Alive
On Fri, Oct 7, 2011 at 1:52 PM, Stefan Sauer <[hidden email]> wrote:
> On 10/06/2011 07:16 PM, Icarus Alive wrote:
>> Are there are performance comparisons available for the 2 approaches,
>> where the same logical pipeline is created via commandline & launched
>> via gst-launch, versus a programmatically coded pipeline, all C code ?
> Please look at the gst_parse_launch docs. The main disadvantage is lack
> of flexibilty.
>> Or,

Okay, thanks.

<snip>

>> Is there any way that a command-line pipeline can be converted to it's
>> C-language pipeline, automagically (code-generation) ?
> That would be less useful. You are not converting pipeline 3 times a day.

Well, I was thinking more from the standpoint of someone who develops
a cold-feet dealing with gstreamer C-code (especially writing it from
scratch).
True, once you've got a functional pipeline, or mastered gstreamer 'C'
development  -- I doubt that such a tool would be very useful.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel