|
好的 我没做视频通话 只是要集成一个视频录制的功能 照着AnyChatSelfRecord这个Demo写的 本地视频音频都正常 也无裁剪 但是设置服务器录制时 就出现了裁剪这种状况 下面是从拍照开始到视频预览的所有日志 麻烦您帮忙看一下
2016-03-07 18:19:21.875 OpenAccount[3486:964509] Invoke UserSpeakControl(userid=-1,bOpen=1)
2016-03-07 18:19:21.904 OpenAccount[3486:964509] Invoke SetVideoPos(dwUserId:-1, hWnd:0x476ed520, l:0, t:0, r:0, b:0)
2016-03-07 18:19:21.909 OpenAccount[3486:964509] Invoke UserCameraControl(userid=-1, bOpen=1, stream=0)
2016-03-07 18:19:22.015 OpenAccount[3486:964547] WARNING: -[<AVCaptureConnection: 0x740104b0> isVideoMinFrameDurationSupported] is deprecated. Please use AVCaptureDevice activeFormat.videoSupportedFrameRateRanges
2016-03-07 18:19:22.015 OpenAccount[3486:964547] WARNING: -[<AVCaptureConnection: 0x740104b0> setVideoMinFrameDuration:] is deprecated. Please use AVCaptureDevice setActiveVideoMinFrameDuration
2016-03-07 18:19:22.182 OpenAccount[3486:964547] video init finish: 1280x720, 25fps, fmt:100, ret:0
2016-03-07 18:19:22.188 OpenAccount[3486:964547] video init finish:1280x720, YUV420, fps:25, codecid:1
[libx264 @ 0x1479e5e10] using cpu capabilities: none!
[libx264 @ 0x1479e5e10] profile High, level 3.1
2016-03-07 18:19:22.227 OpenAccount[3486:964526] video codec init:codec:1, 12fps, 1280x720, bitrate:180kbps, quality:3, preset:2, gop:30, handle:3
2016-03-07 18:19:40.255 OpenAccount[3486:964509] Invoke SnapShot(-1, 0x400, 0)=0
[image2 @ 0x1478f5210] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.
[swscaler @ 0x100f60010] deprecated pixel format used, make sure you did set range correctly
2016-03-07 18:19:40.389 OpenAccount[3486:964509] Invoke UserSpeakControl(userid=-1,bOpen=0)
2016-03-07 18:19:40.395 OpenAccount[3486:964509] Invoke UserCameraControl(userid=-1, bOpen=0, stream=0)
2016-03-07 18:19:44.093 OpenAccount[3486:964509] Invoke UserSpeakControl(userid=-1,bOpen=1)
2016-03-07 18:19:44.121 OpenAccount[3486:964509] Invoke SetVideoPos(dwUserId:-1, hWnd:0x476ed520, l:0, t:0, r:0, b:0)
2016-03-07 18:19:44.126 OpenAccount[3486:964509] Invoke UserCameraControl(userid=-1, bOpen=1, stream=0)
2016-03-07 18:19:44.129 OpenAccount[3486:964509] Invoke UserSpeakControl(userid=-1,bOpen=0)
2016-03-07 18:19:44.134 OpenAccount[3486:964509] Invoke UserCameraControl(userid=-1, bOpen=0, stream=0)
2016-03-07 18:19:44.152 OpenAccount[3486:964509] Invoke UserSpeakControl(userid=-1,bOpen=0)
2016-03-07 18:19:44.156 OpenAccount[3486:964509] Invoke UserCameraControl(userid=-1, bOpen=0, stream=0)
2016-03-07 18:19:44.161 OpenAccount[3486:964509] Invoke UserSpeakControl(userid=-1,bOpen=1)
2016-03-07 18:19:44.190 OpenAccount[3486:964509] Invoke SetVideoPos(dwUserId:-1, hWnd:0x4a957c30, l:0, t:0, r:0, b:0)
2016-03-07 18:19:44.195 OpenAccount[3486:964509] Invoke UserCameraControl(userid=-1, bOpen=1, stream=0)
2016-03-07 18:19:44.300 OpenAccount[3486:964547] WARNING: -[<AVCaptureConnection: 0x7400c3d0> isVideoMinFrameDurationSupported] is deprecated. Please use AVCaptureDevice activeFormat.videoSupportedFrameRateRanges
2016-03-07 18:19:44.302 OpenAccount[3486:964547] WARNING: -[<AVCaptureConnection: 0x7400c3d0> setVideoMinFrameDuration:] is deprecated. Please use AVCaptureDevice setActiveVideoMinFrameDuration
2016-03-07 18:19:44.484 OpenAccount[3486:964547] video init finish: 352x288, 25fps, fmt:106, ret:0
2016-03-07 18:19:44.487 OpenAccount[3486:964547] video init finish:352x288, NV12, fps:25, codecid:1
[libx264 @ 0x1481c2210] using cpu capabilities: none!
[libx264 @ 0x1481c2210] profile High, level 1.2
2016-03-07 18:19:44.528 OpenAccount[3486:964721] video codec init:codec:1, 12fps, 352x288, bitrate:180kbps, quality:3, preset:2, gop:30, handle:4
2016-03-07 18:19:47.722 OpenAccount[3486:964509] Invoke StreamRecordCtrlEx(-1, 1, 0x807, 0, StartLocolSelfRecord)=0
2016-03-07 18:20:07.731 OpenAccount[3486:964509] Invoke StreamRecordCtrlEx(-1, 0, 0x807, 0, StopLocolRecord)=0
2016-03-07 18:20:09.526 OpenAccount[3486:964509] Invoke UserSpeakControl(userid=-1,bOpen=0)
2016-03-07 18:20:09.532 OpenAccount[3486:964509] Invoke UserCameraControl(userid=-1, bOpen=0, stream=0)
[libx264 @ 0x1481c2210] frame I:9 Avg QP:21.94 size: 7488
[libx264 @ 0x1481c2210] frame P:232 Avg QP:22.44 size: 1660
[libx264 @ 0x1481c2210] mb I I16..4: 15.4% 52.1% 32.5%
[libx264 @ 0x1481c2210] mb P I16..4: 5.4% 4.0% 0.2% P16..4: 63.5% 0.0% 0.0% 0.0% 0.0% skip:27.0%
[libx264 @ 0x1481c2210] 8x8 transform intra:44.5% inter:44.6%
[libx264 @ 0x1481c2210] coded y,uvDC,uvAC intra: 58.0% 30.8% 4.1% inter: 22.2% 15.5% 0.6%
[libx264 @ 0x1481c2210] i16 v,h,dc,p: 28% 25% 34% 13%
[libx264 @ 0x1481c2210] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 16% 37% 3% 5% 6% 4% 4% 10%
[libx264 @ 0x1481c2210] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 19% 18% 3% 6% 7% 6% 4% 14%
[libx264 @ 0x1481c2210] i8c dc,h,v,p: 53% 28% 12% 7%
[libx264 @ 0x1481c2210] Weighted P-Frames: Y:7.3% UV:2.2%
[libx264 @ 0x1481c2210] kb/s:180.29
|
|