udpsrc to tsdemux interaction

jopado jopado1 at yahoo.com
Mon Sep 11 07:23:40 UTC 2017


Vinod Kesti wrote
> Hi,
> 
> Generally no pads will be generated by the element after "no-more-pads"
> call
> back. 
> Can you share the stream ??
> If 0x81 data is missing for 5 secs and if it is coming in burst that may
> lead to issue what you have mntioned. 
> Can you also check if 0x81 PES is present in the PMT table ??
> 
> 
> 
> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list

> gstreamer-devel at .freedesktop

> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

I added a no_more_pads handler and it never gets called.  I did add some
prints to tsdemux and I do see that the pad for pid 0x81 is being created
(yeah!). But my pad_added callback still not getting called.  Here's a
shortened log showing the pad getting created. That last bit is output from
my pad_added handler.

FIXME             mpegtsbase mpegtsbase.c:360:mpegts_base_add_program:
Refcounting. Setting twice a PID (0x0010) as known PSI
FIXME             mpegtsbase mpegtsbase.c:694:mpegts_base_activate_program:
Refcounting issue. Setting a known PSI PID (0x0011) as known PES
tsdemux tsdemux.c:1415:gst_ts_demux_stream_added: stream added: id=17;
type=27
tsdemux tsdemux.c:1037:create_pad_for_stream: Attempting to create pad for
stream 0x0011 with stream_type 27
tsdemux tsdemux.c:1103:create_pad_for_stream: Checking non-BluRay stream
types....
tsdemux tsdemux.c:1365:create_pad_for_stream: stream:0x7ffb5000c3a0 creating
pad with name video_0011 and caps video/x-h264,
stream-format=(string)byte-stream, alignment=(string)nal
tsdemux tsdemux.c:1415:gst_ts_demux_stream_added: stream added: id=33;
type=21
tsdemux tsdemux.c:1037:create_pad_for_stream: Attempting to create pad for
stream 0x0021 with stream_type 21
tsdemux tsdemux.c:1103:create_pad_for_stream: Checking non-BluRay stream
types....
tsdemux tsdemux.c:1355:create_pad_for_stream: Non-media stream
(stream_type:0x15). Not creating pad
tsdemux tsdemux.c:1415:gst_ts_demux_stream_added: stream added: id=129;
type=136
tsdemux tsdemux.c:1037:create_pad_for_stream: *Attempting to create pad for
stream 0x0081 with stream_type 136*
tsdemux tsdemux.c:1103:create_pad_for_stream: Checking non-BluRay stream
types....
tsdemux tsdemux.c:1365:create_pad_for_stream: *stream:0x7ffb5002d3f0
creating pad with name hiresimg_0081 and caps application/vnd.nitf*
pad_added_handler() entry
Received new pad 'video_0011' from 'myTsdemux':
Caps for the video_0011 pad:
      video/x-h264
          stream-format: byte-stream
              alignment: nal

Yes the pid 0x81 PES is always in the PMT data. I will check about sharing
the stream. Next step for me is to find where the pad-added callbacks are
made and try to figure out why it is not happening in this case.



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


More information about the gstreamer-devel mailing list