bilibili / ijkplayer

Android/iOS video player based on FFmpeg n3.4, with MediaCodec, VideoToolbox support.
GNU General Public License v2.0
32.5k stars 8.12k forks source link

这个问题该怎么解决 #3838

Open jkwf opened 6 years ago

jkwf commented 6 years ago

dlmp_get_msg: FFP_REQ_SEEK stream_seek 0(0) + 0, ijkmp_get_msg: FFP_REQ_SEEK: seek to 0 HTTP error 416 Requested Range Not Satisfiable HTTP error 416 Requested Range Not Satisfiable HTTP error 416 Requested Range Not Satisfiable HTTP error 416 Requested Range Not Satisfiable HTTP error 416 Requested Range Not Satisfiable HTTP error 416 Requested Range Not Satisfiable Could not find codec parameters for stream 0 (Video: none, 196 kb/s): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options max_frame_duration: 3600.000 Input #0, fldv, from 'http://www.baidu.com.flv': Metadata: metadatacreator : Yet Another Metadata Injector for FLV - Version 1.8 hasKeyframes : true hasVideo : true hasAudio : true hasMetadata : true canSeekToEnd : true datasize : 47566798 videosize : 39968687 audiosize : 7189983 lasttimestamp : 1612 lastkeyframetimestamp: 1612 lastkeyframelocation: 47570415 Duration: 00:26:52.28, start: 1540337.244000, bitrate: N/A Stream #0:0: Video: none, 196 kb/s, 1k tbr, 1k tbn, 1k tbc Stream #0:1: Audio: nellymoser, 11025 Hz, mono, 32 kb/s Stream #0:2: Data: none No codec could be found with id 86050 No codec could be found with id 0 Failed to open file 'http://www.baidu.com.flv' or configure filtergraph

chodison commented 6 years ago

http://www.baidu.com.flv

jkwf commented 6 years ago

我们应用的播放地址有加密,所以就随便写了个地址,有时播放的时候会出现这个问题,返回再次播放就会正常,请问该怎么解决? The playback address we use is encrypted, so we just write an address. Sometimes it will happen when playing. If we play it again, it will be normal. How can I solve this problem?

Android4MediaPlayer commented 6 years ago

加密的话要进行解密才能播放的

jkwf commented 6 years ago

应该不是解密的原因,有时候是正常的,偶尔会出现这种情况,返回再次播放就又正常了

Android4MediaPlayer commented 6 years ago

我知道,你可以把你解密的文件流录制下来