Skip to content

MediaConvert failing with 1060 while transcoding mp4 video

1

Hello,

I am using MediaConvert to transcode video to mp4 with custom configuration. However, I am transcoding the mp4 video file but the job failed error code 1060, and the error message was "Decoder closed. No pictures decoded." I looked at the documentation for my error code(1060), but the error code has nothing to do with the error message I got. The input mp4 video is playable in both the browser and media player. I wonder what the error message is saying. Has anyone experienced this issue? Does anyone know what the actual issue is?

Below is my job config:

{
  "Role": "function_role_name",
  "Settings": {
    "OutputGroups": [
      {
        "CustomName": "video_output_group",
        "Name": "File Group",
        "Outputs": [
          {
            "ContainerSettings": {
              "Container": "MP4",
              "Mp4Settings": {}
            },
            "VideoDescription": {
              "CodecSettings": {
                "Codec": "H_264",
                "H264Settings": {
                  "FramerateDenominator": 1,
                  "MaxBitrate": 2500000,
                  "FramerateControl": "SPECIFIED",
                  "RateControlMode": "QVBR",
                  "FramerateNumerator": 24,
                  "SceneChangeDetect": "TRANSITION_DETECTION"
                }
              }
            },
            "AudioDescriptions": [
              {
                "AudioSourceName": "Audio Selector 1",
                "CodecSettings": {
                  "Codec": "AAC",
                  "AacSettings": {
                    "RateControlMode": "CBR",
                    "CodingMode": "CODING_MODE_2_0",
                    "SampleRate": 48000
                  }
                }
              }
            ]
          }
        ],
        "OutputGroupSettings": {
          "Type": "FILE_GROUP_SETTINGS",
          "FileGroupSettings": {
            "Destination": "output_filename"
          }
        }
      }
    ],
    "AdAvailOffset": 0,
    "FollowSource": 1,
    "Inputs": [
      {
        "AudioSelectors": {
          "Audio Selector 1": {
            "DefaultSelection": "DEFAULT"
          }
        },
        "VideoSelector": {},
        "TimecodeSource": "ZEROBASED",
        "FileInput": "input_file_name"
      }
    ]
  },
  "BillingTagsSource": "JOB",
  "AccelerationSettings": {
    "Mode": "DISABLED"
  },
  "StatusUpdateInterval": "SECONDS_30",
  "Priority": 0
}

Thanks.

asked 2 years ago438 views
3 Answers
0

Thanks for your question.

Is this error occurring with a specific MP4 file, or for all MP4 sources? If a specific source MP4, there may be a discontinuity or corruption in the file. Perhaps try using the MediaConvert console to create the transcode job with the same source file, setting the appropriate parameters. Does the same error occur?

There is no specific resolution detailed in the config. Is it being passed through from the source? Try testing with a specific output resolution (ex. 1280x720). Does that make a difference?

Another though based on the error: Are Input Clipping values set for the job? If the Time Code values set in Input Clipping are not matched in the source, no transcoding will occur.

The Video TimecodeSource is Zerobased, Check to see that the TimeCode setting is also Starts at zero and not embedded.

AWS
answered 2 years ago
EXPERT
reviewed 2 years ago
  • Thank you for your response.

    This error is occurring with a specific MP4 file, and the same error occurred when I tried creating a job from both AWS console and programmatically.

    The resolution is passed through from the source. I tried giving the job a specific output resolution, but unfortunately no difference.

    No clipping values are set for the job. I am transcoding the full video. I tried setting the Timecode source (Input > Video selector > Video correction) value to "Start at 0" as the MediaConvert doc said to do so. Still the same error. The Video TimecodeSoure is Zerobased in the JSON file because I set the Timecode source to "Start at 0".

    I wonder what the error message indicates, "Decoder closed. No pictures decoded." Maybe error code 1060 does not align with the error message?

0

Hello,

I am experienced the same issue, in my case the videos I have errors with are videos recorded via the web browser using Windows or macOs (linux records webm video and works)

I noticed that the videos that give an error have some metadata as zero (duration, bitrate...) however I can play them correctly in a web browser.

answered 2 years ago
0

Since a couple of weeks ago, we are no longer getting the error 1060, but we are experiencing that the videos recorded with Google Chrome and Microsoft Edge have no audio. No errors are triggered while converting. The original file has audio.

answered a year ago

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.