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

Dâniel Fraga fragabr at gmail.com
Mon Oct 29 08:28:38 CET 2012


On Sun, 28 Oct 2012 01:39:51 +0000 (UTC)
Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Could you test 81ff0c2 ?
> (I unfortunately cannot test, we will need a few iterations.)

	Of course! It's a pleasure to help ;)

	It works perfectly with 81ff0c2. Here's the output:

ffplay started on 2012-10-29 at 05:25:00
Report written to "ffplay-20121029-052500.log"
Command line:
/usr/local/bin/ffplay -report rtsp://guest:guest@192.168.1.98:554/11
ffplay version N-45716-g81ff0c2 Copyright (c) 2003-2012 the FFmpeg developers
  built on Oct 29 2012 05:24:04 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.100 / 51. 76.100
  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 @ 0x7f6cd0000920] 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 @ 0x7f6cd0000920] video codec set to: h264
[NULL @ 0x7f6cd0008d20] RTP Packetization Mode: 1
[NULL @ 0x7f6cd0008d20] RTP Profile IDC: 4d Profile IOP: 40 Level: c
[NULL @ 0x7f6cd0008d20] Extradata set to 0x7f6cd0009280 (size: 22)!
[rtsp @ 0x7f6cd0000920] hello state=0
[rtsp @ 0x7f6cd0000920] Too short data for FU-A H264 RTP packet
[rtsp @ 0x7f6cd0000920] Too short data for FU-A H264 RTP packet
[rtsp @ 0x7f6cd0000920] Too short data for FU-A H264 RTP packet
[h264 @ 0x7f6cd0008d20] Current profile doesn't provide more RBSP data in PPS, skipping
[h264 @ 0x7f6cd0008d20] Using externally provided dimensions
[rtsp @ 0x7f6cd0000920] 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.001075
rfps: 30.083333 0.001075
rfps: 30.166667 0.004203
rfps: 30.166667 0.004203
rfps: 30.250000 0.009383
rfps: 30.250000 0.009383
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.001100
rfps: 45.083333 0.001100
rfps: 45.166667 0.004252
rfps: 45.166667 0.004252
rfps: 45.250000 0.009457
rfps: 45.250000 0.009457
rfps: 45.333333 0.016714
rfps: 59.666667 0.016036
rfps: 59.750000 0.008949
rfps: 59.750000 0.008949
rfps: 59.833333 0.003914
rfps: 59.833333 0.003914
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.000464
rfps: 59.940060 0.000464
rfps: 14.985015 0.000029
rfps: 14.985015 0.000029
[rtsp @ 0x7f6cd0000920] 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 @ 0x7f6cd0008d20] detected 8 logical cores
[h264 @ 0x7f6cd04adfa0] Using externally provided dimensions
Frame changed from size:0x0 to size:1280x720
[buffer @ 0x7f6cc89e7f60] Setting entry with key 'video_size' to value '1280x720'
[buffer @ 0x7f6cc89e7f60] Setting entry with key 'pix_fmt' to value '0'
[buffer @ 0x7f6cc89e7f60] Setting entry with key 'time_base' to value '1/90000'
[buffer @ 0x7f6cc89e7f60] Setting entry with key 'pixel_aspect' to value '0/1'
[ffplay_buffer @ 0x7f6cc89e7f00] w:1280 h:720 pixfmt:yuv420p tb:1/90000 fr:0/1 sar:0/1 sws_param:
[ffplay_crop @ 0x7f6cc89e8e00] w:1280 h:720 sar:0/1 -> w:1280 h:720 sar:0/1
[rtsp @ 0x7f6cd0000920] Too short data for FU-A H264 RTP packet
[rtsp @ 0x7f6cd0000920] Too short data for FU-A H264 RTP packet
[rtsp @ 0x7f6cd0000920] Too short data for FU-A H264 RTP packet
[h264 @ 0x7f6cd0008d20] Current profile doesn't provide more RBSP data in PPS, skipping
[rtsp @ 0x7f6cd0000920] Too short data for FU-A H264 RTP packet
[rtsp @ 0x7f6cd0000920] Too short data for FU-A H264 RTP packet
[rtsp @ 0x7f6cd0000920] Too short data for FU-A H264 RTP packet
[h264 @ 0x7f6cd0008d20] Current profile doesn't provide more RBSP data in PPS, skipping
[rtsp @ 0x7f6cd0000920] Too short data for FU-A H264 RTP packet
[rtsp @ 0x7f6cd0000920] Too short data for FU-A H264 RTP packet
[rtsp @ 0x7f6cd0000920] Too short data for FU-A H264 RTP packet
[h264 @ 0x7f6cd0008d20] Current profile doesn't provide more RBSP data
in PPS, skipping

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




More information about the ffmpeg-user mailing list