sonysuqin / WasmVideoPlayer

Play file/stream with wasm & webgl & web audio api, using ffmpeg for multi codec support, especially for h265,support http, websocket, http-flv stream.
GNU General Public License v3.0
1.3k stars 375 forks source link

seek bar点击报错 #30

Open yyqangular1 opened 5 years ago

yyqangular1 commented 5 years ago

播放视频的时候,点击seek bar,有时候会出现以下错误,视频就无法播放了。

libffmpeg.js:1 [hevc @ 0x64c9a0] Invalid NAL unit size (137165 > 52089).
libffmpeg.js:1 [hevc @ 0x64c9a0] Error splitting the input into NAL units.
libffmpeg.js:1 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x647710] stream 1, offset 0x3ff6c5: partial file
libffmpeg.js:1 [aac @ 0x677d70] Sample rate index in program config element does not match the sample rate index configured by the container.
libffmpeg.js:1 [aac @ 0x677d70] Inconsistent channel configuration.
libffmpeg.js:1 [aac @ 0x677d70] get_buffer() failed
libffmpeg.js:1 [hevc @ 0x64c9a0] Invalid NAL unit size (705012347 > 42820).
libffmpeg.js:1 [hevc @ 0x64c9a0] Error splitting the input into NAL units.
libffmpeg.js:1 [aac @ 0x677d70] channel element 3.5 is not allocated
libffmpeg.js:1 [aac @ 0x677d70] channel element 2.11 is not allocated
。。。
sonysuqin commented 5 years ago

目前seek还不是太稳定,有时间再好好调一下。