Skip to content Skip to sidebar Skip to footer

Stream Android Camera As H264 Mpeg-ts Over Udp Using Gstreamer

I don't have much experience with gstreamer, and I couldn't find something online to figure it out. I'm using this open-source to develop an Android app to stream camera as H264 mp

Solution 1:

What you mean no luck? any error?

The output from ahcsrc seem to be raw yuv - maybe there is no need to use decodebin, just videoconvert.

You can add queue after src for better performance, not sure if it will work, but this is it:

ahcsrc ! queue ! videoconvert ! x264enc bframes=2 ! mpegtsmux ! udpsink host=192.168.102.74 port=1234

Please add some logs with running your app with env variable GST_LAUNCH=4 ./your-app and paste them somewhere..

Post a Comment for "Stream Android Camera As H264 Mpeg-ts Over Udp Using Gstreamer"