Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direct play behavior changes depending on HWA selection #2024

Open
5 tasks done
solidsnake1298 opened this issue Nov 2, 2024 · 2 comments
Open
5 tasks done

Direct play behavior changes depending on HWA selection #2024

solidsnake1298 opened this issue Nov 2, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@solidsnake1298
Copy link
Member

solidsnake1298 commented Nov 2, 2024

This issue respects the following points:

  • This is a bug, not a question or a configuration issue; Please visit our forum or chat rooms first to troubleshoot with volunteers, before creating a report. The links can be found here.
  • This issue is not already reported on GitHub (I've searched it).
  • I'm using an up to date version of Jellyfin Server stable, unstable or master; We generally do not support previous older versions. If possible, please update to the latest version before opening an issue.
  • I agree to follow Jellyfin's Code of Conduct.
  • This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.

Description of the bug

Direct play behavior changes when server side hardware acceleration options are changed.

On my Roku 4802X, with MPEG2 compatibility enabled, it will direct play an MPEG2 video with AC3 audio in a TS container when hardware acceleration is set to Intel Quick Sync. The logs, intel_gpu_top, btop confirm that no ffmpeg process is spawned during playback on the Roku client.

When I switch hardware acceleration to "none", on the same Roku client with the same video, Jellyfin will transcode the video due to the client "not supporting the container".

Reproduction steps

  1. Have a video with MPEG2 video, AAC or AC3 audio, in a TS container.
  2. Enable MPEG2 compatibility on a Roku device
  3. On the server go to Dashboard > Playback > Transcoding, and set the hardware acceleration drop down to none
  4. Play the MPEG2 video.

What is the current bug behavior?

Depending on the HWA selection, the client playback behavior changes. Direct play when HWA is enabled, transcoding when HWA is none.

What is the expected correct behavior?

That this video would direct play, regardless if HWA is enabled or not. In general, whether HWA is enabled or not should not change whether a video is transcoded or direct played.

Jellyfin Server version

10.10.0+

Specify commit id

No response

Specify unstable release number

No response

Specify version number

No response

Specify the build version

10.10.0

Environment

  • OS: Ubuntu 24.04.1
  • Linux Kernel: 6.8.0-47-generic
  • Virtualization: Docker
  • Clients: Roku 4802X, Roku OS 14.0, JF app version 2.2.1
  • Browser: n/a
  • FFmpeg Version: 7.0.2-5
  • Playback Method: n/a
  • Hardware Acceleration: QSV, none
  • GPU Model: Intel Arc A380
  • Plugins: n/a
  • Reverse Proxy: Nginx
  • Base URL: n/a
  • Networking: bridge
  • Storage: local

Jellyfin logs

When HWA is set to none.

[2024-11-02 14:41:10.642 -04:00] [INF] [171] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "Chris". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-11-02 14:41:10.642 -04:00] [INF] [171] Jellyfin.Api.Helpers.MediaInfoHelper: RemoteClientBitrateLimit: 120000000, RemoteIP: "192.168.1.58", IsInLocalNetwork: True
[2024-11-02 14:41:11.375 -04:00] [INF] [170] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G  -i file:\"/media/storage2/testGeneric/shinchan.ts\" -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 5898854 -bufsize 11797708 -profile:v:0 high -level 42 -x264opts:0 subme=0:me_range=16:rc_lookahead=10:me=hex:open_gop=0 -force_key_frames:0 \"expr:gte(t,n_forced*3)\" -sc_threshold:v:0 0 -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,yadif=1:-1:0,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 \"/media/ramdisk/c8548e830a4b8ac592122fbf33218eb1%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/media/ramdisk/c8548e830a4b8ac592122fbf33218eb1.m3u8\""
[2024-11-02 14:41:12.839 -04:00] [INF] [170] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Adding playback tracker : cd414001-4762-5b41-8304-fc15215c017cChris-3a783413b0e344a0ad5622204ef4c275-d15b7c09468bf07ffbbef0cfdcfe2bd1
[2024-11-02 14:41:12.839 -04:00] [INF] [170] Jellyfin.Plugin.PlaybackReporting.Data.PlaybackTracker: PlaybackTracker : Adding Start Event : 11/02/2024 14:41:12
[2024-11-02 14:41:12.839 -04:00] [INF] [170] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Creating StartPlaybackTimer Task
[2024-11-02 14:41:12.839 -04:00] [INF] [104] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Entered
[2024-11-02 14:41:13.837 -04:00] [INF] [174] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Processing playback tracker : "cd414001-4762-5b41-8304-fc15215c017cChris-3a783413b0e344a0ad5622204ef4c275-d15b7c09468bf07ffbbef0cfdcfe2bd1"
[2024-11-02 14:41:22.296 -04:00] [INF] [104] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Stopping ffmpeg process with q command for "/media/ramdisk/c8548e830a4b8ac592122fbf33218eb1.m3u8"
[2024-11-02 14:41:22.782 -04:00] [INF] [104] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0

