ovikassingho / gstreamer-java

Automatically exported from code.google.com/p/gstreamer-java
0 stars 0 forks source link

where to find encoder? #137

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I saw there is a decoder bin but could not find a encoder bin. Where can I find 
one?

Ilan.

Original issue reported on code.google.com by ilan.hak...@gmail.com on 2 Jan 2014 at 11:03

GoogleCodeExporter commented 8 years ago
Hi Ilan,

There is no java class wrapping the encodebin element, however you can still 
create it by using ElementFactory.

Element encodeBin = ElementFactory.make("encodebin", "encoder");

Thanks,
Mike

Original comment by Michael....@gmail.com on 5 Jan 2014 at 10:10

GoogleCodeExporter commented 8 years ago

Original comment by lfar...@lfarkas.org on 8 Jan 2014 at 12:03

GoogleCodeExporter commented 8 years ago
How can I know which elements can I make with ElementFactory and what do they 
do?

For example: you say I can produce an encoder bin with:
Element encodeBin = ElementFactory.make("encodebin", "encoder");

But now, what does encodeBin does? what can it do?

Original comment by ilan.hak...@gmail.com on 10 Jan 2014 at 11:05