• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

H.264 AVC MP4 CBR - Audio and Video header streams declared in the wrong order

Community Beginner ,
Jun 20, 2024 Jun 20, 2024

Copy link to clipboard

Copied

Problem:

When we export our spec (25Mbps CBR High @ L4.1 H.264 MP4) the MP4 header declares the audio stream before the video:

 

 

Stream #0:0[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)
Metadata:
creation_time : 2023-01-20T14:36:48.000000Z
handler_name : #Mainconcept MP4 Sound Media Handler
vendor_id : [0][0][0][0]


Stream #0:1[0x1](eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080, 24981 kb/s, 25 fps, 25 tbr, 25k tbn (default)
Metadata:
creation_time : 2023-01-20T14:36:48.000000Z
handler_name : ?Mainconcept Video Media Handler
vendor_id : [0][0][0][0]
encoder : AVC Coding

 

Whilst this it technically possible, it is highly unusual and is causing problems with our broadcast system, resulting in no audio being played.

 

Using the exact same settings, but with the Bitrate Encoding as VBR (1 or 2-Pass), the output has the correct orientation:

 

Stream #0:0[0x1](eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080, 24900 kb/s, 25 fps, 25 tbr, 25k tbn (default)

Metadata:

creation_time : 2023-01-20T17:35:34.000000Z

handler_name : ?Mainconcept Video Media Handler

vendor_id : [0][0][0][0]

encoder : AVC Coding

 

Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)

Metadata:

creation_time : 2023-01-20T17:35:34.000000Z

handler_name : #Mainconcept MP4 Sound Media Handler

vendor_id : [0][0][0][0]

 

 

Expected Outcome / Resolution:

Set the stream declaration when setting as CBR to be the same as VBR. The video should be declared first, then the audio.

 

We unfortunately cannot pivot to VBR due to customer constraints on the outputs, so we are currently having to re-mux the outputs to rewrite the header so the orientation is correct.

 

Specs & Vital Stats:

Premiere Version:  (24.3.0 (Build 59)

OS:  MacOS 14.5 & Windows 11

Sys Info: N/A

Video Format: See Above - AVC, 4:2:0

Steps to reproduce:  Export video as per the above specs, and the stream header will define the audio before the video.

Bug Needs More Info
TOPICS
Export

Views

106

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Pinned Reply

Adobe Employee , Jun 20, 2024 Jun 20, 2024

Hi @dchald67128228648fy9e,

Can you check to see if the current version resolves the issue? Let us know.

 

Thanks,
Kevin

Status Needs More Info

Votes

Translate

Translate
5 Comments
LEGEND ,
Jun 20, 2024 Jun 20, 2024

Copy link to clipboard

Copied

@Bruce Bullis and @mattchristensen  who should have a look or answer for this?

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Jun 20, 2024 Jun 20, 2024

Copy link to clipboard

Copied

Hi @dchald67128228648fy9e,

Can you check to see if the current version resolves the issue? Let us know.

 

Thanks,
Kevin

Status Needs More Info

Votes

Translate

Translate

Report

Report
Community Beginner ,
Jun 21, 2024 Jun 21, 2024

Copy link to clipboard

Copied

Hi Kevin,

 

I can confirm the latest version has the same behaviour:

 

Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42mp41
creation_time : 2024-06-21T10:59:47.000000Z
Duration: 00:00:30.00, start: 0.000000, bitrate: 25243 kb/s
Stream #0:0[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)
Metadata:
creation_time : 2024-06-21T10:59:48.000000Z
handler_name : #Mainconcept MP4 Sound Media Handler
vendor_id : [0][0][0][0]
Stream #0:1[0x1](eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080, 24909 kb/s, 25 fps, 25 tbr, 25k tbn (default)
Metadata:
creation_time : 2024-06-21T10:59:48.000000Z
handler_name : ?Mainconcept Video Media Handler
vendor_id : [0][0][0][0]
encoder : AVC Coding

 

PLEASE NOTE - you cannot use MediaInfo to analyse the header, as it doesn't represent the stream header IDs correctly.  FFPROBE provides a correct dump of the header.

Votes

Translate

Translate

Report

Report
Community Beginner ,
Jul 02, 2024 Jul 02, 2024

Copy link to clipboard

Copied

@Kevin-Monahan Just realised I didn't tag you on my response.

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Jul 12, 2024 Jul 12, 2024

Copy link to clipboard

Copied

LATEST

Sorry to hear that @dchald67128228648fy9e. I hope a product team member will respond soon. @@Fergus Hammond - you may want to have a look at this bug.

 

Thanks,
Kevin

Votes

Translate

Translate

Report

Report