Open zhangferry opened 7 years ago
问题解决了,制作framework的时候选了debug版本引起的
@zhangferry 如果选择了Release版本, 就一点都不会有吗?我选择了Release后依然会有。如果在代码中控制呢?
@momo13014 Release版本也会有log输出,但这些是必要的提示或者错误日志,可以保留。如果非要隐藏日志的话,只能去源码里面找出处,注释掉。
能不能分享下你编译的支持更多格式的so文件?
具体怎么解决? 怎么打release包? 不是按照教程编译so库文件吗? 小白求教
为了支持更过格式我执行了
重新播放视频,解码明显编码,会不停打印日志,暂停视频也会有。日志如下:
options
player-opts : video-pictq-size = 3 player-opts : overlay-format = fcc-_es2 player-opts : vol = 256 player-opts : max-fps = 60 player-opts : framedrop = 5 player-opts : videotoolbox-max-frame-width = 960 player-opts : videotoolbox = 0 player-opts : start-on-prepared = 1 format-opts : ijkapplication = 4695883376 format-opts : ijkiomanager = 6245678912 format-opts : user-agent = ijkplayer format-opts : auto_convert = 0 format-opts : timeout = 30000000 format-opts : reconnect = 1 format-opts : protocol_whitelist = http,https,tls,rtp,tcp,udp,crypto,httpproxy format-opts : safe = 0 codec-opts : skip_loop_filter = 0 codec-opts : skip_frame = 0
ijkmp_prepare_async()=0 ijkmp_set_playback_rate(1.000000) ijkmp_set_playback_rate()=void 2017-04-17 16:53:55.035154+0800 XYVideoKitSDK[3002:834205] @@@@@@@@@@@@@@@@@@@@@ adbox window dealloc 2017-04-17 16:53:55.057518+0800 XYVideoKitSDK[3002:834205] invalidateRenderBuffer 2017-04-17 16:53:55.058157+0800 XYVideoKitSDK[3002:834321] IJKSDLGLView: setupDisplay not ready the user-agent option is deprecated, please use user_agent option request: GET /flv/117/231/y0022eubtd6.mp4?sdtfrom=v1000&type=mp4&vkey=ECD5A649E1C3F4712754C1E51B72137F717B465B06D295D98786C09DC899BC16228A9D2E72C9078298602AF12B673B388CA181EEAA711FA2F206ABF6B92A916122E76F2528021EA884DF8E489362BB017065E4613823F780D220C56DB2FB71AC038CB7520836A3F939DDD2440DD19FAB&platform=11&br=235&fmt=mp4&sp=0&charge=0&vip=0&guid=E8349B606EE889E74896A2A039C7EECC HTTP/1.1
User-Agent: ijkplayer
Accept: /
Range: bytes=0-
Connection: close
Host: vhot.dnion.videocdn.qq.com
Icy-MetaData: 1
Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 ISO: File Type Major Brand: mp42 Unknown dref type 0x08206c7275 size 12 Offset DTS by ctts[0].duration: 2000 Processing st: 0, edit list 0 - media time: 2000, duration: 157937000 shifted frame pts, curr_cts: 0 @ 0, ctts: 2000, ctts_count: 145890 shifted frame pts, curr_cts: 1000 @ 1, ctts: 5000, ctts_count: 145890 shifted frame pts, curr_cts: 2000 @ 2, ctts: 2000, ctts_count: 145890 shifted frame pts, curr_cts: 3000 @ 3, ctts: 0, ctts_count: 145890 shifted frame pts, curr_cts: 4000 @ 4, ctts: 1000, ctts_count: 145890 shifted frame pts, curr_cts: 5000 @ 5, ctts: 5000, ctts_count: 145890 shifted frame pts, curr_cts: 6000 @ 6, ctts: 2000, ctts_count: 145890 shifted frame pts, curr_cts: 7000 @ 7, ctts: 0, ctts_count: 145890 shifted frame pts, curr_cts: 8000 @ 8, ctts: 1000, ctts_count: 145890 shifted frame pts, curr_cts: 9000 @ 9, ctts: 5000, ctts_count: 145890 shifted frame pts, curr_cts: 10000 @ 10, ctts: 2000, ctts_count: 145890 shifted frame pts, curr_cts: 11000 @ 11, ctts: 0, ctts_count: 145890 shifted frame pts, curr_cts: 12000 @ 12, ctts: 1000, ctts_count: 145890 shifted frame pts, curr_cts: 13000 @ 13, ctts: 5000, ctts_count: 145890 shifted frame pts, curr_cts: 14000 @ 14, ctts: 2000, ctts_count: 145890 shifted frame pts, curr_cts: 15000 @ 15, ctts: 0, ctts_count: 145890 shifted frame pts, curr_cts: 16000 @ 16, ctts: 1000, ctts_count: 145890 shifted frame pts, curr_cts: 17000 @ 17, ctts: 5000, ctts_count: 145890 shifted frame pts, curr_cts: 18000 @ 18, ctts: 2000, ctts_count: 145890 shifted frame pts, curr_cts: 19000 @ 19, ctts: 0, ctts_count: 145890
这样的日志输出能关掉了,有没有什么影响?谢谢!