nschlia / ffmpegfs

FUSE-based transcoding filesystem with video support from many formats to FLAC, MP4, TS, WebM, OGG, MP3, HLS, and others.
https://nschlia.github.io/ffmpegfs/
GNU General Public License v3.0
198 stars 14 forks source link

HLS playback stops on DVD chapters with exactly 10 seconds #49

Closed nschlia closed 4 years ago

nschlia commented 4 years ago

HLS playback stops on DVD chapters with exactly 10 seconds , and probably if duration is multiples of that.

Seems that one more segment is created than required, and that segment is invalid:

# ll "/mnt/ffmpegfs/hls/1M/multimedia1/DVD/Musik/Summer Breeze/Summer Breeze (2010)/05. Chapter 001 [00-10.000].ts/" 
insgesamt 6144
-rwxr-xr-x 1 norbert norbert 1874924 Sep 27  2011 000001.ts
-rwxr-xr-x 1 norbert norbert    4096 Sep 27  2011 000002.ts
-rwxr-xr-x 1 norbert norbert    1285 Sep 27  2011 hls.html
-rwxr-xr-x 1 norbert norbert     188 Sep 27  2011 index_0_av.m3u8
-rwxr-xr-x 1 norbert norbert      55 Sep 27  2011 master.m3u8

Should be 1 segment actually.

nschlia commented 4 years ago

Still happening if playtime is only a few ms longer than 10 seconds. Creates a small, invalid second segment.