[gst-devel] mpegtsmux doesn't work properly at high bitrate
Yuvraj Pasi
yuvraj.pasi at nextbitcpu.com
Wed Oct 20 14:35:20 CEST 2010
Hi guys,
I have been using gstreamer for some time now & found it to be a great tool.
My issue is when I am muxiing the H264 data using mpegtsmux it gives
corrupted
TS data.
i am pushing h264 encoded frames using appsrc plugin. Although it works fine
at
lower bitrate like 300-400 kbps. it gives corruted data stream at 2-3Mbps.
appsrc->queue->mpegtsmux->filesink
the same pipeline creates proper file at low bitrate.
when i run this file with vlc or ffplay they report error as follow.
vlc-
mb_type -6 in P slice too large at 2 33
error while decoding MB 2 33
mb_type 106 in P slice too large at 5 4
error while decoding MB 5 4
P sub_mb_type 12 out of range at 2 6
error while decoding MB 2 6
negative number of zero coeffs at 41 17
error while decoding MB 41 17
dquant out of range (-29) at 18 13
error while decoding MB 18 13
P sub_mb_type 4 out of range at 24 9
error while decoding MB 24 9
dquant out of range (-27) at 9 5
error while decoding MB 9 5
dquant out of range (27) at 4 2
error while decoding MB 4 2
libdvbpsi debug (PAT decoder): Table version 0, i_extension 1,
section 0 up to 0, current 1
libdvbpsi debug (PMT decoder): Table version P sub_mb_type 21 out of range
at 14 32
error while decoding MB 14 32
cbp too large (53) at 40 31
error while decoding MB 40 31
mb_type 36 in P slice too large at 7 28
error while decoding MB 7 28
mb_type 48 in P slice too large at 16 16
error while decoding MB 16 16
libdvbpsi debug (PAT decoder): Table version 0, i_extension 1,
section 0 up to 0, current 1
libdvbpsi debug (PMT decoder): Table version 0, i_extension 1,
section 0 up to 0, current 1
P sub_mb_type 32 out of range at 34 32
error while decoding MB 34 32
cbp too large (58) at 5 20
error while decoding MB 5 20
libdvbpsi debug (PAT decoder): Table version 0, i_extension 1,
section 0 up to 0, current 1
libdvbpsi debug (PMT decoder): Table version 0, i_extension 1,
section 0 up to 0, current 1
cbp too large (62) at 1 33
error while decoding MB 1 33
P sub_mb_type 5 out of range at 1 28
error while decoding MB 1 28
mb_type 33 in P slice too large at 11 22
error while decoding MB 11 22
libdvbpsi debug (PAT decoder): Table version 0, i_extension 1,
section 0 up to 0, current 1
libdvbpsi debug (PMT decoder): Table version 0, i_extension 1,
section 0 up to 0, current 1
out of range intra chroma pred mode at 1 7
error while decoding MB 1 7
negative number of zero coeffs at 39 8
error while decoding MB 39 8
mb_type 395 in P slice too large at 2 13
error while decoding MB 2 13
libdvbpsi debug (PAT decoder): Table version 0, i_extension 1,
section 0 up to 0, current 1
libdvbpsi debug (PMT decoder): Table version 0, i_extension 1,
section 0 up to 0, current 1
negative number of zero coeffs at 40 5
error while decoding MB 40 5
negative number of zero coeffs at 15 3
0, i_extension 1, section 0 up to 0, current 1
number of reference frames exceeds max (probably corrupt input), discarding
one
P sub_mb_type 21 out of range at 14 32
error while decoding MB 14 32
ffplay
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg
--incdir=/usr/include/ffmpeg --libdir=/usr/lib --mandir=/usr/share/man
--arch=i586 --extra-cflags=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586
-mtune=generic -fasynchronous-unwind-tables --extra-version=rpmfusion
--enable-bzlib --enable-libdc1394 --enable-libdirac --enable-libfaad
--enable-libgsm --enable-libmp3lame --enable-libopenjpeg
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-libx264 --enable-libxvid --enable-vdpau
--enable-x11grab --enable-avfilter --enable-avfilter-lavf --enable-postproc
--enable-swscale --enable-pthreads --disable-static --enable-shared
--enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib
--cpu=i586 --enable-runtime-cpudetect
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 1 / 52.20. 1
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on May 7 2010 13:32:40, gcc: 4.4.1 20090725 (Red Hat 4.4.1-2)
[h264 @ 0xb1f01310]out of range intra chroma pred mode at 38 5
[h264 @ 0xb1f01310]error while decoding MB 38 5
[h264 @ 0xb1f01310]concealing 1406 DC, 1406 AC, 1406 MV errors
[h264 @ 0xb1f01310]missing picture in access unit
[h264 @ 0xb1f01310]out of range intra chroma pred mode at 38 5
[h264 @ 0xb1f01310]error while decoding MB 38 5
[h264 @ 0xb1f01310]concealing 1406 DC, 1406 AC, 1406 MV errors
[h264 @ 0xb1f01310]number of reference frames exceeds max (probably corrupt
input), discarding one
Last message repeated 1 times
[h264 @ 0xb1f01310]mb_type -6 in P slice too large at 2 33
[h264 @ 0xb1f01310]error while decoding MB 2 33
[h264 @ 0xb1f01310]concealing 182 DC, 182 AC, 182 MV errors
[h264 @ 0xb1f01310]mb_type 106 in P slice too large at 5 4
[h264 @ 0xb1f01310]error while decoding MB 5 4
[h264 @ 0xb1f01310]concealing 1484 DC, 1484 AC, 1484 MV errors
[mpegts @ 0xb1f09f70]invalid dts/pts combination
[h264 @ 0xb1f01310]P sub_mb_type 12 out of range at 2 6
[h264 @ 0xb1f01310]error while decoding MB 2 6
[h264 @ 0xb1f01310]concealing 1397 DC, 1397 AC, 1397 MV errors
[mpegts @ 0xb1f09f70]invalid dts/pts combination
[h264 @ 0xb1f01310]negative number of zero coeffs at 41 17
[h264 @ 0xb1f01310]error while decoding MB 41 17
[h264 @ 0xb1f01310]concealing 863 DC, 863 AC, 863 MV errors
[mpegts @ 0xb1f09f70]invalid dts/pts combination
[h264 @ 0xb1f01310]dquant out of range (-29) at 18 13
[h264 @ 0xb1f01310]error while decoding MB 18 13
[h264 @ 0xb1f01310]concealing 1066 DC, 1066 AC, 1066 MV errors
[mpegts @ 0xb1f09f70]invalid dts/pts combination
[h264 @ 0xb1f01310]P sub_mb_type 4 out of range at 24 9
[h264 @ 0xb1f01310]error while decoding MB 24 9
[mpegts @ 0xb1f09f70]invalid dts/pts combination
[h264 @ 0xb1f01310]concealing 1240 DC, 1240 AC, 1240 MV errors
[mpegts @ 0xb1f09f70]invalid dts/pts combination
[h264 @ 0xb1f01310]dquant out of range (-27) at 9 5
[h264 @ 0xb1f01310]error while decoding MB 9 5
[h264 @ 0xb1f01310]concealing 1435 DC, 1435 AC, 1435 MV errors
[h264 @ 0xb1f01310]dquant out of range (27) at 4 2
[h264 @ 0xb1f01310]error while decoding MB 4 2
[mpegts @ 0xb1f09f70]invalid dts/pts combination
[h264 @ 0xb1f01310]concealing 1575 DC, 1575 AC, 1575 MV errors
[h264 @ 0xb1f01310]number of reference frames exceeds max (probably corrupt
input), discarding one
[mpegts @ 0xb1f09f70]invalid dts/pts combination
[h264 @ 0xb1f01310]P sub_mb_type 21 out of range at 14 32
[h264 @ 0xb1f01310]error while decoding MB 14 32
[h264 @ 0xb1f01310]concealing 215 DC, 215 AC, 215 MV errors
[h264 @ 0xb1f01310]cbp too large (53) at 40 31
[h264 @ 0xb1f01310]error while decoding MB 40 31
[h264 @ 0xb1f01310]concealing 234 DC, 234 AC, 234 MV errors
[h264 @ 0xb1f01310]mb_type 36 in P slice too large at 7 28
[h264 @ 0xb1f01310]error while decoding MB 7 28
[h264 @ 0xb1f01310]concealing 402 DC, 402 AC, 402 MV errors
[mpegts @ 0xb1f09f70]invalid dts/pts combination
[h264 @ 0xb1f01310]mb_type 48 in P slice too large at 16 16
[h264 @ 0xb1f01310]error while decoding MB 16 16
[h264 @ 0xb1f01310]concealing 933 DC, 933 AC, 933 MV errors
[mpegts @ 0xb1f09f70]invalid dts/pts combination
[h264 @ 0xb1f01310]P sub_mb_type 32 out of range at 34 32
[h264 @ 0xb1f01310]error while decoding MB 34 32
[h264 @ 0xb1f01310]concealing 195 DC, 195 AC, 195 MV errors
[h264 @ 0xb1f01310]cbp too large (58) at 5 20
[h264 @ 0xb1f01310]error while decoding MB 5 20
[h264 @ 0xb1f01310]concealing 764 DC, 764 AC, 764 MV errors
[mpegts @ 0xb1f09f70]invalid dts/pts combination
Last message repeated 1 times
[h264 @ 0xb1f01310]cbp too large (62) at 1 33
[h264 @ 0xb1f01310]error while decoding MB 1 33
[h264 @ 0xb1f01310]concealing 183 DC, 183 AC, 183 MV errors
[h264 @ 0xb1f01310]P sub_mb_type 5 out of range at 1 28
[h264 @ 0xb1f01310]error while decoding MB 1 28
[h264 @ 0xb1f01310]concealing 408 DC, 408 AC, 408 MV errors
[mpegts @ 0xb1f09f70]invalid dts/pts combination
Any ideas what the problem is or what possibly I may be doing wrong??
--
Thanks & regards
yuvraj pasi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20101020/49c6b1b1/attachment.htm>
More information about the gstreamer-devel
mailing list