jhiesey / videostream

Play html5 video when from a file-like object
MIT License
247 stars 73 forks source link

[Bug] Some encode can't seek video in Chrome #58

Open okgame opened 3 years ago

okgame commented 3 years ago

Hello Please check video below. http://www.mediafire.com/file/zywvmzq6i3eowt4/demo.mp4/file

It play well with basic mp4 method. But got issue with mediasource. Can't seek. When seek video, player will buff infinity. If not seek, video play normal.

Play with video tag + mp4 url: All device and browsers. Play with mediasource: Only work with Firefox, got issue with Chrome.

Info file

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'demo.mp4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: isommp42 encoder : Google Duration: 00:44:40.65, start: 0.000000, bitrate: 364 kb/s Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 640x360 [SAR 1:1 DAR 16:9], 264 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: handler_name : ISO Media file produced by Google Inc. Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 96 kb/s (default) Metadata: handler_name : ISO Media file produced by Google Inc.