• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting ffprobe.exe - Application Error due to Jellyfin installation

    Pages (2): « Previous 1 2

     
    • 0 Vote(s) - 0 Average

    ffprobe.exe - Application Error due to Jellyfin installation

    Getting multiple Windows application errors about ffprobe.exe when Jellyfin server is running
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,065
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #11
    2024-10-18, 04:43 PM
    Could you provide your full logs that include these error messages? You can either attach the file or use Pastebin to share them.
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,065
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #12
    2024-10-23, 12:00 AM
    Code:
    2024-10-20 23:11:13.011 +03:00] [INF] [15] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"E:\DVDs\Cinema\2015-2019\Movie.mp4\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
    [2024-10-20 23:11:13.246 +03:00] [INF] [21] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"E:\TV Shows\Show Name\Season 1\Show Name.mp4\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"

    [2024-10-20 23:11:19.754 +03:00] [ERR] [43] MediaBrowser.Providers.Movies.MovieMetadataService: Error in "Probe Provider"
    System.Text.Json.JsonException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
    ---> System.Text.Json.JsonReaderException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.
      at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
      at System.Text.Json.Utf8JsonReader.Read()
      at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
      --- End of inner exception stack trace ---
      at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
      at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
      at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.DeserializeAsync(Stream utf8Json, CancellationToken cancellationToken)
      at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
      at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
      at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken)
      at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken)
    [2024-10-20 23:11:21.295 +03:00] [ERR] [21] MediaBrowser.Providers.TV.EpisodeMetadataService: Error in "Probe Provider"
    System.Text.Json.JsonException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
    ---> System.Text.Json.JsonReaderException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.
      at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
      at System.Text.Json.Utf8JsonReader.Read()
      at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
      --- End of inner exception stack trace ---
      at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
      at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
      at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.DeserializeAsync(Stream utf8Json, CancellationToken cancellationToken)
      at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
      at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
      at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken)
      at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken)

    Every time an error occurs, it involves the same two files. Move those files out of the directories so we can determine if the issue is related to them.
    Viper21
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    #13
    2024-11-08, 12:48 PM
    Sorry for the delay. When I remove those files, other files randomly start to throw system "ffprobe" errors, and they also don't play in Jellyfin Web (systems tries to play them but gets stuck).

    Note that these are culprit files are one that I have never had any problems with before, even in Jellyfin (up until a few months ago). And they play fine with any other media player I try.

    Recently, I added some new media and they too immediately started throwing ffprobe errors with Jellyfin server running. These files also play fine on any other media player.

    In the meantime, out of sheer frustration with Jellyfin, I installed the Emby server to see what happens. No problems whatsoever with the culprit files, no ffprobe errors, and they play just fine in the Emby web and Android clients.

    You may see this differently than me, but the bug seems to be with Jellyfin and not my files.
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,065
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #14
    2024-11-08, 04:15 PM
    Try temporarily disabling any firewall and security software running to see if it's causing the issue. Also, have you upgraded to the latest release, version 10.0.1?
    qwerty12
    Offline

    Junior Member

    Posts: 30
    Threads: 0
    Joined: 2023 Jun
    Reputation: 3
    #15
    2024-11-08, 05:04 PM (This post was last modified: 2024-11-08, 05:06 PM by qwerty12. Edited 2 times in total.)
    (2024-11-08, 12:48 PM)Viper21 Wrote: You may see this differently than me, but the bug seems to be with Jellyfin and not my files.

    This is, really, a Windows issue. Jellyfin is just trying to run ffprobe.exe but ffprobe.exe is crashing. Your Jellyfin logs show is that it's trying to run ffprobe.exe and failing. Jellyfin expects the output to be in a certain format - the log messages you're seeing from Jellyfin basically means there was no parseable output from ffprobe.exe which tracks because, well, ffprobe.exe is crashing. So the problem's outside of Jellyfin.

    0xc0000142 means STATUS_DLL_INIT_FAILED which I think means that some DLL file getting loaded by ffprobe.exe isn't able to load. A quick look at Jellyfin's ffprobe.exe shows it depends on absolutely nothing but DLLs that are shipped with Windows. Check your Event Viewer and look around the dates and times you're seeing a ffprobe crash - the full entry pertaining to the crash will have something like "faulting module name" in it with, hopefully, the name of the third-party DLL that's causing a crash. If you're having trouble finding an entry try manually running "C:\ProgramData\Jellyfin\Server\ffprobe.exe" -analyzeduration 200M -probesize 1G -i file:"C:\Sample2.mp4" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format in a Command Prompt to induce a crash there and then.
    Pages (2): « Previous 1 2

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode