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

Player has encountered an error - and transcoding/remuxing is now required to play #4258

Open
channeladam opened this issue Dec 3, 2024 · 0 comments
Labels
bug Something isn't working playback Issue related to media playback

Comments

@channeladam
Copy link

channeladam commented Dec 3, 2024

Describe the bug

Firestick 4K Max, up-to-date.
Jellyfin Android TV - I have tried both v17 and sideloaded v18 - and both have the same issue.

I think it is a server related issue.

  1. Play file
  2. Error shown - player has encountered an error
  3. I cry.

NOTE: I have always had transcoding turned OFF for the user - and these exact AV1 files played successfully a month or two ago - and now it does not.

NOW: The error happens, BUT if I enable "Allow video playback that requires conversion without re-encoding" it actually does a retry and plays successfully [EDIT: sometimes] - so that is the workaround for me but the root cause / error is still occurring.

I notice that the first ffmpeg command is doing hls stuff, whereas the retry does not. Not sure if that is helpful or meaningful.

thank you for all you efforts!

Logs

[2024-12-03 05:18:45.821 +00:00] [INF] [45] Main: Startup complete 0:00:20.6916509
[2024-12-03 05:18:53.124 +00:00] [INF] [22] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.12" request
[2024-12-03 05:19:09.172 +00:00] [INF] [118] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.45" request

[2024-12-03 05:19:42.175 +00:00] [INF] [32] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "adam". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: False EnableAudioPlaybackTranscoding: False

[2024-12-03 05:19:42.397 +00:00] [INF] [118] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -fflags +genpts -i file:"REDACTED.1080p.av1.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -start_at_zero -codec:a:0 copy -strict -2 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce.m3u8""

[2024-12-03 05:19:42.562 +00:00] [INF] [106] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Stopping ffmpeg process with q command for "/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce.m3u8"

[2024-12-03 05:19:42.569 +00:00] [INF] [91] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "adam". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: False EnableAudioPlaybackTranscoding: False

[2024-12-03 05:19:42.641 +00:00] [INF] [33] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -fflags +genpts -i file:"REDACTED.1080p.av1.mkv" -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 copy -y "/opt/jellyfin/cache/transcodes/2c2b1830935b6a6f407b9906bd834223.mkv""

[2024-12-03 05:19:42.972 +00:00] [INF] [106] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0
[2024-12-03 05:19:42.973 +00:00] [INF] [106] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) "/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce.m3u8"
[2024-12-03 05:19:44.669 +00:00] [INF] [123] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Android TV" "0.17.9" playing "REDACTED". Stopped at "0" ms

[2024-12-03 05:19:59.157 +00:00] [INF] [32] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Stopping ffmpeg process with q command for "/opt/jellyfin/cache/transcodes/2c2b1830935b6a6f407b9906bd834223.mkv"
[2024-12-03 05:19:59.886 +00:00] [INF] [160] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0

[2024-12-03 05:19:59.886 +00:00] [INF] [32] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) "/opt/jellyfin/cache/transcodes/2c2b1830935b6a6f407b9906bd834223.mkv"

[2024-12-03 05:20:01.467 +00:00] [INF] [160] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Android TV" "0.17.9" playing "REDACTED". Stopped at "14660" ms
[2024-12-03 05:20:17.451 +00:00] [INF] [118] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.12" closed
[2024-12-03 05:20:17.603 +00:00] [INF] [123] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.12" request

FFmpeg logs

ffmpeg version 7.0.2-Jellyfin Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 14.2.1 (GCC) 20240910
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-gpl --enable-version3 --enable-static --enable-gmp --enable-gnutls --enable-chromaprint --enable-libfontconfig --enable-libass --enable-libbluray --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libopenmpt --enable-libtheora --enable-libvorbis --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --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




...

###########################################################
###########################################################
THE FIRST / FAILED ATTEMPT:
###########################################################
###########################################################

/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -fflags +genpts  -i file:"REDACTED.1080p.av1.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -start_at_zero -codec:a:0 copy -strict -2 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce.m3u8"

