Streaming to a Flash Media Server using the rtmpsink element
Redking
eric.galion at gmail.com
Fri Mar 16 04:45:32 PDT 2012
Example working pipeline (file streamed in "real time") :
gst-launch filesrc location=movies/big_buck_bunny_480p_surround-fix.avi !
decodebin name=demux ! queue ! videorate ! videoscale method=0 !
video/x-raw-yuv,width=852,height=480,framerate=\(fraction\)24/1 !
ffmpegcolorspace ! x264enc pass=pass1 threads=0 bitrate=900 tune=zerolatency
! flvmux name=mux ! rtmpsink
location='rtmp://my.rtmp.server/live/stream_name' demux. ! queue !
progressreport ! audioconvert ! audiorate ! audioresample ! *faac
bitrate=96000 ! audio/mpeg,mpegversion=4,stream-format=raw *! mux.
Working with Wowza and crtmpserver.
I'm using gstreamer 0.10.36 and these plugins versions :
Plugin Details:
Name: rtmp
Description: RTMP source and sink
Filename: /usr/lib/gstreamer-0.10/libgstrtmp.so
Version: 0.10.23
License: LGPL
Source module: gst-plugins-bad
Source release date: 2012-02-20
Binary package: GStreamer Bad Plugins (Archlinux)
Origin URL: http://www.archlinux.org/
...
Plugin Details:
Name: faac
Description: Free AAC Encoder (FAAC)
Filename: /usr/lib/gstreamer-0.10/libgstfaac.so
Version: 0.10.23
License: LGPL
Source module: gst-plugins-bad
Source release date: 2012-02-20
Binary package: GStreamer Bad Plugins (Archlinux)
Origin URL: http://www.archlinux.org/
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Streaming-to-a-Flash-Media-Server-using-the-rtmpsink-element-tp4347963p4477963.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list