########################################################################################## HLS-15: Append #EXT-X-ENDLIST when a live stream concludes ########################################################################################## Issue Type: New Feature ----------------------------------------------------------------------------------------- Issue Information ==================== Priority: Major Status: Closed Resolution: Done (2015-12-14 11:37:35) Project: HLS Stream Creator (HLS) Reported By: btasker Assigned To: btasker Components: - Playlists - Linear Support Targeted for fix in version: - 1.0 Time Estimate: 0 minutes Time Logged: 0 minutes ----------------------------------------------------------------------------------------- Issue Description ================== When building a manifest for a live stream, _ffmpeg_ does not append _#EXT-X-ENDLIST_ when the input file completes. This causes RaspBMC (essentially XBMC Frodo) to hang as it falls off the end of the playlist. It still occasionally re-requests the manifest, which'd suggest it's waiting for new input. ----------------------------------------------------------------------------------------- Issue Relations ================ - Discovered In HLS-14: General Testing Notes ----------------------------------------------------------------------------------------- Activity ========== ----------------------------------------------------------------------------------------- 2015-06-17 06:31:53 btasker ----------------------------------------------------------------------------------------- The function _awaitCompletion_ has been amended to terminate the playlist once it knows the transcode has completed. I had originally put a loop at the end of the main process, but if a bitrate finished before the others it's playlist would not be terminated until the others completed (meaning any player using that bitrate would hang). ----------------------------------------------------------------------------------------- 2015-06-17 06:33:15 git ----------------------------------------------------------------------------------------- -- BEGIN QUOTE -- Repo: HLS-Stream-Creator Commit: 12f80d7feaa0fb8230527830e52e4e3a996de59e Author: B Tasker