MXF Studio is a set of utilities that cover most of the tasks you can perform with MXF files - combine several MXF files or remux a file to match a standard, check a file for errors or convert an existing video file to an MXF container. MXF Studio covers these and other tasks.
MXF Join
It is a tool to combine multiple MXF files into a single file without transcoding.
Usage
nb_mxf_join.exe [-f2ftccopy | [-tc <frames_count>]] <-o output.mxf>
<-i input1.mxf> [-i input2.mxf ... [-i inputN.mxf] ]
Arguments
- -f2ftccopy - a frame-to-frame timecode copying mode, overrides the -tc argument.
- -tc - force a start timecode value in frames. If not specified, the resulting timecode starts with the timecode of the first source MXF file.
- -o - a path to the output file
- -i - a path to a source file, you can use multiple input files
MXF Normalizer
It is a tool to remux an MXF file to match a specific standard.
Usage
nb_mxf_normalizer.exe <source_mxf [source1.wav source2.wav ...]> [-o dest_mxf]
[-t read_timeout] [-m <remuxing_mode>] [-s <scenaris_subtitles.scc>]
[-fs <start_frame>] [-fe <end_frame>] [-w] [-tc <hh:mm:ss:ff>]
[-p2desc] [-nmc] [-p12]
Arguments
- you set a path to the source MXF and optionally paths to the source WAV files;
- -o - a path to the output file;
- -t - a read timeout period in seconds. The default value is 0 means to immediately exit the program at the end of a stream;
- -m - a target muxing mode. If you run the application without the -o attribute specified, you get a list of compatible muxing modes for the given source MXF file. If the -o attribute is set, but -m is missing, the remuxer tries to detect the best muxing mode for the given source MXF file.
- -w - if used, the remuxer writes PCM elementary streams to a WAV file. Works only for the "Demux to elementary streams" muxing mode;
- -tc - forces a start timecode for the output MXF in hh:mm:ss:ff format;
- -p2desc - suppress Black Reference Level, White Reference Level, and Color Range Levels tags into the CDCI descriptor;
- -nmc - if used, no metadata is copied from source audio/video descriptors;
- -p12 - uses legacy preface v1.2 (SMPTE 377-1:2000). By default preface 1.3 uses (SMPTE 377-1:2011).
Example
nb_mxf_normalizer.exe source.mxf -o remuxed.mxf -fs 500 -tc 12:34:56:12 -m 3
A list of available muxing modes depends on the source file. For example:
nb_mxf_normalizer.exe "d:\test_source.mxf"
returns:
random index pack found, 30 entries
Stream count: 5, OpPattern: 01010900, start tc: 02:02:02:02, end tc: 02:02:02:02
Generated by Masstech HQS 3.00
1 ID:2 Video MPEG-2 video, 1920x1080 29.97
2 ID:3 Audio PCM 24bit 48000.0Hz 1 ch
3 ID:4 Audio PCM 24bit 48000.0Hz 1 ch
4 ID:5 Audio PCM 24bit 48000.0Hz 1 ch
5 ID:6 Audio PCM 24bit 48000.0Hz 1 ch
Allowed muxing modes:
-1 - Demux to elementary streams
2 - XDCAM HD
18 - AS-10
3 - Common Op1a
MXF Remux
This is a tool to create a new MXF file by remux one or many existing MXF and WAV files.
Usage
mxf_remux <command> <argiments>
Commands and Arguments
To get information about a source file, use:
INFO <file_name>
For example:
mxf_remux INFO my_stream.mxf
To remux a source file using a specific mode, use:
REMUX <mode> <out.mxf> <in_file0> [<in_file1> <stream_id1> [<in_file2> <stream_id2>...[<in_fileN> <stream_idN>]]]
Available modes list:
- auto,
- afn100,
- imx,
- xdcamhd,
- op1a,
- as11,
- hdf1,
- hdf2,
- hdf3,
- xavclg,
- xavci,
- dnxhd,
- as10,
- as11hd,
- as11sd,
- sdf1,
- sdf2,
- rdd25,
- rdd44,
- p2op1b,
- p2opatom
The first input file is a 'master', and it should be a valid MXF file.
Example
mxf_remux xdcamhd result.mxf source.mxf audiotrack5.wav 0 another_source.mxf 4 another_source.mxf 5
MXF Conan
It is a professional MXF analyzer. You can get information about errors and warnings of your MXF compared to a specified standard.
Usage
nb_mxf_conan.exe <mxf to analyse> <-k license_file> [-p validation_preset] [-json]
[-brief][-t num_threads][-rt read_timeout][-l xml_labels_file]
Arguments
- source MXF file
- -k - a path to a license file
- -p - a validation standard. Possible values:
- 0 - Generic SMPTE ST 377-1:2011 (default)
- 1 - XDCAM Long GOP
- 2 - XDCAM_IMX (SMPTE RDD 3:2008)
- 3 - ARD ZDF HDF0xx
- 4 - XAVC 1.2
- 5 - AVC-Ultra
- -json - converts the output into JSON format
- -t - number of threads to process the source MXF file. By default, 1.
- -rt - read timeout period in milliseconds. By default, 0 - it exits the application once the end of the source file is reached.
- -l - takes a labels file that you can download from https://registry.smpte-ra.org/view/published/Labels.xml
FTP to MXF Converter
This is a tool to record a growing MXF file from an FTP storage.
Usage
ftp2mxf.exe <-o output.mxf> <-i ftp://[user:password]@host/path>
[-t <timeout>][-mm <muxing_mode>] [-mf <muxing_flags>]
Arguments
- -o - a path to the output MXF file
- -i - a path to a growing MXF on FTP
- -t - a read timeout period in seconds, default value is 10
- -mm - a muxing mode. By default, it tries to autodetect the best mode. Possible values are:
- 0 - Afn100,
- 1 - XDCAM_IMX,
- 2 - XDCAM_HD,
- 3 - Op1a,
- 4 - ARD_ZDF_HDF01,
- 5 - ARD_ZDF_HDF02,
- 6 - ARD_ZDF_HDF03,
- 7 - XAVC_LONG_GOP,
- 8 - XAVC_INTRA,
- 9 - DNxHD,
- 10 - AS11HD,
- 11 - ARD_ZDF_SDF01,
- 12 - ARD_ZDF_SDF02,
- 13 - IMF,
- 14 - RDD25,
- 15 - AVC_ULTRA,
- 16 - RDD44,
- 17 - Op1aLive,
- 18 - AS10,
- 19 - AS11SD,
- 20 - P2OpAtom,
- 21 - OpAtom,
- 22 - RDD54.
- -mf - muxing flags. It is a bit filed. The default value is 0xe. Available flags:
- CDCI_FOR_AVC - 0x0001
- METADATA_IN_FOOTER - 0x0002
- KEEP_HEADER_INCOMPLETE - 0x0004
- KEEP_HEADER_OPEN - 0x0008
- DO_NOT_FINALYZE_HEADER - 0x0020
- WAVE_FOR_PCM - 0x0040
- J2K_ST422 - 0x0080
- J2K_I2_MODE - 0x0100
- INDEXES_IN_FOOTER - 0x0400
- DO_NOT_FINALYZE_BODIES - 0x2000
- FORCE_377M_2004 - 0x4000
- DO_NOT_ADD_TC_TRACK - 0x8000
Example
ftp2mxf.exe -o growing.mxf -i ftp://test:test@192.168.0.1/mxf/file0001.mxf -mm 3 -mf 0x02
MOV to MXF Converter
This is a tool to remux MOV files into MXF files.
Usage
mov2mxfc.exe <source_mov> [-o dest_mxf]
Arguments
- a path to a source MOV file
- -o - a path to the output MXF file
Not all the files can be converted. If the tool faces an error, it reports to you about the issue.
MXFPatch
This is a tool to change MXF tags, material and source start timecode values, and AAF categories.
Important! The application works with the given source MXF file and doesn't validate the tags you set. Please make sure you have a backup before using MXFPatch.
Usage
nbmxfpatch.exe <source_mxf> <-vdt <tag> <value>> [-vdt <tag> <value>] ...
modifies tags and their values.
nbmxfpatch.exe <source_mxf> <-mtc <material_pack_start_timecode_in_frames>>
modifies material start timecode.
nbmxfpatch.exe <source_mxf> <-stc <source_pack_start_timecode_in_frames>>
modifies source start timecode.
nbmxfpatch.exe <source_mxf> <-atv <<AAF_category_name> <AAF_category_value>>
sets AAF category name and value.
Example
nbmxfpatch.exe source.mxf -vdt 0x3210 060E2B34.0401010D.04010101.010B0000 -vdt 0x3219 060E2B34.0401010D.04010101.03040000 -vdt 0x321a 060E2B34.0401010D.04010101.02060000
nbmxfpatch.exe source.mxf -mtc 123 -stc 123