# Gstreamer block

**URL:** <https://discourse.libcinder.org/t/gstreamer-block/483>\
**Category:** Using Cinder\
**Created:** [January 4, 2017, 6:29am UTC](https://discourse.libcinder.org/t/gstreamer-block/483 "2017-01-04T06:29:19Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Immature](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/immature/32/220_2.png) [@Immature](https://discourse.libcinder.org/u/Immature)\
**Post date:** [January 4, 2017, 6:29am UTC](https://discourse.libcinder.org/t/gstreamer-block/483/1 "2017-01-04T06:29:19Z")

</div>

Hi  
Tried playing video with QuickTime player. The performance is not good. Can anyone provide Gstreamer block for cinder to play videos?

---

<div class="post-metadata">

**Author:** ![paul.houx](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/paul.houx/32/31_2.png) [@paul.houx](https://discourse.libcinder.org/u/paul.houx)\
**Post date:** [January 4, 2017, 6:40am UTC](https://discourse.libcinder.org/t/gstreamer-block/483/2 "2017-01-04T06:40:53Z")

</div>

You might want to try @brucelane 's [block](https://github.com/brucelane/Cinder-GStreamer). Not sure if it still works. By the way, you can find a plethora of blocks [here](http://blocks.braitsch.io/).

-Paul

---

<div class="post-metadata">

**Author:** ![petros](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/petros/32/26_2.png) [@petros](https://discourse.libcinder.org/u/petros)\
**Post date:** [January 4, 2017, 7:50am UTC](https://discourse.libcinder.org/t/gstreamer-block/483/3 "2017-01-04T07:50:09Z")

</div>

More infos describing “The performance is not good” are always helpful to move forward and make things better. What are you trying to do exactly, what kind of files you are using, what problems exactly you are facing, what kind of system configuration you have and so on.

In any case ( supposing you are on OS X ), recently I added initial support for GStreamer on there as part of the Linux work which has been merged in to the master branch. See [this PR](https://github.com/cinder/Cinder/pull/1530) for some more infos. It requires configuring and building Cinder with CMake and the -DCINDER\_MAC\_USE\_GSTREAMER=1 flag set.

Petros

---

<div class="post-metadata">

**Author:** ![brucelane](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/brucelane/32/541_2.png) [@brucelane](https://discourse.libcinder.org/u/brucelane)\
**Post date:** [January 4, 2017, 11:00am UTC](https://discourse.libcinder.org/t/gstreamer-block/483/4 "2017-01-04T11:00:25Z")

</div>

I will try to update my block which is from [https://github.com/cadet/\_2RealGStreamerWrapper](https://github.com/cadet/_2RealGStreamerWrapper) initially.  
But it seems @petros is working on it too in the main Cinder repo, shall I carry on?

---

<div class="post-metadata">

**Author:** ![petros](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/petros/32/26_2.png) [@petros](https://discourse.libcinder.org/u/petros)\
**Post date:** [January 4, 2017, 12:13pm UTC](https://discourse.libcinder.org/t/gstreamer-block/483/5 "2017-01-04T12:13:37Z")

</div>

It seems that the block relies on GStreamer 0.10 which is super old and totally deprecated so it would take some juggling to refactor it which I m not sure if it worths the effort to be honest.

---

<div class="post-metadata">

**Author:** ![brucelane](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/brucelane/32/541_2.png) [@brucelane](https://discourse.libcinder.org/u/brucelane)\
**Post date:** [January 4, 2017, 12:26pm UTC](https://discourse.libcinder.org/t/gstreamer-block/483/6 "2017-01-04T12:26:19Z")

</div>

shall I just wait then?

---

<div class="post-metadata">

**Author:** ![rich.e](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/rich.e/32/1025_2.png) [@rich.e](https://discourse.libcinder.org/u/rich.e)\
**Post date:** [January 4, 2017, 7:28pm UTC](https://discourse.libcinder.org/t/gstreamer-block/483/7 "2017-01-04T19:28:53Z")

</div>

Just want to add that if any Windows users in the community want to get involved in improving the video situation in cinder, we’d love to try to get the gstreamer MovieGl player that @petros has been working on for linux and OS X working as an entirely cross-platform video solution - getting it working on Windows is the next big step.

cheers,  
Rich

---

<div class="post-metadata">

**Author:** ![brucelane](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/brucelane/32/541_2.png) [@brucelane](https://discourse.libcinder.org/u/brucelane)\
**Post date:** [March 11, 2018, 9:22am UTC](https://discourse.libcinder.org/t/gstreamer-block/483/8 "2018-03-11T09:22:23Z")

</div>

I would like to update the gstreamer cinder block, before I start is there something I should know?

---

<div class="post-metadata">

**Author:** ![nay](https://avatars.discourse-cdn.com/v4/letter/n/8e7dd6/32.png) [@nay](https://discourse.libcinder.org/u/nay)\
**Post date:** [March 12, 2018, 3:42am UTC](https://discourse.libcinder.org/t/gstreamer-block/483/9 "2018-03-12T03:42:20Z")

</div>

I am hoping to test this on windows soon but looks like cinder now supports gstreamer for video natively on windows and linux: [GStreamer optional video playback support on Windows](https://discourse.libcinder.org/t/gstreamer-optional-video-playback-support-on-windows/1009/9)

---

<div class="post-metadata">

**Author:** ![brucelane](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/brucelane/32/541_2.png) [@brucelane](https://discourse.libcinder.org/u/brucelane)\
**Post date:** [March 12, 2018, 1:53pm UTC](https://discourse.libcinder.org/t/gstreamer-block/483/11 "2018-03-12T13:53:07Z")

</div>

so it works with vs2017, it deserves it’s own project in the samples!

 ![gst](https://canada1.discourse-cdn.com/flex030/uploads/libcinder/original/1X/c4d30e49883925bde9442f627803a403b87178b3.jpg)
