All Questions

Tagged with
Filter by
Sorted by
Tagged with
34 votes
5 answers
20k views

MediaCodec and Camera: colorspaces don't match

I have been trying to get H264 encoding to work with input captured by the camera on an Android tablet using the new low-level MediaCodec. I have gone through some difficulties with this, since the ...
gleerman's user avatar
  • 1,803
19 votes
2 answers
5k views

RTSP over HTTPS video streaming by GStreamer

I have a stream which is RTSP over HTTPS. The handshake is secure (Over https) but the data after the handshake is complete is not encrypted (in RTSP). GStreamer by default does not stream as it ...
PunK _l_ RuLz's user avatar
15 votes
2 answers
22k views

Realtime/zero-latency video stream: what codec parameters to use?

I am writing an Android App which encompasses sending and receiving a video stream from a desktop PC. For the app to work properly we need as little latency as possible, sacrificing video quality if ...
Managarm's user avatar
  • 1,109
14 votes
2 answers
17k views

Loading shared libs that depend on other shared libs

Problem: I am building Android app in Eclipse which uses shared lib libgstreamer-0.10.so (GStreamer-android NDK Bundle libs compiled for android-8 platform). I made new folder libs/armeabi in project ...
Cipi's user avatar
  • 11.2k
10 votes
2 answers
8k views

Receiving video stream from an IP camera on android

I have an IP camera which is streaming video in MJPEG format. Now my aim is to receive it and display it in my own custom android app. For this I have three programming alternatives on android ...
Bhanu Kiran's user avatar
8 votes
2 answers
13k views

Gstreamer examples in Android Studio

I have been trying to get Gstreamer working in Android studio, following their tutorials, see for example here: https://gstreamer.freedesktop.org/documentation/tutorials/android/link-against-...
Josiki's user avatar
  • 115
8 votes
6 answers
9k views

Unable to build GStreamer for Android Tutorials

I'm running into a number of issues attempting to build the GStreamer Android tutorials. My environment is: Mac OS X 7 Android SDK version 17 Android NDK 8d I am able to build and run the NDK ...
lucasweb's user avatar
  • 1,756
7 votes
1 answer
6k views

Using Gstreamer or ffmpeg to create rtsp client on Android

I want to stream a rtsp stream on android and I finally have come to conclusion that I can't use android API's MediaPlayer,Videoview etc because latency is big issue for me. I need an latency of <...
Pankaj Bansal's user avatar
6 votes
0 answers
383 views

.so file generation android GStreamer v1.16.1

This is a multi-part question. That I have regarding the .so file generation of GStreamer. I need to upgrade from 1.14.4 to 1.16.1 version. I followed this to generate the required .so files. In the ...
PunK _l_ RuLz's user avatar
6 votes
0 answers
491 views

Use custom GStreamer plugin in Android

I developed a GStreamer 1.0 plugin which works fine in Windows/Linux and some other systems. Now I want to cover Android. Currently, the plugin is not integrated into GStreamer in sense that it is not ...
Akon's user avatar
  • 325
5 votes
1 answer
4k views

GStreamer mp4mux gives "Buffer has no PTS" error using custom appsrc

I have a pipeline coded in C++ that looks like this: appsrc do-timestamp=TRUE is-live=TRUE caps= “video/x-h264, stream-format=(string)byte-stream, alignment=(string)none, framerate=(fraction)0/1” min-...
Miguel Ángel Exposito Sanchez's user avatar
5 votes
2 answers
5k views

GStreamer on Android

Can anyone give me any tips on getting GStreamer to work on Android. I have never used it before and I would like to use it with FFmpeg (I already have FFmpeg compiled and works fine on Android). I ...
DRiFTy's user avatar
  • 11.3k
5 votes
1 answer
5k views

Unable to build GStreamer tutorials using Android Studio

I am trying to build the tutorials that are bundled with gstreamer-sdk-android-arm-debug-2013.6. The Android.mk file in the src/jni directory (tutorial 1 project) references environment variables such ...
svenyonson's user avatar
  • 1,847
5 votes
1 answer
5k views

Hardware video decoding on Android using GStreamer

I have to implement a GStreamer pipeline on Android which will get a live mpegts stream from a mpegts server on a linux machine(also implemented through GStreamer). Now, I have a Samdung Galaxy Tab2, ...
Yusuf Husainy's user avatar
5 votes
1 answer
2k views

Play RTP stream withouth RTSP in Android VideoView

I'd like to play a RTP stream in an Android VideoView. I create the stream with gstreamer on a linux machine and fire the rtp stream to a udp sink. Is it possible to consume this stream in an ...
Soccertrash's user avatar
  • 1,870
5 votes
1 answer
2k views

Missing plugin for GStreamer for Android SDK

I changed the stream url in the included Tutorial 5 (a basic media player) to a h.264/mp3 media stream (from its original ogv stream) and it started complaining about some missing plugins. After ...
mjiang's user avatar
  • 63
5 votes
0 answers
2k views

How to configure Media Codec AAC Decoder (Audio sent with Gstreamer)

