MediaConvert: Single frame video

0

My project uses MediaConvert to transcode user-generated content to lower resolution. I run into an issue that if user uploads a single frame video, MediaConvert will return "Frame rate is set to follow, but there is no frame rate information in the input stream info."

Is there a way to solve the issue?

Thanks, Alan

{
  "Description": "OTT, HLS (Cell), TS, AVC, AAC, 4x3 DAR, 640x480, QVBR",
  "Category": "OTT-HLS",
  "Name": "HLS_480",
  "Settings": {
    "VideoDescription": {
      "Width": 640,
      "ScalingBehavior": "DEFAULT",
      "Height": 480,
      "VideoPreprocessors": {
        "Deinterlacer": {
          "Algorithm": "INTERPOLATE",
          "Mode": "DEINTERLACE",
          "Control": "NORMAL"
        }
      },
      "TimecodeInsertion": "DISABLED",
      "AntiAlias": "ENABLED",
      "Sharpness": 50,
      "CodecSettings": {
        "Codec": "H_264",
        "H264Settings": {
          "ParNumerator": 1,
          "Syntax": "DEFAULT",
          "HrdBufferInitialFillPercentage": 90,
          "Slices": 1,
          "GopBReference": "ENABLED",
          "HrdBufferSize": 1200000,
          "MaxBitrate": 600000,
          "ParDenominator": 1,
          "SpatialAdaptiveQuantization": "ENABLED",
          "TemporalAdaptiveQuantization": "ENABLED",
          "FlickerAdaptiveQuantization": "ENABLED",
          "EntropyEncoding": "CABAC",
          "RateControlMode": "QVBR",
          "QvbrSettings": {
            "QvbrQualityLevel": 7
          },
          "CodecProfile": "HIGH",
          "MinIInterval": 0,
          "AdaptiveQuantization": "HIGH",
          "CodecLevel": "LEVEL_3_1",
          "FieldEncoding": "PAFF",
          "SceneChangeDetect": "ENABLED",
          "QualityTuningLevel": "SINGLE_PASS",
          "UnregisteredSeiTimecode": "DISABLED",
          "GopSizeUnits": "AUTO",
          "ParControl": "SPECIFIED",
          "RepeatPps": "DISABLED"
        }
      },
      "AfdSignaling": "NONE",
      "DropFrameTimecode": "ENABLED",
      "RespondToAfd": "NONE",
      "ColorMetadata": "INSERT"
    },
    "AudioDescriptions": [
      {
        "AudioTypeControl": "FOLLOW_INPUT",
        "AudioSourceName": "Audio Selector 1",
        "CodecSettings": {
          "Codec": "AAC",
          "AacSettings": {
            "AudioDescriptionBroadcasterMix": "NORMAL",
            "Bitrate": 64000,
            "RateControlMode": "CBR",
            "CodecProfile": "HEV1",
            "CodingMode": "CODING_MODE_2_0",
            "RawFormat": "NONE",
            "SampleRate": 48000,
            "Specification": "MPEG4"
          }
        },
        "LanguageCodeControl": "FOLLOW_INPUT",
        "AudioType": 0
      }
    ],
    "ContainerSettings": {
      "Container": "M3U8",
      "M3u8Settings": {
        "AudioFramesPerPes": 4,
        "PcrControl": "PCR_EVERY_PES_PACKET",
        "PmtPid": 480,
        "PrivateMetadataPid": 503,
        "ProgramNumber": 1,
        "PatInterval": 0,
        "PmtInterval": 0,
        "VideoPid": 481,
        "AudioPids": [
          482,
          483,
          484,
          485,
          486,
          487,
          488,
          489,
          490,
          491,
          492,
          493,
          494,
          495,
          496,
          497,
          498
        ]
      }
    }
  }
}
asked 2 years ago109 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions