[FFmpeg-user] Problematic Field Order read out - AVC-Intra MXFs

Christoph Gerstbauer christophgerstbauer at gmx.at
Thu May 8 10:32:12 CEST 2014


Hello,

I am testing many MXFs (Op1a) with AVC-Intra from different encoder 
programs or plugins.
When I import the MXFs into e.g. Premiere or MediaInfo it shows me the 
Field Order "TOP FIELD FIRST", which is correct.
Optical test: Playing the files with deinterlacer in LAV filter for 
Windows with TFF setting -> TFF is correct. (with BFF setting the 
picture flickers)

2 if the testfiles can be downloaded here (one is very big, 1GB, sorry 
but I want to keep the original):
ffmpeg_user_mailing_sample_MXF_AVCI_fieldorder_and_SAR_PAR_problem_FILE1.zip 
(already uploaded)
ffmpeg_user_mailing_sample_MXF_AVCI_fieldorder_and_SAR_PAR_problem_FILE2.zip 
(uploading in progress, finished in 30minutes from now)

Opening the file with ffprobe using the syntax "ffprobe -i inputfile.mxf 
-show_frames" gives me following informations about every video frame:

interlaced_frame = 1 (=interlaced frame)
top_field_first = 0  (= Bottom Field First)

One video frame of command line output (complete output can be 
downloaded as xml file within the zips from the upper links):
[FRAME]
media_type=video
key_frame=1
pkt_pts=8
pkt_pts_time=0.320000
pkt_dts=8
pkt_dts_time=0.320000
best_effort_timestamp=8
best_effort_timestamp_time=0.320000
pkt_duration=1
pkt_duration_time=0.040000
pkt_pos=2657280
pkt_size=281088
width=1440
height=1080
pix_fmt=yuv420p10le
sample_aspect_ratio=3:4
pict_type=I
coded_picture_number=8
display_picture_number=0
interlaced_frame=1
top_field_first=0
repeat_pict=0
[/FRAME]

When opening the files with ffmbc, it shows me "bff" in the command line:
C:\Users\gersti>ffmbc -i "I:\New 
folder\01_optTFF__AVC-INTRA50_1x8Ch-24bit_yuv420p10le(pc_bt709)__Adobe-PremierePro-1A-AVCI-1080i25.mxf"
FFmbc version 0.7-rc7
Copyright (c) 2008-2012 Baptiste Coudurier and the FFmpeg developers
Input #0, mxf, from 'I:\New 
folder\01_optTFF__AVC-INTRA50_1x8Ch-24bit_yuv420p10le(pc_bt709)__Adobe-PremierePro-1A-AVCI-1080i25.mxf':
   Metadata:
     operational_pattern: Op1a
     system_timecode: 00:00:00:00
     timecode: 00:00:00:00
   Duration: 00:00:10.04, start: 0.000000, bitrate: 65766 kb/s
     Stream #0.0(und): Video: h264 (High 10 Intra), yuv420p10le, 
1440x1080i bff [PAR 3:4 DAR 1:1], 25.00 fps
     Stream #0.1(und): Audio: pcm_s24le, 48000 Hz, 8 channels, s32, 9216 
kb/s
At least one output file must be specified

I checked the files with MXF BMX tools (mxf2raw/mxfdump). The outputs 
are attached in the zip files.
One of the 2 files has NO field Dominance KLV info
(01_optTFF__AVC-INTRA50_1x8Ch-24bit_yuv420p10le(pc_bt709)__Adobe-PremierePro-1A-AVCI-1080i25_MXFDUMP.txt)

The second file has a Field Dominance info in the MXF Container.
(01_optTFF_MPEG4 AVC part10 (AVC1)_YUV420_(pc, 
bt709)_10bit__4xMono-PCM24bit__QUANTEL Generation_4956937_MXFDUMP.txt):

[ k = FieldDominance 32.12, l =     1 (0001) ] 0  01


I guess ffmpeg has a problem with with the field order from AVC-Intra in 
MXF?

Best Regards
Christoph




More information about the ffmpeg-user mailing list