Jellyfin Forum
SOLVED: Direct play not working - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Direct play not working (/t-solved-direct-play-not-working)



Direct play not working - xEska - 2024-03-28

I installed a fresh Jellyfin instance on my TrueNas Scale from TrueCharts and direct play isn't working. Transcoding play in browser works fine, but when I try to direct play from windows jellyfin media player it doesn't work. It tries to load and after couple of seconds it displays message "Playback failed with error "loading failed"."  I have another Jellyfin instance on windows pc and direct play is working fine there. Any known solutions?

Logs when it doesn't work:
Code:
[2024-03-28 19:45:50.897 +01:00] [INF] [37] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "admin". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-03-28 19:45:50.897 +01:00] [INF] [37] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Jellyfin Media Player", Path="/Media/Anime/No Game No Life/Movies/No Game No Life Zero.mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/072696f3-fe35-1040-c238-541ed7a480da/stream.mkv?MediaSourceId=072696f3fe351040c238541ed7a480da&Static=true&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=2&api_key=<token>&Tag=de2da249e9b4aa864681b5ec9be27b71"
[2024-03-28 19:45:50.988 +01:00] [INF] [42] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Adding playback tracker : SmVsbHlmaW5NZWRpYVBsYXllciAxLjkuMSAod2luZG93cy14ODZfNjQgMTApfDE2OTM1NzA2ODA5MjA1-d62cc28ce54346c9955d8f928008fcba-072696f3fe351040c238541ed7a480da
[2024-03-28 19:45:50.988 +01:00] [INF] [42] Jellyfin.Plugin.PlaybackReporting.Data.PlaybackTracker: PlaybackTracker : Adding Start Event : 03/28/2024 19:45:50
[2024-03-28 19:45:50.988 +01:00] [INF] [42] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Creating StartPlaybackTimer Task
[2024-03-28 19:45:50.988 +01:00] [INF] [40] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Entered
[2024-03-28 19:45:51.945 +01:00] [INF] [40] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Processing playback tracker : "SmVsbHlmaW5NZWRpYVBsYXllciAxLjkuMSAod2luZG93cy14ODZfNjQgMTApfDE2OTM1NzA2ODA5MjA1-d62cc28ce54346c9955d8f928008fcba-072696f3fe351040c238541ed7a480da"
[2024-03-28 19:46:10.990 +01:00] [INF] [44] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: session.RemoteEndPoint : "10.0.0.80"
[2024-03-28 19:46:10.990 +01:00] [INF] [44] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_playing_id    = "072696f3fe351040c238541ed7a480da"
[2024-03-28 19:46:10.990 +01:00] [INF] [44] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_user_id        = "d62cc28ce54346c9955d8f928008fcba"
[2024-03-28 19:46:10.990 +01:00] [INF] [44] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_user_id_int    = 1
[2024-03-28 19:46:10.990 +01:00] [INF] [44] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : session_playing_id  = "072696f3fe351040c238541ed7a480da"
[2024-03-28 19:46:10.990 +01:00] [INF] [44] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : session_user_id      = "d62cc28ce54346c9955d8f928008fcba"
[2024-03-28 19:46:10.990 +01:00] [INF] [44] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : play_method          = "DirectPlay"
[2024-03-28 19:46:10.990 +01:00] [INF] [44] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : e.ClientName        = "Jellyfin Media Player"
[2024-03-28 19:46:10.990 +01:00] [INF] [44] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : e.DeviceName        = "DESKTOP"
[2024-03-28 19:46:10.990 +01:00] [INF] [44] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemName            = "No Game, No Life - s00e00 - No Game No Life Zero"
[2024-03-28 19:46:10.990 +01:00] [INF] [44] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemId              = "072696f3fe351040c238541ed7a480da"
[2024-03-28 19:46:10.990 +01:00] [INF] [44] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemType            = "Episode"
[2024-03-28 19:46:10.990 +01:00] [INF] [44] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : All matches, playback registered
[2024-03-28 19:46:10.990 +01:00] [INF] [44] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Playback tracker found, adding playback info : "SmVsbHlmaW5NZWRpYVBsYXllciAxLjkuMSAod2luZG93cy14ODZfNjQgMTApfDE2OTM1NzA2ODA5MjA1-d62cc28ce54346c9955d8f928008fcba-072696f3fe351040c238541ed7a480da"
[2024-03-28 19:46:10.990 +01:00] [INF] [44] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Saving playback tracking activity in DB
[2024-03-28 19:46:11.010 +01:00] [INF] [44] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Exited
[2024-03-28 19:46:12.002 +01:00] [INF] [44] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Processing playback tracker : "SmVsbHlmaW5NZWRpYVBsYXllciAxLjkuMSAod2luZG93cy14ODZfNjQgMTApfDE2OTM1NzA2ODA5MjA1-d62cc28ce54346c9955d8f928008fcba-072696f3fe351040c238541ed7a480da"
[2024-03-28 19:46:32.017 +01:00] [INF] [32] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Processing playback tracker : "SmVsbHlmaW5NZWRpYVBsYXllciAxLjkuMSAod2luZG93cy14ODZfNjQgMTApfDE2OTM1NzA2ODA5MjA1-d62cc28ce54346c9955d8f928008fcba-072696f3fe351040c238541ed7a480da"
[2024-03-28 19:46:53.003 +01:00] [INF] [52] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Processing playback tracker : "SmVsbHlmaW5NZWRpYVBsYXllciAxLjkuMSAod2luZG93cy14ODZfNjQgMTApfDE2OTM1NzA2ODA5MjA1-d62cc28ce54346c9955d8f928008fcba-072696f3fe351040c238541ed7a480da"
[2024-03-28 19:47:10.481 +01:00] [INF] [40] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Media Player" "1.9.1" playing "No Game No Life Zero". Stopped at "0" ms
[2024-03-28 19:47:10.530 +01:00] [INF] [28] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Playback stop tracker found, processing stop : "SmVsbHlmaW5NZWRpYVBsYXllciAxLjkuMSAod2luZG93cy14ODZfNjQgMTApfDE2OTM1NzA2ODA5MjA1-d62cc28ce54346c9955d8f928008fcba-072696f3fe351040c238541ed7a480da"
[2024-03-28 19:47:10.530 +01:00] [INF] [28] Jellyfin.Plugin.PlaybackReporting.Data.PlaybackTracker: PlaybackTracker : Adding Stop Event : 03/28/2024 19:47:10
[2024-03-28 19:47:10.530 +01:00] [INF] [28] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Saving playback tracking activity in DB


