aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs
AgeCommit message (Collapse)Author
2020-02-17#2407: Prefer MP4-Metadata for episodesUlrich Wagner
2020-01-08fix buildBond-009
2020-01-08Merge branch 'master' into scanerrorsBond-009
2020-01-08Merge pull request #1838 from Unhelpful/media-attachmentsdkanada
Add support for embedded attachments in media files
2020-01-08rename two properties based on code suggestionsdkanada
2020-01-06Update MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.csBond-009
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2020-01-02Replace unicode char with its integer valueBond_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-11-05Remove check for "[0]" in codec_tag.Andrew Mahone
2019-10-22Add new MediaAttachment to store attachments found during media probing.Andrew Mahone
2019-03-16Merge branch 'master' into subtitle-display-titleredSpoutnik
2019-03-14Change subtitles DisplayTitle behaviorredSpoutnik
2019-03-07Remove useless commentsBond_009
2019-01-17Reformat JustAMan review pt2 changesErwin de Haan
Refs #575
2019-01-13ReSharper format: conform inline 'out' parameters.Erwin de Haan
2019-01-13ReSharper conform to 'var' settingsErwin de Haan
2019-01-13Find+Sed BOM removal *.cs: MediaBrowser.LocalMetadata-MediaBrowser.ModelErwin de Haan
2019-01-13Visual Studio Reformat: MediaBrowser.MediaEncodingErwin de Haan
2019-01-11Merge branch 'dev' into code-cleanupErwin de Haan
2019-01-10Mayor code cleanupErwin de Haan
Add Argument*Exceptions now use proper nameof operators. Added exception messages to quite a few Argument*Exceptions. Fixed rethorwing to be proper syntax. Added a ton of null checkes. (This is only a start, there are about 500 places that need proper null handling) Added some TODOs to log certain exceptions. Fix sln again. Fixed all AssemblyInfo's and added proper copyright (where I could find them) We live in *current year*. Fixed the use of braces. Fixed a ton of properties, and made a fair amount of functions static that should be and can be static. Made more Methods that should be static static. You can now use static to find bad functions! Removed unused variable. And added one more proper XML comment.
2019-01-07remove trailing whitespacehawken
2019-01-02Remove some warningsBond_009
2018-12-30Fix exception loggingBond_009
2018-12-30RebaseBond_009
2018-12-14Port MediaEncoding and Api.Playback from ↵Mathieu Velten
10e57ce8d21b4516733894075001819f3cd6db6b
2017-08-09consolidate emby.server.core into emby.server.implementationsLuke Pulverenti
2017-08-04update container valueLuke Pulverenti
2017-05-26update GetItems methodLuke Pulverenti
2017-05-10dummy up audio bitrates when neededLuke Pulverenti
2017-03-26determine interlaced from ffprobe dataLuke Pulverenti
2017-03-07update mjpeg stream detectionLuke Pulverenti
2017-01-26update ShortOverviewLuke Pulverenti
2017-01-26update live stream bitratesLuke Pulverenti
2017-01-24update now playing screenLuke Pulverenti
2016-12-20update media info bitrateLuke Pulverenti
2016-12-03update xml parsingLuke Pulverenti
2016-12-03update xml readersLuke Pulverenti
2016-12-03update probingLuke Pulverenti
2016-12-03fixes #2324 - [BUG] FFProbe: StartIndex cannot be less than zeroLuke Pulverenti
2016-11-19update save methodsLuke Pulverenti
2016-11-08update portable projectsLuke Pulverenti
2016-11-02update xml parsingLuke Pulverenti
2016-11-01reduce imported peopleLuke Pulverenti
2016-10-30update project targetsLuke Pulverenti
2016-10-29normalize subtitle namesLuke Pulverenti
2016-10-25make controller project portableLuke Pulverenti
2016-10-23rework scheduled tasks in preparation of common project going portableLuke Pulverenti
2016-10-06avoid buffering http responsesLuke Pulverenti
2016-09-20normalize subtitle namesLuke Pulverenti
2016-08-18update item by name validatorsLuke Pulverenti