Closed walkerqt closed 11 years ago
能否提供RTSP源?
抱歉,不能呵,这是一个自己买的摄像头搭的。关于avplayer源码的具体使用方法能详细描述一下吗?windows下。
使用主要看win32/avcore的avplayer.h里的接口
能不能简单到一个avplayer.h加一个动态链接库?让开发人员直接调用头文件里的函数就可以了。不要单独安装boost库,不要单独安装dxsdk。
你编译出来成后, 只要带上avcore.lib, avplayer.h 和其它dll就可以单独使用了, 但前提你编译这些时, 是需要dxsdk和boost的. 在win上面依赖boost的是libtorrent, 如果你在source的项目中, 去掉USE_TORRENT, 也可以不依赖boost.
长时间没有回应, 关闭
用的是rtsp协议,下面是出错时的命令行信息。(windows7) [h264 @ 0248f9c0] RTP: missed 1 packets [h264 @ 06200460] concealing 2542 DC, 2542 AC, 2542 MV errors4/kbps [h264 @ 0248f9c0] RTP: missed 16 packets [h264 @ 0248f9c0] RTP: missed 1 packets040 FR: 6/fps, VB: 1354/kbps [h264 @ 0248f9c0] RTP: missed 1 packets [h264 @ 0248f9c0] RTP: missed 1 packets [h264 @ 0248f9c0] RTP: missed 1 packets [h264 @ 0248f9c0] RTP: missed 7 packets [h264 @ 0248f9c0] RTP: missed 26 packets80 FR: 6/fps, VB: 1395/kbps [h264 @ 0248f9c0] RTP: missed 3 packets [h264 @ 05ff8c80] error while decoding MB 44 25, bytestream (-5) [h264 @ 05ff8c80] concealing 5165 DC, 5165 AC, 5165 MV errors [h264 @ 0248f9c0] RTP: missed 320 packets0 FR: 6/fps, VB: 1395/kbps [h264 @ 0248f9c0] RTP: missed 8 packets [h264 @ 0248f9c0] RTP: missed 121 packets0 FR: 6/fps, VB: 1395/kbps [h264 @ 0616fbc0] concealing 3860 DC, 3860 AC, 3860 MV errors7/kbps [h264 @ 0248f9c0] RTP: missed 143 packets [h264 @ 0248f9c0] RTP: missed 212 packets0 FR: 6/fps, VB: 1397/kbps [h264 @ 0248f9c0] RTP: missed 178 packets0 FR: 7/fps, VB: 1704/kbps [h264 @ 0248f9c0] RTP: missed 26 packets [h264 @ 05ff8c80] concealing 7207 DC, 7207 AC, 7207 MV errors4/kbps [h264 @ 0248f9c0] RTP: missed 467 packets0 FR: 9/fps, VB: 2296/kbps [h264 @ 0616fbc0] error while decoding MB 101 7, bytestream (-5)bps [h264 @ 0616fbc0] concealing 7268 DC, 7268 AC, 7268 MV errors1/kbps [h264 @ 06200460] left block unavailable for requested intra mode at [h264 @ 06200460] error while decoding MB 0 9, bytestream (9432) [h264 @ 06200460] concealing 7129 DC, 7129 AC, 7129 MV errors [h264 @ 0248f9c0] RTP: missed 342 packets [h264 @ 05ff8c80] concealing 2796 DC, 2796 AC, 2796 MV errors [h264 @ 06200460] error while decoding MB 35 44, bytestream (-5)kbps [h264 @ 06200460] concealing 2894 DC, 2894 AC, 2894 MV errors03/kbps [h264 @ 0248f9c0] RTP: missed 465 packets0 FR: 10/fps, VB: 2403/kbps [h264 @ 05ff8c80] error while decoding MB 30 23, bytestream (-7)kbps [h264 @ 05ff8c80] concealing 5419 DC, 5419 AC, 5419 MV errors [h264 @ 06200460] error while decoding MB 14 51, bytestream (-5) [h264 @ 0248f9c0] RTP: missed 155 packets [h264 @ 06200460] concealing 2075 DC, 2075 AC, 2075 MV errors [h264 @ 0248f9c0] RTP: missed 105 packets0 FR: 10/fps, VB: 2452/kbps [h264 @ 0248f9c0] RTP: missed 192 packets [h264 @ 06200460] error while decoding MB 94 7, bytestream (-5) [h264 @ 06200460] concealing 7275 DC, 7275 AC, 7275 MV errors [h264 @ 0248f9c0] RTP: missed 3 packets440 FR: 9/fps, VB: 2050/kbpss [h264 @ 05ff8c80] left block unavailable for requested intra4x4 mode [h264 @ 0248f9c0] RTP: missed 367 packets [h264 @ 05ff8c80] error while decoding MB 0 20, bytestream (20329) [h264 @ 05ff8c80] concealing 5809 DC, 5809 AC, 5809 MV errors [h264 @ 0248f9c0] RTP: missed 50 packets [h264 @ 05ff8c80] error while decoding MB 55 7, bytestream (-7) [h264 @ 0248f9c0] RTP: missed 19 packets [h264 @ 05ff8c80] concealing 7314 DC, 7314 AC, 7314 MV errors [h264 @ 0248f9c0] RTP: missed 35 packets20 FR: 5/fps, VB: 1617/kbps [h264 @ 0248f9c0] RTP: missed 317 packets [h264 @ 06200460] error while decoding MB 112 34, bytestream (-5) [h264 @ 06200460] concealing 4017 DC, 4017 AC, 4017 MV errors8/kbps [h264 @ 05ff8c80] concealing 6172 DC, 6172 AC, 6172 MV errors8/kbps [h264 @ 0248f9c0] RTP: missed 313 packets0 FR: 5/fps, VB: 1598/kbps [h264 @ 0248f9c0] RTP: missed 28 packets80 FR: 5/fps, VB: 1598/kbps [h264 @ 0248f9c0] RTP: missed 259 packets [h264 @ 0248f9c0] RTP: missed 15 packets80 FR: 5/fps, VB: 1260/kbps [h264 @ 0616fbc0] error while decoding MB 110 63, bytestream (-5)ps [h264 @ 0616fbc0] concealing 539 DC, 539 AC, 539 MV errors [h264 @ 05ff8c80] error while decoding MB 29 11, bytestream (-5)bps [h264 @ 05ff8c80] concealing 6860 DC, 6860 AC, 6860 MV errors [h264 @ 0248f9c0] RTP: missed 12 packets40 FR: 5/fps, VB: 1260/kbps [h264 @ 06200460] error while decoding MB 112 21, bytestream (-5)ps [h264 @ 06200460] concealing 5577 DC, 5577 AC, 5577 MV errors0/kbps [h264 @ 05ff8c80] error while decoding MB 42 41, bytestream (-7)bps [h264 @ 0248f9c0] RTP: missed 29 packets [h264 @ 0616fbc0] error while decoding MB 93 38, bytestream (-7)bps [h264 @ 05ff8c80] concealing 3247 DC, 3247 AC, 3247 MV errors [h264 @ 0248f9c0] RTP: missed 3 packets [h264 @ 0616fbc0] concealing 3556 DC, 3556 AC, 3556 MV errors [h264 @ 0248f9c0] RTP: missed 399 packets0 FR: 5/fps, VB: 1442/kbps [h264 @ 0248f9c0] RTP: missed 4 packets [h264 @ 0248f9c0] RTP: missed 222 packets0 FR: 5/fps, VB: 1442/kbps [h264 @ 05ff8c80] error while decoding MB 87 67, bytestream (-7) [h264 @ 05ff8c80] concealing 82 DC, 82 AC, 82 MV errors [h264 @ 0248f9c0] RTP: missed 65 packets [h264 @ 0248f9c0] RTP: missed 2 packets160 FR: 5/fps, VB: 1442/kbps [h264 @ 0616fbc0] concealing 7126 DC, 7126 AC, 7126 MV errors [h264 @ 0248f9c0] RTP: missed 20 packets40 FR: 5/fps, VB: 1507/kbps [h264 @ 0248f9c0] RTP: missed 55 packets [h264 @ 05ff8c80] error while decoding MB 53 13, bytestream (-13)ps [h264 @ 05ff8c80] concealing 6596 DC, 6596 AC, 6596 MV errors [h264 @ 0248f9c0] RTP: missed 15 packets40 FR: 5/fps, VB: 1507/kbps [h264 @ 06200460] error while decoding MB 109 64, bytestream (-7) [h264 @ 06200460] concealing 420 DC, 420 AC, 420 MV errors [h264 @ 0248f9c0] RTP: missed 357 packets0 FR: 5/fps, VB: 1507/kbps [h264 @ 0616fbc0] error while decoding MB 115 12, bytestream (-9)ps [h264 @ 0616fbc0] concealing 6654 DC, 6654 AC, 6654 MV errors [h264 @ 0248f9c0] RTP: missed 37 packets [h264 @ 0248f9c0] RTP: missed 4 packets [h264 @ 0248f9c0] RTP: missed 9 packets360 FR: 5/fps, VB: 1399/kbps [h264 @ 0248f9c0] RTP: missed 8 packets [h264 @ 0248f9c0] RTP: missed 14 packets40 FR: 5/fps, VB: 1156/kbps [h264 @ 0248f9c0] RTP: missed 665 packets [h264 @ 06200460] error while decoding MB 100 7, bytestream (-5) [h264 @ 06200460] concealing 7269 DC, 7269 AC, 7269 MV errors [h264 @ 06200460] error while decoding MB 18 13, bytestream (-5)bps [h264 @ 0248f9c0] RTP: missed 44 packets [h264 @ 06200460] concealing 6631 DC, 6631 AC, 6631 MV errors8/kbps [h264 @ 05ff8c80] error while decoding MB 17 35, bytestream (-5) [h264 @ 05ff8c80] concealing 3992 DC, 3992 AC, 3992 MV errors8/kbps [h264 @ 06200460] error while decoding MB 49 2, bytestream (-7)kbps [h264 @ 06200460] concealing 7920 DC, 7920 AC, 7920 MV errors [h264 @ 0248f9c0] RTP: missed 409 packets [h264 @ 0616fbc0] concealing 4354 DC, 4354 AC, 4354 MV errors [h264 @ 0248f9c0] RTP: missed 417 packets [h264 @ 05ff8c80] error while decoding MB 34 41, bytestream (-5)bps [h264 @ 05ff8c80] concealing 3255 DC, 3255 AC, 3255 MV errors1/kbps [h264 @ 06200460] error while decoding MB 110 43, bytestream (-5)ps [h264 @ 06200460] concealing 2939 DC, 2939 AC, 2939 MV errors [h264 @ 0248f9c0] RTP: missed 479 packets0 FR: 6/fps, VB: 1021/kbps [h264 @ 06200460] error while decoding MB 113 65, bytestream (-5) [h264 @ 06200460] concealing 296 DC, 296 AC, 296 MV errors [h264 @ 0248f9c0] RTP: missed 149 packets [h264 @ 0248f9c0] RTP: missed 24 packets [h264 @ 06200460] concealing 4929 DC, 4929 AC, 4929 MV errors [h264 @ 0616fbc0] concealing 6399 DC, 6399 AC, 6399 MV errors [h264 @ 0616fbc0] error while decoding MB 30 7, bytestream (-7)bps [h264 @ 0616fbc0] concealing 7339 DC, 7339 AC, 7339 MV errors [h264 @ 0248f9c0] RTP: missed 43 packets [h264 @ 05ff8c80] concealing 4891 DC, 4891 AC, 4891 MV errors [h264 @ 0616fbc0] error while decoding MB 18 35, bytestream (-7)ps [h264 @ 0248f9c0] RTP: missed 299 packets [h264 @ 05ff8c80] error while decoding MB 52 27, bytestream (-21) [h264 @ 0616fbc0] concealing 3991 DC, 3991 AC, 3991 MV errors [h264 @ 0248f9c0] RTP: missed 473 packets [h264 @ 05ff8c80] concealing 4917 DC, 4917 AC, 4917 MV errors [h264 @ 0248f9c0] RTP: missed 181 packets0 FR: 5/fps, VB: 840/kbps [h264 @ 05ff8c80] concealing 3432 DC, 3432 AC, 3432 MV errors [h264 @ 0616fbc0] concealing 7091 DC, 7091 AC, 7091 MV errors/kbps [h264 @ 0248f9c0] RTP: missed 250 packets0 FR: 4/fps, VB: 1024/kbps [h264 @ 0248f9c0] RTP: missed 14 packets [h264 @ 0248f9c0] RTP: missed 9 packets [h264 @ 05ff8c80] error while decoding MB 75 7, bytestream (-7)kbps [h264 @ 05ff8c80] concealing 7294 DC, 7294 AC, 7294 MV errors [h264 @ 0248f9c0] RTP: missed 413 packets0 FR: 4/fps, VB: 1024/kbps [h264 @ 0248f9c0] RTP: missed 9 packets [h264 @ 0616fbc0] error while decoding MB 94 7, bytestream (-5)kbps [h264 @ 0616fbc0] concealing 7275 DC, 7275 AC, 7275 MV errors [h264 @ 06200460] error while decoding MB 74 67, bytestream (-13) [h264 @ 06200460] concealing 95 DC, 95 AC, 95 MV errors [h264 @ 06200460] error while decoding MB 84 34, bytestream (-5)bps [h264 @ 06200460] concealing 4045 DC, 4045 AC, 4045 MV errors [h264 @ 05ff8c80] error while decoding MB 80 41, bytestream (-5)bps [h264 @ 0616fbc0] left block unavailable for requested intra mode at [h264 @ 05ff8c80] concealing 3209 DC, 3209 AC, 3209 MV errors [h264 @ 0616fbc0] error while decoding MB 0 51, bytestream (6209) [h264 @ 0616fbc0] concealing 2089 DC, 2089 AC, 2089 MV errors8/kbps [h264 @ 0616fbc0] concealing 5895 DC, 5895 AC, 5895 MV errors8/kbps [h264 @ 06200460] error while decoding MB 91 10, bytestream (-9)bps [h264 @ 06200460] concealing 6918 DC, 6918 AC, 6918 MV errors [h264 @ 0616fbc0] concealing 7822 DC, 7822 AC, 7822 MV errors8/kbps [h264 @ 05ff8c80] concealing 6496 DC, 6496 AC, 6496 MV errors [h264 @ 06200460] concealing 7485 DC, 7485 AC, 7485 MV errors8/kbps [h264 @ 05ff8c80] error while decoding MB 98 34, bytestream (-5) [h264 @ 05ff8c80] concealing 4031 DC, 4031 AC, 4031 MV errors [h264 @ 05ff8c80] error while decoding MB 108 7, bytestream (-5)bps [h264 @ 05ff8c80] concealing 7261 DC, 7261 AC, 7261 MV errors [h264 @ 06200460] error while decoding MB 95 7, bytestream (-7)kbps [h264 @ 06200460] concealing 7274 DC, 7274 AC, 7274 MV errors [h264 @ 06200460] error while decoding MB 34 16, bytestream (-5)bps [h264 @ 06200460] concealing 6255 DC, 6255 AC, 6255 MV errors [h264 @ 0616fbc0] error while decoding MB 80 7, bytestream (-11)bps [h264 @ 0616fbc0] concealing 7289 DC, 7289 AC, 7289 MV errors [h264 @ 0616fbc0] error while decoding MB 95 7, bytestream (-15)bps [h264 @ 0616fbc0] concealing 7274 DC, 7274 AC, 7274 MV errors [h264 @ 06200460] error while decoding MB 28 60, bytestream (-5)bps [h264 @ 06200460] concealing 981 DC, 981 AC, 981 MV errors [h264 @ 05ff8c80] concealing 4096 DC, 4096 AC, 4096 MV errors8/kbps [h264 @ 0616fbc0] concealing 4856 DC, 4856 AC, 4856 MV errors8/kbps [h264 @ 06200460] concealing 3024 DC, 3024 AC, 3024 MV errors [h264 @ 0616fbc0] error while decoding MB 103 4, bytestream (-5)bps [h264 @ 06200460] error while decoding MB 80 44, bytestream (-7) [h264 @ 0616fbc0] concealing 7626 DC, 7626 AC, 7626 MV errors [h264 @ 06200460] concealing 2849 DC, 2849 AC, 2849 MV errors [h264 @ 0616fbc0] concealing 4994 DC, 4994 AC, 4994 MV errors6/kbps [h264 @ 06200460] error while decoding MB 79 54, bytestream (-5) [h264 @ 06200460] concealing 1650 DC, 1650 AC, 1650 MV errors [h264 @ 05ff8c80] error while decoding MB 111 7, bytestream (-5)bps [h264 @ 05ff8c80] concealing 7258 DC, 7258 AC, 7258 MV errors [h264 @ 0616fbc0] concealing 7162 DC, 7162 AC, 7162 MV errors6/kbps [h264 @ 06200460] error while decoding MB 95 61, bytestream (-5)bps [h264 @ 06200460] concealing 794 DC, 794 AC, 794 MV errors [h264 @ 05ff8c80] error while decoding MB 86 7, bytestream (-5)kbps [h264 @ 05ff8c80] concealing 7283 DC, 7283 AC, 7283 MV errors [h264 @ 0616fbc0] error while decoding MB 117 7, bytestream (-5)bps [h264 @ 0616fbc0] concealing 7252 DC, 7252 AC, 7252 MV errors [h264 @ 05ff8c80] error while decoding MB 112 7, bytestream (-7)bps [h264 @ 05ff8c80] concealing 7257 DC, 7257 AC, 7257 MV errors [h264 @ 06200460] error while decoding MB 65 28, bytestream (-5)bps [h264 @ 06200460] concealing 4784 DC, 4784 AC, 4784 MV errors [h264 @ 05ff8c80] error while decoding MB 116 44, bytestream (-7)ps [h264 @ 05ff8c80] concealing 2813 DC, 2813 AC, 2813 MV errors [h264 @ 05ff8c80] concealing 3822 DC, 3822 AC, 3822 MV errors6/kbps [h264 @ 06200460] concealing 6163 DC, 6163 AC, 6163 MV errors6/kbps [h264 @ 06200460] concealing 5063 DC, 5063 AC, 5063 MV errors6/kbps [h264 @ 06200460] concealing 5105 DC, 5105 AC, 5105 MV errors6/kbps [h264 @ 05ff8c80] concealing 601 DC, 601 AC, 601 MV errors1036/kbps [h264 @ 0616fbc0] error while decoding MB 60 25, bytestream (-7)bps [h264 @ 0616fbc0] concealing 5149 DC, 5149 AC, 5149 MV errors6/kbps [h264 @ 05ff8c80] error while decoding MB 54 54, bytestream (-5)bps [h264 @ 05ff8c80] concealing 1675 DC, 1675 AC, 1675 MV errors [h264 @ 06200460] error while decoding MB 78 22, bytestream (-9)bps [h264 @ 06200460] concealing 5491 DC, 5491 AC, 5491 MV errors [h264 @ 05ff8c80] error while decoding MB 52 6, bytestream (-23)bps [h264 @ 05ff8c80] concealing 7437 DC, 7437 AC, 7437 MV errors [h264 @ 05ff8c80] error while decoding MB 68 31, bytestream (-25)ps [h264 @ 06200460] error while decoding MB 81 61, bytestream (-7) [h264 @ 05ff8c80] concealing 4421 DC, 4421 AC, 4421 MV errors [h264 @ 06200460] concealing 808 DC, 808 AC, 808 MV errors [h264 @ 0616fbc0] concealing 3016 DC, 3016 AC, 3016 MV errors [h264 @ 06200460] left block unavailable for requested intra4x4 mode [h264 @ 06200460] error while decoding MB 0 4, bytestream (8305) [h264 @ 06200460] concealing 7729 DC, 7729 AC, 7729 MV errors [h264 @ 05ff8c80] concealing 566 DC, 566 AC, 566 MV errors [h264 @ 0616fbc0] error while decoding MB 10 11, bytestream (-5)bps [h264 @ 0616fbc0] concealing 6879 DC, 6879 AC, 6879 MV errors [h264 @ 05ff8c80] error while decoding MB 118 64, bytestream (-5) [h264 @ 05ff8c80] concealing 411 DC, 411 AC, 411 MV errors [h264 @ 0616fbc0] left block unavailable for requested intra4x4 mode [h264 @ 0616fbc0] error while decoding MB 0 11, bytestream (14251) [h264 @ 0616fbc0] concealing 6889 DC, 6889 AC, 6889 MV errors [h264 @ 05ff8c80] error while decoding MB 83 26, bytestream (-5)bps [h264 @ 05ff8c80] concealing 5006 DC, 5006 AC, 5006 MV errors [h264 @ 06200460] error while decoding MB 26 16, bytestream (-5)bps [h264 @ 06200460] concealing 6263 DC, 6263 AC, 6263 MV errors [h264 @ 05ff8c80] error while decoding MB 16 26, bytestream (-7)bps [h264 @ 0616fbc0] error while decoding MB 92 57, bytestream (-5) [h264 @ 05ff8c80] concealing 5073 DC, 5073 AC, 5073 MV errors [h264 @ 0616fbc0] concealing 1277 DC, 1277 AC, 1277 MV errors6/kbps [h264 @ 06200460] error while decoding MB 114 40, bytestream (-7)ps [h264 @ 06200460] concealing 3295 DC, 3295 AC, 3295 MV errors [h264 @ 0616fbc0] error while decoding MB 43 25, bytestream (-5)bps [h264 @ 05ff8c80] error while decoding MB 56 44, bytestream (-9) [h264 @ 0616fbc0] concealing 5166 DC, 5166 AC, 5166 MV errors6/kbps [h264 @ 05ff8c80] concealing 2873 DC, 2873 AC, 2873 MV errors [h264 @ 06200460] concealing 1110 DC, 1110 AC, 1110 MV errors6/kbps [h264 @ 06200460] error while decoding MB 117 4, bytestream (-7)bps [h264 @ 0616fbc0] error while decoding MB 6 16, bytestream (-9) [h264 @ 06200460] concealing 7612 DC, 7612 AC, 7612 MV errors [h264 @ 0616fbc0] concealing 6283 DC, 6283 AC, 6283 MV errors [h264 @ 05ff8c80] error while decoding MB 111 61, bytestream (-5)ps [h264 @ 05ff8c80] concealing 778 DC, 778 AC, 778 MV errors [h264 @ 05ff8c80] error while decoding MB 113 6, bytestream (-17)ps [h264 @ 05ff8c80] concealing 7376 DC, 7376 AC, 7376 MV errors [h264 @ 06200460] error while decoding MB 115 34, bytestream (-7)ps [h264 @ 06200460] concealing 4014 DC, 4014 AC, 4014 MV errors [h264 @ 05ff8c80] error while decoding MB 72 67, bytestream (-5)bps [h264 @ 05ff8c80] concealing 97 DC, 97 AC, 97 MV errors [h264 @ 0616fbc0] error while decoding MB 96 7, bytestream (-7)kbps [h264 @ 0616fbc0] concealing 7273 DC, 7273 AC, 7273 MV errors [h264 @ 0616fbc0] error while decoding MB 114 34, bytestream (-9)ps [h264 @ 0616fbc0] concealing 4015 DC, 4015 AC, 4015 MV errors [h264 @ 06200460] error while decoding MB 76 7, bytestream (-5)kbps [h264 @ 06200460] concealing 7293 DC, 7293 AC, 7293 MV errors [h264 @ 0616fbc0] error while decoding MB 105 7, bytestream (-9)bps [h264 @ 0616fbc0] concealing 7264 DC, 7264 AC, 7264 MV errors [h264 @ 05ff8c80] error while decoding MB 42 41, bytestream (-9)bps [h264 @ 05ff8c80] concealing 3247 DC, 3247 AC, 3247 MV errors [h264 @ 05ff8c80] error while decoding MB 104 34, bytestream (-7)ps [h264 @ 05ff8c80] concealing 4025 DC, 4025 AC, 4025 MV errors [h264 @ 0616fbc0] error while decoding MB 42 41, bytestream (-5)bps [h264 @ 0616fbc0] concealing 3247 DC, 3247 AC, 3247 MV errors [h264 @ 06200460] error while decoding MB 61 67, bytestream (-5)bps [h264 @ 06200460] concealing 108 DC, 108 AC, 108 MV errors DirectDraw UpdateOverlay cannot move/resize overlay., VB: 1036/kbps DirectDraw UpdateOverlay cannot move/resize overlay. DirectDraw UpdateOverlay cannot move/resize overlay. DirectDraw UpdateOverlay cannot move/resize overlay.