Logs when I play from browser and it is working:
Code:
/videos/072696f3-fe35-1040-c238-541ed7a480da/hls1/main/0.ts

{"Protocol":0,"Id":"072696f3fe351040c238541ed7a480da","Path":"/Media/Anime/No Game No Life/Movies/No Game No Life Zero.mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv,webm","Size":1367458432,"Name":"No Game No Life Zero","IsRemote":false,"ETag":"de2da249e9b4aa864681b5ec9be27b71","RunTimeTicks":63603621888,"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":[{"Codec":"ass","CodecTag":null,"Language":"pol","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/100","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"Pol - ASS - External","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":0,"Score":null,"IsExternal":true,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"/Media/Anime/No Game No Life/Movies/No Game No Life Zero.pol.ass","PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"h264","CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":"bt709","ColorTransfer":"bt709","ColorPrimaries":"bt709","DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":"SDR","VideoRangeType":"SDR","VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"1080p H264 SDR","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"ChannelLayout":null,"BitRate":1719975,"BitDepth":10,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"Height":1080,"Width":1920,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"High 10","Type":1,"AspectRatio":"16:9","Index":1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p10le","Level":41,"IsAnamorphic":null},{"Codec":"aac","CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"Stereo","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"Stereo - AAC - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"stereo","BitRate":186709,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":"LC","Type":0,"AspectRatio":null,"Index":2,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"ass","CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"Undefined - Default - ASS","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":3,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":3,"FileName":"KOZUKAMINCHOPR6NM-EN.TTF","MimeType":"application/x-truetype-font","DeliveryUrl":null},{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":4,"FileName":"LT.ttf","MimeType":"application/x-truetype-font","DeliveryUrl":null},{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":5,"FileName":"LT_3italic.ttf","MimeType":"application/x-truetype-font","DeliveryUrl":null},{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":6,"FileName":"Maximize.otf","MimeType":"application/x-truetype-font","DeliveryUrl":null},{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":7,"FileName":"Amienne.ttf","MimeType":"application/x-truetype-font","DeliveryUrl":null},{"Codec":"otf","CodecTag":"[0][0][0][0]","Comment":null,"Index":8,"FileName":"BENGUIATGOTHICBOLD.OTF","MimeType":"application/vnd.ms-opentype","DeliveryUrl":null},{"Codec":null,"CodecTag":"[0][0][0][0]","Comment":null,"Index":9,"FileName":"0.txt","MimeType":"text/plain","DeliveryUrl":null}],"Formats":[],"Bitrate":1906684,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -f matroska,webm -autorotate 0 -i file:"/Media/Anime/No Game No Life/Movies/No Game No Life Zero.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -preset veryfast -crf 23 -maxrate 4299938 -bufsize 8599876 -profile:v:0 high -level 41 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames:0 "expr:gte(t,0+n_forced*3)" -sc_threshold:v:0 0 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(1920\,1080*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(1920/a\,1080))/2)*2,format=yuv420p" -codec:a:0 copy -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 "/config/transcodes/00fa46a838a797cd77a82e1d90cbe771%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/00fa46a838a797cd77a82e1d90cbe771.m3u8"


ffmpeg version 5.1.4-Jellyfin Copyright (c) 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
[matroska,webm @ 0x564c4478a9c0] Could not find codec parameters for stream 9 (Attachment: none): unknown codec
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (5000000) options
Input #0, matroska,webm, from 'file:/Media/Anime/No Game No Life/Movies/No Game No Life Zero.mkv':
  Metadata:
    encoder        : libebml v1.4.2 + libmatroska v1.6.4
    creation_time  : 2021-10-01T06:32:58.000000Z
  Duration: 01:46:00.36, start: 0.000000, bitrate: 1719 kb/s
  Chapters:
    Chapter #0:0: start 0.033000, end 162.901000
      Metadata:
        title          : Part A
    Chapter #0:1: start 162.901000, end 284.701000
      Metadata:
        title          : Part B
    Chapter #0:2: start 284.701000, end 584.834000
      Metadata:
        title          : Part C
    Chapter #0:3: start 584.834000, end 835.126000
      Metadata:
        title          : Part D
    Chapter #0:4: start 835.126000, end 1157.537000
      Metadata:
        title          : Part E
    Chapter #0:5: start 1157.537000, end 1708.457000
      Metadata:
        title          : Part F
    Chapter #0:6: start 1708.457000, end 1982.138000
      Metadata:
        title          : Part G
    Chapter #0:7: start 1982.138000, end 2287.905000
      Metadata:
        title          : Part H
    Chapter #0:8: start 2287.905000, end 2519.434000
      Metadata:
        title          : Part I
    Chapter #0:9: start 2519.434000, end 2642.265000
      Metadata:
        title          : Part J
    Chapter #0:10: start 2642.265000, end 3033.364000
      Metadata:
        title          : Part K
    Chapter #0:11: start 3033.364000, end 3501.498000
      Metadata:
        title          : Part L
    Chapter #0:12: start 3501.498000, end 3854.100000
      Metadata:
        title          : Part M
    Chapter #0:13: start 3854.100000, end 4208.175000
      Metadata:
        title          : Part N
    Chapter #0:14: start 4208.175000, end 4364.360000
      Metadata:
        title          : Part O
    Chapter #0:15: start 4364.360000, end 5072.526000
      Metadata:
        title          : Part P
    Chapter #0:16: start 5072.526000, end 5294.748000
      Metadata:
        title          : Part Q
    Chapter #0:17: start 5294.748000, end 5895.598000
      Metadata:
        title          : Part R
    Chapter #0:18: start 5895.598000, end 6050.544000
      Metadata:
        title          : Part S
    Chapter #0:19: start 6050.544000, end 6360.362000
      Metadata:
        title          : ED
  Stream #0:0: Video: h264 (High 10), yuv420p10le(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      BPS-eng        : 1528729
      DURATION-eng    : 01:45:59.312000000
      NUMBER_OF_FRAMES-eng: 152471
      NUMBER_OF_BYTES-eng: 1215208313
      _STATISTICS_WRITING_APP-eng: mkvmerge v55.0.0 ('Waiting For Space') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-10-01 06:32:58
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp (default)
    Metadata:
      title          : Stereo
      BPS-eng        : 186709
      DURATION-eng    : 01:46:00.362000000
      NUMBER_OF_FRAMES-eng: 298142
      NUMBER_OF_BYTES-eng: 148442850
      _STATISTICS_WRITING_APP-eng: mkvmerge v55.0.0 ('Waiting For Space') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-10-01 06:32:58
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2: Subtitle: ass (default)
    Metadata:
      BPS-eng        : 1122
      DURATION-eng    : 01:45:11.300000000
      NUMBER_OF_FRAMES-eng: 6373
      NUMBER_OF_BYTES-eng: 885367
      _STATISTICS_WRITING_APP-eng: mkvmerge v55.0.0 ('Waiting For Space') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-10-01 06:32:58
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:3: Attachment: ttf
    Metadata:
      filename        : KOZUKAMINCHOPR6NM-EN.TTF
      mimetype        : application/x-truetype-font
  Stream #0:4: Attachment: ttf
    Metadata:
      filename        : LT.ttf
      mimetype        : application/x-truetype-font
  Stream #0:5: Attachment: ttf
    Metadata:
      filename        : LT_3italic.ttf
      mimetype        : application/x-truetype-font
  Stream #0:6: Attachment: ttf
    Metadata:
      filename        : Maximize.otf
      mimetype        : application/x-truetype-font
  Stream #0:7: Attachment: ttf
    Metadata:
      filename        : Amienne.ttf
      mimetype        : application/x-truetype-font
  Stream #0:8: Attachment: otf
    Metadata:
      filename        : BENGUIATGOTHICBOLD.OTF
      mimetype        : application/vnd.ms-opentype
  Stream #0:9: Attachment: none
    Metadata:
      filename        : 0.txt
      mimetype        : text/plain
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[libx264 @ 0x564c44881980] using SAR=1/1
[libx264 @ 0x564c44881980] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x564c44881980] profile Main, level 4.1, 4:2:0, 8-bit
[libx264 @ 0x564c44881980] 264 - core 160 r3011 cde9a93 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x1:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=4 chroma_me=0 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=30 lookahead_threads=5 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=23 scenecut=0 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=4299 vbv_bufsize=8599 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
Output #0, hls, to '/config/transcodes/00fa46a838a797cd77a82e1d90cbe771.m3u8':
  Metadata:
    encoder        : Lavf59.27.100
  Stream #0:0: Video: h264, yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 90k tbn (default)
    Metadata:
      encoder        : Lavc59.37.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 4299000/0/0 buffer size: 8599000 vbv_delay: N/A
  Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp (default)
frame=    1 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A speed=  0x   
frame=  47 fps=0.0 q=28.0 size=N/A time=00:00:01.87 bitrate=N/A speed=3.02x   
frame=  78 fps= 69 q=28.0 size=N/A time=00:00:03.24 bitrate=N/A speed=2.87x   
frame=  107 fps= 66 q=28.0 size=N/A time=00:00:04.37 bitrate=N/A speed=2.68x   
[hls @ 0x564c44873900] Opening '/config/transcodes/00fa46a838a797cd77a82e1d90cbe7710.ts' for writing
frame=  144 fps= 68 q=28.0 size=N/A time=00:00:05.97 bitrate=N/A speed= 2.8x   
frame=  173 fps= 65 q=28.0 size=N/A time=00:00:07.16 bitrate=N/A speed=2.71x   
[hls @ 0x564c44873900] Opening '/config/transcodes/00fa46a838a797cd77a82e1d90cbe7711.ts' for writing
frame=  203 fps= 63 q=28.0 size=N/A time=00:00:08.53 bitrate=N/A speed=2.65x   
frame=  229 fps= 61 q=28.0 size=N/A time=00:00:09.41 bitrate=N/A speed=2.53x   
[hls @ 0x564c44873900] Opening '/config/transcodes/00fa46a838a797cd77a82e1d90cbe7712.ts' for writing
frame=  261 fps= 62 q=28.0 size=N/A time=00:00:10.98 bitrate=N/A speed= 2.6x   
frame=  291 fps= 61 q=28.0 size=N/A time=00:00:12.18 bitrate=N/A speed=2.57x   
frame=  316 fps= 60 q=28.0 size=N/A time=00:00:13.20 bitrate=N/A speed=2.52x   
[hls @ 0x564c44873900] Opening '/config/transcodes/00fa46a838a797cd77a82e1d90cbe7713.ts' for writing
frame=  335 fps= 58 q=28.0 size=N/A time=00:00:13.88 bitrate=N/A speed=2.41x   
frame=  353 fps= 56 q=28.0 size=N/A time=00:00:14.59 bitrate=N/A speed=2.31x   
frame=  371 fps= 54 q=28.0 size=N/A time=00:00:15.34 bitrate=N/A speed=2.25x   
frame=  391 fps= 53 q=28.0 size=N/A time=00:00:16.17 bitrate=N/A speed=2.21x   
[hls @ 0x564c44873900] Opening '/config/transcodes/00fa46a838a797cd77a82e1d90cbe7714.ts' for writing
frame=  411 fps= 52 q=35.0 size=N/A time=00:00:17.02 bitrate=N/A speed=2.17x   
frame=  435 fps= 52 q=38.0 size=N/A time=00:00:18.13 bitrate=N/A speed=2.18x   
frame=  455 fps= 51 q=36.0 size=N/A time=00:00:18.86 bitrate=N/A speed=2.13x   
frame=  474 fps= 50 q=29.0 size=N/A time=00:00:19.60 bitrate=N/A speed=2.08x   
[hls @ 0x564c44873900] Opening '/config/transcodes/00fa46a838a797cd77a82e1d90cbe7715.ts' for writing
frame=  490 fps= 49 q=31.0 size=N/A time=00:00:20.28 bitrate=N/A speed=2.04x   
frame=  510 fps= 48 q=29.0 size=N/A time=00:00:21.14 bitrate=N/A speed=2.01x   
frame=  530 fps= 48 q=28.0 size=N/A time=00:00:22.08 bitrate=N/A speed=  2x   
[hls @ 0x564c44873900] Opening '/config/transcodes/00fa46a838a797cd77a82e1d90cbe7716.ts' for writing
frame=  555 fps= 48 q=28.0 size=N/A time=00:00:23.21 bitrate=N/A speed=  2x   
frame=  598 fps= 49 q=28.0 size=N/A time=00:00:24.91 bitrate=N/A speed=2.05x   
[hls @ 0x564c44873900] Opening '/config/transcodes/00fa46a838a797cd77a82e1d90cbe7717.ts' for writing
frame=  625 fps= 49 q=28.0 size=N/A time=00:00:25.89 bitrate=N/A speed=2.05x   
frame=  645 fps= 49 q=28.0 size=N/A time=00:00:26.77 bitrate=N/A speed=2.04x   
frame=  666 fps= 49 q=28.0 size=N/A time=00:00:27.77 bitrate=N/A speed=2.03x   
frame=  688 fps= 49 q=28.0 size=N/A time=00:00:28.63 bitrate=N/A speed=2.02x   
[hls @ 0x564c44873900] Opening '/config/transcodes/00fa46a838a797cd77a82e1d90cbe7718.ts' for writing
frame=  714 fps= 49 q=28.0 size=N/A time=00:00:29.65 bitrate=N/A speed=2.02x   
frame=  735 fps= 49 q=28.0 size=N/A time=00:00:30.55 bitrate=N/A speed=2.02x   
frame=  764 fps= 49 q=28.0 size=N/A time=00:00:31.74 bitrate=N/A speed=2.02x   
[hls @ 0x564c44873900] Opening '/config/transcodes/00fa46a838a797cd77a82e1d90cbe7719.ts' for writing
frame=  790 fps= 49 q=28.0 size=N/A time=00:00:32.93 bitrate=N/A speed=2.03x   
frame=  816 fps= 49 q=28.0 size=N/A time=00:00:34.00 bitrate=N/A speed=2.03x   
[hls @ 0x564c44873900] Opening '/config/transcodes/00fa46a838a797cd77a82e1d90cbe77110.ts' for writing
frame=  843 fps= 49 q=28.0 size=N/A time=00:00:35.03 bitrate=N/A speed=2.03x   
frame=  869 fps= 49 q=28.0 size=N/A time=00:00:36.22 bitrate=N/A speed=2.04x   
frame=  906 fps= 50 q=28.0 size=N/A time=00:00:37.78 bitrate=N/A speed=2.07x   
[hls @ 0x564c44873900] Opening '/config/transcodes/00fa46a838a797cd77a82e1d90cbe77111.ts' for writing
frame=  939 fps= 50 q=28.0 size=N/A time=00:00:39.04 bitrate=N/A speed=2.08x   
frame=  971 fps= 50 q=28.0 size=N/A time=00:00:40.57 bitrate=N/A speed=2.11x   
[hls @ 0x564c44873900] Opening '/config/transcodes/00fa46a838a797cd77a82e1d90cbe77112.ts' for writing
frame= 1008 fps= 51 q=28.0 size=N/A time=00:00:42.11 bitrate=N/A speed=2.13x   
frame= 1037 fps= 51 q=28.0 size=N/A time=00:00:43.09 bitrate=N/A speed=2.13x   
[hls @ 0x564c44873900] Opening '/config/transcodes/00fa46a838a797cd77a82e1d90cbe77113.ts' for writing
frame= 1067 fps= 51 q=28.0 size=N/A time=00:00:44.52 bitrate=N/A speed=2.14x   
frame= 1099 fps= 52 q=28.0 size=N/A time=00:00:45.74 bitrate=N/A speed=2.14x   
[hls @ 0x564c44873900] Opening '/config/transcodes/00fa46a838a797cd77a82e1d90cbe77114.ts' for writing
frame= 1137 fps= 52 q=28.0 size=N/A time=00:00:47.36 bitrate=N/A speed=2.17x   

[q] command received. Exiting.

[hls @ 0x564c44873900] Opening '/config/transcodes/00fa46a838a797cd77a82e1d90cbe77115.ts' for writing
frame= 1148 fps= 52 q=-1.0 Lsize=N/A time=00:00:47.87 bitrate=N/A speed=2.16x   
video:9429kB audio:1056kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[libx264 @ 0x564c44881980] frame I:16    Avg QP:17.10  size: 48820
[libx264 @ 0x564c44881980] frame P:408  Avg QP:20.97  size: 15393
[libx264 @ 0x564c44881980] frame B:724  Avg QP:22.51  size:  3582
[libx264 @ 0x564c44881980] consecutive B-frames: 10.8% 13.1%  6.8% 69.3%
[libx264 @ 0x564c44881980] mb I  I16..4: 65.6%  0.0% 34.4%
[libx264 @ 0x564c44881980] mb P  I16..4: 25.5%  0.0%  0.0%  P16..4: 22.2%  0.0%  0.0%  0.0%  0.0%    skip:52.3%
[libx264 @ 0x564c44881980] mb B  I16..4:  2.6%  0.0%  0.0%  B16..8:  9.4%  0.0%  0.0%  direct: 2.5%  skip:85.5%  L0:46.0% L1:44.9% BI: 9.1%
[libx264 @ 0x564c44881980] coded y,uvDC,uvAC intra: 17.5% 19.4% 3.6% inter: 3.7% 3.7% 0.0%
[libx264 @ 0x564c44881980] i16 v,h,dc,p: 44% 26% 11% 19%
[libx264 @ 0x564c44881980] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 26% 13%  9%  6%  5%  6%  6%  6%
[libx264 @ 0x564c44881980] i8c dc,h,v,p: 69% 16% 12%  3%
[libx264 @ 0x564c44881980] Weighted P-Frames: Y:10.8% UV:1.7%
[libx264 @ 0x564c44881980] kb/s:1613.05



RE: Direct play not working - TheDreadPirate - 2024-03-28

Its hard to say. Did you test the same file on your Windows instance? The TrueCharts version is not an official distribution of Jellyfin. Its possible something is different with it that is breaking Jellyfin. If possible, could you use TrueNAS's Docker capability and run the official jellyfin/jellyfin image?


RE: Direct play not working - xEska - 2024-03-28

Yes I tested on the same file. I will try installing from official image.


RE: Direct play not working - bitmap - 2024-03-28

Check your logs for the transcode reason. Or recreate the issue and look in your Dashboard at the tile that shows the playback session; click the little (i) icon to get the transcode reason. That's the easiest place to start -- it could be user-based, policy-based, etc... Otherwise it's a shot in the dark to offer suggestions.


RE: Direct play not working - xEska - 2024-03-28

So, I installed version from official repo and it is now working. The TrueCharts version is broken in my case.