When HWA is set to Intel Quick Sync.

[2024-11-02 13:51:16.290 -04:00] [INF] [127] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "Chris". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-11-02 13:51:16.290 -04:00] [INF] [127] Jellyfin.Api.Helpers.MediaInfoHelper: RemoteClientBitrateLimit: 120000000, RemoteIP: "192.168.1.58", IsInLocalNetwork: True
[2024-11-02 13:51:17.091 -04:00] [INF] [96] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Adding playback tracker : cd414001-4762-5b41-8304-fc15215c017cChris-3a783413b0e344a0ad5622204ef4c275-d15b7c09468bf07ffbbef0cfdcfe2bd1
[2024-11-02 13:51:17.091 -04:00] [INF] [96] Jellyfin.Plugin.PlaybackReporting.Data.PlaybackTracker: PlaybackTracker : Adding Start Event : 11/02/2024 13:51:17
[2024-11-02 13:51:17.091 -04:00] [INF] [96] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Creating StartPlaybackTimer Task
[2024-11-02 13:51:17.091 -04:00] [INF] [127] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Entered
[2024-11-02 13:51:18.075 -04:00] [INF] [95] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Processing playback tracker : "cd414001-4762-5b41-8304-fc15215c017cChris-3a783413b0e344a0ad5622204ef4c275-d15b7c09468bf07ffbbef0cfdcfe2bd1"
[2024-11-02 13:51:19.025 -04:00] [INF] [20] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Roku" "2.2.1" playing "shinchan". Stopped at "2000" ms

FFmpeg logs


/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G  -i file:"/media/storage2/testGeneric/shinchan.ts" -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 5898854 -bufsize 11797708 -profile:v:0 high -level 42 -x264opts:0 subme=0:me_range=16:rc_lookahead=10:me=hex:open_gop=0 -force_key_frames:0 "expr:gte(t,n_forced*3)" -sc_threshold:v:0 0 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,yadif=1:-1:0,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 "/media/ramdisk/c8548e830a4b8ac592122fbf33218eb1%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/media/ramdisk/c8548e830a4b8ac592122fbf33218eb1.m3u8"


ffmpeg version 7.0.2-Jellyfin Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 12 (Debian 12.2.0-14)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      59.  8.100 / 59.  8.100
  libavcodec     61.  3.100 / 61.  3.100
  libavformat    61.  1.100 / 61.  1.100
  libavdevice    61.  1.100 / 61.  1.100
  libavfilter    10.  1.100 / 10.  1.100
  libswscale      8.  1.100 /  8.  1.100
  libswresample   5.  1.100 /  5.  1.100
  libpostproc    58.  1.100 / 58.  1.100
Input #0, mpegts, from 'file:/media/storage2/testGeneric/shinchan.ts':
  Duration: 02:32:26.04, start: 1.433000, bitrate: 5898 kb/s
  Program 1 
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
  Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 720x480 [SAR 8:9 DAR 4:3], 29.97 fps, 29.97 tbr, 90k tbn
      Side data:
        cpb: bitrate max/min/avg: 9600000/0/0 buffer size: 1835008 vbv_delay: N/A
  Stream #0:1[0x101](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 192 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[libx264 @ 0x5567ef673080] using SAR=8/9
