-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
视频解析时长为 0,导致无法预览图片 #53
Comments
用 @webav/av-recorder 录制的视频 也会出现同样的问题 |
总时长是videoTracks[0].duration除以videoTracks[0].timescale,不是那个duration。 |
@027xiguapi 参考 #20 |
会在下个版本修复,将由最后一个 sample 决定时长,而不是从 moov 中读取时长信息 |
v0.4.0 已发布,查看 demo:https://bilibili.github.io/WebAV/demo/6_2-video-preview-cut |
Hi, seems like the demo is unavailable, may I know how to solve the issue? Thanks |
frag_bunny.mp4
如图 视频信息的 duration 为 0
duration 为 0,无法显示时长和预览图片
https://hughfenghen.github.io/WebAV/demo/1_4-mp4-previewer
The text was updated successfully, but these errors were encountered: