Skip to content

Job Fails if input.params are not valid ffprobe parameters #34

@grusell

Description

@grusell

Describe the bug
If a job has input parameters specified that are not valid for ffprobe the job will fails. Common parameters that are not valid for ffprobe are for instance hwaccel. Example job:

{
  "profile": "nvenc-test",
  "outputFolder": "/output/folder",
  "baseName": "tos",
  "duration": null,
  "inputs": [
    {
      "uri": "/folder/Videos/tos-padded.mp4",
      "type": "AudioVideo",
      "params": {
        "hwaccel": "cuda",
        "hwaccel_output_format": "cuda"
      }
    }
  ]
}

The cause of this seems to be that all input parameters are passed on to ffprobe for analyzing the input before transcodig is started.

To Reproduce
Steps to reproduce the behavior:

  1. Create a job with input paramters that are valid as ffmpeg input parameters, but not valid for ffprobe
  2. Run the job
  3. Job will fail

Expected behavior
Job should start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions