mpeg2enc problem sending from shmsrc to udpsink

sebpor jporteiro.cedei at iter.es
Mon Apr 30 12:08:26 UTC 2018


Hi,

I'm having problems with the following pipeline, its taking video and audio
from 2 separate shmsrc sources and the output is udpsink. Pipeline is
working, but the output is having apparentely a timestamp problem, because
the video is not continous. Seems to be related to the mpeg2enc element
failure


gst-launch-1.0 shmsrc socket-path=/video is-live=true do-timestamp=true !
video/x-raw,format=BGRA,width=1280,height=720,framerate=25/1 ! videoscale !
video/x-raw,width=720,height=576 ! videoscale  ! videoconvert ! mpeg2enc
norm=p format=3 aspect=3 framerate=3 bitrate=4800 ! mpegvideoparse !
mpegtsmux name=mux ! rtpmp2tpay ! queue ! udpsink host=127.0.0.1 port=30000
shmsrc socket-path=/audio do-timestamp=true is-live=true !
audio/x-raw,format=S16LE,rate=48000,layout=interleaved, channels=2 !
audioconvert ! twolamemp2enc bitrate=192 mode=1 ! audio/mpeg !
mpegaudioparse ! mux.


Thanks



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list