Browse Source

fix hls segmenter on windows (#686)

pull/687/head
Jason Dove 4 years ago committed by GitHub
parent
commit
f66bc783a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 3
      ErsatzTV.Application/Streaming/Queries/GetLastPtsDurationHandler.cs

1
CHANGELOG.md

@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). @@ -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

3
ErsatzTV.Application/Streaming/Queries/GetLastPtsDurationHandler.cs

@ -64,8 +64,7 @@ public class GetLastPtsDurationHandler : IRequestHandler<GetLastPtsDuration, Eit @@ -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");

Loading…
Cancel
Save