Skip to main content
Known Participant
May 18, 2021
Question

Could not write XMP data in output file and not the right size

  • May 18, 2021
  • 1 reply
  • 591 views

I have some HEVC HDR10 content that I'm trying to re-encode.  It's 2 1/2 hours long.  Running latest version of Premiere as of this writing.  15.2.  I'm encoding the Premiere sequence directly in Media Encoder.  I also have all the HDR metadata defined in the encoding.  Couple issues I'm running into.  In says was successful encoding with warnings.  My warning is this:

 

Log File Created: 05/12/2021 01:43:06 PM
------------------------------------------

05/12/2021 01:43:06 PM : Queue Started

- Source File: D:\DONTBACKUP\working\Footage\Footage_1.prproj
- Output File: D:\DONTBACKUP\working\Footage\Footage-PREMIERE 2.mp4
- Preset Used: Custom
- Video: 3840x1750 (1.0), 23.976 fps, Software Encoding, 02:30:01:00
- Audio:
- Bitrate: CBR, Target 15.00 Mbps
- Encoding Time: 134:30:11
05/18/2021 04:13:13 AM : File Encoded with warning
------------------------------------------------------------
Adobe Media Encoder
Could not write XMP data in output file.

------------------------------------------------------------


05/18/2021 04:13:13 AM : Queue Stopped

 

Now if I do a ffprobe of the source file I get full metadata:

 

 

    "frames": [
        {
            "media_type": "video",
            "stream_index": 0,
            "key_frame": 1,
            "pkt_pts": 0,
            "pkt_pts_time": "0.000000",
            "best_effort_timestamp": 0,
            "best_effort_timestamp_time": "0.000000",
            "pkt_duration": 41,
            "pkt_duration_time": "0.041000",
            "pkt_pos": "6853",
            "pkt_size": "4108",
            "width": 3840,
            "height": 2160,
            "pix_fmt": "yuv420p10le",
            "sample_aspect_ratio": "1:1",
            "pict_type": "I",
            "coded_picture_number": 0,
            "display_picture_number": 0,
            "interlaced_frame": 0,
            "top_field_first": 0,
            "repeat_pict": 0,
            "color_range": "tv",
            "color_space": "bt2020nc",
            "color_primaries": "bt2020",
            "color_transfer": "smpte2084",
            "side_data_list": [
                {
                    "side_data_type": "Mastering display metadata",
                    "red_x": "34000/50000",
                    "red_y": "16000/50000",
                    "green_x": "13250/50000",
                    "green_y": "34500/50000",
                    "blue_x": "7500/50000",
                    "blue_y": "3000/50000",
                    "white_point_x": "15635/50000",
                    "white_point_y": "16450/50000",
                    "min_luminance": "50/10000",
                    "max_luminance": "40000000/10000"
                },
                {
                    "side_data_type": "Content light level metadata",
                    "max_content": 349,
                    "max_average": 86
                }
            ]
        }
    ]
}

 

The encoded file is missing the additional metadata:

 

{
    "frames": [
        {
            "media_type": "video",
            "stream_index": 0,
            "key_frame": 1,
            "pkt_pts": 0,
            "pkt_pts_time": "0.000000",
            "best_effort_timestamp": 0,
            "best_effort_timestamp_time": "0.000000",
            "pkt_duration": 1001,
            "pkt_duration_time": "0.041708",
            "pkt_pos": "2595458",
            "pkt_size": "1870",
            "width": 3840,
            "height": 1750,
            "pix_fmt": "yuv420p10le",
            "sample_aspect_ratio": "1:1",
            "pict_type": "I",
            "coded_picture_number": 0,
            "display_picture_number": 0,
            "interlaced_frame": 0,
            "top_field_first": 0,
            "repeat_pict": 0,
            "color_range": "tv",
            "color_space": "bt2020nc",
            "color_primaries": "bt2020",
            "color_transfer": "smpte2084"
        }
    ]
}

Also the big odd one.  The video says it's 2 1/2 hours long, but is only 3GB in size.  It's 15.0 Mb/s, 3840*1750 (2.2:1), at 23.976 (24000/1001) FPS, HEVC (Main 10@L6.2@High)

 

Thoughts? 

 

 

This topic has been closed for replies.

1 reply

jriker1Author
Known Participant
May 18, 2021

Note can't seem to edit what I wrote.  The resulting metadata is not because I forgot to enter them. During export I defined all the light level and luminance info to match the source.

R Neil Haugen
Legend
May 18, 2021

This would take more than us users ... @mattchristensen  perhaps?

 

Neil

Everyone's mileage always varies ...