diff --git a/transcoder/src/stream.go b/transcoder/src/stream.go index aa766800..05fe1926 100644 --- a/transcoder/src/stream.go +++ b/transcoder/src/stream.go @@ -89,7 +89,7 @@ func (ts *Stream) run(start int32) error { ) var segments_str string - if end-start > 0 { + if end-start-1 > 0 { // We do not need the first value (start of the transcode) // nor the last one (end of the -to argument) // if we specify one of those, ffmpeg creates a really small segment and