Capture video from android camera with gstreamer

alex_malishev aron_stoun1996 at mail.ru
Thu Jul 7 09:04:45 UTC 2016


I think, the problem was in my C code, when i tried to build camerabin
pipeline.

Now, I'm trying the new version of gstreamer.(ver. 1.8.2), as you sad,  and
I got this error when build the project:		

C:/gsdk/share/gst-android/ndk-build/tools/windows/sed
"s/@PLUGINS_DECLARATION@/ GST_PLUGIN_STATIC_DECLARE(coreelements);\n 
GST_PLUGIN_STATIC_DECLARE(adder);\n  GST_PLUGIN_STATIC_DECLARE(app);\n 
GST_PLUGIN_STATIC_DECLARE(audioconvert);\n 
GST_PLUGIN_STATIC_DECLARE(audiorate);\n 
GST_PLUGIN_STATIC_DECLARE(audioresample);\n 
GST_PLUGIN_STATIC_DECLARE(audiotestsrc);\n 
GST_PLUGIN_STATIC_DECLARE(gio);\n  GST_PLUGIN_STATIC_DECLARE(pango);\n 
GST_PLUGIN_STATIC_DECLARE(typefindfunctions);\n 
GST_PLUGIN_STATIC_DECLARE(videoconvert);\n 
GST_PLUGIN_STATIC_DECLARE(videorate);\n 
GST_PLUGIN_STATIC_DECLARE(videoscale);\n 
GST_PLUGIN_STATIC_DECLARE(videotestsrc);\n 
GST_PLUGIN_STATIC_DECLARE(volume);\n 
GST_PLUGIN_STATIC_DECLARE(autodetect);\n 
GST_PLUGIN_STATIC_DECLARE(videofilter);\n 
GST_PLUGIN_STATIC_DECLARE(playback);\n 
GST_PLUGIN_STATIC_DECLARE(subparse);\n  GST_PLUGIN_STATIC_DECLARE(ogg);\n 
GST_PLUGIN_STATIC_DECLARE(theora);\n  GST_PLUGIN_STATIC_DECLARE(vorbis);\n 
GST_PLUGIN_STATIC_DECLARE(opus);\n  GST_PLUGIN_STATIC_DECLARE(ivorbisdec);\n 
GST_PLUGIN_STATIC_DECLARE(alaw);\n  GST_PLUGIN_STATIC_DECLARE(apetag);\n 
GST_PLUGIN_STATIC_DECLARE(audioparsers);\n 
GST_PLUGIN_STATIC_DECLARE(auparse);\n  GST_PLUGIN_STATIC_DECLARE(avi);\n 
GST_PLUGIN_STATIC_DECLARE(dv);\n  GST_PLUGIN_STATIC_DECLARE(flac);\n 
GST_PLUGIN_STATIC_DECLARE(flv);\n  GST_PLUGIN_STATIC_DECLARE(flxdec);\n 
GST_PLUGIN_STATIC_DECLARE(icydemux);\n 
GST_PLUGIN_STATIC_DECLARE(id3demux);\n  GST_PLUGIN_STATIC_DECLARE(isomp4);\n 
GST_PLUGIN_STATIC_DECLARE(jpeg);\n  GST_PLUGIN_STATIC_DECLARE(matroska);\n 
GST_PLUGIN_STATIC_DECLARE(mulaw);\n  GST_PLUGIN_STATIC_DECLARE(multipart);\n 
GST_PLUGIN_STATIC_DECLARE(png);\n  GST_PLUGIN_STATIC_DECLARE(speex);\n 
GST_PLUGIN_STATIC_DECLARE(taglib);\n  GST_PLUGIN_STATIC_DECLARE(vpx);\n 
GST_PLUGIN_STATIC_DECLARE(wavenc);\n  GST_PLUGIN_STATIC_DECLARE(wavpack);\n 
GST_PLUGIN_STATIC_DECLARE(wavparse);\n  GST_PLUGIN_STATIC_DECLARE(y4menc);\n 
GST_PLUGIN_STATIC_DECLARE(adpcmdec);\n 
GST_PLUGIN_STATIC_DECLARE(adpcmenc);\n 
GST_PLUGIN_STATIC_DECLARE(dashdemux);\n 
GST_PLUGIN_STATIC_DECLARE(dvbsuboverlay);\n 
GST_PLUGIN_STATIC_DECLARE(dvdspu);\n  GST_PLUGIN_STATIC_DECLARE(hls);\n 
GST_PLUGIN_STATIC_DECLARE(id3tag);\n  GST_PLUGIN_STATIC_DECLARE(kate);\n 
GST_PLUGIN_STATIC_DECLARE(midi);\n  GST_PLUGIN_STATIC_DECLARE(mxf);\n 
GST_PLUGIN_STATIC_DECLARE(openh264);\n 
GST_PLUGIN_STATIC_DECLARE(opusparse);\n 
GST_PLUGIN_STATIC_DECLARE(pcapparse);\n  GST_PLUGIN_STATIC_DECLARE(pnm);\n 
GST_PLUGIN_STATIC_DECLARE(rfbsrc);\n  GST_PLUGIN_STATIC_DECLARE(schro);\n 
GST_PLUGIN_STATIC_DECLARE(gstsiren);\n 
GST_PLUGIN_STATIC_DECLARE(smoothstreaming);\n 
GST_PLUGIN_STATIC_DECLARE(subenc);\n 
GST_PLUGIN_STATIC_DECLARE(videoparsersbad);\n 
GST_PLUGIN_STATIC_DECLARE(y4mdec);\n 
GST_PLUGIN_STATIC_DECLARE(jpegformat);\n  GST_PLUGIN_STATIC_DECLARE(gdp);\n 
GST_PLUGIN_STATIC_DECLARE(rsvg);\n  GST_PLUGIN_STATIC_DECLARE(openjpeg);\n 
GST_PLUGIN_STATIC_DECLARE(spandsp);\n 
GST_PLUGIN_STATIC_DECLARE(androidmedia);\n 
GST_PLUGIN_STATIC_DECLARE(tcp);\n  GST_PLUGIN_STATIC_DECLARE(rtsp);\n 
GST_PLUGIN_STATIC_DECLARE(rtp);\n  GST_PLUGIN_STATIC_DECLARE(rtpmanager);\n 
GST_PLUGIN_STATIC_DECLARE(soup);\n  GST_PLUGIN_STATIC_DECLARE(udp);\n 
GST_PLUGIN_STATIC_DECLARE(dataurisrc);\n  GST_PLUGIN_STATIC_DECLARE(sdp);\n 
GST_PLUGIN_STATIC_DECLARE(srtp);\n 
GST_PLUGIN_STATIC_DECLARE(rtspclientsink);\n 
GST_PLUGIN_STATIC_DECLARE(opensles);\n  GST_PLUGIN_STATIC_DECLARE(opengl);\n 
GST_PLUGIN_STATIC_DECLARE(asfmux);\n  GST_PLUGIN_STATIC_DECLARE(dtsdec);\n 
GST_PLUGIN_STATIC_DECLARE(faad);\n 
GST_PLUGIN_STATIC_DECLARE(mpegpsdemux);\n 
GST_PLUGIN_STATIC_DECLARE(mpegpsmux);\n 
GST_PLUGIN_STATIC_DECLARE(mpegtsdemux);\n 
GST_PLUGIN_STATIC_DECLARE(mpegtsmux);\n 
GST_PLUGIN_STATIC_DECLARE(voaacenc);\n  GST_PLUGIN_STATIC_DECLARE(a52dec);\n 
GST_PLUGIN_STATIC_DECLARE(amrnb);\n  GST_PLUGIN_STATIC_DECLARE(amrwbdec);\n 
GST_PLUGIN_STATIC_DECLARE(asf);\n  GST_PLUGIN_STATIC_DECLARE(dvdsub);\n 
GST_PLUGIN_STATIC_DECLARE(dvdlpcmdec);\n  GST_PLUGIN_STATIC_DECLARE(mad);\n 
GST_PLUGIN_STATIC_DECLARE(mpeg2dec);\n 
GST_PLUGIN_STATIC_DECLARE(xingmux);\n 
GST_PLUGIN_STATIC_DECLARE(realmedia);\n  GST_PLUGIN_STATIC_DECLARE(x264);\n 
GST_PLUGIN_STATIC_DECLARE(lame);\n  GST_PLUGIN_STATIC_DECLARE(mpg123);\n 
GST_PLUGIN_STATIC_DECLARE(libav);\n  GST_PLUGIN_STATIC_DECLARE(mms);\n 
GST_PLUGIN_STATIC_DECLARE(rtmp);\n  GST_PLUGIN_STATIC_DECLARE(camerabin);\n 
GST_PLUGIN_STATIC_DECLARE(alpha);\n 
GST_PLUGIN_STATIC_DECLARE(alphacolor);\n 
GST_PLUGIN_STATIC_DECLARE(audiofx);\n  GST_PLUGIN_STATIC_DECLARE(cairo);\n 
GST_PLUGIN_STATIC_DECLARE(cutter);\n  GST_PLUGIN_STATIC_DECLARE(debug);\n 
GST_PLUGIN_STATIC_DECLARE(deinterlace);\n 
GST_PLUGIN_STATIC_DECLARE(dtmf);\n  GST_PLUGIN_STATIC_DECLARE(effectv);\n 
GST_PLUGIN_STATIC_DECLARE(equalizer);\n 
GST_PLUGIN_STATIC_DECLARE(gdkpixbuf);\n 
GST_PLUGIN_STATIC_DECLARE(imagefreeze);\n 
GST_PLUGIN_STATIC_DECLARE(interleave);\n 
GST_PLUGIN_STATIC_DECLARE(level);\n  GST_PLUGIN_STATIC_DECLARE(multifile);\n 
GST_PLUGIN_STATIC_DECLARE(replaygain);\n 
GST_PLUGIN_STATIC_DECLARE(shapewipe);\n  GST_PLUGIN_STATIC_DECLARE(smpte);\n 
GST_PLUGIN_STATIC_DECLARE(spectrum);\n 
GST_PLUGIN_STATIC_DECLARE(videobox);\n 
GST_PLUGIN_STATIC_DECLARE(videocrop);\n 
GST_PLUGIN_STATIC_DECLARE(videomixer);\n 
GST_PLUGIN_STATIC_DECLARE(accurip);\n  GST_PLUGIN_STATIC_DECLARE(aiff);\n 
GST_PLUGIN_STATIC_DECLARE(audiofxbad);\n 
GST_PLUGIN_STATIC_DECLARE(autoconvert);\n 
GST_PLUGIN_STATIC_DECLARE(bayer);\n 
GST_PLUGIN_STATIC_DECLARE(coloreffects);\n 
GST_PLUGIN_STATIC_DECLARE(debugutilsbad);\n 
GST_PLUGIN_STATIC_DECLARE(fieldanalysis);\n 
GST_PLUGIN_STATIC_DECLARE(freeverb);\n  GST_PLUGIN_STATIC_DECLARE(frei0r);\n 
GST_PLUGIN_STATIC_DECLARE(gaudieffects);\n 
GST_PLUGIN_STATIC_DECLARE(geometrictransform);\n 
GST_PLUGIN_STATIC_DECLARE(inter);\n  GST_PLUGIN_STATIC_DECLARE(interlace);\n 
GST_PLUGIN_STATIC_DECLARE(ivtc);\n  GST_PLUGIN_STATIC_DECLARE(rawparse);\n 
GST_PLUGIN_STATIC_DECLARE(removesilence);\n 
GST_PLUGIN_STATIC_DECLARE(segmentclip);\n 
GST_PLUGIN_STATIC_DECLARE(smooth);\n  GST_PLUGIN_STATIC_DECLARE(speed);\n 
GST_PLUGIN_STATIC_DECLARE(soundtouch);\n 
GST_PLUGIN_STATIC_DECLARE(videofiltersbad);\n 
GST_PLUGIN_STATIC_DECLARE(audiomixer);\n 
GST_PLUGIN_STATIC_DECLARE(compositor);\n/g" | \

		C:/gsdk/share/gst-android/ndk-build/tools/windows/sed
"s/@G_IO_MODULES_LOAD@/ GST_G_IO_MODULE_LOAD(gnutls);\n/g" | \
		C:/gsdk/share/gst-android/ndk-build/tools/windows/sed
"s/@G_IO_MODULES_DECLARE@/ GST_G_IO_MODULE_DECLARE(gnutls);\n/g" >
gst-build-armeabi/gstreamer_android.c
"cat" ­Ґ пў«пҐвбп ў­гв७­Ґ© Ё«Ё ў­Ґи­Ґ©
Є®¬ ­¤®©, ЁбЇ®«­пҐ¬®© Їа®Ја ¬¬®© Ё«Ё Ї ЄҐв­л¬ д ©«®¬.
make.exe: *** [genstatic_armeabi] Error 255
:app:ndkBuild FAILED
Error:Execution failed for task ':app:ndkBuild'.
> Process 'command 'C:\android-ndk/ndk-build.cmd'' finished with non-zero
> exit value 2

what should i do?



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Capture-video-from-android-camera-with-gstreamer-tp4678451p4678488.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list