Hi,<br>We could succesfully port Gstreamer framework to Android going through the link<br><a href="http://gstreamer.freedesktop.org/wiki/GstreamerAndroid_InstallInstructions">http://gstreamer.freedesktop.org/wiki/GstreamerAndroid_InstallInstructions</a><br>
<br>Through adb shell, we could run gstreamer commands to view mp4 files as well as mpegts files using gst-launch command. To view the video/ausio, we used audioflingersink as well as surfaceflingersink.<br>For this purpose, all the gstreamer related environment variables have to be exported manually through the adb shell. <br>
We would like to run the gst-launch as an application in the Android phone without exporting the variables using adb shell. Is there any method for this?<br><br>I am exporting the following below mentioned environment variables in the adb shell.<br>
<br>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;text-align:justify;line-height:150%;text-autospace:none"><span style="font-family:"Courier New"">export
LD_LIBRARY_PATH=/data/data/com.android.freedesktop.gstreamer/lib/</span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;text-align:justify;line-height:150%;text-autospace:none"><span style="font-family:"Courier New"">export
PATH=/data/data/com.android.freedesktop.gstreamer/bin:$PATH</span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;text-align:justify;line-height:150%;text-autospace:none"><span style="font-family:"Courier New"">export
GST_PLUGIN_PATH=/data/data/com.android.freedesktop.gstreamer/lib/</span></p>

<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;text-align:justify;line-height:150%;text-autospace:none"><span style="font-family:"Courier New"">export GST_PLUGIN_SCANNER=/data/data/com.android.freedesktop.gstreamer/bin/gst-plugin-scanner</span></p>


<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;text-align:justify;line-height:150%;text-autospace:none"><span style="font-family:"Courier New"">export
GST_OMX_CONFIG_DIR=/data/data/com.android.freedesktop.gstreamer/conf/</span></p>

<p class="MsoNormal" style="text-align:justify;line-height:150%"><span style="font-family:"Courier New"">export GST_REGISTRY_REUSE_PLUGIN_SCANNER=no</span></p>

<br>Thanks & Regards<br>Anees<br>