drovp / upscale

Drovp plugin for upscaling images with Real-ESRGAN or waifu2x neural networks.
1 stars 0 forks source link

Encoding failed. See logs for more details. #4

Open derpate1989 opened 1 month ago

derpate1989 commented 1 month ago

OS: Darwin Kernel Version 23.6.0: Fri Jul 5 17:53:24 PDT 2024; root:xnu-10063.141.1~2/RELEASE_ARM64_T6020 23.6.0 App: 0.8.0 x64

Hey, I got this error:

Encoding failed. See logs for more details.

With this payload:

{
  "inputs": [
    {
      "id": "0dlc0o0vcc",
      "created": 1722756181926,
      "kind": "file",
      "path": "/Volumes/DockCaseNVM/Thailand 2013 1280x720.mp4",
      "size": 2634722338,
      "exists": true,
      "type": "mp4"
    }
  ],
  "options": {
    "saving": {
      "destination": "${basename}",
      "deleteOriginal": false,
      "overwriteDestination": false,
      "incrementer": "space"
    },
    "model": "realesrgan-x4plus",
    "scale": "2",
    "denoise": "1",
    "image": {
      "format": "png",
      "jpg": {
        "quality": 3,
        "background": "white"
      },
      "webp": {
        "quality": 80,
        "preset": "picture"
      }
    },
    "video": {
      "framesFormat": "png",
      "inheritContainer": true,
      "preferredContainer": "mp4",
      "ensureSubtitles": true,
      "mp4Codec": "h265",
      "webmCodec": "vp8",
      "mkvCodec": "h264",
      "h264": {
        "crf": 23,
        "preset": "medium",
        "tune": "film",
        "profile": "auto"
      },
      "h265": {
        "crf": 28,
        "preset": "medium",
        "tune": "",
        "profile": "auto"
      },
      "vp8": {
        "crf": 10,
        "qmin": 4,
        "qmax": 20,
        "twoPass": true,
        "speed": 1
      },
      "vp9": {
        "crf": 30,
        "qmin": 4,
        "qmax": 40,
        "twoPass": true,
        "speed": 0,
        "threads": 0
      },
      "av1": {
        "preset": 8,
        "mode": "crf",
        "crf": 35,
        "keyframeInterval": 6,
        "sceneDetection": true,
        "filmGrainSynthesis": 0
      },
      "gif": {
        "colors": 256,
        "dithering": "bayer"
      },
      "pixelFormat": "yuva420p",
      "audioCodec": "libopus",
      "audioChannelBitrate": 64
    },
    "tta": false,
    "tileSize": "0",
    "gpuId": "auto",
    "loadProcSave": "1:2:2"
  },
  "id": "temyupzhaq3k"
}
tomasklaen commented 1 month ago

I can't say much without seeing operation's error logs...

Screenshot 2024-08-04 145657

but encoding error implies it happened when drovp was trying to encode upscaled images back into a new video file with ffmpeg.

You can try: