Skip to content

Instantly share code, notes, and snippets.

@stefl
Created August 18, 2011 15:07
Show Gist options
  • Save stefl/1154253 to your computer and use it in GitHub Desktop.
Save stefl/1154253 to your computer and use it in GitHub Desktop.
libmxf writeavidmxf options
Options: (options marked with * are required)
-h, --help display this usage message
* --prefix <filename> output filename prefix
--clip <name> clip (MaterialPackage) name.
--project <name> Avid project name.
--tape <name> tape name.
--ntsc NTSC framerate and frame size. Default is DV file frame rate or PAL
--film24 use framerate of 24 instead of default 25fps
--film23.976 use framerate of 23.976 (24000/1001) instead of default 25fps
--legacy use legacy DataDefs, for DV essence use legacy descriptor properties
--legacy-umid use the legacy UMID generation method (e.g. for Pro Tools v5.3.1)
--aspect <ratio> video aspect ratio x:y. Default is DV file aspect ratio or 4:3
--comment <string> add 'Comments' user comment to the MaterialPackage
--desc <string> add 'Descript' user comment to the MaterialPackage
--tag <name> <string> add <name> user comment to the MaterialPackage. Option can be used multiple times
--locator <position> <comment> <color>
add locator at <position> with <comment> and <color>
--start-tc <timecode> set the start timecode. Default is 0 frames
--mp-uid <umid> set the MaterialPackage UMID. Autogenerated by default
--mp-created <timestamp> set the MaterialPackage creation date. Default is now
--tp-uid <umid> set the tape SourcePackage UMID. Autogenerated by default
--tp-created <timestamp> set the tape SourcePackage creation date. Default is now
Inputs:
--mjpeg <filename> Avid MJPEG
--res <resolution> Resolution '2:1' (default), '3:1', '10:1', '4:1m', '10:1m', '15:1s' or '20:1'
--dv <filename> IEC DV 25, DV-based 25 / 50, DV 100 1080i50 / 720p50 (SMPTE 370M)
--IMX30 <filename> IMX 30 Mbps MPEG-2 video (D-10, SMPTE 356M)
--IMX40 <filename> IMX 40 Mbps MPEG-2 video (D-10, SMPTE 356M)
--IMX50 <filename> IMX 50 Mbps MPEG-2 video (D-10, SMPTE 356M)
--imx-size <size> IMX fixed frame size in bytes
Default is 150000/200000/250000 for IMX30/40/50 PAL
Default is 126976/167936/208896 for IMX30/40/50 NTSC
--DNxHD720p120 <filename> DNxHD 1280x720p50 120 Mbps
--DNxHD720p185 <filename> DNxHD 1280x720p50 185 Mbps
--DNxHD1080i120 <filename> DNxHD 1920x1080i50 120 Mbps
--DNxHD1080i185 <filename> DNxHD 1920x1080i50 185 Mbps
--DNxHD1080i185X <filenam> DNxHD 1920x1080i50 185 Mbps 10bit
--DNxHD1080p36 <filename> DNxHD 1920x1080p25 36 Mbps
--DNxHD1080p120 <filename> DNxHD 1920x1080p25 120 Mbps
--DNxHD1080p185 <filename> DNxHD 1920x1080p25 185 Mbps
--DNxHD1080p185X <filenam> DNxHD 1920x1080p25 185 Mbps 10bit
--DNxHD1080p115 <filename> DNxHD 1920x1080p24/23.976 115 Mbps (requires film frame rate)
--DNxHD1080p175 <filename> DNxHD 1920x1080p24/23.976 175 Mbps (requires film frame rate)
--DNxHD1080p175X <filenam> DNxHD 1920x1080p24/23.976 175 Mbps 10bit (requires film frame rate)
--unc <filename> Uncompressed 8-bit UYVY SD
--unc1080i <filename> Uncompressed 8-bit UYVY HD 1920x1080i
--pcm <filename> raw 48kHz PCM audio
--bps <bits per sample> # bits per sample. Default is 16
--locked <bool> true/false to indicate whether the number of audio samples is locked to the video (not set by default)
--ref <level> audio reference level which gives the number of dBm for 0VU (not set by default)
--dial-norm <value> gain to be applied to normalize perceived loudness of the clip (not set by default)
--seq <offset> zero-based ordinal frame number of first audio essence data within five-frame sequence (not set by default)
--wavpcm <filename> raw 48kHz PCM audio contained in a WAV file
--locked <bool> true/false to indicate whether the number of audio samples is locked to the video (not set by default)
--ref <level> audio reference level which gives the number of dBm for 0VU (not set by default)
--dial-norm <value> gain to be applied to normalize perceived loudness of the clip (not set by default)
--seq <offset> zero-based ordinal frame number of first audio essence data within five-frame sequence (not set by default)
NOTES:
- <timecode> format is a frame count or d?hh:mm:ss:ff (optional 'd' indicates drop frame)
- <umid> format is [0-9a-fA-F]{64}, a sequence of 32 hexadecimal bytes
- <timestamp> format is YYYY-MM-DDThh:mm:ss:qm where qm is in units of 1/250th second
- The IMX frames must have a fixed size.
- <position> format is o?<timecode>, where the optional 'o' indicates it is an offset
- <color> must be one of the following: white, red, yellow, green, cyan, blue, magenta, black
--prefix is required
@stefl
Copy link
Author

stefl commented Aug 18, 2011

Nightly build of libmxf binaries here: http://ingex.sourceforge.net/libMXF/build/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment