• 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 Live TV Recordings playback issues error 500

     
    • 0 Vote(s) - 0 Average

    Live TV Recordings playback issues error 500

    Having issues playing back recordings, HTTP error 500 Internal Server Error
    Wolfman726
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Feb
    Reputation: 0
    #1
    2024-02-08, 03:58 AM
    Hi all. I am having issues playing back live recordings. Latest version 10.8.13 installed on a Windows 7 PC. Viewing live TV works perfectly fine. Trying to play back a recording results in " This client isn't compatible with the media and the server isn't sending a compatible media format.". A 500 error code is generated i the log file.

    I am running NextPVR on a separate machine than Jellyfin. I tried having it installed on same machine and a similar error was produced but with a "400" error code.

    I have tried everything i can think of and cannot find a fix.

    Any suggestions would be greatly appreciated! See below for log file.



    /videos/a369cfc6-d6f0-e1e6-0f42-771d3b9e2db4/hls1/main/0.ts

    {"Protocol":1,"Id":"2278","Path":"http://192.168.10.229:8866/live?recording=2278","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":null,"Size":null,"Name":null,"IsRemote":false,"ETag":null,"RunTimeTicks":216570000000,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":true,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":null,"IsoType":null,"Video3DFormat":null,"MediaStreams":[],"MediaAttachments":[],"Formats":[],"Bitrate":null,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

    ffmpeg -analyzeduration 200M -autorotate 0 -i "http://192.168.10.229:8866/live?recording=2278" -map_metadata -1 -map_chapters -1 -threads 0 -sn  -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "C:\ProgramData\Jellyfin\Server\transcodes\1cb1fd67d06ebad80437d5933240fb95%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "C:\ProgramData\Jellyfin\Server\transcodes\1cb1fd67d06ebad80437d5933240fb95.m3u8"


    ffmpeg version 6.0.1-Jellyfin Copyright © 2000-2023 the FFmpeg developers
      built with gcc 12-win32 (GCC)
      configuration: --prefix=/opt/ffmpeg --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --pkg-config=pkg-config --pkg-config-flags=--static --extra-version=Jellyfin --disable-ffplay --disable-debug --disable-doc --disable-sdl2 --disable-ptx-compression --disable-w32threads --enable-pthreads --enable-shared --enable-lto --enable-gpl --enable-version3 --enable-schannel --enable-iconv --enable-libxml2 --enable-zlib --enable-lzma --enable-gmp --enable-chromaprint --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libwebp --enable-libvpx --enable-libzimg --enable-libx264 --enable-libx265 --enable-libsvtav1 --enable-libdav1d --enable-libfdk-aac --enable-opencl --enable-dxva2 --enable-d3d11va --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
      libavutil      58.  2.100 / 58.  2.100
      libavcodec    60.  3.100 / 60.  3.100
      libavformat    60.  3.100 / 60.  3.100
      libavdevice    60.  1.100 / 60.  1.100
      libavfilter    9.  3.100 /  9.  3.100
      libswscale      7.  1.100 /  7.  1.100
      libswresample  4. 10.100 /  4. 10.100
      libpostproc    57.  1.100 / 57.  1.100
    [http @ 00000000000fc500] HTTP error 500 Internal Server Error
    http://192.168.10.229:8866/live?recording=2278: Server returned 5XX Server Error reply
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #2
    2024-02-08, 04:07 AM
    since nextpvr is having the issue you will almost certainly find better support from their forum https://forums.nextpvr.com

    i would start by trying to open that url in a browser, VLC or MPV though, expectation is it will still return the 500
    Wolfman726
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Feb
    Reputation: 0
    #3
    2024-02-08, 04:12 AM
    (2024-02-08, 04:07 AM)tmsrxzar Wrote: since nextpvr is having the issue you will almost certainly find better support from their forum https://forums.nextpvr.com

    i would start by trying to open that url in a browser, VLC or MPV though, expectation is it will still return the 500

    Thanks for your suggestion! NextPVR plays the files fine. I can play thru there or download and play the recorded file. Using the URL does seem to work.
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #4
    2024-02-08, 04:27 AM
    wading into unfamiliar waters but...

    if it works outside of jellyfin, is there any method to see the logs on nextpvr to explain the 500
    or see what headers are sent from jellyfin then replicate with curl to find something being sent that may be causing an error
    possibly re-authenticate the plugin?

    i have never used nextpvr and only once used jellyfin for live tv with iptv so these are just things i would be attempting if i were in your situation
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2024-02-08, 05:06 AM (This post was last modified: 2024-02-08, 05:07 AM by TheDreadPirate.)
    Going to echo what tmsrxzar said. NextPVR is the probably source of the problem in some way or another. 500 errors indicates an upstream server problem. Maybe something to do with the Jellyfin user agent?

    When you manually go to that URL what format is it sending it as?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Wolfman726
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Feb
    Reputation: 0
    #6
    2024-02-08, 05:21 AM
    (2024-02-08, 05:06 AM)TheDreadPirate Wrote: Going to echo what tmsrxzar said.  NextPVR is the probably source of the problem in some way or another.  500 errors indicates an upstream server problem.  Maybe something to do with the Jellyfin user agent?

    When you manually go to that URL what format is it sending it as?

    No errors in the NextPVR logs.

    When I navigate to the URL it downloads the file right into my browser, as a normal file type. putting ts at the end lets me play it.
    emveepee
    Offline

    Junior Member

    Posts: 3
    Threads: 0
    Joined: 2024 Mar
    Reputation: 0
    Country:Canada
    #7
    2024-03-13, 07:40 PM
    You should use the NextPVR forums for support. This issue is explained here, https://forums.nextpvr.com/showthread.ph...#pid564960 As explained it is not a NextPVR issue.

    If Jellyfin ever adds a callback so the addon could provide a new token rather that static URL's the addon could be updated.

    Martin
    « 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