[FFmpeg-user] ffplay: RTSP stream from IP camera shows just static image

Dâniel Fraga fragabr at gmail.com
Tue Oct 30 00:08:43 CET 2012


	Re: ffplay: RTSP stream from IP camera shows just static image

> Then please test 04c6ecb.

	It also works:

ffplay started on 2012-10-29 at 21:07:09
Report written to "ffplay-20121029-210709.log"
Command line:
/usr/local/bin/ffplay -report rtsp://guest:guest@192.168.1.98:554/11
ffplay version N-45756-g04c6ecb Copyright (c) 2003-2012 the FFmpeg developers
  built on Oct 29 2012 21:06:27 with gcc 4.7.2 (GCC)
  configuration: --enable-shared --extra-ldflags=-L/usr/local/lib64 --enable-gpl --enable-postproc --enable-x11grab --enable-libvpx --enable-libx264 --enable-libvorbis --enable-nonfree --enable-libfaac --enable-libmp3lame --enable-libbluray
  libavutil      51. 76.101 / 51. 76.101
  libavcodec     54. 67.100 / 54. 67.100
  libavformat    54. 33.100 / 54. 33.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 19.103 /  3. 19.103
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[rtsp @ 0x7f17d4000920] SDP:
v=0
o=StreamingServer 3331435948 1116907222000 IN IP4 192.168.1.98
s=\11
c=IN IP4 0.0.0.0
b=AS:4104
t=0 0
a=range:npt=now-
a=control:*
m=video 0 RTP/AVP 96
b=AS:4096
a=control:trackID=0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4D400C;sprop-parameter-sets=Z0LgH9oBQBbE,aM4wpIA=
a=framesize:96 1280-720

[rtsp @ 0x7f17d4000920] video codec set to: h264
[NULL @ 0x7f17d4008d20] RTP Packetization Mode: 1
[NULL @ 0x7f17d4008d20] RTP Profile IDC: 4d Profile IOP: 40 Level: c
[NULL @ 0x7f17d4008d20] Extradata set to 0x7f17d4009280 (size: 22)!
[rtsp @ 0x7f17d4000920] hello state=0
[rtsp @ 0x7f17d4000920] Too short data for FU-A H264 RTP packet
[rtsp @ 0x7f17d4000920] Too short data for FU-A H264 RTP packet
[rtsp @ 0x7f17d4000920] Too short data for FU-A H264 RTP packet
[h264 @ 0x7f17d4008d20] Current profile doesn't provide more RBSP data in PPS, skipping
[h264 @ 0x7f17d4008d20] Using externally provided dimensions
[rtsp @ 0x7f17d4000920] All info found
rfps: 14.666667 0.016325
rfps: 14.750000 0.009165
rfps: 14.750000 0.009165
rfps: 14.833333 0.004057
rfps: 14.833333 0.004057
rfps: 14.916667 0.001002
rfps: 14.916667 0.001002
rfps: 15.000000 0.000000
rfps: 15.000000 0.000000
rfps: 15.083333 0.001051
rfps: 15.083333 0.001051
rfps: 15.166667 0.004154
rfps: 15.250000 0.009310
rfps: 15.250000 0.009310
rfps: 15.333333 0.016519
rfps: 29.666667 0.016228
rfps: 29.750000 0.009092
rfps: 29.750000 0.009092
rfps: 29.833333 0.004009
rfps: 29.833333 0.004009
rfps: 29.916667 0.000978
rfps: 29.916667 0.000978
rfps: 30.000000 0.000001
rfps: 30.000000 0.000001
rfps: 30.083333 0.001076
rfps: 30.083333 0.001076
rfps: 30.166667 0.004203
rfps: 30.166667 0.004203
rfps: 30.250000 0.009384
rfps: 30.250000 0.009384
rfps: 30.333333 0.016617
rfps: 44.666667 0.016132
rfps: 44.750000 0.009020
rfps: 44.750000 0.009020
rfps: 44.833333 0.003961
rfps: 44.833333 0.003961
rfps: 44.916667 0.000955
rfps: 44.916667 0.000955
rfps: 45.000000 0.000001
rfps: 45.000000 0.000001
rfps: 45.083333 0.001101
rfps: 45.083333 0.001101
rfps: 45.166667 0.004253
rfps: 45.166667 0.004253
rfps: 45.250000 0.009457
rfps: 45.250000 0.009457
rfps: 45.333333 0.016715
rfps: 59.666667 0.016035
rfps: 59.750000 0.008948
rfps: 59.750000 0.008948
rfps: 59.833333 0.003913
rfps: 59.833333 0.003913
rfps: 59.916667 0.000932
rfps: 59.916667 0.000932
rfps: 60.000000 0.000002
rfps: 60.000000 0.000002
rfps: 29.970030 0.000116
rfps: 29.970030 0.000116
rfps: 59.940060 0.000463
rfps: 59.940060 0.000463
rfps: 14.985015 0.000029
rfps: 14.985015 0.000029
[rtsp @ 0x7f17d4000920] Estimating duration from bitrate, this may be inaccurate
Input #0, rtsp, from 'rtsp://guest:guest@192.168.1.98:554/11':
  Metadata:
    title           : \11
  Duration: N/A, start: 0.066667, bitrate: N/A
    Stream #0:0, 28, 1/90000: Video: h264 (Constrained Baseline), yuv420p, 1280x720, 15 tbr, 90k tbn, 180k tbc
[h264 @ 0x7f17d4008d20] detected 8 logical cores
[h264 @ 0x7f17d44d0860] Using externally provided dimensions
Frame changed from size:0x0 to size:1280x720
[buffer @ 0x7f17cc9e67a0] Setting entry with key 'video_size' to value '1280x720'
[buffer @ 0x7f17cc9e67a0] Setting entry with key 'pix_fmt' to value '0'
[buffer @ 0x7f17cc9e67a0] Setting entry with key 'time_base' to value '1/90000'
[buffer @ 0x7f17cc9e67a0] Setting entry with key 'pixel_aspect' to value '0/1'
[ffplay_buffer @ 0x7f17cc9e6720] w:1280 h:720 pixfmt:yuv420p tb:1/90000 fr:0/1 sar:0/1 sws_param:
[ffplay_crop @ 0x7f17cc9e6a00] w:1280 h:720 sar:0/1 -> w:1280 h:720 sar:0/1
[h264 @ 0x7f17d4008d20] RTP: missed 1 packets
[h264 @ 0x7f17d4004280] P sub_mb_type 12 out of range at 11 41
[h264 @ 0x7f17d4004280] error while decoding MB 11 41
[h264 @ 0x7f17d4004280] concealing 358 DC, 358 AC, 358 MV errors in P frame
[rtsp @ 0x7f17d4000920] Too short data for FU-A H264 RTP packet
[rtsp @ 0x7f17d4000920] Too short data for FU-A H264 RTP packet
[rtsp @ 0x7f17d4000920] Too short data for FU-A H264 RTP packet
[h264 @ 0x7f17d4008d20] Current profile doesn't provide more RBSP data in PPS, skipping
[h264 @ 0x7f17d4008d20] RTP: missed 1 packets
[h264 @ 0x7f17d40031e0] mb_type 404 in P slice too large at 17 37
[h264 @ 0x7f17d40031e0] error while decoding MB 17 37
[h264 @ 0x7f17d40031e0] concealing 672 DC, 672 AC, 672 MV errors in P
frame


-- 
Linux 3.6.0: Terrified Chipmunk
http://www.youtube.com/DanielFragaBR




More information about the ffmpeg-user mailing list