[FFmpeg-user] AVCIntra50 MXF issue - aspect_ratio_idc

Christoph Gerstbauer christoph.gerstbauer at gmail.com
Tue Jul 5 13:24:48 EEST 2022


Hello,

I am testing AVCIntra 50/100 Flavours of different encoders and I am facing
an Issue with AVCINTRA50.

My checking the MXF Wrapper my testing program MXF Analyzer shows following
error:

"Invalid essence element payload in Generic Container Element with Track
Number 352388352 | 0x15010500 of Essence Container with EssenceStreamID
(BodySID) 1. Reason: constrained: Current AVC file is not compatible with
AVC-Intra constraints.
For Class 50 Specification aspect_ratio_idc must be 255 (Extended_SAR).
Essence analyser: MPEG AVC Video. Essence Container Label:
06.0e.2b.34.04.01.01.0a.0d.01.03.01.02.10.60.01. Terminating essence
parsing while processing Edit Unit number 1."

my used ffmpeg syntax is:
-map 0:v -map 0:a -map 0:a -map_channel 0.1.0:0.1.0 -map_channel
0.1.1:0.2.0 -vf "setfield=tff, fieldorder=tff, setsar=1.33" -c:v libx264 -r
25 -s 1440x1080 -aspect 16:9 -g 1 -b:v 54298k -pix_fmt yuv420p10le -flags
+ildct+ilme -profile:v high10 -level 4.0 -coder cavlc -x264opts
avcintra-class=50:colorprim=bt709:transfer=bt709:colormatrix=bt709:interlaced=1:force-cfr=1:fps=25/1
-forced-idr 1 -8x8dct 1 -top 1 -vtag avc1 -color_range tv -color_primaries
bt709 -color_trc bt709 -c:a pcm_s24le -ar 48000 -f mxf -timecode
12:34:56:11 -metadata "creation_time=2015-10-28T15:37:56"

So,
A.) is this maybe just a problem in my syntax and its somehow possible to
set the "aspect_ratio_idc" with an aditional syntax part or
B.) is this a bug/improvement issue for avcintraclass=50 encoding in ffmpeg?

br Christoph


More information about the ffmpeg-user mailing list