[FFmpeg-user] FFmpeg default processing(invisible processing)

大石脩斗 s-oishi at knb.ne.jp
Tue Dec 19 07:56:50 EET 2023


I'm trying to use ffmpeg to generate an MXF file that can be played on an
XDCAM XDS-PD2000.
Please tell me what default processing is performed in ffmpeg when no
options are entered.

[background]
Sony's check tool outputs an error saying "MXF metadata contains
non-standard values".
The data output by the editing machine is OK with the check tool,
The data generated with ffmpeg will be rejected by the check tool.
The metadata looks the same for both.
Please let me know if you are processing anything other than the meta
information that is being output

【Data output by editing machine」
aftertext.txt

【Data output by ffmpeg】
testffmpeg.txt
commondlie
ffmpeg.exe -i input\base.MXF -c:v mpeg2video -r 29.97 -pix_fmt yuv422p
-aspect 16:9 -flags +ildct+ilme -b:v 50000000 -minrate 50000000 -maxrate
50000000 -bufsize 17825792 -bf 2 -metadata creation_time=now -video_format
component -g 15 -timecode 00:59:45:00 -ac 1 -map 0:0 -map 0:1 -map 0:1 -map
0:1 -map 0:1 -map 0:1 -map 0:1 -map 0:1 -map 0:1 -c:a pcm_s24le -ar 48000
-f mxf -y output/output_test.mxf

Shuto
-------------- next part --------------
General
Complete name                            : \output_test.mxf
Format                                   : MXF
Commercial name                          : XDCAM HD422
Format version                           : 1.3
Format profile                           : OP-1a
Format settings                          : Closed / Complete
File size                                : 236 MiB
Duration                                 : 33 s 33 ms
Overall bit rate                         : 59.9 Mb/s
Frame rate                               : 29.970 FPS
Encoded date                             : 2023-12-19 00:51:57.972
Writing application                      : FFmpeg OP1a Muxer 60.18.100.0.0
Writing library                          : Lavf (mingw32) 60.18.100.0.0

Video
ID                                       : 2
Format                                   : MPEG Video
Commercial name                          : XDCAM HD422
Format version                           : Version 2
Format profile                           : 4:2:2 at High
Format settings                          : BVOP
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Default
Format settings, GOP                     : M=3, N=15
Format settings, picture structure       : Frame
Format settings, wrapping mode           : Frame
Codec ID                                 : 0D01030102046001-0401020201040300
Duration                                 : 33 s 33 ms
Bit rate mode                            : Constant
Bit rate                                 : 50.0 Mb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 29.970 (30000/1001) FPS
Standard                                 : Component
Color space                              : YUV
Chroma subsampling                       : 4:2:2
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan order                               : Top Field First
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.805
Time code of first frame                 : 00:59:45:00
Time code source                         : Group of pictures header
GOP, Open/Closed                         : Open
GOP, Open/Closed of first frame          : Closed
Stream size                              : 197 MiB (83%)
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
Delay_SDTI                               : 3588585

Audio #1
ID                                       : 3
Format                                   : PCM
Format settings                          : Little
Format settings, wrapping mode           : Frame (AES)
Codec ID                                 : 0D01030102060300
Duration                                 : 33 s 33 ms
Bit rate mode                            : Constant
Bit rate                                 : 1 152 kb/s
Channel(s)                               : 1 channel
Sampling rate                            : 48.0 kHz
Frame rate                               : 29.970 FPS (1601.6 SPF)
Bit depth                                : 24 bits
Stream size                              : 4.54 MiB (2%)
Delay_SDTI                               : 3588585
Locked                                   : Yes

Audio #2
ID                                       : 4
Format                                   : PCM
Format settings                          : Little
Format settings, wrapping mode           : Frame (AES)
Codec ID                                 : 0D01030102060300
Duration                                 : 33 s 33 ms
Bit rate mode                            : Constant
Bit rate                                 : 1 152 kb/s
Channel(s)                               : 1 channel
Sampling rate                            : 48.0 kHz
Frame rate                               : 29.970 FPS (1601.6 SPF)
Bit depth                                : 24 bits
Stream size                              : 4.54 MiB (2%)
Delay_SDTI                               : 3588585
Locked                                   : Yes

