Opened 12 years ago

Closed 12 years ago

#651 closed defect (worksforme)

ffplay: Broken playback of H.264 RTSP streams

Reported by: Johannes Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: RTSP H.264
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

The playback of H.264 RTSP streams seems to be broken. Only the upper part of a frame is displayed and the lower part gets interpolated from the last row of correct pixels. Additionally, some pixels in the left upper corner are corrupted. This might be some buffer problem?

This is also similar to ticket #285, but which is fixed according to the latest post.

The following error messages are produced, when connecting to this stream: rtsp://dmzosx001.dpa.act.gov.au/medium

The streams works nicely with VLC, though i don't think, that the stream is corrupt.

me@map:~/testomat/bin$ ./ffplay -loglevel debug rtsp://dmzosx001.dpa.act.gov.au/medium
ffplay version N-34849-g07c7ffc, Copyright (c) 2003-2011 the FFmpeg developers

built on Nov 14 2011 11:08:28 with gcc 4.4.3
configuration: --prefix=/home/me/testomat --enable-shared --disable-static --enable-gpl --enable-version3
libavutil 51. 24. 1 / 51. 24. 1
libavcodec 53. 33. 0 / 53. 33. 0
libavformat 53. 20. 0 / 53. 20. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 48. 1 / 2. 48. 1
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0

[rtsp @ 0x804700] SDP:
v=0
o=- 2104630333 2104630333 IN IP4 127.0.0.0
s=Wirecast
c=IN IP4 0.0.0.0
t=0 0
a=x-qt-text-nam:ACT Legislative Assembly
a=x-qt-text-cpy:Copyright ACT 2010
a=x-qt-text-aut:ACT Government
a=x-qt-text-inf:http://www.parliament.act.gov.au
a=range:npt=now-
a=control:*
m=audio 0 RTP/AVP 96
a=3GPP-Adaptation-Support:1
a=rtpmap:96 mpeg4-generic/32000/2
a=fmtp:96 profile-level-id=15;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1290
a=control:trackID=1
m=video 0 RTP/AVP 97
a=3GPP-Adaptation-Support:1
a=rtpmap:97 H264/90000
a=fmtp:97 packetization-mode=1;profile-level-id=4D400D;sprop-parameter-sets=J01ADakYKD5gDUGAQa2wrXvfAQ==,KN4JiA==
a=cliprect:0,0,240,320
a=framesize:97 320-240
b=AS:256
a=control:trackID=2

[rtsp @ 0x804700] audio codec set to: aac
[rtsp @ 0x804700] audio samplerate set to: 32000
[rtsp @ 0x804700] audio channels set to: 2
[rtsp @ 0x804700] video codec set to: h264
[NULL @ 0x83c2e0] RTP Packetization Mode: 1
[NULL @ 0x83c2e0] RTP Profile IDC: 4d Profile IOP: 40 Level: d
[NULL @ 0x83c2e0] Extradata set to 0x808020 (size: 29)!hello state=0
[aac @ 0x82c000] err{or,}_recognition separate: 1; 1
[aac @ 0x82c000] err{or,}_recognition combined: 1; 1
[aac @ 0x82c000] Unsupported bit depth: 0
[rtsp @ 0x804700] UDP timeout, retrying with TCP
[rtsp @ 0x804700] hello state=0
[h264 @ 0x83c2e0] err{or,}_recognition separate: 1; 1
[h264 @ 0x83c2e0] err{or,}_recognition combined: 1; 1
[h264 @ 0x83c2e0] Frame num gap 5 2
[h264 @ 0x83c2e0] Frame num gap 5 3
[h264 @ 0x83c2e0] cbp too large (122) at 8 5
[h264 @ 0x83c2e0] error while decoding MB 8 5
[h264 @ 0x83c2e0] concealing 241 DC, 241 AC, 241 MV errors
[rtsp @ 0x804700] All info found
[rtsp @ 0x804700] Estimating duration from bitrate, this may be inaccurate
Input #0, rtsp, from 'rtsp://dmzosx001.dpa.act.gov.au/medium':

Metadata:

title : Wirecast

Duration: N/A, start: 0.000000, bitrate: N/A

Stream #0:0, 1, 1/32000: Audio: aac, 32000 Hz, stereo, s16
Stream #0:1, 22, 1/90000: Video: h264 (Main), yuv420p, 320x240, 1/180000, 25 tbr, 90k tbn, 180k tbc

