strukturag / libde265.js

JavaScript-only version of libde265 HEVC/H.265 decoder.
GNU Lesser General Public License v3.0
601 stars 163 forks source link

How to seek #9

Closed wangniancai closed 9 years ago

wangniancai commented 9 years ago

Libde265 could not support seek

fancycode commented 9 years ago

As already answered in #8 and in reply to your mail, libde265.js is only a raw bitstream decoder. Seeking must be implemented by the layer above that handles the container format and knows where the frames seeked to start.

You can then use libde265.js to decode the new frames (after resetting the decoder using the reset method).