[FFmpeg-devel] Hi, I have some problems on ffplay display the rtsp h264 stream, the output is in the mail

Wei Gao highgod0401 at gmail.com
Mon May 13 05:14:39 CEST 2013


2013/5/13 Wei Gao <highgod0401 at gmail.com>

> It seems that the rtsp lose packet, but I test in lan, should not lose
> packet, I also tested on my computer(server and ffplay on the same PC),
> also has the problem
>
> ffplay version 1.2.1 Copyright (c) 2003-2013 the FFmpeg developers
>   built on May 13 2013 10:13:02 with gcc 4.6.2 (GCC)
>   configuration: --enable-static --enable-shared
>   libavutil      52. 18.100 / 52. 18.100
>   libavcodec     54. 92.100 / 54. 92.100
>   libavformat    54. 63.104 / 54. 63.104
>   libavdevice    54.  3.103 / 54.  3.103
>   libavfilter     3. 42.103 /  3. 42.103
>   libswscale      2.  2.100 /  2.  2.100
>   libswresample   0. 17.102 /  0. 17.102
>
> I enable the pthrads to test again, but the result is still not correct.
the log is as follows:

ffplay version 1.2.1 Copyright (c) 2003-2013 the FFmpeg developers
  built on May 13 2013 11:12:27 with gcc 4.6.2 (GCC)
  configuration: --enable-static --enable-shared
  WARNING: library configuration mismatch
  avutil      configuration: --enable-static --enable-shared
--enable-pthreads
  avcodec     configuration: --enable-static --enable-shared
--enable-pthreads
  avformat    configuration: --enable-static --enable-shared
--enable-pthreads
  avdevice    configuration: --enable-static --enable-shared
--enable-pthreads
  avfilter    configuration: --enable-static --enable-shared
--enable-pthreads
  swscale     configuration: --enable-static --enable-shared
--enable-pthreads
  swresample  configuration: --enable-static --enable-shared
--enable-pthreads
  libavutil      52. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
[rtsp @ 00ab07e0] SDP:=   0 aq=    0KB vq=    0KB sq=    0B f=0/0
v=0
o=- 1368406375822985 1 IN IP4 192.168.0.48
s=H.264 Video, streamed by the LIVE555 Media Server
i=out.264
t=0 0
a=tool:LIVE555 Streaming Media v2012.08.20
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:H.264 Video, streamed by the LIVE555 Media Server
a=x-qt-text-inf:out.264
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:500
a=rtpmap:96 H264/90000
a=fmtp:96
packetization-mode=1;profile-level-id=640028;sprop-parameter-sets=Z2QAKKy0A8ARPy4CIAAAfSAAF3AB4wZU,aO8PLIs=
a=control:track1

[rtsp @ 00ab07e0] video codec set to: h264
[NULL @ 00ab3020] RTP Packetization Mode: 1
[NULL @ 00ab3020] RTP Profile IDC: 64 Profile IOP: 0 Level: 28
[NULL @ 00ab3020] Extradata set to 00ab3540 (size: 37)!
[rtsp @ 00ab07e0] hello state=0
[rtsp @ 00ab07e0] All info found   0KB vq=    0KB sq=    0B f=0/0
rfps: 23.416667 0.018108
rfps: 23.500000 0.013116
rfps: 23.583333 0.008927
    Last message repeated 1 times
rfps: 23.666667 0.005542
    Last message repeated 1 times  0KB vq=    0KB sq=    0B f=0/0
rfps: 23.750000 0.002959
    Last message repeated 1 times
rfps: 23.833333 0.001181
    Last message repeated 1 times
rfps: 23.916667 0.000205  0 aq=    0KB vq=    0KB sq=    0B f=0/0
    Last message repeated 1 times
rfps: 24.000000 0.000033
    Last message repeated 1 times
rfps: 24.083333 0.000664
    Last message repeated 1 times
rfps: 24.166667 0.002098
    Last message repeated 1 times
rfps: 24.250000 0.004336
    Last message repeated 1 times000 fd=   0 aq=    0KB vq=    0KB sq=
 0B f=0/0
rfps: 24.333333 0.007377
    Last message repeated 1 times
rfps: 24.416667 0.011222
    Last message repeated 1 times
rfps: 24.500000 0.015870
rfps: 47.416667 0.016601
rfps: 47.500000 0.011838
rfps: 47.583333 0.007878
    Last message repeated 1 times
rfps: 47.666667 0.004722
    Last message repeated 1 times
rfps: 47.750000 0.002369  0 aq=    0KB vq=    0KB sq=    0B f=0/0
    Last message repeated 1 times
rfps: 47.833333 0.000820
    Last message repeated 1 times
rfps: 47.916667 0.000074
    Last message repeated 1 times
rfps: 48.000000 0.000131
    Last message repeated 1 times
rfps: 48.083333 0.000992
    Last message repeated 1 times
