-
Notifications
You must be signed in to change notification settings - Fork 17
BuildGStreamer
Tobias Kammacher edited this page Jun 10, 2016
·
10 revisions
In order to use the Userptr and Dmabuf modes of buffer passing, we need to modify the v4l2src plugin. Therefore it is required to build GStreamer 1.8.0 and all its plugins by hand. The default GStreamer 1.2.4 can not be used.
This process is described for the TX1 in the L4T_Tegra_X1_Multimedia_User_Guide_Release_24.1.pdf on page 22 Build GStreamer manually.
To enable the Userptr and Dmabuf modes, apply the following patch before building the Gstreamer Good Plugins: PATCH_gstreamer_enable_userptr_xvimagesink.txt (the patch was created based on GStreamer version 1.8.0).
When executing a GStreamer pipeline that should use the manually built version of GStreamer, export the following environment variables first:
export LD_LIBRARY_PATH=/YOURPATH/gst_1.8.0/out/lib/
export PATH=/home/ubuntu/build/gst_1.8.0/out/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
export GST_PLUGIN_PATH=$LD_LIBRARY_PATH