Streaming RTP video with MTU property set

Prasad Bhat prasadbhat22 at gmail.com
Sat Aug 15 22:00:57 PDT 2015


Hi All,

I am writing source and sink plugins for a custom GStreamer pipline, and
facing an issue.
The medium that transports the video has a mtu limitation, So I am setting
mtu property in the transportsink.

In the Sink side:
pipeline:
    gst-launch-1.0 --gst-plugin-path=./src/.libs/ --gst-debug-level=3
videotestsrc horizontal-speed=5 ! video/x-raw, width=200, height=200 !
x264enc !  myvideosink fd=<value>

In the myvidsink I have a bin, which has capsfilter, rtph264pay and
transportsink. The mtu property is set on rtph264pay.

In the Source side:
    gst-launch-1.0 --gst-debug-level=3 --gst-plugin-path=./src/.libs
myvideopsrc fd=<value> ! avdec_h264 ! videoconvert ! ximagesink
Similar to sink in myvideosrc also I have bin which has transportsrc,
rtph264depay, and capsfilter.


The problem I am facing is, the video streams properly for 10-15 seconds,
and then it gets corrupted. Could anyone please help me by pointing out
what I am doing wrong?
I have added the log dump.

Thanks and Regards,
Prasad


0:00:00.066809578 ^[[332m 4933^[[00m  0xa05a300 ^[[31;01mERROR  ^[[00m
^[[00m              myvideosrcsrc
gstmyvideosrcsrc.c:242:gst_myvideosrc_src_query:^[[00m
gst_myvideosrc_src_query
0:00:00.066876274 ^[[332m 4933^[[00m  0xa05a300 ^[[31;01mERROR  ^[[00m
^[[00m              myvideosrcsrc
gstmyvideosrcsrc.c:242:gst_myvideosrc_src_query:^[[00m
gst_myvideosrc_src_query
Setting pipeline to PAUSED ...
0:00:00.069654489 ^[[332m 4933^[[00m  0xa05a300 ^[[31;01mERROR  ^[[00m
^[[00m              myvideosrcsrc
gstmyvideosrcsrc.c:75:gst_myvideosrc_src_change_state:^[[00m
GST_STATE_CHANGE_NULL_TO_READY
0:00:00.070130289 ^[[332m 4933^[[00m  0xa05a300 ^[[31;01mERROR  ^[[00m
^[[00m              myvideosrcsrc
gstmyvideosrcsrc.c:82:gst_myvideosrc_src_change_state:^[[00m
GST_STATE_CHANGE_READY_TO_PAUSED:
0:00:00.071693848 ^[[332m 4933^[[00m  0xa05a300 ^[[31;01mERROR  ^[[00m
^[[00;04m             default
gstavdtputil.c:66:gst_avdtp_connection_acquire:^[[00m Bluez 5
0:00:00.511638459 ^[[332m 4933^[[00m  0xa05a300 ^[[31;01mERROR  ^[[00m
^[[00;04m             default
gstavdtputil.c:211:gst_avdtp_connection_parse_property:^[[00m Codec value: 8
0:00:00.511764053 ^[[332m 4933^[[00m  0xa05a300 ^[[31;01mERROR  ^[[00m
^[[00;04m             default
gstavdtputil.c:791:gst_avdtp_connection_get_caps:^[[00m get_caps
0:00:00.511777944 ^[[332m 4933^[[00m  0xa05a300 ^[[31;01mERROR  ^[[00m
^[[00;04m             default
gstavdtputil.c:495:gst_avdtp_util_parse_h264:^[[00m
gst_avdtp_util_parse_h264
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:00.512616783 ^[[332m 4933^[[00m  0xa062550 ^[[32;01mFIXME  ^[[00m
^[[00;04m             default
gstutils.c:3643:gst_pad_create_stream_id_internal:<bluezsrc0:src>^[[00m
Creating random stream-id, consider implementing a deterministic way of
creating a stream-id
0:00:05.245773662 ^[[332m 4933^[[00m  0xa062550 ^[[33;01mWARN   ^[[00m
^[[00m               libav
gstavcodecmap.c:2408:gst_ffmpeg_caps_to_pixfmt:^[[00m ignoring insane
framerate 1/0
0:00:05.245868735 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m              myvideosrcsrc
gstmyvideosrcsrc.c:242:gst_myvideosrc_src_query:^[[00m
gst_myvideosrc_src_query
0:00:05.262808846 ^[[332m 4933^[[00m 0xb4202060 ^[[31;01mERROR  ^[[00m
^[[00m              myvideosrcsrc
gstmyvideosrcsrc.c:242:gst_myvideosrc_src_query:^[[00m
gst_myvideosrc_src_query
0:00:16.044244760 ^[[332m 4933^[[00m  0xa062550 ^[[33;01mWARN   ^[[00m
^[[00m               libav
gstavcodecmap.c:2408:gst_ffmpeg_caps_to_pixfmt:^[[00m ignoring insane
framerate 1/0
0:00:16.044289086 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m              myvideosrcsrc
gstmyvideosrcsrc.c:242:gst_myvideosrc_src_query:^[[00m
gst_myvideosrc_src_query
0:00:26.893970493 ^[[332m 4933^[[00m  0xa062550 ^[[33;01mWARN   ^[[00m
^[[00m               libav
gstavcodecmap.c:2408:gst_ffmpeg_caps_to_pixfmt:^[[00m ignoring insane
framerate 1/0
0:00:26.894015236 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m              myvideosrcsrc
gstmyvideosrcsrc.c:242:gst_myvideosrc_src_query:^[[00m
gst_myvideosrc_src_query
0:00:32.686937055 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m pps_id 4294967295 out of range
0:00:37.705757626 ^[[332m 4933^[[00m  0xa062550 ^[[33;01mWARN   ^[[00m
^[[00m               libav
gstavcodecmap.c:2408:gst_ffmpeg_caps_to_pixfmt:^[[00m ignoring insane
framerate 1/0
0:00:37.706370547 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m              myvideosrcsrc
gstmyvideosrcsrc.c:242:gst_myvideosrc_src_query:^[[00m
gst_myvideosrc_src_query
0:00:37.706726223 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m corrupted macroblock 0 0
(total_coeff=-1)
0:00:37.706766588 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m error while decoding MB 0 0
0:00:37.736563934 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m corrupted macroblock 9 0
(total_coeff=-1)
0:00:37.736606461 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m error while decoding MB 9 0
0:00:37.765058053 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m out of range intra chroma pred mode
at 2 9
0:00:37.765110576 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m error while decoding MB 2 9
0:00:37.797281548 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m negative number of zero coeffs at 12 0
0:00:37.797341912 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m error while decoding MB 12 0
0:00:37.829244713 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m corrupted macroblock 1 9
(total_coeff=-1)
0:00:37.829288393 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m error while decoding MB 1 9
0:00:37.864448447 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m out of range intra chroma pred mode
at 2 9
0:00:37.864491686 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m error while decoding MB 2 9
0:00:37.900384878 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m ref 16 overflow
0:00:37.900447009 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m error while decoding MB 4 9
0:00:37.939958936 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m negative number of zero coeffs at 2 9
0:00:37.940031450 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m error while decoding MB 2 9
0:00:37.973347348 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m negative number of zero coeffs at 0 9
0:00:37.973419371 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m error while decoding MB 0 9
0:00:38.008001535 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m corrupted macroblock 12 0
(total_coeff=-1)
0:00:38.008042523 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m error while decoding MB 12 0
0:00:38.040802795 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m left block unavailable for requested
intra4x4 mode -1 at 0 9
0:00:38.040866034 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m error while decoding MB 0 9
0:00:38.080310826 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m left block unavailable for requested
intra4x4 mode -1 at 0 9
0:00:38.080382193 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m error while decoding MB 0 9
0:00:38.118830809 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m left block unavailable for requested
intra4x4 mode -1 at 0 9
0:00:38.118903298 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m error while decoding MB 0 9
0:00:38.153365735 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m left block unavailable for requested
intra4x4 mode -1 at 0 9
0:00:38.153407340 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m error while decoding MB 0 9
0:00:38.186156546 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m left block unavailable for requested
intra4x4 mode -1 at 0 9
0:00:38.186228243 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m error while decoding MB 0 9
0:00:38.252698453 ^[[332m 4933^[[00m  0xa062550 ^[[31;01mERROR  ^[[00m
^[[00m               libav :0::^[[00m corrupted macroblock 12 0
(total_coeff=-1)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150816/8e53aa66/attachment.html>


More information about the gstreamer-devel mailing list