fix hls segmenter on windows (#686)

This commit is contained in:
Jason Dove
2022-03-08 19:58:41 -06:00
committed by GitHub
parent bc225d35fa
commit f66bc783a7
2 changed files with 2 additions and 2 deletions
+1
View File
@@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased]
### Fixed
- Fix `HLS Direct` streaming mode
- Fix bug with `HLS Segmenter` (and `MPEG-TS`) on Windows that caused errors at program boundaries
### Added
- Perform additional duration analysis on files with missing duration metadata
@@ -64,8 +64,7 @@ public class GetLastPtsDurationHandler : IRequestHandler<GetLastPtsDuration, Eit
StandardErrorEncoding = Encoding.UTF8
};
startInfo.ArgumentList.Add("-v");
startInfo.ArgumentList.Add("0");
// `-v 0` seems to prevent ffprobe from outputting anything on windows
startInfo.ArgumentList.Add("-show_entries");
startInfo.ArgumentList.Add("packet=pts,duration");
startInfo.ArgumentList.Add("-of");