I want to build an app that plays AAC audio stream sent by my Raspberry Pi with Gstreamer. This is the pipeline I set in Gstreamer: gst-launch-1.0 audiotestsrc ! faac "bitrate=64000" ! "audio/mpeg, ...
J.Ney's user avatar
  • 211
5 votes
0 answers
2k views

Real time streaming over RTP on Android client

I'm trying to realize a real time streaming using gstreamer as server over pure RTP (no RTSP) using a sdp file with a delay from server to client < 500ms. Test server has tested using gst-launch-1....
EmanuelOverflow's user avatar
4 votes
2 answers
7k views

media codec sample implementation in android 4.1

I am trying to display video buffers on an android. I am using the media codec API released in Android 4.1 Jelly Bean. The sample goes like this: MediaCodec codec = MediaCodec.createDecoderByType(...
arpwal's user avatar
  • 915
4 votes
0 answers
1k views

Gstreamer - Hardware accelerated video decoding on Android

I'm receiving on my Android mobile phone a video via RTP/UDP, but I've seen that CPU usage is very high, nearly 100% of one core is being used to decode the video. On high-end devices the video is ...
Iván Pérez's user avatar
  • 2,419
4 votes
0 answers
2k views

Display stream of byte array frames to textureview

I am trying to display a stream of frames received over network and display them to TextureView. My pipeline is as follows: Receive video using GStreamer. I am using NDK. Gstreamer code is in C. I am ...
Crearo Rotar's user avatar
4 votes
1 answer
645 views

Android send mpegts streams over udp

I want to receive mpegts over udp in my android application. I am using gstreamer for that. Right now, I am trying to send the mpegts stream from vlc player from the same computer over udp. In my ...
Ruchi's user avatar
  • 449
3 votes
1 answer
2k views

Install GStreamer plugins on Android

I am trying to build my application on android. I am bit stucked on GstElement* pipeline = gst_parse_launch ("rtspsrc location=rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov ! ...
Brykyz's user avatar
  • 617
3 votes
2 answers
2k views

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 ...
Ruchi's user avatar
  • 449
3 votes
1 answer
547 views

Not able to play android h264 encoded video on vlc

I am using MediaCodec to encode android camera stream into h264 format and then using gstreamer to create a RTSP stream via gst-rtsp-server. I am able to play the stream using gstreamer client ...
Kaustav's user avatar
  • 741
3 votes
2 answers
2k views

How to view Gstreamer log in Android?

How to view the output of log functions like GST_CAT_INFO, GST_DEBUG etc in Android environment? Can I view them in logcat?
rlbh's user avatar
  • 31
3 votes
0 answers
48 views

Decode h264 frame using android hardware accelerated decoder in gstreamer

I am trying to make a pipeline to get h264 encoded stream using gstreamer with hardware encoding. Below is that working pipeline: "ahcsrc ! capsfilter caps=video/x-raw,width=1280,height=720,...
Saidul Islam Ziku's user avatar
3 votes
0 answers
194 views

Using Gstreamer Rust plugins from Android app

I want to use gst-plugins-rs (in particular rtpav1depay) in Android app. I am using either the standard binaries provided by gstreamer website (1.22) and a cerbero compiled version (1.23 with RUST ...
Mattia B's user avatar
3 votes
0 answers
1k views

Expected output file at gst-build-armeabi-v7a/libgstreamer_android.so for target gstreamer_android but there was none

Error:Execution failed for task ':app:externalNativeBuildDebug'. Expected output file at gst-build-armeabi-v7a/libgstreamer_android.so for target gstreamer_android but there was none while ...
archana's user avatar
  • 31
3 votes
0 answers
732 views

playing h264 rtp stream in android

I am trying to stream h264 video from my arm development board using gstreamer and play it in my android mobile using available video player like mxplayer, vlc etc. But i am not able to play the ...
hussain's user avatar
  • 51
3 votes
1 answer
2k views

Gstreamer video to opengl texture

I'm trying to render AV frames grabbed and converted from a MPEG4 video using Gstreamer to an Android (2.2)-opengl texture. I've pretty much exhausted google and not found an answer. Basically, I am ...
user970656's user avatar
2 votes
1 answer
7k views

android live streaming - h264 decoding

Since i'm a little familiar with android and video streaming, i know it's complicated to handle live video streams from device to device. Requirement: play incoming raw h264 stream Are there any ...
alex_muc's user avatar
2 votes
1 answer
4k views

WebRTC connection not working outside of local network

We have the following setup for webrtc two-way video and audio streaming: Mobile Android application using Google WebRTC implementation java wrapper. Tested these two libs: implementation 'org.webrtc:...
Jakub Licznerski's user avatar
2 votes
1 answer
626 views

Enabling OMX support in GStreamer for Android

I'm currently trying to hook onto an HW H.264 decoder on Oculus Quest 2 (Adreno 650). The platform supports just one HW decoder OMX.qcom.video.decoder.avc The video decoding pipeline is created using ...
Stanislav Svědiroh's user avatar
2 votes
1 answer
2k views

GStreamer Android Tutorial Build Failed

I'm running into number of problems while trying to run GStreamer Android Tutorials on Windows. I'am new to Android NDK so this could be a really simple issue but I couldn't figure out how to solve it....
humanoid's user avatar
2 votes
1 answer
2k views

GStreamer tutorial for Android Studio

I'm trying to use GStreamer, but their tutorials seems to be broken (or made for Eclipse). So I'm trying to run this gst-player from here. I have loaded this project in to the Android Studio. Have ...
RamValli's user avatar
  • 4,459
2 votes
1 answer
3k views

GStreamer tutorial on Android getting 'Unsupported profile for video/mp4v-es' for RTSP stream

I'm running the GStreamer tutorial 5 for Android from Eclipse. I've managed to make it use the latest GStreamer SDK (1.6.0) for Android, and I've got it running on a device. The issue is as soon as ...
MarkyDD's user avatar
  • 272
2 votes
1 answer
4k views

Gstreamer, Raspberry Pi, and Android. How to get streaming video?

I've been working for 2 solid days on trying to get Gstreamer on a pi to output video on an android device. I can do the pi > Mac, but cannot get the android Gstreamer SDK tutorial 3 to stream video ...
SamWise's user avatar
  • 698
2 votes
1 answer
5k views

Gstreamer in Android. UDP stream

I have setup my raspberry pi with the camera board. The code in rpi is: raspivid -t 999999 -h 720 -w 1080 -fps 25 -b 2000000 -o - | gst-launch-0.10 -v fdsrc fd=0 ! h264parse ! rtph264pay ! udpsink ...
Daniel Prol's user avatar
2 votes
2 answers
3k views

Adding Gstreamer support to an android NDK project

I've installed the latest android SDK bundle as well as the latest android NDK on windows 7. I've set up my environment and am able to run the hellojni example from the NDK installation package. ...
rubndsouza's user avatar
  • 1,224
2 votes
2 answers
2k views

Receive and interprete video stream with gstreamer

I wrote a small program for my Andorid phone that transmits its camera stream via tcp to my pc. The phone acts as the client while on the pc gstreamer should receive the stream. Therfore I use ...
Poseidonius's user avatar
2 votes
2 answers
2k views

How to include libc++_shared.so into my APK programmatically with gradle?

Updated in project: Gstreamer 1.14.5 -> Gstreamer 1.18.0 NDKr16 -> NDKr21.3.6528147 build:gradle:3.5.3 -> build:gradle:4.1.0 buildToolsVersion 29.0.3 compileSdk: 29, minSdk : 26, ...
Almaz_KhR's user avatar
  • 481
2 votes
1 answer
52 views

Android 9 - Trouble orchestrating multiple stacked VideoView objects SM-G950U

I've been struggling to get a common viewing area on the display to be shared by multiple video streams. The streams are selected by touching on a thumbnail of the stream contained in a layout below ...
doug4350's user avatar
2 votes
1 answer
14k views

How to stream H264 with gstreamer?

I need to stream my screen in fullHD, to my android phone with gstreamer, using H264. I'm using gst launch remote on Android and gst-launch on linux. I'm starting with gstreamer, I managed to do ...
RSFalcon7's user avatar
  • 2,281
2 votes
2 answers
7k views

How to use hardware accelerated video encoding of GStreamer on Android?

I am trying to design hardware accelerated video encoder based on Android. I have done research for some time but I did not find much useful. Anyway, I saw the Gstreamer (http://gstreamer.freedesktop....
Brendon Tsai's user avatar
  • 1,267
2 votes
0 answers
791 views

Receiving video stream on Android from GStreamer through RTP

I want to create an Android application that receives a video stream from GStreamer through RTP with a low latency, like a security camera app. I am a beginner on GStreamer and Android. The video is ...
Mickael P's user avatar
2 votes
1 answer
395 views

Crashed app randomly when lock device with Android 10

I have an app in first device (client) which has p2p connection with other device (server). Server streaming a video to client. When I lock device-client sometimes it cause crashing app, sometimes it ...
Almaz_KhR's user avatar
  • 481
2 votes
2 answers
733 views

gst-libav-1.8.0 does not build out some demuxers

I am cross compiling gst-libav-1.8.0 and having some problem blocking me for several days. Would you please help? From build.log there are many demuxers enabled. But when using gst-inspect I only ...
Jack's user avatar
  • 21
2 votes
0 answers
1k views

AAC Decoder Android Media Codec (Data from Gstreamer)

I want to Stream Audio from my Raspberry with G-Streamer to my Android phone. In Gstreamer I use the following pipeline: gst-launch-1.0 audiotestsrc ! faac ! "audio/mpeg, mpegversion=4" ! mux. ...
J.Ney's user avatar
  • 211
2 votes
0 answers
464 views

How to control remote rtsp server using playbin

I'm working with gstreamer and I can play RTSP stream using below code: data->pipeline = gst_parse_launch("playbin", &error); //avi.sdp is a video file that in server g_object_set(data-&...
hhbgk's user avatar
  • 21

1
2 3 4 5