Code Monkey home page Code Monkey logo

Comments (1)

Gonkers avatar Gonkers commented on June 30, 2024

I wanted to add that I ran into this bug as well. My preset has MKV and the output is being overridden by the default value of AUTOMATED_CONVERSION_FORMAT Setting that variable to match my preset is a viable workaround for now.

docker-compose.yml
services:
  handbrake:
    image: docker.io/jlesage/handbrake
    container_name: handbrake
    environment:
      - USER_ID=444
      - GROUP_ID=996
      - SUP_GROUP_IDS=106
      - UMASK=000
      - DISPLAY_WIDTH=1280
      - DISPLAY_HEIGHT=720
      - TZ=America/New_York
      - AUTOMATED_CONVERSION_PRESET=H265 4K
      - AUTOMATED_CONVERSION_FORMAT=mkv
    group_add:
      - "106"
    ports:
      - "5800:5800"
    volumes:
      - "/handbrake/config:/config:rw"
      - "/handbrake/output:/output:rw"
      - "/handbrake/storage:/storage:rw"
      - "/handbrake/trash:/trash:rw"
      - "/handbrake/watch_1:/watch:rw"
    devices:
      - "/dev/dri/renderD128:/dev/dri/renderD128"
    restart: always
preset.json
{
  "PresetList": [
    {
      "AlignAVStart": false,
      "AudioCopyMask": [
        "copy:mp2",
        "copy:mp3",
        "copy:aac",
        "copy:ac3",
        "copy:dts",
        "copy:dtshd",
        "copy:eac3",
        "copy:flac",
        "copy:truehd",
        "copy:opus"
      ],
      "AudioEncoderFallback": "none",
      "AudioLanguageList": [
        "eng"
      ],
      "AudioList": [
        {
          "AudioBitrate": 6144,
          "AudioCompressionLevel": 0,
          "AudioEncoder": "copy",
          "AudioMixdown": "5point1",
          "AudioNormalizeMixLevel": false,
          "AudioSamplerate": "auto",
          "AudioTrackQualityEnable": false,
          "AudioTrackQuality": 3,
          "AudioTrackGainSlider": 0,
          "AudioTrackDRCSlider": 0
        },
        {
          "AudioBitrate": 256,
          "AudioCompressionLevel": 0,
          "AudioEncoder": "ac3",
          "AudioMixdown": "stereo",
          "AudioNormalizeMixLevel": false,
          "AudioSamplerate": "auto",
          "AudioTrackQualityEnable": false,
          "AudioTrackQuality": 3,
          "AudioTrackGainSlider": 0,
          "AudioTrackDRCSlider": 0
        }
      ],
      "AudioSecondaryEncoderMode": true,
      "AudioTrackSelectionBehavior": "all",
      "ChapterMarkers": true,
      "ChildrenArray": [],
      "Default": true,
      "FileFormat": "av_mkv",
      "Folder": false,
      "FolderOpen": false,
      "Optimize": false,
      "Mp4iPodCompatible": false,
      "PictureCropMode": 0,
      "PictureBottomCrop": 140,
      "PictureLeftCrop": 0,
      "PictureRightCrop": 0,
      "PictureTopCrop": 140,
      "PictureDARWidth": 1920,
      "PictureDeblockPreset": "off",
      "PictureDeblockTune": "medium",
      "PictureDeblockCustom": "strength=strong:thresh=20:blocksize=8",
      "PictureDeinterlaceFilter": "decomb",
      "PictureCombDetectPreset": "default",
      "PictureCombDetectCustom": "",
      "PictureDeinterlacePreset": "default",
      "PictureDeinterlaceCustom": "",
      "PictureDenoiseCustom": "",
      "PictureDenoiseFilter": "off",
      "PictureSharpenCustom": "",
      "PictureSharpenFilter": "off",
      "PictureSharpenPreset": "medium",
      "PictureSharpenTune": "none",
      "PictureDetelecine": "off",
      "PictureDetelecineCustom": "",
      "PictureColorspacePreset": "off",
      "PictureColorspaceCustom": "",
      "PictureChromaSmoothPreset": "off",
      "PictureChromaSmoothTune": "none",
      "PictureChromaSmoothCustom": "",
      "PictureItuPAR": false,
      "PictureKeepRatio": true,
      "PicturePAR": "auto",
      "PicturePARWidth": 1,
      "PicturePARHeight": 1,
      "PictureWidth": 3840,
      "PictureHeight": 2160,
      "PictureUseMaximumSize": true,
      "PictureAllowUpscaling": false,
      "PictureForceHeight": 0,
      "PictureForceWidth": 0,
      "PicturePadMode": "none",
      "PicturePadTop": 0,
      "PicturePadBottom": 0,
      "PicturePadLeft": 0,
      "PicturePadRight": 0,
      "PicturePadColor": "black",
      "PresetName": "H265 4K",
      "Type": 1,
      "SubtitleAddCC": true,
      "SubtitleAddForeignAudioSearch": true,
      "SubtitleAddForeignAudioSubtitle": false,
      "SubtitleBurnBehavior": "foreign",
      "SubtitleBurnBDSub": false,
      "SubtitleBurnDVDSub": false,
      "SubtitleLanguageList": [
        "eng"
      ],
      "SubtitleTrackSelectionBehavior": "all",
      "VideoAvgBitrate": 0,
      "VideoColorMatrixCode": 0,
      "VideoEncoder": "x265_10bit",
      "VideoFramerateMode": "vfr",
      "VideoGrayScale": false,
      "VideoScaler": "swscale",
      "VideoPreset": "slow",
      "VideoTune": "",
      "VideoProfile": "main10",
      "VideoLevel": "auto",
      "VideoOptionExtra": "strong-intra-smoothing=0:rect=0:aq-mode=1:rd=4:psy-rd=0.75:psy-rdoq=4.0:rdoq-level=1:rskip=2",
      "VideoQualityType": 2,
      "VideoQualitySlider": 12,
      "VideoMultiPass": true,
      "VideoTurboMultiPass": false,
      "x264UseAdvancedOptions": false,
      "PresetDisabled": false,
      "MetadataPassthrough": true
    }
  ],
  "VersionMajor": 53,
  "VersionMicro": 0,
  "VersionMinor": 0
}

from docker-handbrake.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.