On Mon, 2018-04-16 at 23:58 -0700, gagankumarnigam wrote:
> But when i try to transform the same pipeline in c code i got error :
> Could not link ffdemux_mpegts0 to videoqueue.
> Here is my code given below. Can some body help me out what is the
> problem here.
Demuxers usually also have dynamic pads, so you need to use "pad-added"
here as well and wait for the demuxer to create a video pad.
I also added video pad with demuxer Still same issue could not link
mpegtsdemux0 with queue.
Also replied in previous post if remove mpegtsdemux then code runs and
compile nicely with display nothing.
see my code given below i added pad .
Le samedi 12 mai 2018 à 03:37 -0700, gagankumarnigam a écrit :
> Hi tim
> Can u plz tell me how to write c code for this pipeline
> gst-launch udpsrc port=51000
> encoding-name=MP2TS " ! rtpmp2tdepay ! mpegtsdemux ! queue !
> ffdec_mpeg2video ! ffmpegcolorspace ! xvimagesink
if this is gstreamer 0.10, you should seriously move on to a newer
GStreamer. This is series is no longer supported and may have serious
That being said, try using mpegvideoparse element before or after the