Opened 12 years ago
Closed 12 years ago
#10923 closed Bug Report - General (fixed)
MythTranscode HLS never includes the last mpeg-ts segment
Reported by: | JYA | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 0.26 |
Component: | MythTV - General | Version: | Unspecified |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
As soon as an error is encountered. Mythtranscode abort, and the data already decoded is lost.
So you always miss the last few seconds of a transcode, up to around 10s
Change History (2)
Note: See
TracTickets for help on using
tickets.
Looking at httplivestream.cpp the issue is that as hlsstreamid is == -1, the last segment isn't written on the playlist.
HTTPLiveStream::WritePlaylist?(bool audioOnly, bool writeEndTag) is always called with writeEndTag set to false, so the last segment is always ignored