Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GStreamer android tutorials are not working

I configured gstreamer on android. There are inbuilt tutorials in the gst-sdk folder in the gstreamer sdk kit. But somehow am not able to build them. Tutorial 1 works out fine. But the eclipse gets hanged when i build the other four tutorials. Does anyone have any idea regarding that? Basically i want to generate a media player in eclipse using gstreamer.

like image 967
Ruchi Avatar asked Dec 04 '25 18:12

Ruchi


1 Answers

Could you try the followings:

  1. First, add "ifdef BUILD_PROJECT" and "endif" at the beginning and end of the Android.mk in the JNI folder.
  2. Next, append an option to the build command: "ndk-build BUILD_PROJECT=1" ([Properties] -> [C/C++ Build] -> [Build command])

I guess this problem is in synchronization of threads or processes associated with CDT... maybe. At least, I could build the tutorial 2-5 after the above settings (and the other settings are default) with no problems.

Good luck !

like image 113
hashi Avatar answered Dec 06 '25 08:12

hashi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!