Audio #3
ID                                       : 5
Format                                   : PCM
Format settings                          : Little
Format settings, wrapping mode           : Frame (AES)
Codec ID                                 : 0D01030102060300
Duration                                 : 33 s 33 ms
Bit rate mode                            : Constant
Bit rate                                 : 1 152 kb/s
Channel(s)                               : 1 channel
Sampling rate                            : 48.0 kHz
Frame rate                               : 29.970 FPS (1601.6 SPF)
Bit depth                                : 24 bits
Stream size                              : 4.54 MiB (2%)
Delay_SDTI                               : 3588585
Locked                                   : Yes

Audio #4
ID                                       : 6
Format                                   : PCM
Format settings                          : Little
Format settings, wrapping mode           : Frame (AES)
Codec ID                                 : 0D01030102060300
Duration                                 : 33 s 33 ms
Bit rate mode                            : Constant
Bit rate                                 : 1 152 kb/s
Channel(s)                               : 1 channel
Sampling rate                            : 48.0 kHz
Frame rate                               : 29.970 FPS (1601.6 SPF)
Bit depth                                : 24 bits
Stream size                              : 4.54 MiB (2%)
Delay_SDTI                               : 3588585
Locked                                   : Yes

Audio #5
ID                                       : 7
Format                                   : PCM
Format settings                          : Little
Format settings, wrapping mode           : Frame (AES)
Codec ID                                 : 0D01030102060300
Duration                                 : 33 s 33 ms
Bit rate mode                            : Constant
Bit rate                                 : 1 152 kb/s
Channel(s)                               : 1 channel
Sampling rate                            : 48.0 kHz
Frame rate                               : 29.970 FPS (1601.6 SPF)
Bit depth                                : 24 bits
Stream size                              : 4.54 MiB (2%)
Delay_SDTI                               : 3588585
Locked                                   : Yes

Audio #6
ID                                       : 8
Format                                   : PCM
Format settings                          : Little
Format settings, wrapping mode           : Frame (AES)
Codec ID                                 : 0D01030102060300
Duration                                 : 33 s 33 ms
Bit rate mode                            : Constant
Bit rate                                 : 1 152 kb/s
Channel(s)                               : 1 channel
Sampling rate                            : 48.0 kHz
Frame rate                               : 29.970 FPS (1601.6 SPF)
Bit depth                                : 24 bits
Stream size                              : 4.54 MiB (2%)
Delay_SDTI                               : 3588585
Locked                                   : Yes

Audio #7
ID                                       : 9
Format                                   : PCM
Format settings                          : Little
Format settings, wrapping mode           : Frame (AES)
Codec ID                                 : 0D01030102060300
Duration                                 : 33 s 33 ms
Bit rate mode                            : Constant
Bit rate                                 : 1 152 kb/s
Channel(s)                               : 1 channel
Sampling rate                            : 48.0 kHz
Frame rate                               : 29.970 FPS (1601.6 SPF)
Bit depth                                : 24 bits
Stream size                              : 4.54 MiB (2%)
Delay_SDTI                               : 3588585
Locked                                   : Yes

Audio #8
ID                                       : 10
Format                                   : PCM
Format settings                          : Little
Format settings, wrapping mode           : Frame (AES)
Codec ID                                 : 0D01030102060300
Duration                                 : 33 s 33 ms
Bit rate mode                            : Constant
Bit rate                                 : 1 152 kb/s
Channel(s)                               : 1 channel
Sampling rate                            : 48.0 kHz
Frame rate                               : 29.970 FPS (1601.6 SPF)
Bit depth                                : 24 bits
Stream size                              : 4.54 MiB (2%)
Delay_SDTI                               : 3588585
Locked                                   : Yes