...

  Stream #0:0(eng): Video: av1 (libdav1d) (Main), yuv420p10le(tv), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default)
      Metadata:
        BPS             : 693287
        DURATION        : 00:44:48.269000000
        NUMBER_OF_FRAMES: 64454
        NUMBER_OF_BYTES : 232967977
        _STATISTICS_WRITING_APP: mkvmerge v78.0 ('Running') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2023-08-13 14:02:50
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(eng): Audio: opus, 48000 Hz, 5.1, fltp (default)
      Metadata:
        ENCODER         : Lavc60.3.100 libopus
        BPS             : 573179
        DURATION        : 00:44:48.275000000
        NUMBER_OF_FRAMES: 134414
        NUMBER_OF_BYTES : 192608062
        _STATISTICS_WRITING_APP: mkvmerge v78.0 ('Running') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2023-08-13 14:02:50
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
      Metadata:
        ENCODER         : Lavc60.3.100 libopus
        BPS             : 176684
        DURATION        : 00:44:48.275000000
        NUMBER_OF_FRAMES: 134414
        NUMBER_OF_BYTES : 59372162
        _STATISTICS_WRITING_APP: mkvmerge v78.0 ('Running') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2023-08-13 14:02:50
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle (pgssub), 1920x1080
      Metadata:
        BPS             : 35363
        DURATION        : 00:43:53.798000000
        NUMBER_OF_FRAMES: 834
        NUMBER_OF_BYTES : 11642395
        _STATISTICS_WRITING_APP: mkvmerge v78.0 ('Running') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2023-08-13 14:02:50
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[out#0/hls @ 0x61b66dbbe940] Codec AVOption threads (set the number of threads) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Output #0, hls, to '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce.m3u8':
  Metadata:
    encoder         : Lavf61.1.100
  Stream #0:0: Video: av1 (Main), yuv420p10le(tv), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 90k tbn (default)
  Stream #0:1: Audio: opus, 48000 Hz, 5.1, fltp (default)
Press [q] to stop, [?] for help
[mpegts @ 0x61b66d620300] Stream 0, codec av1, is muxed as a private data stream and may not be recognized upon reading.
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce0.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce1.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce2.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce3.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce4.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce5.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce6.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce7.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce8.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce9.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce10.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce11.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce12.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce13.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce14.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce15.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce16.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce17.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce18.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce19.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce20.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce21.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce22.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce23.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce24.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce25.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce26.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce27.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce28.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce29.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce30.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce31.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce32.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce33.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce34.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce35.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce36.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce37.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce38.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce39.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce40.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce41.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce42.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce43.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce44.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce45.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce46.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce47.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce48.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce49.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce50.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce51.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce52.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce53.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce54.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce55.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce56.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce57.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce58.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce59.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce60.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce61.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce62.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce63.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce64.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce65.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce66.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce67.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce68.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce69.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce70.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce71.ts' for writing
[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce72.ts' for writing


[q] command received. Exiting.

[hls @ 0x61b66dc1ff40] Opening '/opt/jellyfin/cache/transcodes/676f2ccf4fdbbf7c2f4b1611fd28c6ce73.ts' for writing
[out#0/hls @ 0x61b66dbbe940] video:88697KiB audio:51471KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
size=N/A time=00:00:00.00 bitrate=N/A speed=   0x    






...

###########################################################
###########################################################
THE SUCCESSFUL RETRY:
###########################################################
###########################################################

/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -fflags +genpts  -i file:"REDACTED.1080p.av1.mkv" -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 copy -y "/opt/jellyfin/cache/transcodes/2c2b1830935b6a6f407b9906bd834223.mkv"

...

  Stream #0:0(eng): Video: av1 (libdav1d) (Main), yuv420p10le(tv), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default)
      Metadata:
        BPS             : 693287
        DURATION        : 00:44:48.269000000
        NUMBER_OF_FRAMES: 64454
        NUMBER_OF_BYTES : 232967977
        _STATISTICS_WRITING_APP: mkvmerge v78.0 ('Running') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2023-08-13 14:02:50
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(eng): Audio: opus, 48000 Hz, 5.1, fltp (default)
      Metadata:
        ENCODER         : Lavc60.3.100 libopus
        BPS             : 573179
        DURATION        : 00:44:48.275000000
        NUMBER_OF_FRAMES: 134414
        NUMBER_OF_BYTES : 192608062
        _STATISTICS_WRITING_APP: mkvmerge v78.0 ('Running') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2023-08-13 14:02:50
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
      Metadata:
        ENCODER         : Lavc60.3.100 libopus
        BPS             : 176684
        DURATION        : 00:44:48.275000000
        NUMBER_OF_FRAMES: 134414
        NUMBER_OF_BYTES : 59372162
        _STATISTICS_WRITING_APP: mkvmerge v78.0 ('Running') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2023-08-13 14:02:50
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle (pgssub), 1920x1080
      Metadata:
        BPS             : 35363
        DURATION        : 00:43:53.798000000
        NUMBER_OF_FRAMES: 834
        NUMBER_OF_BYTES : 11642395
        _STATISTICS_WRITING_APP: mkvmerge v78.0 ('Running') 64-bit
        _STATISTICS_WRITING_DATE_UTC: 2023-08-13 14:02:50
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[out#0/matroska @ 0x5654ebf959c0] Codec AVOption threads (set the number of threads) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Output #0, matroska, to '/opt/jellyfin/cache/transcodes/2c2b1830935b6a6f407b9906bd834223.mkv':
  Metadata:
    encoder         : Lavf61.1.100
  Stream #0:0: Video: av1 (Main) (AV01 / 0x31305641), yuv420p10le(tv), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 1k tbn (default)
  Stream #0:1: Audio: opus ([255][255][255][255] / 0xFFFFFFFF), 48000 Hz, 5.1, fltp (default)
Press [q] to stop, [?] for help
size=   26880KiB time=00:03:35.34 bitrate=1022.5kbits/s speed= 431x    
size=   56320KiB time=00:06:26.85 bitrate=1192.6kbits/s speed= 387x    
size=   81408KiB time=00:09:55.72 bitrate=1119.5kbits/s speed= 397x    
size=  117760KiB time=00:11:14.38 bitrate=1430.5kbits/s speed= 337x    
size=  154368KiB time=00:13:50.87 bitrate=1522.0kbits/s speed= 332x    
size=  180736KiB time=00:17:21.08 bitrate=1422.2kbits/s speed= 347x    
size=  210176KiB time=00:20:30.52 bitrate=1399.2kbits/s speed= 351x    
size=  243200KiB time=00:23:07.97 bitrate=1435.4kbits/s speed= 347x    
size=  279808KiB time=00:25:11.55 bitrate=1516.4kbits/s speed= 336x    
size=  306688KiB time=00:28:46.85 bitrate=1454.9kbits/s speed= 345x    
size=  331776KiB time=00:32:37.08 bitrate=1388.8kbits/s speed= 356x    
size=  356864KiB time=00:36:22.22 bitrate=1339.7kbits/s speed= 364x    
Transcoding is paused. Press [u] to resume.

Media info of the file

Video
ID                                       : 1
Format                                   : AV1
Format/Info                              : AOMedia Video 1
Format profile                           : [email protected]
Codec ID                                 : V_AV1
Duration                                 : 44 min 48 s
Bit rate                                 : 693 kb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.014
Stream size                              : 222 MiB (48%)
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color range                              : Limited

Audio #1
ID                                       : 2
Format                                   : Opus
Codec ID                                 : A_OPUS
Duration                                 : 44 min 48 s
Bit rate                                 : 573 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C Lb Rb LFE
Sampling rate                            : 48.0 kHz
Frame rate                               : 50.000 FPS (960 SPF)
Compression mode                         : Lossy
Stream size                              : 184 MiB (39%)
Writing library                          : Lavc60.3.100 libopus
Language                                 : English
Default                                  : Yes
Forced                                   : No

Audio #2
ID                                       : 3
Format                                   : Opus
Codec ID                                 : A_OPUS
Duration                                 : 44 min 48 s
Bit rate                                 : 177 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 50.000 FPS (960 SPF)
Compression mode                         : Lossy
Stream size                              : 56.6 MiB (12%)
Writing library                          : Lavc60.3.100 libopus
Language                                 : English
Default                                  : Yes
Forced                                   : No

Text
ID                                       : 4
Format                                   : PGS
Muxing mode                              : zlib
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 43 min 53 s
Bit rate                                 : 35.4 kb/s
Frame rate                               : 0.317 FPS
Count of elements                        : 834
Stream size                              : 11.1 MiB (2%)
Language                                 : English
Default                                  : No
Forced                                   : No

Application version

0.17.9 and 18

Device information

Fire TV Stick 4K Max

Android version

Fire OS 7.6.8.5

Jellyfin server version

10.10.3

@channeladam channeladam added bug Something isn't working playback Issue related to media playback labels Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working playback Issue related to media playback
Projects
None yet
Development

No branches or pull requests

1 participant