aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.MediaEncoding
AgeCommit message (Collapse)Author
2020-01-07Update MediaBrowser.MediaEncoding/Probing/MediaChapter.csBond-009
Co-Authored-By: Erwin de Haan <EraYaN@users.noreply.github.com>
2019-12-23Fix typoBond_009
2019-12-22Fix exceptions while scanningBond_009
Fixes these exceptions: ``` [2019-12-22 20:48:14.779 +01:00] [ERR] Error in WaitForExit System.InvalidOperationException: No process is associated with this object. at System.Diagnostics.Process.EnsureState(State state) at System.Diagnostics.Process.EnsureState(State state) at System.Diagnostics.Process.GetWaitState() at System.Diagnostics.Process.WaitForExitCore(Int32 milliseconds) at System.Diagnostics.Process.WaitForExit(Int32 milliseconds) at Emby.Server.Implementations.Diagnostics.CommonProcess.WaitForExit(Int32 timeMs) in /home/pi/dev/jellyfin/Emby.Server.Implementations/Diagnostics/CommonProcess.cs:line 100 at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.StopProcess(ProcessWrapper process, Int32 waitTimeMs) in /home/pi/dev/jellyfin/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs:line 785 [2019-12-22 20:48:14.790 +01:00] [INF] Killing ffmpeg process [2019-12-22 20:48:14.795 +01:00] [ERR] Error killing process System.InvalidOperationException: No process is associated with this object. at System.Diagnostics.Process.EnsureState(State state) at System.Diagnostics.Process.EnsureState(State state) at System.Diagnostics.Process.Kill() at Emby.Server.Implementations.Diagnostics.CommonProcess.Kill() in /home/pi/dev/jellyfin/Emby.Server.Implementations/Diagnostics/CommonProcess.cs:line 95 at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.StopProcess(ProcessWrapper process, Int32 waitTimeMs) in /home/pi/dev/jellyfin/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs:line 799 [2019-12-22 20:48:14.808 +01:00] [ERR] Error in "ffprobe" System.Text.Json.JsonException: The JSON value could not be converted to System.String. Path: $.streams[0].start_pts | LineNumber: 32 | BytePositionInLine: 26. ---> System.InvalidOperationException: Cannot get the value of a token type 'Number' as a string. at System.Text.Json.Utf8JsonReader.GetString() at System.Text.Json.Serialization.Converters.JsonConverterString.Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options) at System.Text.Json.JsonPropertyInfoNotNullable`4.OnRead(JsonTokenType tokenType, ReadStack& state, Utf8JsonReader& reader) at System.Text.Json.JsonPropertyInfo.Read(JsonTokenType tokenType, ReadStack& state, Utf8JsonReader& reader) at System.Text.Json.JsonSerializer.HandleValue(JsonTokenType tokenType, JsonSerializerOptions options, Utf8JsonReader& reader, ReadStack& state) at System.Text.Json.JsonSerializer.ReadCore(JsonSerializerOptions options, Utf8JsonReader& reader, ReadStack& readStack) --- End of inner exception stack trace --- at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& readStack, Utf8JsonReader& reader, Exception ex) at System.Text.Json.JsonSerializer.ReadCore(JsonSerializerOptions options, Utf8JsonReader& reader, ReadStack& readStack) at System.Text.Json.JsonSerializer.ReadCore(JsonReaderState& readerState, Boolean isFinalBlock, ReadOnlySpan`1 buffer, JsonSerializerOptions options, ReadStack& readStack) at System.Text.Json.JsonSerializer.ReadAsync[TValue](Stream utf8Json, Type returnType, JsonSerializerOptions options, CancellationToken cancellationToken) at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, Boolean forceEnableLogging, CancellationToken cancellationToken) in /home/pi/dev/jellyfin/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs:line 399 at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken) in /home/pi/dev/jellyfin/MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs:line 122 at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken) in /home/pi/dev/jellyfin/MediaBrowser.Providers/Manager/MetadataService.cs:line 815 ```
2019-12-10Merge branch 'master' into mediaencodingBond_009
2019-11-25Add full Raspberry Pi hardware decoding supportferferga
2019-11-25Make probesize and analyzeduration configurable and simplify circularBond_009
dependencies Makes the probesize and analyzeduration configurable with env args. (`JELLYFIN_FFmpeg_probesize` and `FFmpeg_analyzeduration`)
2019-11-24Merge pull request #1991 from Bond-009/transtempJoshua M. Boniface
Don't append transcodes to transcoding temp path
2019-11-21Update depsBond_009
2019-11-21Don't append transcodes to transcoding temp pathBond-009
2019-11-02Merge pull request #1915 from Bond-009/hexdkanada
Rewrite hex encoder/decoder
2019-11-01Update deps and add MultiThreading analyzerBond_009
2019-11-01Rewrite hex encoder/decoderBond_009
2019-09-29Fix ffmpeg version check for unknown versionsBond_009
2019-09-28Add tests for EncoderValidatorBond_009
* Add support for ffmpeg 4.2 * Parse the complete ffmpeg version instead of only the first 2 digits * Make max and min version optional * Remove max limitation (for now) * Style improvements
2019-09-23Fix multiple mistakes and warningsBond_009
2019-09-11Update deps (#1735)Bond-009
2019-09-01Fix more warningsBond_009
2019-08-15Merge pull request #1614 from Bond-009/docs2dkanada
Document all public/internal members of Emby.Drawing
2019-08-11Document all public/internal members of Emby.DrawingBond_009
Forces all new public/internal members to be documented. Enables TreatWarningsAsErrors for Emby.Drawing
2019-08-11Update deps + document startup projectBond_009
* Fixed the release build * Documented all public/internal members of Jellyfin.Server * Enable TreatWarningsAsErrors for debug builds for Jellyfin.Server This will ensure that any new public/internal members of Jellyfin.Server are documented
2019-07-15Fixed SMI to SRT UTF-16 Encoding bugKhinenw
2019-06-20Merge pull request #1369 from teacupx/masterdkanada
Enable Exynos MFC encoder and fix transcoding bitrate control
2019-06-14Update depsBond_009
2019-06-11Stop path substitution in SubtitleEncoderTristan McCann
This fixes jellyfin/jellyfin#1446. I am not an expert in this section of code, but I cannot think of a need to do path substitution during subtitle encoding.
2019-05-11Enable Exynos V4L2-m2m HW encoderJMCC
2019-04-30Limit amount of ffmpeg processes extracting images at onceBond-009
2019-04-09applied changes to just also search jellyfin base dirPhallacy
2019-03-16Merge branch 'master' into subtitle-display-titleredSpoutnik
2019-03-14Change subtitles DisplayTitle behaviorredSpoutnik
2019-03-14Adjusted AssemblyCopyright attribute values.Erwin de Haan
2019-03-14Adjusted the Product Name so the User Agent is correct/better.Erwin de Haan
2019-03-13Merge pull request #1100 from ploughpuff/rmprobeswitchVasily
Finalise removal of --ffprobe switch
2019-03-13Merge pull request #1096 from dkanada/opensubsVasily
Remove open subtitles from the server
2019-03-12Finalise removal of --ffprobe switchPloughPuff
Removed --ffprobe from src files and server/docker scripts.
2019-03-12Merge branch 'master' into xmlBond-009
2019-03-11remove open subtitles from the serverdkanada
2019-03-07Address commentBond-009
2019-03-07Reduce the amount of exceptions thrownBond_009
2019-03-07Merge pull request #844 from ploughpuff/ffmpegVasily
Reworked FFmpeg path discovery and always display to user
2019-03-07Remove useless commentsBond_009
2019-03-06Merge pull request #915 from cvium/remove_encryptionmanagerVasily
Remove IEncryptionManager
2019-03-05Renamed Init() to SetFFmpegPath()PloughPuff
2019-03-05Remove --ffprobe logicPloughPuff
2019-03-05Address review comments from BondPloughPuff
2019-03-05Review commentsPloughPuff
Address review comments from JustAMan, Bond-009 and cvium.
2019-03-05Reworked FFmpeg path discovery and always display to userPloughPuff
1) Reworked FFmpeg and FFprobe path discovery (CLI switch, Custom xml, system $PATH, UI update trigger). Removed FFMpeg folder from Emby.Server.Implementations. All path discovery now in MediaEncoder. 2) Always display FFmpeg path to user in Transcode page. 3) Allow user to remove a Custome FFmpeg path and return to using system $PATH (or --ffmpeg if available). 4) Remove unused code associated with 'prebuilt' FFmpeg. 5) Much improved logging during path discovery.
2019-03-05Merge pull request #900 from ploughpuff/validatorJoshua M. Boniface
Implement proper FFmpeg version checking
2019-02-28Improve logic when determining return valueVasily
Co-Authored-By: ploughpuff <33969763+ploughpuff@users.noreply.github.com>
2019-02-27Use Version Class to ease comparisonsPloughPuff
2019-02-24Set EnableRaisingEvents to true for processes that require itClaus Vium