Streaming to nginx server using rtmp is not working.

Tuyen Nguyen Duy duytuyen1988 at gmail.com
Sun Jan 3 12:27:23 PST 2016


Hi everyone,

    I want to use the hardware encoder (OMX.Exynos.AVC.Encoder) to create a
h264 stream on my Android phone (Samsung Galaxy Note 3) and streaming to
the nginx server using gstreamer. I create a pipeline like this: "appsrc
name=screensrc format=3 ! video/x-h264, width=1080, height=1920,
framerate=30/1, stream-format=byte-stream ! h264parse ! flvmux
streamable=true ! rtmpsink location=rtmp://192.168.100.6:1935/live/stream".
But the pipeline didn't work: h264parse can recognize SPS, PPS, IDR but on
the server it didn't show anything. I can, however, encode the stream using
jpecenc/x264enc and streaming via udp, even rtmp successfully. Because I
don't know much about gstreamer and h264, I can't understand what I've done
wrong. Can anybody view the attached log files and give me advices what to
do next? Sorry for my bad English.

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20160104/780923d9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: init_log
Type: application/octet-stream
Size: 245414 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20160104/780923d9/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: streaming_log
Type: application/octet-stream
Size: 350233 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20160104/780923d9/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: java
Type: application/octet-stream
Size: 3041 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20160104/780923d9/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Android.mk
Type: text/x-makefile
Size: 945 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20160104/780923d9/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Application.mk
Type: text/x-makefile
Size: 84 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20160104/780923d9/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ScreenStreaming.c
Type: text/x-csrc
Size: 13441 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20160104/780923d9/attachment-0001.c>


More information about the gstreamer-android mailing list