Encoding and streaming video+audio to UDP

dmitrijs2005 dmitrijs2005 at gmail.com
Tue Aug 5 06:15:50 PDT 2014


Guys, I still hope that somebody will help me to improve picture quality

Now the command is:
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=1172 tune=zerolatency key-int-max=25 ! h264parse ! mux.

Without "tune=zerolatency key-int-max=25" I got problems with picture
freezing and sound dissapearance
But zerolatency reduces picture quality, I suppose. Now, with bitrate=1172
we got the abount the same quality as encoding with ffmpeg high profile with
300Kbps.
We have tried all possible settings in option-string, without success, looks
like option-string doesn't work
So, if cause of quality issues (see
http://postimg.org/image/iffadps4d/full/) is zerolatency, how can I get rid
of picture freezing after removing it?
We have tried all the suggestions from
http://mewiki.project357.com/wiki/X264_Encoding_Suggestions, except
zerolatency, nothing helped



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


More information about the gstreamer-devel mailing list