You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.
hls切片时间设置的是5s,一个29s的mp4视频,切片后,切片数量是5 正常,也能正常播放,但是m3u8文件里每片时长只有1s左右,导致播放器显示的总时长不对:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:1
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:0.766667,
out0.ts
#EXTINF:0.644444,
out1.ts
#EXTINF:1.016667,
out2.ts
#EXTINF:0.416667,
out3.ts
#EXTINF:1.288889,
out4.ts
#EXT-X-ENDLIST
以下是代码
`public static void packetRecord(String inputFile, String outputFile) throws FrameGrabber.Exception, FrameRecorder.Exception {
packetRecord("F:\\beixiyan.mp4","out.m3u8");
请问该如何避免该问题,万分感谢
The text was updated successfully, but these errors were encountered: