AnsweredAssumed Answered

How to enable rtmp plugins in gstreamer

Question asked by fulin chen on Jun 8, 2017
Latest reply on Jun 11, 2017 by fulin chen

Hi,

   HW: imx6qsabresd + usb web camera

   SW:yocto+L4.1.15_2.1.0

  i want to use my usb web camera to become a live source, and push camera video streaming with rtmp protocal.

 I find gstreamer dose not enable rtmp when i use gstreamer tool gst-launch-1.0. look at this:

[fulinux@dev-ubuntu build-wayland-4.1.15_2.1.0]$ cat tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/gstreamer1.0-plugins-bad/1.8.1-r0/build/config.log  | less
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

 

It was created by GStreamer Bad Plug-ins configure 1.8.1, which was
generated by GNU Autoconf 2.69.  Invocation command line was

 

  $ ../gst-plugins-bad-1.8.1/configure --build=x86_64-linux --host=arm-poky-linux-gnueabi --target=arm-poky-linux-gnueabi --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=/home/fulinux/fsl-release-bsp/build-wayland-4.1.15_2.1.0/tmp/sysroots/imx6qsabresd --enable-introspection --disable-examples --enable-decklink --enable-dvb --enable-fbdev --enable-shm --enable-vcd --disable-acm --disable-android_media --disable-apexsink --disable-apple_media --disable-avc --disable-bs2b --disable-chromaprint --disable-cocoa --disable-daala --disable-dc1394 --disable-direct3d --disable-directsound --disable-dts --disable-gme --disable-gsm --disable-kate --disable-ladspa --disable-libde265 --disable-libvisual --disable-linsys --disable-lv2 --disable-mimic --disable-mpeg2enc --disable-mplex --disable-musepack --disable-nas --disable-ofa --disable-openexr --disable-openh264 --disable-openjpeg --disable-openni2 --disable-opensles --disable-pvr --disable-qt --disable-sdl --disable-sdltest --disable-sndio --disable-soundtouch --disable-spandsp --disable-spc --disable-teletextdec --disable-timidity --disable-vdpau --disable-wasapi --disable-wildmidi --disable-wininet --disable-winks --disable-winscreencap --disable-x265 --disable-xvid --disable-zbar --enable-nls --disable-assrender --enable-bluez --enable-bz2 --enable-curl --enable-dash --disable-debug --disable-directfb --enable-dtls --disable-faac --disable-faad --disable-flite --disable-fluidsynth --enable-gles2 --enable-egl --disable-gtk3 --enable-hls --disable-libmms --disable-libssh2 --disable-modplug --enable-neon --disable-openal --enable-opencv --disable-opengl --disable-opus --enable-orc --disable-resindvd --enable-rsvg --disable-rtmp --enable-sbc --disable-schro --enable-smoothstreaming --enable-sndfile --disable-srtp --enable-uvch264 --disable-valgrind --disable-voaacenc --disable-voamrwbenc --enable-wayland --disable-x11 --enable-webp

1、How can i enable rtmp in gst-plugins-bad?

2、How can I push video and audio streaming to rtmp? can you give me some support?

3、I Have used nginx make a RTMP server in ubuntu, and i use gst-launch-1.0 to pull rtmp streaming, like this:

gst-launch-1.0 playbin uri=rtmp://xxxxxx/live/test

it works well sometimes, but not most of the time.  it has the same phenomenon in BSP3.0.35_4.1.0 with gsreamer-0.10. Can you give me some help?

my english is so poor 0.0

thank you!

fulinux.

Outcomes