Search code examples
androidmedia-playermediagstreamer

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.


Solution

  • 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 !