mpeg2enc problem sending from shmsrc to udpsink

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

mpeg2enc problem sending from shmsrc to udpsink


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

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= 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.


Sent from:
gstreamer-devel mailing list
[hidden email]