@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased]
### Fixed
- Fix generated streams with mpeg2video
## [0.1.5-alpha] - 2021-10-18
@ -375,7 +375,8 @@ namespace ErsatzTV.Core.FFmpeg
{
"-c:v", playbackSettings.VideoCodec,
"-flags", "cgop",
"-sc_threshold", "0" // disable scene change detection
// disable scene change detection except with mpeg2video
"-sc_threshold", playbackSettings.VideoCodec == "mpeg2video" ? "1000000000" : "0"
};
if (!string.IsNullOrWhiteSpace(_outputPixelFormat))