• 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: Tonemapping

     
    • 0 Vote(s) - 0 Average

    SOLVED: Tonemapping

    HDR washed out when tonemapping enabled on compatible hardware
    Fran314
    Offline

    Junior Member

    Posts: 17
    Threads: 1
    Joined: 2023 Dec
    Reputation: 0
    #20
    2023-12-21, 01:21 AM
    If I enable low-power hardware encoding for HVEC, nothing changes (whichI think makes sense since when it transcodes, it's transcoding to h.264). If I enable low-power hardware encoding for h.264 I get the following popup:

    Code:
    Playback Error

    This client isn't compatible with the media and the server isn't sending a compatible media format.

    The respective transcode log is the following

    Code:
    /videos/94782e86-706e-33ce-1644-03391fde29a0/hls1/main/0.ts

    {"Protocol":0,"Id":"94782e86706e33ce164403391fde29a0","Path":"/media/test/test-audio-00db.mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv,webm","Size":87168008,"Name":"test-audio-00db","IsRemote":false,"ETag":"a883a210638c512093e51db932f878e0","RunTimeTicks":1800530048,"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":"hevc","CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":"bt2020nc","ColorTransfer":"smpte2084","ColorPrimaries":"bt2020","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":"HDR","VideoRangeType":"HDR10","VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"1080p HEVC HDR","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":3872993,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"Height":1080,"Width":1920,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"Main","Type":1,"AspectRatio":"2.40:1","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":120,"IsAnamorphic":null},{"Codec":"aac","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":"Stereo","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"Stereo - Eng - AAC - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"stereo","BitRate":192000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":"LC","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":"ac3","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":"Surround","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"Surround - Eng - Dolby Digital - 5.1","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"5.1","BitRate":640000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":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":4704993,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

    /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 -hwaccel vaapi -hwaccel_output_format vaapi -autorotate 0 -i file:"/media/test/test-audio-00db.mkv" -autoscale 0 -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 6454988 -maxrate 6454988 -bufsize 12909976 -g:v:0 72 -keyint_min:v:0 72 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=format=nv12:extra_hw_frames=24,hwmap=derive_device=qsv,format=qsv" -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 "/config/transcodes/a1db1531a2ac378a656ad6a2a7d3ba08%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/a1db1531a2ac378a656ad6a2a7d3ba08.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:/media/test/test-audio-00db.mkv':
      Metadata:
        creation_time  : 2023-12-19T17:45:59.000000Z
        ENCODER        : Lavf60.16.100
      Duration: 00:03:00.05, start: -0.043000, bitrate: 3872 kb/s
      Stream #0:0: Video: hevc (Main), yuv420p(tv, bt2020nc/bt2020/smpte2084), 1920x1080 [SAR 90:67 DAR 160:67], 23.98 fps, 23.98 tbr, 1k tbn (default)
        Metadata:
          DURATION        : 00:03:00.001000000
        Side data:
          Content Light Level Metadata, MaxCLL=602, MaxFALL=184
          Mastering Display Metadata, has_primaries:1 has_luminance:1 r(0.6800,0.3200) g(0.2650,0.6900) b(0.1500 0.0600) wp(0.3127, 0.3290) min_luminance=0.005000, max_luminance=4000.000000
      Stream #0:1(eng): Audio: aac (LC), 48000 Hz, stereo, fltp (default)
        Metadata:
          title          : Stereo
          DURATION        : 00:03:00.053000000
      Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s
        Metadata:
          title          : Surround
          DURATION        : 00:03:00.000000000
    Stream mapping:
      Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_qsv))
      Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    [h264_qsv @ 0x5611df495100] Selected ratecontrol mode is unsupported
    [h264_qsv @ 0x5611df495100] 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
    Conversion failed!
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Tonemapping - by Fran314 - 2023-12-15, 09:36 AM
    RE: Tonemapping - by TheDreadPirate - 2023-12-15, 05:06 PM
    RE: Tonemapping - by Fran314 - 2023-12-16, 07:10 PM
    RE: Tonemapping - by TheDreadPirate - 2023-12-16, 07:38 PM
    RE: Tonemapping - by Fran314 - 2023-12-17, 03:39 AM
    RE: Tonemapping - by TheDreadPirate - 2023-12-17, 04:04 AM
    RE: Tonemapping - by Fran314 - 2023-12-17, 03:20 PM
    RE: Tonemapping - by cifri - 2023-12-17, 06:12 PM
    RE: Tonemapping - by TheDreadPirate - 2023-12-17, 06:44 PM
    RE: Tonemapping - by cifri - 2023-12-17, 09:44 PM
    RE: Tonemapping - by Fran314 - 2023-12-19, 06:38 PM
    RE: Tonemapping - by TheDreadPirate - 2023-12-19, 07:01 PM
    RE: Tonemapping - by Fran314 - 2023-12-19, 11:57 PM
    RE: Tonemapping - by TheDreadPirate - 2023-12-20, 01:51 AM
    RE: Tonemapping - by Fran314 - 2023-12-20, 02:06 AM
    RE: Tonemapping - by Fran314 - 2023-12-20, 05:45 PM
    RE: Tonemapping - by TheDreadPirate - 2023-12-20, 07:19 PM
    RE: Tonemapping - by Fran314 - 2023-12-20, 08:25 PM
    RE: Tonemapping - by TheDreadPirate - 2023-12-21, 01:04 AM
    RE: Tonemapping - by Fran314 - 2023-12-21, 01:21 AM
    RE: Tonemapping - by Fran314 - 2024-01-02, 01:43 AM
    RE: Tonemapping - by TheDreadPirate - 2024-01-02, 04:01 AM
    RE: Tonemapping - by Fran314 - 2024-01-04, 04:35 PM
    RE: Tonemapping - by TheDreadPirate - 2024-01-04, 05:48 PM
    RE: Tonemapping - by Fran314 - 2024-01-05, 05:24 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