[aac @ 0x82c000] err{or,}_recognition separate: 1; 1
[aac @ 0x82c000] err{or,}_recognition combined: 1; 1
[aac @ 0x82c000] Unsupported bit depth: 0
[h264 @ 0x83c2e0] err{or,}_recognition separate: 1; 1
[h264 @ 0x83c2e0] err{or,}_recognition combined: 1; 1
[h264 @ 0x83c2e0] Frame num gap 5 2
[h264 @ 0x83c2e0] Frame num gap 5 3
[h264 @ 0x83c2e0] cbp too large (122) at 8 5KB vq= 13KB sq= 0B f=0/0
[h264 @ 0x83c2e0] error while decoding MB 8 5
[h264 @ 0x83c2e0] concealing 241 DC, 241 AC, 241 MV errors
[h264 @ 0x83c2e0] Frame num gap 12 9aq= 2KB vq= 2KB sq= 0B f=0/0
[h264 @ 0x83c2e0] Frame num gap 12 10
[h264 @ 0x83c2e0] no picture
[h264 @ 0x83c2e0] Frame num gap 21 18B vq= 0KB sq= 0B f=0/0
[h264 @ 0x83c2e0] Frame num gap 21 19
[h264 @ 0x83c2e0] concealing 300 DC, 300 AC, 300 MV errorsB f=0/0
[h264 @ 0x83c2e0] left block unavailable for requested intra mode at 0 6
[h264 @ 0x83c2e0] error while decoding MB 0 6
[h264 @ 0x83c2e0] concealing 229 DC, 229 AC, 229 MV errors
[h264 @ 0x83c2e0] concealing 237 DC, 237 AC, 237 MV errorsB f=0/0
[h264 @ 0x83c2e0] cbp too large (122) at 8 5 0KB sq= 0B f=0/0
[h264 @ 0x83c2e0] error while decoding MB 8 5
[h264 @ 0x83c2e0] concealing 241 DC, 241 AC, 241 MV errors
[h264 @ 0x83c2e0] negative number of zero coeffs at 8 5 0B f=0/0
[h264 @ 0x83c2e0] error while decoding MB 8 5
[h264 @ 0x83c2e0] concealing 241 DC, 241 AC, 241 MV errors
[h264 @ 0x83c2e0] Frame num gap 3 10KB vq= 0KB sq= 0B f=0/0
[h264 @ 0x83c2e0] negative number of zero coeffs at 12 5 0B f=0/0
[h264 @ 0x83c2e0] error while decoding MB 12 5
[h264 @ 0x83c2e0] concealing 237 DC, 237 AC, 237 MV errors
[h264 @ 0x83c2e0] Frame num gap 3 10KB vq= 0KB sq= 0B f=0/0
[h264 @ 0x83c2e0] concealing 237 DC, 237 AC, 237 MV errorsB f=0/0
[h264 @ 0x83c2e0] cbp too large (122) at 8 5 0KB sq= 0B f=0/0
[h264 @ 0x83c2e0] error while decoding MB 8 5
[h264 @ 0x83c2e0] concealing 241 DC, 241 AC, 241 MV errors
[h264 @ 0x83c2e0] negative number of zero coeffs at 8 5 0B f=0/0
[h264 @ 0x83c2e0] error while decoding MB 8 5
[h264 @ 0x83c2e0] concealing 241 DC, 241 AC, 241 MV errors
[h264 @ 0x83c2e0] mb_type 30 in I slice too large at 15 50B f=0/0
[h264 @ 0x83c2e0] error while decoding MB 15 5
[h264 @ 0x83c2e0] concealing 234 DC, 234 AC, 234 MV errors
[h264 @ 0x83c2e0] concealing 237 DC, 237 AC, 237 MV errorsB f=0/0
[h264 @ 0x83c2e0] cbp too large (122) at 8 5 0KB sq= 0B f=0/0
[h264 @ 0x83c2e0] error while decoding MB 8 5
[h264 @ 0x83c2e0] concealing 241 DC, 241 AC, 241 MV errors
[h264 @ 0x83c2e0] Frame num gap 3 10KB vq= 0KB sq= 0B f=0/0
[h264 @ 0x83c2e0] negative number of zero coeffs at 8 5 0B f=0/0
[h264 @ 0x83c2e0] error while decoding MB 8 5
[h264 @ 0x83c2e0] concealing 241 DC, 241 AC, 241 MV errors
[h264 @ 0x83c2e0] Frame num gap 3 10KB vq= 0KB sq= 0B f=0/0
[h264 @ 0x83c2e0] concealing 237 DC, 237 AC, 237 MV errorsB f=0/0
[h264 @ 0x83c2e0] negative number of zero coeffs at 12 5 0B f=0/0
[h264 @ 0x83c2e0] error while decoding MB 12 5
[h264 @ 0x83c2e0] concealing 237 DC, 237 AC, 237 MV errors
[h264 @ 0x83c2e0] Frame num gap 3 10KB vq= 0KB sq= 0B f=0/0
[h264 @ 0x83c2e0] cbp too large (122) at 8 5 0KB sq= 0B f=0/0
[h264 @ 0x83c2e0] error while decoding MB 8 5
[h264 @ 0x83c2e0] concealing 241 DC, 241 AC, 241 MV errors
[h264 @ 0x83c2e0] negative number of zero coeffs at 8 5 0B f=0/0
[h264 @ 0x83c2e0] error while decoding MB 8 5
[h264 @ 0x83c2e0] concealing 241 DC, 241 AC, 241 MV errors
[h264 @ 0x83c2e0] Frame num gap 3 10KB vq= 0KB sq= 0B f=0/0
[h264 @ 0x83c2e0] negative number of zero coeffs at 12 5 0B f=0/0
[h264 @ 0x83c2e0] error while decoding MB 12 5
[h264 @ 0x83c2e0] concealing 237 DC, 237 AC, 237 MV errors
[h264 @ 0x83c2e0] Frame num gap 3 10KB vq= 0KB sq= 0B f=0/0
[h264 @ 0x83c2e0] concealing 237 DC, 237 AC, 237 MV errorsB f=0/0
[h264 @ 0x83c2e0] cbp too large (122) at 8 5 0KB sq= 0B f=0/0
[h264 @ 0x83c2e0] error while decoding MB 8 5
[h264 @ 0x83c2e0] concealing 241 DC, 241 AC, 241 MV errors
[h264 @ 0x83c2e0] negative number of zero coeffs at 8 5 0B f=0/0
[h264 @ 0x83c2e0] error while decoding MB 8 5
[h264 @ 0x83c2e0] concealing 241 DC, 241 AC, 241 MV errors
[h264 @ 0x83c2e0] Frame num gap 3 10KB vq= 0KB sq= 0B f=0/0
[h264 @ 0x83c2e0] Invalid level prefix vq= 0KB sq= 0B f=0/0
[h264 @ 0x83c2e0] error while decoding MB 2 6
[h264 @ 0x83c2e0] concealing 227 DC, 227 AC, 227 MV errors
[h264 @ 0x83c2e0] concealing 237 DC, 237 AC, 237 MV errorsB f=0/0
[h264 @ 0x83c2e0] cbp too large (122) at 8 5 0KB sq= 0B f=0/0
[h264 @ 0x83c2e0] error while decoding MB 8 5
[h264 @ 0x83c2e0] concealing 241 DC, 241 AC, 241 MV errors
[h264 @ 0x83c2e0] Frame num gap 3 10KB vq= 0KB sq= 0B f=0/0
[h264 @ 0x83c2e0] negative number of zero coeffs at 8 5 0B f=0/0
[h264 @ 0x83c2e0] error while decoding MB 8 5
[h264 @ 0x83c2e0] concealing 241 DC, 241 AC, 241 MV errors
[h264 @ 0x83c2e0] Frame num gap 3 10KB vq= 0KB sq= 0B f=0/0
[h264 @ 0x83c2e0] cbp too large (1005) at 12 50KB sq= 0B f=0/0
[h264 @ 0x83c2e0] error while decoding MB 12 5
[h264 @ 0x83c2e0] concealing 237 DC, 237 AC, 237 MV errors
...

Change History (2)

comment:1 by Carl Eugen Hoyos, 12 years ago

The stream is not very exciting atm, but works fine for me.

comment:2 by Carl Eugen Hoyos, 12 years ago

Component: FFplayundetermined
Resolution: worksforme
Status: newclosed

The stream still plays fine for me.

Note: See TracTickets for help on using tickets.