rfps: 48.166667 0.002656
    Last message repeated 1 times  0KB vq=    0KB sq=    0B f=0/0
rfps: 48.250000 0.005123
    Last message repeated 1 times
rfps: 48.333333 0.008393
    Last message repeated 1 times
rfps: 48.416667 0.012467
rfps: 48.500000 0.017344
rfps: 23.976024 0.000000
    Last message repeated 1 times
rfps: 47.952048 0.000000
    Last message repeated 1 times
[rtsp @ 00ab07e0] Estimating duration from bitrate, this may be inaccurate
Input #0, rtsp, from 'rtsp://192.168.0.48/out.264':
  Metadata:
    title           : H.264 Video, streamed by the LIVE555 Media Server
    comment         : out.264
  Duration: N/A, start: 0.250256, bitrate: N/A
    Stream #0:0, 28, 1/90000: Video: h264 (High), yuv420p, 1920x1080 [SAR
1:1 DAR 16:9], 1001/48000, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
[h264 @ 00ab3020] detected 4 logical cores
[h264 @ 00ab3020] RTP: missed 23 packets
Video frame changed from size:0x0 format:none serial:-1 to size:1920x1080
format:yuv420p serial:1
[buffer @ 00b8df80] Setting entry with key 'video_size' to value '1920x1080'
[buffer @ 00b8df80] Setting entry with key 'pix_fmt' to value '0'
[buffer @ 00b8df80] Setting entry with key 'time_base' to value '1/90000'
[buffer @ 00b8df80] Setting entry with key 'pixel_aspect' to value '1/1'
[ffplay_buffer @ 040b8be0] w:1920 h:1080 pixfmt:yuv420p tb:1/90000 fr:0/1
sar:1/1 sws_param:
[crop @ 03e2aec0] Setting 'w' to value 'floor(in_w/2)*2'
[crop @ 03e2aec0] Setting 'h' to value 'floor(in_h/2)*2'
[ffplay_crop @ 04fed8c0] w:1920 h:1080 sar:1/1 -> w:1920 h:1080 sar:1/1
[h264 @ 00b8d140] Frame num gap 1 15KB vq=  119KB sq=    0B f=1/1
[h264 @ 00b8d140] no picture ooo
[h264 @ 040b8660] Cannot use next picture in error concealment
[h264 @ 00b8d520] no picture ooo
[h264 @ 040b8660] concealing 3124 DC, 3124 AC, 3124 MV errors in P frame
[h264 @ 00b8ee20] no picture ooo
[h264 @ 00b8f420] no picture ooo   0KB vq=   85KB sq=    0B f=1/1
[h264 @ 040b8660] no picture ooo   0KB vq=  161KB sq=    0B f=1/1
[h264 @ 00b8d140] no picture ooo   0KB vq=  142KB sq=    0B f=1/1
[h264 @ 00b8d520] no picture ooo
[h264 @ 00b8ee20] no picture ooo
[h264 @ 00b8f420] no picture ooo
[h264 @ 040b8660] no picture ooo
[h264 @ 00b8d140] no picture ooo
[h264 @ 00b8d520] no picture ooo   0KB vq=   60KB sq=    0B f=1/1
[h264 @ 00b8ee20] no picture ooo
[h264 @ 00b8ee20] bytestream overread -3q=  249KB sq=    0B f=1/1
[h264 @ 00b8ee20] bytestream overread -9
[h264 @ 00b8ee20] error while decoding MB 67 67, bytestream (-9)
[h264 @ 00b8ee20] concealing 102 DC, 102 AC, 102 MV errors in I frame
[h264 @ 00b8d140] bytestream overread -22=  237KB sq=    0B f=1/1
[h264 @ 00b8d140] error while decoding MB 79 47, bytestream (-22)
[h264 @ 00b8d140] concealing 2490 DC, 2490 AC, 2490 MV errors in I frame
[h264 @ 040b8660] bytestream overread -6q=  277KB sq=    0B f=1/1
[h264 @ 040b8660] error while decoding MB 4 54, bytestream (-6)
[h264 @ 040b8660] concealing 1725 DC, 1725 AC, 1725 MV errors in I frame
[rtsp @ 00ab07e0] CSeq 5 expected, 0 received.4KB sq=    0B f=1/1
[h264 @ 00b8f420] bytestream overread -19=  280KB sq=    0B f=1/1
[h264 @ 00b8f420] error while decoding MB 18 49, bytestream (-19)
[h264 @ 00b8f420] concealing 2311 DC, 2311 AC, 2311 MV errors in I frame
[rtsp @ 00ab07e0] Received BYE for stream 0 (1/1) sq=    0B f=1/1
  40.72 A-V:  0.000 fd=   6 aq=    0KB vq=    0KB sq=    0B f=1/1


More information about the ffmpeg-devel mailing list