fix hls segmenter on windows (#686)
This commit is contained in:
@@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
### Fixed
|
### Fixed
|
||||||
- Fix `HLS Direct` streaming mode
|
- Fix `HLS Direct` streaming mode
|
||||||
|
- Fix bug with `HLS Segmenter` (and `MPEG-TS`) on Windows that caused errors at program boundaries
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
- Perform additional duration analysis on files with missing duration metadata
|
- Perform additional duration analysis on files with missing duration metadata
|
||||||
|
|||||||
@@ -64,8 +64,7 @@ public class GetLastPtsDurationHandler : IRequestHandler<GetLastPtsDuration, Eit
|
|||||||
StandardErrorEncoding = Encoding.UTF8
|
StandardErrorEncoding = Encoding.UTF8
|
||||||
};
|
};
|
||||||
|
|
||||||
startInfo.ArgumentList.Add("-v");
|
// `-v 0` seems to prevent ffprobe from outputting anything on windows
|
||||||
startInfo.ArgumentList.Add("0");
|
|
||||||
startInfo.ArgumentList.Add("-show_entries");
|
startInfo.ArgumentList.Add("-show_entries");
|
||||||
startInfo.ArgumentList.Add("packet=pts,duration");
|
startInfo.ArgumentList.Add("packet=pts,duration");
|
||||||
startInfo.ArgumentList.Add("-of");
|
startInfo.ArgumentList.Add("-of");
|
||||||
|
|||||||
Reference in New Issue
Block a user