Other #1
ID                                       : 1-Material
Type                                     : Time code
Format                                   : MXF TC
Frame rate                               : 29.970 (30000/1001) FPS
Time code of first frame                 : 00:59:45:00
Time code of last frame                  : 01:00:17:29
Time code settings                       : Material Package
Time code, stripped                      : Yes

Other #2
ID                                       : 1-Source
Type                                     : Time code
Format                                   : MXF TC
Frame rate                               : 29.970 (30000/1001) FPS
Time code of first frame                 : 00:59:45:00
Time code of last frame                  : 01:00:17:29
Time code settings                       : Source Package
Time code, stripped                      : Yes

Other #3
Type                                     : Time code
Format                                   : SMPTE TC
Muxing mode                              : SDTI
Frame rate                               : 29.970 (30000/1001) FPS
Time code of first frame                 : 00:59:45:00

-------------- next part --------------
General
Complete name                            : \output_after.MXF
Format                                   : MXF
Commercial name                          : XDCAM HD422
Format version                           : 1.3
Format profile                           : OP-1a
Format settings                          : Closed / Complete
File size                                : 236 MiB
Duration                                 : 33 s 33 ms
Overall bit rate                         : 59.9 Mb/s
Frame rate                               : 29.970 FPS
Encoded date                             : 2023-11-22 04:41:26.000
Writing application                      : Grass Valley K.K. EDIUS 9.3.1.4196

Video
ID                                       : 2
Format                                   : MPEG Video
Commercial name                          : XDCAM HD422
Format version                           : Version 2
Format profile                           : 4:2:2 at High
Format settings                          : CustomMatrix / BVOP
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Custom
Format settings, GOP                     : M=3, N=15
Format settings, picture structure       : Frame
Format settings, wrapping mode           : Frame
Codec ID                                 : 0D01030102046001-0401020201040300
Duration                                 : 33 s 33 ms
Bit rate mode                            : Constant
Bit rate                                 : 50.0 Mb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 29.970 (30000/1001) FPS
Standard                                 : Component
Color space                              : YUV
Chroma subsampling                       : 4:2:2
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan order                               : Top Field First
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.805
Time code of first frame                 : 00:59:45:00
Time code source                         : Group of pictures header
GOP, Open/Closed                         : Open
GOP, Open/Closed of first frame          : Closed
Stream size                              : 197 MiB (83%)
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
Delay_SDTI                               : 3588585

Audio #1
ID                                       : 3
Format                                   : PCM
Format settings                          : Little
Format settings, wrapping mode           : Frame (AES)
Codec ID                                 : 0D01030102060300
Duration                                 : 33 s 33 ms
Bit rate mode                            : Constant
Bit rate                                 : 1 152 kb/s
Channel(s)                               : 1 channel
Sampling rate                            : 48.0 kHz
Frame rate                               : 29.970 FPS (1601.6 SPF)
Bit depth                                : 24 bits
Stream size                              : 4.54 MiB (2%)
Delay_SDTI                               : 3588585
Locked                                   : Yes

Audio #2
ID                                       : 4
Format                                   : PCM
Format settings                          : Little
Format settings, wrapping mode           : Frame (AES)
Codec ID                                 : 0D01030102060300
Duration                                 : 33 s 33 ms
Bit rate mode                            : Constant
Bit rate                                 : 1 152 kb/s
Channel(s)                               : 1 channel
Sampling rate                            : 48.0 kHz
Frame rate                               : 29.970 FPS (1601.6 SPF)
Bit depth                                : 24 bits
Stream size                              : 4.54 MiB (2%)
Delay_SDTI                               : 3588585
Locked                                   : Yes

Audio #3
ID                                       : 5
Format                                   : PCM
Format settings                          : Little
Format settings, wrapping mode           : Frame (AES)
Codec ID                                 : 0D01030102060300
Duration                                 : 33 s 33 ms
Bit rate mode                            : Constant
Bit rate                                 : 1 152 kb/s
Channel(s)                               : 1 channel
Sampling rate                            : 48.0 kHz
Frame rate                               : 29.970 FPS (1601.6 SPF)
Bit depth                                : 24 bits
Stream size                              : 4.54 MiB (2%)
Delay_SDTI                               : 3588585
Locked                                   : Yes

