• 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 SOLVED: Cant get videos to play

     
    • 0 Vote(s) - 0 Average

    SOLVED: Cant get videos to play

    Attempting to set up jellyfin on truenas, however my videos wont play.
    Slugger 94
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Mar
    Reputation: 0
    #1
    2024-03-31, 06:35 PM (This post was last modified: 2024-03-31, 06:41 PM by Slugger 94. Edited 1 time in total.)
    I'm using TrueNAS scale, and I downloaded the jellyfin APP on it.
    I set up 3 different Locations for video storage so I can organize my files smoothly (working as intended. videos all show up in the correct location on Jellyfin, despite not being able to play.)

    Media file type:
    MP4 (recorded on iPhone and uploaded to PC then to the NAS jellyfin file)
    Hardware:
    Old dell OptiPlex 790 w/ i5-2400
    Drive is 750gb HDD
    App Version: 10.8.13.1
    Chart Version: 1.2.7
    ___________________________________________________________________________________
    • I keep getting this when attempting to play a video
    "This client isn't compatible with the media and the server isn't sending a compatible media format."
    • ffmpeg. transcode Log reports
    " test-1.mp4: Permission denied "
    • the log in TrueNAS reports:
    ...."Slow HTTP Response from http://192.168.0.103:30013/Sessions/Playing/Stopped to 192.168.0.104 in 0:00:01.5160504 with Status Code 204"

    - I can't find a solution for either of these error reports.

    ffmpeg.transcode LOG:
    /videos/7487f4c0-45c2-c368-60b4-4b96f83e31e8/live.m3u8

    {"Protocol":0,"Id":"7487f4c045c2c36860b44b96f83e31e8","Path":"/media/Home_videos/5 lifts, video-1, test-1.mp4","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mp4","Size":null,"Name":"5 lifts, video-1, test-1","IsRemote":false,"ETag":"8bf6ad010969a1a538defba3ef3311f4","RunTimeTicks":null,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[],"MediaAttachments":[],"Formats":[],"Bitrate":null,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

    /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -f mp4 -autorotate 0 -i file:"/media/Home_videos/5 lifts, video-1, test-1.mp4" -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_base_url "hls/39d4768f48b4bb337684aa4fbb327068/" -hls_segment_filename "/config/transcodes/39d4768f48b4bb337684aa4fbb327068%d.ts" -hls_playlist_type event -hls_list_size 0 -y "/config/transcodes/39d4768f48b4bb337684aa4fbb327068.m3u8"


    ffmpeg version 5.1.4-Jellyfin Copyright © 2000-2023 the FFmpeg developers
    built with gcc 10 (Debian 10.2.1-6)
    configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libsvtav1 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
    libavutil 57. 28.100 / 57. 28.100
    libavcodec 59. 37.100 / 59. 37.100
    libavformat 59. 27.100 / 59. 27.100
    libavdevice 59. 7.100 / 59. 7.100
    libavfilter 8. 44.100 / 8. 44.100
    libswscale 6. 7.100 / 6. 7.100
    libswresample 4. 7.100 / 4. 7.100
    libpostproc 56. 6.100 / 56. 6.100
    file:/media/Home_videos/5 lifts, video-1, test-1.mp4: Permission denied
    END OF LOG

    NAS LOG
    2024-03-31 14:11:21.972140-04:00at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
    2024-03-31 14:11:21.972158-04:00at Jellyfin.Server.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
    2024-03-31 14:11:21.972176-04:00at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
    2024-03-31 14:11:21.972194-04:00at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
    2024-03-31 14:11:21.972212-04:00at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
    2024-03-31 14:11:21.972230-04:00at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
    2024-03-31 14:11:21.972248-04:00at Jellyfin.Server.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
    2024-03-31 14:11:21.972267-04:00at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
    2024-03-31 14:11:21.972285-04:00at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
    2024-03-31 14:11:21.972304-04:00at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
    2024-03-31 14:11:23.161821-04:00[18:11:23] [INF] [68] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) /config/transcodes/b0936093ba8f6afbba01639d68195daf.m3u8
    2024-03-31 14:11:23.161997-04:00[18:11:23] [INF] [68] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) /config/transcodes/39d4768f48b4bb337684aa4fbb327068.m3u8
    2024-03-31 14:11:24.664598-04:00[18:11:24] [INF] [80] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app Jellyfin Media Player 1.9.1 playing 5 lifts, video-1, test-1. Stopped at 0 ms
    2024-03-31 14:11:24.674729-04:00[18:11:24] [WRN] [80] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from http://192.168.0.103:30013/Sessions/Playing/Stopped to 192.168.0.104 in 0:00:01.5160504 with Status Code 204
    END OF LOG

    Any help would mean a LOOOOT!
    -Thank you in advance!
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-03-31, 09:48 PM
    The slow HTTP response messages are rarely useful. There is a setting in the Logs Dashboard to turn them off.

    But the root of your problem is the permission denied message. Jellyfin can't play it if it doesn't have permission to read it.
    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]
    Slugger 94
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Mar
    Reputation: 0
    #3
    2024-03-31, 10:20 PM (This post was last modified: 2024-03-31, 10:22 PM by Slugger 94. Edited 1 time in total.)

    (2024-03-31, 09:48 PM)TheDreadPirate Wrote: The slow HTTP response messages are rarely useful.  There is a setting in the Logs Dashboard to turn them off.

    But the root of your problem is the permission denied message.  Jellyfin can't play it if it doesn't have permission to read it.
    would you now how to could add the permissions? I've already added the "apps" user and group to the dataset, and its still not working.
    Slugger 94
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Mar
    Reputation: 0
    #4
    2024-03-31, 10:44 PM
    Figured out the solution.

    I needed to go into the file from my windows PC (like you would for an internal storage device), right click for properties -> security -> edit (under "Group or user names:") -> *add permissions manually there for apps/other people*

    frustrating how that isn't set up like that when the when I set it up through the NAS GUI.

    -Thank you TheDreadPirate!!!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2024-03-31, 10:51 PM
    I have no idea the specifics for a TrueCharts setup. From the command line you can ensure that Jellyfin has at least R-X access to the directory and R-- of the files. That can be through direct ownership of the directory, group ownership, or "other" permissions.
    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]
    dominique cook
    Offline

    Junior Member

    Posts: 7
    Threads: 0
    Joined: 2025 Apr
    Reputation: 0
    #6
    2025-04-14, 08:00 PM (This post was last modified: 2025-04-30, 07:31 PM by dominique cook. Edited 2 times in total.)
    First, you should check the file integrity because since your videos were recorded on an iPhone and uploaded to the NAS, there might be an issue with how they were transferred or encoded. Try playing the files directly from the NAS on your PC or another media player to ensure they are not corrupted. If they don't play, there might have been an issue during the upload or encoding process. You can also check out more ways to fix partially downloaded files https://www.linkedin.com/pulse/play-part...gasm-wln1e. Additionally, since you're using an older OptiPlex with relatively limited hardware, Jellyfin might be trying to transcode the files in real-time, which can fail if the hardware is insufficient. In the Jellyfin settings, make sure that transcoding is configured correctly, or try disabling it to see if direct play works. Another possibility is that the MP4 files are encoded in a way that Jellyfin doesn't fully support, so you could use a tool like HandBrake or FFmpeg to re-encode the files into a more compatible format
    « 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