Fix one segment transcode

This commit is contained in:
Zoe Roux 2024-01-20 00:41:01 +01:00
parent 802a872880
commit b9c1c766d6

View File

@ -89,7 +89,7 @@ func (ts *Stream) run(start int32) error {
) )
var segments_str string var segments_str string
if end-start > 0 { if end-start-1 > 0 {
// We do not need the first value (start of the transcode) // We do not need the first value (start of the transcode)
// nor the last one (end of the -to argument) // nor the last one (end of the -to argument)
// if we specify one of those, ffmpeg creates a really small segment and // if we specify one of those, ffmpeg creates a really small segment and