[libx264 @ 0x5567ef673080] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x5567ef673080] profile High, level 4.2, 4:2:0, 8-bit
[libx264 @ 0x5567ef673080] 264 - core 164 r3095 baee400 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=2 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=25 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=5898 vbv_bufsize=11797 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
Output #0, hls, to '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb1.m3u8':
  Metadata:
    encoder         : Lavf61.1.100
  Stream #0:0: Video: h264, yuv420p(tv, bt709, progressive), 720x480 [SAR 8:9 DAR 4:3], q=2-31, 59.94 fps, 90k tbn
      Metadata:
        encoder         : Lavc61.3.100 libx264
      Side data:
        cpb: bitrate max/min/avg: 5898000/0/0 buffer size: 11797000 vbv_delay: N/A
  Stream #0:1: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 192 kb/s
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb10.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb11.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb12.ts' for writing
frame=  650 fps=0.0 q=31.0 size=N/A time=00:00:00.00 bitrate=N/A speed=   0x    
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb13.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb14.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb15.ts' for writing
frame= 1217 fps=1217 q=31.0 size=N/A time=00:00:09.45 bitrate=N/A speed=9.46x    
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb16.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb17.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb18.ts' for writing
frame= 1708 fps=1138 q=31.0 size=N/A time=00:00:17.65 bitrate=N/A speed=11.8x    
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb19.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb110.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb111.ts' for writing
frame= 2275 fps=1137 q=31.0 size=N/A time=00:00:27.11 bitrate=N/A speed=13.6x    
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb112.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb113.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb114.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb115.ts' for writing
frame= 2986 fps=1194 q=31.0 size=N/A time=00:00:38.97 bitrate=N/A speed=15.6x    
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb116.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb117.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb118.ts' for writing
frame= 3530 fps=1176 q=31.0 size=N/A time=00:00:48.04 bitrate=N/A speed=  16x    
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb119.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb120.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb121.ts' for writing
frame= 4070 fps=1163 q=31.0 size=N/A time=00:00:57.05 bitrate=N/A speed=16.3x    
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb122.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb123.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb124.ts' for writing
frame= 4672 fps=1168 q=31.0 size=N/A time=00:01:07.10 bitrate=N/A speed=16.8x    
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb125.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb126.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb127.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb128.ts' for writing
frame= 5361 fps=1191 q=31.0 size=N/A time=00:01:18.59 bitrate=N/A speed=17.5x    
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb129.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb130.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb131.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb132.ts' for writing
frame= 6045 fps=1209 q=31.0 size=N/A time=00:01:30.00 bitrate=N/A speed=  18x    
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb133.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb134.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb135.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb136.ts' for writing
frame= 6760 fps=1229 q=31.0 size=N/A time=00:01:41.93 bitrate=N/A speed=18.5x    
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb137.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb138.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb139.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb140.ts' for writing
frame= 7433 fps=1238 q=31.0 size=N/A time=00:01:53.16 bitrate=N/A speed=18.9x    
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb141.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb142.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb143.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb144.ts' for writing
frame= 8140 fps=1252 q=31.0 size=N/A time=00:02:04.95 bitrate=N/A speed=19.2x    
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb145.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb146.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb147.ts' for writing
frame= 8803 fps=1257 q=31.0 size=N/A time=00:02:16.01 bitrate=N/A speed=19.4x    
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb148.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb149.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb150.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb151.ts' for writing
frame= 9444 fps=1259 q=31.0 size=N/A time=00:02:26.71 bitrate=N/A speed=19.6x    
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb152.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb153.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb154.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb155.ts' for writing
frame=10185 fps=1273 q=31.0 size=N/A time=00:02:39.09 bitrate=N/A speed=19.9x    
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb156.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb157.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb158.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb159.ts' for writing
frame=10873 fps=1279 q=31.0 size=N/A time=00:02:50.55 bitrate=N/A speed=20.1x    
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb160.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb161.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb162.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb163.ts' for writing
frame=11535 fps=1281 q=31.0 size=N/A time=00:03:01.59 bitrate=N/A speed=20.2x    
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb164.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb165.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb166.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb167.ts' for writing
frame=12242 fps=1288 q=31.0 size=N/A time=00:03:13.39 bitrate=N/A speed=20.4x    
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb168.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb169.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb170.ts' for writing
frame=12871 fps=1287 q=31.0 size=N/A time=00:03:23.88 bitrate=N/A speed=20.4x    
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb171.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb172.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb173.ts' for writing
[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb174.ts' for writing


[q] command received. Exiting.

[hls @ 0x5567eace58c0] Opening '/media/ramdisk/c8548e830a4b8ac592122fbf33218eb175.ts' for writing
[out#0/hls @ 0x5567eac7d100] video:19212KiB audio:5282KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
frame=13576 fps=1289 q=-1.0 Lsize=N/A time=00:03:35.56 bitrate=N/A speed=20.5x    
[libx264 @ 0x5567ef673080] frame I:76    Avg QP:23.21  size: 25666
[libx264 @ 0x5567ef673080] frame P:3662  Avg QP:26.67  size:  3657
[libx264 @ 0x5567ef673080] frame B:9838  Avg QP:29.38  size:   440
[libx264 @ 0x5567ef673080] consecutive B-frames:  0.8%  7.0%  1.9% 90.3%
[libx264 @ 0x5567ef673080] mb I  I16..4: 21.2% 37.8% 41.0%
[libx264 @ 0x5567ef673080] mb P  I16..4:  6.0%  6.0%  1.6%  P16..4: 21.7%  5.3%  2.0%  0.0%  0.0%    skip:57.4%
[libx264 @ 0x5567ef673080] mb B  I16..4:  0.6%  0.3%  0.0%  B16..8:  4.8%  0.7%  0.0%  direct: 3.4%  skip:90.1%  L0:43.6% L1:47.6% BI: 8.8%
[libx264 @ 0x5567ef673080] 8x8 transform intra:42.0% inter:35.6%
[libx264 @ 0x5567ef673080] coded y,uvDC,uvAC intra: 41.3% 56.4% 27.0% inter: 3.5% 3.7% 0.1%
[libx264 @ 0x5567ef673080] i16 v,h,dc,p: 42% 30% 19%  9%
[libx264 @ 0x5567ef673080] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 17% 31%  8%  6%  6%  6%  5%  7%
[libx264 @ 0x5567ef673080] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 20% 14%  8%  7%  7%  8%  6%  8%
[libx264 @ 0x5567ef673080] i8c dc,h,v,p: 38% 27% 28%  7%
[libx264 @ 0x5567ef673080] Weighted P-Frames: Y:4.7% UV:1.0%
[libx264 @ 0x5567ef673080] kb/s:694.83

Client / Browser logs

No response

Relevant screenshots or videos

No response

Additional information

Forum user mentions that this has happened with all versions after 10.8.9.

https://forum.jellyfin.org/t-still-using-10-8-9

@solidsnake1298 solidsnake1298 added the bug Something isn't working label Nov 2, 2024
@gnattu
Copy link
Member

gnattu commented Nov 2, 2024

I think this should be moved to roku repo and from the log the direct play behavior just comes from the software transcoding took too long to initialize so the client just gives up and the server is using ffmpeg to transcode despite the HWA is enabled or not.

@thornbill thornbill transferred this issue from jellyfin/jellyfin Nov 4, 2024
@jimdogx
Copy link
Contributor

jimdogx commented Nov 4, 2024

Funny enough, just this weekend I started running a local build of the Roku client with the timeout set to 60 instead of 30 for a different reason.

I think I will submit a PR that makes it configurable by the user, which would address this issue as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Wrong Repo
Development

No branches or pull requests

3 participants