2024-05-10, 11:12 AM
(This post was last modified: 2024-05-10, 03:05 PM by ainmosni. Edited 2 times in total.)
Hey all,
When I try to play certain videos via the Android app, I get the following error:
When looking at the logs, I see an ffmpeg command followed by
When I enter the container and run the command in the logs I see the following:
My playback config page looks like this:
My jellyfin server is running in a container running privileged in a single node kubernetes cluster.
The image I'm using is the official image:
The Jellyfin version in this image is
And the video cards are an integrated radeon card, that I don't want to use, and an intel ARC a380 that I'm trying to use via QSV.
The video does play properly when played on my laptop through firefox or on my LG TV via the WebOS app.
This is probably something I'm missing, but this is not my speciality,
Thanks in advance.
When I try to play certain videos via the Android app, I get the following error:
When looking at the logs, I see an ffmpeg command followed by
Code:
[12:34:20] [ERR] [303] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 1
When I enter the container and run the command in the logs I see the following:
Code:
root@jellyfin-0:/config# /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -autorotate 0 -i file:"/config/test.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_qsv -low_power 1 -preset 7 -look_ahead 0 -b:v 4041447 -maxrate 4041447 -bufsize 8082894 -profile:v:0 high -level 41 -g:v:0 72 -keyint_min:v:0 72 -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 libfdk_aac -ac 2 -ab 192000 -ar 48000 -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/6155ff3833d70620e888d60b5dd1704d%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/6155ff3833d70620e888d60b5dd1704d.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
Input #0, matroska,webm, from 'file:/config/test.mkv':
Metadata:
title : Dimension 20 - S21E16 - Untapped Rage
COMPATIBLE_BRANDS: isomiso2avc1mp41
MAJOR_BRAND : isom
MINOR_VERSION : 512
ENCODER : Lavf60.16.100
Duration: 01:41:14.50, start: 0.000000, bitrate: 4041 kb/s
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080, 23.98 fps, 23.98 tbr, 1k tbn (default)
Metadata:
HANDLER_NAME : VideoHandler
VENDOR_ID : [0][0][0][0]
DURATION : 01:41:14.444000000
Stream #0:1(eng): Audio: aac (LC), 48000 Hz, stereo, fltp (default)
Metadata:
HANDLER_NAME : SoundHandler
VENDOR_ID : [0][0][0][0]
DURATION : 01:41:14.496000000
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_qsv))
Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[h264_qsv @ 0x556cec8dfa80] Selected ratecontrol mode is unsupported
[h264_qsv @ 0x556cec8dfa80] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[libfdk_aac @ 0x556cec8f5e80] 2 frames left in the queue on closing
Conversion failed!
My playback config page looks like this:
My jellyfin server is running in a container running privileged in a single node kubernetes cluster.
The image I'm using is the official image:
Code:
docker.io/jellyfin/jellyfin@sha256:41fc4f9a51f638930bf16eace81acacbafaf26436d0efc0b0edd9447cb134a2c
The Jellyfin version in this image is
Code:
10.8.13
And the video cards are an integrated radeon card, that I don't want to use, and an intel ARC a380 that I'm trying to use via QSV.
The video does play properly when played on my laptop through firefox or on my LG TV via the WebOS app.
This is probably something I'm missing, but this is not my speciality,
Thanks in advance.