Skip to main content
Participant
June 20, 2024

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

  • June 20, 2024
  • 返信数 4.
  • 457 ビュー

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.

このトピックへの返信は締め切られました。

返信数 4

Participant
July 2, 2024

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

Participant
June 21, 2024

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.

Kevin J. Monahan Jr.
Community Manager
Community Manager
June 21, 2024

Hi @dchald67128228648fy9e,

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

 

Thanks,
Kevin

Kevin Monahan - Sr. Community and Engagement Strategist – Adobe Pro Video and Audio
Kevin J. Monahan Jr.
Community Manager
Community Manager
July 13, 2024

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

 

Thanks,
Kevin

Kevin Monahan - Sr. Community and Engagement Strategist – Adobe Pro Video and Audio
R Neil Haugen
Legend
June 20, 2024

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

Everyone's mileage always varies ...