Scarlet_lens
发表于 2025-3-27 16:30
Misaka_9993 发表于 2025-3-27 16:25
权限问题
谢谢,开了高权限后解决了。
panliao2
发表于 2025-3-30 00:53
真的太好了!!!!!!!!!!!!!!!!
港城钢铁侠
发表于 2025-3-31 15:37
大佬,ubuntu server 24.04安装时选了HWE,jellyfin转码卡住,日志:
jellyfin| Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
jellyfin| MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -f matroska,webm -init_hw_device vaapi=va:/dev/dri/renderD130,driver=iHD -init_hw_device qsv=qs@va -init_hw_device opencl=ocl@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/media/Movies/银河护卫队3 (2023)/银河护卫队3 (2023) 2160p EAC3 Atmos.mkv" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 hevc_qsv -tag:v:0 hvc1 -low_power 1 -preset veryfast -b:v 7506387 -max rate 7506387 -bufsize 15012774 -profile:v:0 main -level 50 -g:v:0 96 -keyint_min:v:0 96 -vf "setparams=color_primaries=bt2020:color_trc=smpte2084:colorspa ce=bt2020nc,scale_vaapi=w=2560:h=1440:extra_hw_frames=24,procamp_vaapi=b=16,tonemap_vaapi=format=nv12:p=bt709:t=bt709:m=bt709:extra_hw_frames=32,hwmap=der ive_device=qsv,format=qsv" -codec:a:0 libfdk_aac -ac 2 -vbr:a 5 -af "volume=2" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max _delay 5000000 -hls_time 4 -hls_segment_type fmp4 -hls_fmp4_init_filename "5c7eb9b6d88b007f9662920fba8a24c8-1.mp4" -start_number 0 -hls_segment_filename " /config/transcodes/5c7eb9b6d88b007f9662920fba8a24c8%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/5c7eb9b6d88b007f9662920fba8a24c8 .m3u8"
jellyfin| MediaBrowser.Controller.MediaEncoding.TranscodingJob: Stopping ffmpeg process with q command for /config/transcodes/5c7eb9b6d88b007f9662920fba8a24c8.m3u8
jellyfin| Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: A task was canceled. URL GET /videos/1d19d369-157c-814d-a518-09135d383eb0/hls1/main/-1.mp4.
jellyfin| MediaBrowser.Controller.MediaEncoding.TranscodingJob: Killing FFmpeg process for /config/transcodes/5c7eb9b6d88b007f9662920fba8a24c8.m3u8
jellyfin| Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
jellyfin| MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -ss 00:30:56.000 -noaccurate_seek -f matroska,webm -init_hw_device vaapi=va:/dev/dri/renderD130,driver=iHD -init_hw_device qsv=qs@va -init_hw_device opencl=ocl@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/media/Movies/银河护卫队3 (2023)/银河护卫队3 (2023) 2160p EAC3 Atmos.mkv" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 hevc_qsv -tag:v:0 hvc1 -low_power 1 -preset veryfast -b:v 7506387 -maxrate 7506387 -bufsize 15012774 -profile:v:0 main -level 50 -g:v:0 96 -keyint_min:v:0 96 -vf "setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,scale_vaapi=w=2560:h=1440:extra_hw_frames=24,procamp_vaapi=b=16,tonemap_vaapi=format=nv12:p=bt709:t=bt709:m=bt709:extra_hw_frames=32,hwmap=derive_device=qsv,format=qsv" -codec:a:0 libfdk_aac -ac 2 -vbr:a 5 -af "volume=2" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 4 -hls_segment_type fmp4 -hls_fmp4_init_filename "5c7eb9b6d88b007f9662920fba8a24c8-1.mp4" -start_number 464 -hls_segment_filename "/config/transcodes/5c7eb9b6d88b007f9662920fba8a24c8%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/5c7eb9b6d88b007f9662920fba8a24c8.m3u8"
jellyfin| MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 137
jellyfin| Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
内核版本是6.11.0-21-generic,之前强制xe驱动失败,手动下载了guc.bin才解决,现在能正常看到xe驱动加载了
0b:00.0 VGA compatible controller: Intel Corporation DG1 (rev 01) (prog-if 00 )
Subsystem: ASUSTeK Computer Inc. DG1
Flags: bus master, fast devsel, latency 0, IRQ 177, IOMMU group 28
Memory at 80000000 (64-bit, non-prefetchable)
Memory at 4e00000000 (64-bit, prefetchable)
Expansion ROM at 81000000
Capabilities: Vendor Specific Information: Len=0c <?>
Capabilities: Express Endpoint, MSI 00
Capabilities: MSI: Enable+ Count=1/1 Maskable+ 64bit+
Capabilities: Power Management version 3
Capabilities: Latency Tolerance Reporting
Kernel driver in use: xe
Kernel modules: i915, xe
多卡环境,确认了dg1对应的是renderD130,也直通给docker了
Misaka_9993
发表于 2025-3-31 15:41
港城钢铁侠 发表于 2025-3-31 15:37
大佬,ubuntu server 24.04安装时选了HWE,jellyfin转码卡住,日志:
jellyfin| Je ...
6.11的xe内核驱动有bug。
支持 Intel DG1 独显在 Linux 主线中使用(需要 6.13+/6.12.9+/6.6.70+/6.1.124+ 和 force_probe)
港城钢铁侠
发表于 2025-3-31 15:43
Misaka_9993 发表于 2025-3-31 15:41
6.11的xe内核驱动有bug。
支持 Intel DG1 独显在 Linux 主线中使用(需要 6.13+/6.12.9+/6.6.70+/6.1.12 ...
日,看来还得升级[困惑]
Misaka_9993
发表于 2025-3-31 16:02
港城钢铁侠 发表于 2025-3-31 15:43
日,看来还得升级
升级到满足要求的内核,然后用i915就行了。xe有时候性能还不如i915
港城钢铁侠
发表于 2025-3-31 16:55
Misaka_9993 发表于 2025-3-31 16:02
升级到满足要求的内核,然后用i915就行了。xe有时候性能还不如i915
换回标准版内核6.8.0-56发现xe也是可以使用的,能正常转码了
Misaka_9993
发表于 2025-3-31 18:08
港城钢铁侠 发表于 2025-3-31 16:55
换回标准版内核6.8.0-56发现xe也是可以使用的,能正常转码了
xe的6.8 opencl有bug
Albert_51
发表于 2025-4-14 15:12
10.10.7这次更新完用反向代理的要去网络里填代理服务器地址,不然登录记录里不能显示正确的访问ip
Misaka_9993
发表于 2025-4-14 15:24
Albert_51 发表于 2025-4-14 15:12
10.10.7这次更新完用反向代理的要去网络里填代理服务器地址,不然登录记录里不能显示正确的访问ip ...
是的。
xlqdys
发表于 2025-4-17 17:17
太赞了
holch
发表于 2025-4-24 23:03
请M大大帮忙看看哪里有问题,server端是用的您提供的10.7.7 Windows版,client是浏览器。
{"Protocol":0,"Id":"7a447bfae8bd290e7561a4d43033c7f8","Path":"G:\\Yakka.Dee.2017.720p\\Yakka.Dee.S01\\Yakka.Dee.S01E03.Book.mp4","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mov,mp4,m4a,3gp,3g2,mj2","Size":165389264,"Name":"Yakka.Dee.S01E03.Book","IsRemote":false,"ETag":"579efeff0970a327ca208e64e5849349","RunTimeTicks":3080560128,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"UseMostCompatibleTranscodingProfile":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"mpeg4","CodecTag":"mp4v","Language":"und","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/12800","CodecTimeBase":null,"Title":null,"VideoRange":1,"VideoRangeType":1,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"LocalizedHearingImpaired":null,"DisplayTitle":"720p MPEG4 SDR","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":4162503,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":720,"Width":1280,"AverageFrameRate":50,"RealFrameRate":50,"ReferenceFrameRate":50,"Profile":"Simple Profile","Type":1,"AspectRatio":"16:9","Index":0,"Score":null,"I**ternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"I**ternalUrl":null,"IsTextSubtitleStream":false,"Support**ternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":1,"IsAnamorphic":null},{"Codec":"aac","CodecTag":"mp4a","Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/44100","CodecTimeBase":null,"Title":"USP Sound Handler","VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"\u9ED8\u8BA4","LocalizedForced":null,"LocalizedExternal":"\u5916\u90E8","LocalizedHearingImpaired":null,"DisplayTitle":"USP Sound Handler - \u82F1\u8BED - AAC - Stereo - \u9ED8\u8BA4","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"stereo","BitRate":125519,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":44100,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"ReferenceFrameRate":null,"Profile":"LC","Type":0,"AspectRatio":null,"Index":1,"Score":null,"I**ternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"I**ternalUrl":null,"IsTextSubtitleStream":false,"Support**ternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":4295043,"FallbackMaxStreamingBitrate":null,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null,"HasSegments":false}
ffmpeg -analyzeduration 200M -probesize 1G -f mov,mp4,m4a,3gp,3g2,mj2 -init_hw_device d3d11va=dx11:,vendor=0x8086 -init_hw_device qsv=qs@dx11 -filter_hw_device qs -i file:"G:\Yakka.Dee.2017.720p\Yakka.Dee.S01\Yakka.Dee.S01E03.Book.mp4" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 hevc_qsv -tag:v:0 hvc1 -low_power 1 -preset veryfast -b:v 4162503 -maxrate 4162503 -bufsize 8325006 -profile:v:0 main -level 50 -g:v:0 200 -keyint_min:v:0 200 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(1280\,720*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(1280/a\,720))/2)*2,format=nv12" -codec:a:0 copy -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 4 -hls_segment_type fmp4 -hls_fmp4_init_filename "C:\ProgramData\Jellyfin\Server\transcodes\ed4db93a8696836c79b300abf9815239-1.mp4" -start_number 0 -hls_segment_filename "C:\ProgramData\Jellyfin\Server\transcodes\ed4db93a8696836c79b300abf9815239%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "C:\ProgramData\Jellyfin\Server\transcodes\ed4db93a8696836c79b300abf9815239.m3u8"
ffmpeg version 7.0.2-Jellyfin Copyright (c) 2000-2024 the FFmpeg developers
built with clang version 19.1.7
configuration: --cc=clang --pkg-config-flags=--static --extra-cflags=-I/clang64/ffbuild/include --extra-ldflags=-L/clang64/ffbuild/lib --prefix=/clang64/ffbuild/jellyfin-ffmpeg --extra-version=Jellyfin --disable-ffplay --disable-debug --disable-doc --disable-sdl2 --disable-ptx-compression --enable-lto=thin --enable-gpl --enable-version3 --enable-schannel --enable-iconv --enable-libxml2 --enable-zlib --enable-lzma --enable-gmp --enable-chromaprint --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libwebp --enable-libvpx --enable-libzimg --enable-libx264 --enable-libx265 --enable-libsvtav1 --enable-libdav1d --enable-libfdk-aac --enable-opencl --enable-dxva2 --enable-d3d11va --enable-d3d12va --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
Using device 8086:3e92 (Intel(R) UHD Graphics 630).
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:G:\Yakka.Dee.2017.720p\Yakka.Dee.S01\Yakka.Dee.S01E03.Book.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
encoder : Lavf58.20.100
Duration: 00:05:08.04, start: 0.000000, bitrate: 4295 kb/s
Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 1280x720 , 4162 kb/s, 50 fps, 50 tbr, 12800 tbn (default)
Metadata:
handler_name : VideoHandler
vendor_id :
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
Metadata:
handler_name : USP Sound Handler
vendor_id :
Stream mapping:
Stream #0:0 -> #0:0 (mpeg4 (native) -> hevc (hevc_qsv))
Stream #0:1 -> #0:1 (copy)
Press to stop, [?] for help
Current profile is unsupported
Selected ratecontrol mode is unsupported
Low power mode is unsupported
Current frame rate is unsupported
Current picture structure is unsupported
Current resolution is unsupported
Current pixel format is unsupported
some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.
Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
Error sending frames to consumers: Function not implemented
Task finished with error code: -40 (Function not implemented)
Terminating thread with return code -40 (Function not implemented)
Could not open encoder before EOF
Task finished with error code: -22 (Invalid argument)
Terminating thread with return code -22 (Invalid argument)
Nothing was written into output file, because at least one of its streams received no packets.
frame= 0 fps=0.0 q=0.0 Lsize= 0KiB time=N/A bitrate=N/A speed=N/A
Conversion failed!
Misaka_9993
发表于 2025-4-25 00:45
holch 发表于 2025-4-24 23:03
请M大大帮忙看看哪里有问题,server端是用的您提供的10.7.7 Windows版,client是浏览器。
...
UHD630不支持HEVC低电压编码
holch
发表于 2025-4-26 00:32
Misaka_9993 发表于 2025-4-25 00:45
UHD630不支持HEVC低电压编码
多谢指点!
sheayone
发表于 2025-4-29 20:04
Albert_51 发表于 2025-4-14 15:12
10.10.7这次更新完用反向代理的要去网络里填代理服务器地址,不然登录记录里不能显示正确的访问ip ...
多谢提醒,我就说怎么升级到10.10.7之后streaming外网限速失效了,原来外网登陆都被当成局域网IP了
wzwhat
发表于 2025-5-3 13:35
非常感谢分享
chvoyage
发表于 2025-5-4 20:22
是否考虑适配apple silicon mac?
Misaka_9993
发表于 2025-5-5 19:24
chvoyage 发表于 2025-5-4 20:22
是否考虑适配apple silicon mac?
Mac直接用官网的版本就可以了。早就支持了。
EraserKing
发表于 2025-6-3 10:21
本帖最后由 EraserKing 于 2025-6-3 10:23 编辑
遇到一个问题,可能比较小众,也许是和Kodi有兼容问题
之前服务器端是J1900,所以用的是legacy分支,播放端是Xbox One X,软件Kodi+Jellyfin插件,使用起来一切正常
最近重新弄了一台机器作服务器,2400G,用上了最新的latest分支
播放端重新配置了下Jellyfin实例,结果现在基本不能播放,具体问题为:
大概率选择文件之后一直卡住转圈,Jellyfin的docker日志里没有任何报错,也没有显示对ffmpeg的调用,就卡在这儿。
小概率为选择文件之后转圈几分钟,然后开始播放,但是一拖进度就卡死。在Jellyfin控制台里面看,显示的是直接播放,未转码。尝试开关硬件加速选项,没有改善。
为了排除问题,在Windows机器上也装了一下Kodi,同样用Jellyfin插件,播放文件不转圈了,基本秒开,但是一拖动进度条就依然会卡死。同样是直接播放,未转码。开关硬件加速也不能解决问题。
后来换到官方的Jellyfin镜像,同样的设置,在X1X和Windows上播放就都没有问题了,拖放进度条也OK,开关硬件加速也OK。
Kodi的Jellyfin插件重新配置的时候,唯一的不同是之前走的是原生模式,现在是加载项模式
因为Jellyfin自10.10之后不能走原生模式了,原生模式就是Jellyfin提供文件路径,客户端直接加载文件,加载项模式就是通过Jellyfin播放
我怀疑过是不是这方面的原因,但是官方镜像用加载项模式也没有问题
不同的格式都试过,H264,HEVC,HEVC 10-bit,包括DV,问题都基本一致,所以我想应该不是出在格式上
hyy34
发表于 2025-6-3 22:17
本帖最后由 hyy34 于 2025-6-3 22:36 编辑
请问下,为什么我不转码呢?我是PVE直通核显给的群晖,群晖再发核显给docker jellyfin
群晖如下:
docker jellyfin 如下:
jellyfin设置如下:
播放时候却没有转码:
目前又显示 由于致命的播放器错误,播放失败。刚才不转码还能播放,现在干脆无法播放了。
Misaka_9993
发表于 2025-6-4 13:11
hyy34 发表于 2025-6-3 22:17
请问下,为什么我不转码呢?我是PVE直通核显给的群晖,群晖再发核显给docker jellyfin
群晖如下:
低功耗编码器不支持。
hyy34
发表于 2025-6-4 13:43
Misaka_9993 发表于 2025-6-4 13:11
低功耗编码器不支持。
关闭了,可以播放了,但是还是无法转码呢?
Misaka_9993
发表于 2025-6-4 15:02
hyy34 发表于 2025-6-4 13:43
关闭了,可以播放了,但是还是无法转码呢?
浏览器支持HEVC播放,为什么要转码?
如果你要强制转码,设置一个低的比特率比如8M,它自然就转码了。
EchoIsland
发表于 2025-6-6 21:09
大佬考虑过在ghcr上也传一份镜像吗?
yjyjxs
发表于 2025-6-6 23:35
大佬还在维护,膜拜!
xzzfft
发表于 2025-6-17 11:36
M大,Debian直装跟docker安装性能有区别吗?等debian13出来准备重新做系统,N100docker下看视频不如RK3588快,绿联3588NAS秒开秒看,N100还一直转圈。
Misaka_9993
发表于 2025-6-17 13:41
xzzfft 发表于 2025-6-17 11:36
M大,Debian直装跟docker安装性能有区别吗?等debian13出来准备重新做系统,N100docker下看视频不如RK3588 ...
没区别。N100转码性能天生就是不如RK3588。换啥系统都一样。
https://www.chiphell.com/thread-2570717-1-1.html