Encoding and streaming video+audio to UDP

dmitrijs2005 dmitrijs2005 at gmail.com
Fri Aug 1 07:02:04 PDT 2014


Peter, thanks for your suggestion, I'll record a file a bit later.

Now, we got new issues:
1. When we specify the bitrate in option-string only, looks like gstreamer
just ignores this setting and bitrate grows up to a value over 2Mbps
2. Picture "freezes" sometimes for couple of seconds (slideshow)
3. When watching vdeo from our website using Flash Player, the sound always
starts first, then, after some seconds (sometimes even about 10 seconds),
video begins

The command now looks like that:

gst-launch-1.0 -e \
mpegtsmux alignment=7 name=mux ! \
rndbuffersize max=1316 min=1316 ! \
udpsink host=127.0.0.1 port=5000 sync=false \
decklinksrc mode=10 name=src \
src. ! audio/x-raw ! queue !  audioconvert ! \
voaacenc bitrate=128 ! aacparse ! mux. \
src. -v ! deinterlace ! videoconvert ! videorate ! videoconvert ! videoscale
! videoconvert ! video/x-raw, format=\(string\)I420, framerate=25/1,
width=656, height=368 ! aspectratiocrop aspect-ratio=16/9 ! queue !
videoconvert ! \
x264enc bitrate=872 tune=zerolatency
option-string="me=umh:direct=auto:keyint=25:scenecut=0:bitrate=872:vbv-maxrate=872"
! h264parse ! mux.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Encoding-and-streaming-video-audio-to-UDP-tp4668052p4668140.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list