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

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


On Mon, 29 Oct 2012 23:42:02 +0000 (UTC)
Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> (I had unsuccessfully tried to guess the revision 
> that broke it, we will probably have to go 
> through ~7 more steps to find it by bisecting.)

	No problem ;)

> Next is 35ce42e

	This one doesn't work:

ffplay started on 2012-10-29 at 22:57:59
Report written to "ffplay-20121029-225759.log"
Command line:
/usr/local/bin/ffplay -report rtsp://guest:guest@192.168.1.98:554/11
ffplay version N-45910-g35ce42e Copyright (c) 2003-2012 the FFmpeg developers
  built on Oct 29 2012 22:52:55 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      52.  0.100 / 52.  0.100
  libavcodec     54. 68.100 / 54. 68.100
  libavformat    54. 34.100 / 54. 34.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 20.104 /  3. 20.104
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[rtsp @ 0x7f11a0000920] 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 @ 0x7f11a0000920] video codec set to: h264
[NULL @ 0x7f11a0008d20] RTP Packetization Mode: 1
[NULL @ 0x7f11a0008d20] RTP Profile IDC: 4d Profile IOP: 40 Level: c
[NULL @ 0x7f11a0008d20] Extradata set to 0x7f11a0009260 (size: 22)!
[rtsp @ 0x7f11a0000920] hello state=0
[rtsp @ 0x7f11a0000920] Too short data for FU-A H264 RTP packet
[rtsp @ 0x7f11a0000920] Too short data for FU-A H264 RTP packet
[rtsp @ 0x7f11a0000920] Too short data for FU-A H264 RTP packet
[h264 @ 0x7f11a0008d20] Current profile doesn't provide more RBSP data in PPS, skipping
[h264 @ 0x7f11a0008d20] Using externally provided dimensions
[rtsp @ 0x7f11a0000920] All info found
rfps: 14.666667 0.016332
rfps: 14.750000 0.009170
rfps: 14.750000 0.009170
rfps: 14.833333 0.004061
rfps: 14.833333 0.004061
rfps: 14.916667 0.001004
rfps: 14.916667 0.001004
rfps: 15.000000 0.000000
rfps: 15.000000 0.000000
rfps: 15.083333 0.001049
rfps: 15.083333 0.001049
rfps: 15.166667 0.004151
rfps: 15.250000 0.009305
rfps: 15.250000 0.009305
rfps: 15.333333 0.016512
rfps: 29.666667 0.016242
rfps: 29.750000 0.009103
rfps: 29.750000 0.009103
rfps: 29.833333 0.004016
rfps: 29.833333 0.004016
rfps: 29.916667 0.000982
rfps: 29.916667 0.000982
rfps: 30.000000 0.000001
rfps: 30.000000 0.000001
rfps: 30.083333 0.001072
rfps: 30.083333 0.001072
rfps: 30.166667 0.004196
rfps: 30.166667 0.004196
rfps: 30.250000 0.009373
rfps: 30.250000 0.009373
rfps: 30.333333 0.016602
rfps: 44.666667 0.016153
rfps: 44.750000 0.009036
rfps: 44.750000 0.009036
rfps: 44.833333 0.003972
rfps: 44.833333 0.003972
rfps: 44.916667 0.000960
rfps: 44.916667 0.000960
rfps: 45.000000 0.000001
rfps: 45.000000 0.000001
rfps: 45.083333 0.001095
rfps: 45.083333 0.001095
rfps: 45.166667 0.004242
rfps: 45.166667 0.004242
rfps: 45.250000 0.009441
rfps: 45.250000 0.009441
rfps: 45.333333 0.016693
rfps: 59.666667 0.016064
rfps: 59.750000 0.008969
rfps: 59.750000 0.008969
rfps: 59.833333 0.003927
rfps: 59.833333 0.003927
rfps: 59.916667 0.000938
rfps: 59.916667 0.000938
rfps: 60.000000 0.000002
rfps: 60.000000 0.000002
rfps: 29.970030 0.000117
rfps: 29.970030 0.000117
rfps: 59.940060 0.000468
rfps: 59.940060 0.000468
rfps: 14.985015 0.000029
rfps: 14.985015 0.000029
[rtsp @ 0x7f11a0000920] 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.066678, bitrate: N/A
    Stream #0:0, 28, 1/90000: Video: h264 (Constrained Baseline), yuv420p, 1280x720, 15 tbr, 90k tbn, 180k tbc
[h264 @ 0x7f11a0008d20] detected 8 logical cores
[h264 @ 0x7f11a0184ae0] Using externally provided dimensions
Frame changed from size:0x0 to size:1280x720
[buffer @ 0x7f11989e3480] Setting entry with key 'video_size' to value '1280x720'
[buffer @ 0x7f11989e3480] Setting entry with key 'pix_fmt' to value '0'
[buffer @ 0x7f11989e3480] Setting entry with key 'time_base' to value '1/90000'
[buffer @ 0x7f11989e3480] Setting entry with key 'pixel_aspect' to value '0/1'
[ffplay_buffer @ 0x7f11989e3400] w:1280 h:720 pixfmt:yuv420p tb:1/90000 fr:0/1 sar:0/1 sws_param:
[ffplay_crop @ 0x7f11989e36e0] w:1280 h:720 sar:0/1 -> w:1280 h:720 sar:0/1
[rtsp @ 0x7f11a0000920] Too short data for FU-A H264 RTP packet
[rtsp @ 0x7f11a0000920] Too short data for FU-A H264 RTP packet
[rtsp @ 0x7f11a0000920] Too short data for FU-A H264 RTP packet
[h264 @ 0x7f11a0008d20] Current profile doesn't provide more RBSP data in PPS, skipping
[rtsp @ 0x7f11a0000920] Too short data for FU-A H264 RTP packet
[rtsp @ 0x7f11a0000920] Too short data for FU-A H264 RTP packet
[rtsp @ 0x7f11a0000920] Too short data for FU-A H264 RTP packet
[h264 @ 0x7f11a0008d20] Current profile doesn't provide more RBSP data in PPS, skipping
[rtsp @ 0x7f11a0000920] Too short data for FU-A H264 RTP packet
[rtsp @ 0x7f11a0000920] Too short data for FU-A H264 RTP packet
[rtsp @ 0x7f11a0000920] Too short data for FU-A H264 RTP packet
[rtsp @ 0x7f11a0000920] Too short data for FU-A H264 RTP packet
[h264 @ 0x7f11a0008d20] 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