• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting SOLVED: 4K HW transcoding not working

     
    • 0 Vote(s) - 0 Average

    SOLVED: 4K HW transcoding not working

    Q command revieved, cannot serve doesn't exist and no transcode
    sm00th_scr0ll
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    Country:United States
    #3
    2024-10-04, 01:47 PM
    I have a Nvidia GeForce RTX 2060

    Code:
    {"Protocol":0,"Id":"36e8bdcd80838f7ac21d3db2a9bb1a91","Path":"/nfs/server/media/movies/Avatar The Way of Water (2022)/Avatar The Way of Water (2022) WEBRip-2160p.mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv","Size":41959128865,"Name":"Avatar The Way of Water (2022) WEBRip-2160p","IsRemote":false,"ETag":"cb1c927fab3cd55b1a73ef57bac7127a","RunTimeTicks":115841560000,"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":"h264","CodecTag":null,"Language":"eng","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":1,"VideoRangeType":1,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"LocalizedHearingImpaired":null,"DisplayTitle":"4K H264 SDR","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"ChannelLayout":null,"BitRate":28976908,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":2160,"Width":3840,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"High","Type":1,"AspectRatio":"16:9","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":41,"IsAnamorphic":false},{"Codec":"pcm_s24le","CodecTag":null,"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,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Default","LocalizedForced":null,"LocalizedExternal":"External","LocalizedHearingImpaired":null,"DisplayTitle":"English - PCM_S24LE - 2 ch - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":2304000,"BitDepth":24,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":48000,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":0,"AspectRatio":null,"Index":1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"pcm_s24le","CodecTag":null,"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,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Default","LocalizedForced":null,"LocalizedExternal":"External","LocalizedHearingImpaired":null,"DisplayTitle":"English - PCM_S24LE - 6 ch","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":6912000,"BitDepth":24,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"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}],"MediaAttachments":[],"Formats":[],"Bitrate":38192908,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

    /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -ss 00:00:12.000 -noaccurate_seek -init_hw_device cuda=cu:0 -filter_hw_device cu -hwaccel cuda -hwaccel_output_format cuda -hwaccel_flags +unsafe_output -threads 1 -noautorotate -i file:"/nfs/server/media/movies/Avatar The Way of Water (2022)/Avatar The Way of Water (2022) WEBRip-2160p.mkv" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 hevc_nvenc -tag:v:0 hvc1 -preset p1 -b:v 3616000 -maxrate 3616000 -bufsize 7232000 -profile:v:0 main -g:v:0 72 -keyint_min:v:0 72 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_cuda=w=1280:h=720:format=yuv420p" -codec:a:0 libfdk_aac -ac 2 -ab 256000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename "0f90c32df534fa22319c4115d5217c4a-1.mp4" -start_number 4 -hls_segment_filename "/var/cache/jellyfin/transcodes/0f90c32df534fa22319c4115d5217c4a%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/var/cache/jellyfin/transcodes/0f90c32df534fa22319c4115d5217c4a.m3u8"


    ffmpeg version 6.0.1-Jellyfin Copyright (c) 2000-2023 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 --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-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      58.  2.100 / 58.  2.100
      libavcodec    60.  3.100 / 60.  3.100
      libavformat    60.  3.100 / 60.  3.100
      libavdevice    60.  1.100 / 60.  1.100
      libavfilter    9.  3.100 /  9.  3.100
      libswscale      7.  1.100 /  7.  1.100
      libswresample  4. 10.100 /  4. 10.100
      libpostproc    57.  1.100 / 57.  1.100
    Guessed Channel Layout for Input Stream #0.1 : stereo
    Guessed Channel Layout for Input Stream #0.2 : 5.1
    Input #0, matroska,webm, from 'file:/nfs/server/media/movies/Avatar The Way of Water (2022)/Avatar The Way of Water (2022) WEBRip-2160p.mkv':
      Metadata:
        encoder        : libebml v1.4.4 + libmatroska v1.7.1
        creation_time  : 2023-04-08T18:28:28.000000Z
      Duration: 03:13:04.16, start: 0.000000, bitrate: 28976 kb/s
      Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709, progressive), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
        Metadata:
          BPS            : 19755571
          DURATION        : 03:13:04.156000000
          NUMBER_OF_FRAMES: 277741
          NUMBER_OF_BYTES : 28606453132
          _STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit
          _STATISTICS_WRITING_DATE_UTC: 2023-04-08 18:28:28
          _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      Stream #0:1(eng): Audio: pcm_s24le, 48000 Hz, 2 channels, s32 (24 bit), 2304 kb/s (default)
        Metadata:
          BPS            : 2304000
          DURATION        : 03:13:04.114000000
          NUMBER_OF_FRAMES: 2316823
          NUMBER_OF_BYTES : 3336224892
          _STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit
          _STATISTICS_WRITING_DATE_UTC: 2023-04-08 18:28:28
          _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      Stream #0:2(eng): Audio: pcm_s24le, 48000 Hz, 6 channels, s32 (24 bit), 6912 kb/s
        Metadata:
          BPS            : 6912000
          DURATION        : 03:13:04.114000000
          NUMBER_OF_FRAMES: 2316823
          NUMBER_OF_BYTES : 10008674676
          _STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit
          _STATISTICS_WRITING_DATE_UTC: 2023-04-08 18:28:28
          _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 (native) -> hevc (hevc_nvenc))
      Stream #0:1 -> #0:1 (pcm_s24le (native) -> aac (libfdk_aac))
    Press [q] to stop, [?] for help
    [hls @ 0x55f41a673900] Opening '/var/cache/jellyfin/transcodes/0f90c32df534fa22319c4115d5217c4a-1.mp4' for writing
    Output #0, hls, to '/var/cache/jellyfin/transcodes/0f90c32df534fa22319c4115d5217c4a.m3u8':
      Metadata:
        encoder        : Lavf60.3.100
      Stream #0:0: Video: hevc (Main) (hvc1 / 0x31637668), cuda(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 3616 kb/s, 23.98 fps, 24k tbn (default)
        Metadata:
          encoder        : Lavc60.3.100 hevc_nvenc
        Side data:
          cpb: bitrate max/min/avg: 3616000/0/3616000 buffer size: 7232000 vbv_delay: N/A
      Stream #0:1: Audio: aac, 48000 Hz, stereo, s16, 256 kb/s (default)
        Metadata:
          encoder        : Lavc60.3.100 libfdk_aac
    frame=    0 fps=0.0 q=0.0 size=      0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A   
    [hls @ 0x55f41a673900] Opening '/var/cache/jellyfin/transcodes/0f90c32df534fa22319c4115d5217c4a4.mp4' for writing
    frame=  96 fps=0.0 q=19.0 size=N/A time=00:00:00.00 bitrate=N/A speed=0.0165x   

    [q] command received. Exiting.

    [hls @ 0x55f41a673900] Opening '/var/cache/jellyfin/transcodes/0f90c32df534fa22319c4115d5217c4a5.mp4' for writing
    frame=  112 fps=0.0 q=19.0 Lsize=N/A time=00:00:00.67 bitrate=N/A speed=1.09x   
    video:2148kB audio:147kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    4K HW transcoding not working - by sm00th_scr0ll - 2024-10-04, 01:35 PM
    RE: 4K HW transcoding not working - by TheDreadPirate - 2024-10-04, 01:42 PM
    RE: 4K HW transcoding not working - by sm00th_scr0ll - 2024-10-04, 01:47 PM
    RE: 4K HW transcoding not working - by TheDreadPirate - 2024-10-04, 02:21 PM
    RE: 4K HW transcoding not working - by sm00th_scr0ll - 2024-10-04, 02:33 PM
    RE: 4K HW transcoding not working - by sm00th_scr0ll - 2024-10-04, 02:23 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode