Encoding and streaming video+audio to UDP

dmitrijs2005 dmitrijs2005 at gmail.com
Tue Jul 29 15:59:52 PDT 2014


It seems, we got another issue now - sound sometimes disappeares and picture
"freezes" for a second  or less. 

Gstreamer command now looks like this:
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=720, height=400 ! aspectratiocrop aspect-ratio=16/9 ! queue !
videoconvert ! \
x264enc bitrate=1272 sync-lookahead=0 rc-lookahead=10 threads=0
option-string="me=umh:direct=auto:keyint=100:scenecut=0" ! h264parse ! mux.

Stream analyzer reports about error:
  PCR_error 171 2014-07-29 17:19:15 PCR discontinuity of more than 100 ms
occurring without specific indication.



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


More information about the gstreamer-devel mailing list