Audio #4
ID                                       : 6
Format                                   : PCM
Format settings                          : Little
Format settings, wrapping mode           : Frame (AES)
Codec ID                                 : 0D01030102060300
Duration                                 : 33 s 33 ms
Bit rate mode                            : Constant
Bit rate                                 : 1 152 kb/s
Channel(s)                               : 1 channel
Sampling rate                            : 48.0 kHz
Frame rate                               : 29.970 FPS (1601.6 SPF)
Bit depth                                : 24 bits
Stream size                              : 4.54 MiB (2%)
Delay_SDTI                               : 3588585
Locked                                   : Yes

Audio #5
ID                                       : 7
Format                                   : PCM
Format settings                          : Little
Format settings, wrapping mode           : Frame (AES)
Codec ID                                 : 0D01030102060300
Duration                                 : 33 s 33 ms
Bit rate mode                            : Constant
Bit rate                                 : 1 152 kb/s
Channel(s)                               : 1 channel
Sampling rate                            : 48.0 kHz
Frame rate                               : 29.970 FPS (1601.6 SPF)
Bit depth                                : 24 bits
Stream size                              : 4.54 MiB (2%)
Delay_SDTI                               : 3588585
Locked                                   : Yes

Audio #6
ID                                       : 8
Format                                   : PCM
Format settings                          : Little
Format settings, wrapping mode           : Frame (AES)
Codec ID                                 : 0D01030102060300
Duration                                 : 33 s 33 ms
Bit rate mode                            : Constant
Bit rate                                 : 1 152 kb/s
Channel(s)                               : 1 channel
Sampling rate                            : 48.0 kHz
Frame rate                               : 29.970 FPS (1601.6 SPF)
Bit depth                                : 24 bits
Stream size                              : 4.54 MiB (2%)
Delay_SDTI                               : 3588585
Locked                                   : Yes

Audio #7
ID                                       : 9
Format                                   : PCM
Format settings                          : Little
Format settings, wrapping mode           : Frame (AES)
Codec ID                                 : 0D01030102060300
Duration                                 : 33 s 33 ms
Bit rate mode                            : Constant
Bit rate                                 : 1 152 kb/s
Channel(s)                               : 1 channel
Sampling rate                            : 48.0 kHz
Frame rate                               : 29.970 FPS (1601.6 SPF)
Bit depth                                : 24 bits
Stream size                              : 4.54 MiB (2%)
Delay_SDTI                               : 3588585
Locked                                   : Yes

Audio #8
ID                                       : 10
Format                                   : PCM
Format settings                          : Little
Format settings, wrapping mode           : Frame (AES)
Codec ID                                 : 0D01030102060300
Duration                                 : 33 s 33 ms
Bit rate mode                            : Constant
Bit rate                                 : 1 152 kb/s
Channel(s)                               : 1 channel
Sampling rate                            : 48.0 kHz
Frame rate                               : 29.970 FPS (1601.6 SPF)
Bit depth                                : 24 bits
Stream size                              : 4.54 MiB (2%)
Delay_SDTI                               : 3588585
Locked                                   : Yes

Other #1
ID                                       : 1-Material
Type                                     : Time code
Format                                   : MXF TC
Frame rate                               : 29.970 (30000/1001) FPS
Time code of first frame                 : 00:59:45:00
Time code of last frame                  : 01:00:17:29
Time code settings                       : Material Package
Time code, stripped                      : Yes

Other #2
ID                                       : 1-Source
Type                                     : Time code
Format                                   : MXF TC
Frame rate                               : 29.970 (30000/1001) FPS
Time code of first frame                 : 00:59:45:00
Time code of last frame                  : 01:00:17:29
Time code settings                       : Source Package
Time code, stripped                      : Yes

Other #3
Type                                     : Time code
Format                                   : SMPTE TC
Muxing mode                              : SDTI
Frame rate                               : 29.970 (30000/1001) FPS
Time code of first frame                 : 00:59:45:00



More information about the ffmpeg-user mailing list