fbpx

Net-X-Copy - Metadata Extraction

verifycc icon

Net-X-Copy is part of the Net-X-Convert/Net-X-Proxy workstation and Net-X-Code server software. It supports, among other things, extracting an XMP XML of the metadata in a media file or series of media files. It extracts both the basic information for each channel and any camera/workflow specific metadata. This article contains the Linux/OS-X/Windows command line API for this tool.  A RESTful API is also available.

Net-X-Copy - Metadata Extraction

Net-X-Copy supports our standard range of proxy and broadcast file formats for extracting metadata to XMP XML.

Metadata Extraction Command Line

NetXCopy -m -s <sourcefile.r3d>

Metadata Extraction To A File

NetXCopy -m -s <sourcefile.r3d> -t <metadataout.xmp>

Command Line Parameters

netxcopy -m -s "M:\t3media\Streams\R3D - Red\Raven 4K\scarletw-standard-5k-24fps\A106_C037_0118G5_001.R3D"
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 5.1.2">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about="" xmlns:aux="http://ns.adobe.com/exif/1.0/aux/">
    <aux:SerialNumber>130-246-CE5</aux:SerialNumber>
  </rdf:Description>
  <rdf:Description rdf:about=""xmlns:tiff="http://ns.adobe.com/tiff/1.0/">
    <tiff:Model>SCARLET-W</tiff:Model>
  </rdf:Description>
  <rdf:Description rdf:about=""xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/">
    <xmpMM:DocumentID>{0ACB8429-67BB-46F6-8555-CFFCE5F0777B}</xmpMM:DocumentID>
    <xmpMM:VersionID>6.1.0.225</xmpMM:VersionID>
  </rdf:Description>
  <rdf:Description rdf:about="" xmlns:xmpDM="http://ns.adobe.com/xmp/1.0/DynamicMedia/" xmlns:stDim="http://ns.adobe.com/xap/1.0/sType/Dimensions#">
    <xmpDM:audioSampleRate>48000</xmpDM:audioSampleRate>
    <xmpDM:duration rdf:parseType="Resource">
    <xmpDM:value>872</xmpDM:value>
    <xmpDM:scale>1001/24000</xmpDM:scale>
  </xmpDM:duration>
  <xmpDM:videoFrameSize rdf:parseType="Resource">
    <stDim:unit>pixel</stDim:unit>
    <stDim:w>5120</stDim:w>
    <stDim:h>2560</stDim:h>
  </xmpDM:videoFrameSize>
  <xmpDM:startTimecode rdf:parseType="Resource">
    <xmpDM:timeFormat>23976Timecode</xmpDM:timeFormat>
    <xmpDM:timeValue>12:01:17:17 </xmpDM:timeValue>
  </xmpDM:startTimecode>
  <xmpDM:altTimecode rdf:parseType="Resource">
    <xmpDM:timeFormat>23976Timecode</xmpDM:timeFormat>
    <xmpDM:timeValue>12:01:17:17 </xmpDM:timeValue>
  </xmpDM:altTimecode>
  <xmpDM:audioChannelType>Stereo</xmpDM:audioChannelType>
    <xmpDM:audioSampleType>16Int</xmpDM:audioSampleType>
  </rdf:Description>
  <rdf:Description rdf:about=""xmlns:dt="http://www.drastictech.com/metadata/elements">
    <dt:File rdf:parseType="Resource">
    <dt:track>
      <rdf:Bag>
        <rdf:li rdf:parseType="Resource">
          <rdf:value/>
          <dt:type>General</dt:type>
          <dt:CompleteName>M:\t3media\Streams\R3D - Red\Raven 4K\scarletw-standard-5k-24fps\A106_C037_0118G5_001.R3D</dt:CompleteName>
          <dt:Format>Red R3D</dt:Format>
        </rdf:li>
        <rdf:li rdf:parseType="Resource">
          <rdf:value/>
          <dt:type>Video</dt:type>
          <dt:Format>BI RGB</dt:Format>
          <dt:Display_aspect_ratio>16:9</dt:Display_aspect_ratio>
          <dt:Frame_rate>23.976 (24000/1001) FPS</dt:Frame_rate>
          <dt:Width>5 120 pixels</dt:Width>
          <dt:Height>2 560 pixels</dt:Height>
        </rdf:li>
      </rdf:Bag>
    </dt:track>
  </dt:File>
      <dt:FileName>M:\t3media\Streams\R3D - Red\Raven 4K\scarletw-standard-5k-24fps\A106_C037_0118G5_001.R3D</dt:FileName>
      <dt:DeviceSerialNum>130-246-CE5</dt:DeviceSerialNum>
      <dt:FullName>A106_C037_0118G5_001</dt:FullName>
      <dt:Model>SCARLET-W</dt:Model>
      <dt:NativeLocator>M:\t3media\Streams\R3D - Red\Raven 4K\scarletw-standard-5k-24fps\A106_C037_0118G5_001.R3D</dt:NativeLocator>
       <dt:Title>037</dt:Title>
       <dt:UniversalLocator>M:\t3media\Streams\R3D - Red\Raven 4K\scarletw-standard-5k-24fps\A106_C037_0118G5_001.R3D</dt:UniversalLocator>
       <dt:VersionString>6.1.0.225</dt:VersionString>
       <dt:Planes>1</dt:Planes>
       <dt:BitCount>32</dt:BitCount>
       <dt:Compression>00000000</dt:Compression>
       <dt:CompressionString>BI RGB</dt:CompressionString>
       <dt:VideoHandler>00000000</dt:VideoHandler>
       <dt:AudioHandler>736F7774</dt:AudioHandler>
       <dt:SizeImage>52428800</dt:SizeImage>
       <dt:Reserved>32</dt:Reserved>
       <dt:Scale>1001</dt:Scale>
       <dt:Rate>24000</dt:Rate>
       <dt:SuggestedBufferSize>52428800</dt:SuggestedBufferSize>
       <dt:SampleSize>0</dt:SampleSize>
       <dt:Pitch>20480</dt:Pitch>
       <dt:FileType>182</dt:FileType>
       <dt:FileTypeString>Red R3D</dt:FileTypeString>
       <dt:A-Frame>0</dt:A-Frame>
       <dt:AspectRatio>16:9</dt:AspectRatio>
       <dt:PosterFrame>0</dt:PosterFrame>
       <dt:TimeCode>1866642</dt:TimeCode>
       <dt:VITCTimeCode>1866642</dt:VITCTimeCode>
       <dt:VersionNumber>60100225</dt:VersionNumber>
       <dt:TimeCodeType>1866642</dt:TimeCodeType>
       <dt:LTCTimeCodeType>128</dt:LTCTimeCodeType>
       <dt:VITCTimeCodeType>128</dt:VITCTimeCodeType>
     </rdf:Description>
   <rdf:Description rdf:about=""xmlns:dtdev="http://www.drastictech.com/metadata/deviceelements">
      <dtdev:DTDeviceMetadataType>RED</dtdev:DTDeviceMetadataType>
        <dtdev:anamorphic_mode>0</dtdev:anamorphic_mode>
        <dtdev:brightness>0</dtdev:brightness>
        <dtdev:camera_acceleration_x>0.094</dtdev:camera_acceleration_x>
        <dtdev:camera_acceleration_y>0.094</dtdev:camera_acceleration_y>
        <dtdev:camera_acceleration_z>0.956</dtdev:camera_acceleration_z>
        <dtdev:camera_firmware_revision>98555</dtdev:camera_firmware_revision>
        <dtdev:camera_firmware_version>6.2.34</dtdev:camera_firmware_version>
        <dtdev:camera_id>A</dtdev:camera_id>
        <dtdev:camera_model>SCARLET-W</dtdev:camera_model>
        <dtdev:camera_model_id>12</dtdev:camera_model_id>
        <dtdev:camera_network_name>S-WEAPON</dtdev:camera_network_name>
        <dtdev:camera_pin>130-246-CE5</dtdev:camera_pin>
        <dtdev:camera_rotation_x>0</dtdev:camera_rotation_x>
        <dtdev:camera_rotation_y>-9.003</dtdev:camera_rotation_y>
        <dtdev:camera_rotation_z>0</dtdev:camera_rotation_z>
        <dtdev:clip_aspect_ratio>2</dtdev:clip_aspect_ratio>
        <dtdev:clip_aspect_ratio_denominator>1</dtdev:clip_aspect_ratio_denominator>
        <dtdev:clip_aspect_ratio_numerator>2</dtdev:clip_aspect_ratio_numerator>
       <dtdev:clip_default_color_version>2</dtdev:clip_default_color_version>
       <dtdev:clip_id>037</dtdev:clip_id>
       <dtdev:contrast>0</dtdev:contrast>
       <dtdev:digital_gain_blue>1</dtdev:digital_gain_blue>
       <dtdev:digital_gain_green>1</dtdev:digital_gain_green>
       <dtdev:digital_gain_red>1</dtdev:digital_gain_red>
       <dtdev:dropped_frame_count>0</dtdev:dropped_frame_count>
       <dtdev:exposure_compensation>0</dtdev:exposure_compensation>
       <dtdev:exposure_time>20833.3</dtdev:exposure_time>
       <dtdev:flip_horizontal>0</dtdev:flip_horizontal>
       <dtdev:flip_vertical>0</dtdev:flip_vertical>
       <dtdev:flut_control>0</dtdev:flut_control>
       <dtdev:frame_guide_enabled>1</dtdev:frame_guide_enabled>
       <dtdev:frame_guide_height>1</dtdev:frame_guide_height>
       <dtdev:frame_guide_topleft_x>0</dtdev:frame_guide_topleft_x>
       <dtdev:frame_guide_topleft_y>0</dtdev:frame_guide_topleft_y>
       <dtdev:frame_guide_width>1</dtdev:frame_guide_width>
       <dtdev:framerate>23.976</dtdev:framerate>
       <dtdev:framerate_denominator>1001</dtdev:framerate_denominator>
       <dtdev:framerate_numerator>24000</dtdev:framerate_numerator>
       <dtdev:genlock_setting>0</dtdev:genlock_setting>
       <dtdev:gmt_date>20160118</dtdev:gmt_date>
       <dtdev:gmt_time>213555</dtdev:gmt_time>
       <dtdev:hdr_mode>0</dtdev:hdr_mode>
       <dtdev:image_height>2560</dtdev:image_height>
       <dtdev:image_width>5120</dtdev:image_width>
       <dtdev:iso>1280</dtdev:iso>
       <dtdev:iso_calibration_version>1</dtdev:iso_calibration_version>
       <dtdev:jamsync_setting>0</dtdev:jamsync_setting>
       <dtdev:lens_aperture>49</dtdev:lens_aperture>
       <dtdev:lens_aperture_units>0</dtdev:lens_aperture_units>
       <dtdev:lens_distance_units>1</dtdev:lens_distance_units>
       <dtdev:lens_focal_length>24</dtdev:lens_focal_length>
       <dtdev:lens_focus_distance>4294967295</dtdev:lens_focus_distance>
       <dtdev:lens_mount>Canon</dtdev:lens_mount>
       <dtdev:local_date>20160118</dtdev:local_date>
       <dtdev:local_time>213555</dtdev:local_time>
       <dtdev:media_serial_number>15240FC80DE7</dtdev:media_serial_number>
       <dtdev:monitor_sharpness>0</dtdev:monitor_sharpness>
       <dtdev:original_filename>A106_C037_0118G5_002.R3D</dtdev:original_filename>
       <dtdev:pixel_aspect_ratio>1</dtdev:pixel_aspect_ratio>
       <dtdev:record_framerate>23.976</dtdev:record_framerate>
       <dtdev:redcode>REDcode 8:1</dtdev:redcode>
       <dtdev:reel_id>106</dtdev:reel_id>
       <dtdev:reel_id_8_character>A106C037</dtdev:reel_id_8_character>
       <dtdev:reel_id_full>A106_C037_0118G5</dtdev:reel_id_full>
       <dtdev:resolution_format_name>5K 2:1</dtdev:resolution_format_name>
       <dtdev:saturation>1</dtdev:saturation>
       <dtdev:sensor_id>9</dtdev:sensor_id>
       <dtdev:sensor_name>DRAGON 5K S35</dtdev:sensor_name>
       <dtdev:sensor_olpf_interchangeable>1</dtdev:sensor_olpf_interchangeable>
       <dtdev:sensor_olpf_name>STANDARD</dtdev:sensor_olpf_name>
       <dtdev:shadow>0</dtdev:shadow>
       <dtdev:shutter_degrees>180</dtdev:shutter_degrees>
       <dtdev:shutter_fractions>48</dtdev:shutter_fractions>
       <dtdev:start_absolute_timecode>21:36:16:18</dtdev:start_absolute_timecode>
       <dtdev:start_edge_timecode>01:49:54:11</dtdev:start_edge_timecode>
       <dtdev:stereo_setup>0</dtdev:stereo_setup>
       <dtdev:user_curve_black_x>0</dtdev:user_curve_black_x>
       <dtdev:user_curve_black_y>0</dtdev:user_curve_black_y>
       <dtdev:user_curve_high_x>0.75</dtdev:user_curve_high_x>
       <dtdev:user_curve_high_y>0.75</dtdev:user_curve_high_y>
       <dtdev:user_curve_low_x>0.25</dtdev:user_curve_low_x>
       <dtdev:user_curve_low_y>0.25</dtdev:user_curve_low_y>
       <dtdev:user_curve_mid_x>0.5</dtdev:user_curve_mid_x>
       <dtdev:user_curve_mid_y>0.5</dtdev:user_curve_mid_y>
       <dtdev:user_curve_white_x>1</dtdev:user_curve_white_x>
       <dtdev:user_curve_white_y>1</dtdev:user_curve_white_y>
       <dtdev:user_timecode_preference>1</dtdev:user_timecode_preference>
       <dtdev:white_balance_kelvin>4800</dtdev:white_balance_kelvin>
       <dtdev:white_balance_tint>0</dtdev:white_balance_tint>
      </rdf:Description>
    </rdf:RDF>
</x:xmpmeta>

More great products from Drastic:

Loop HLS Recording SDI/IP
Loop HLS Recording SDI/IP Net-X-Code supports loop recording of multi bitrate HLS streams from IP or SDI sources.  Setting this up requires configuration of the capture component an... Tips, Tricks and Technical Information
Using FlowCaster with Avid MediaComposer
Using FlowCaster with Avid MediaComposer FlowCaster creates an Open I/O board Avid creative software like MediaComposer.  As a virutal video board, it can send the same high quality audi... Tips, Tricks and Technical Information
Advanced Hardware Keyer Usage
Advanced Hardware Keyer Usage AJA video boards generally include a Mixer Keyer element.  DrasticDDR, MediaNXS, and QuickClipXO do not directly control the Mixer Keyer, but they are desi... Tips, Tricks and Technical Information
GPI Configuration
GPI Configuration Most Drastic DDR and video I/O products (like MediaNXS, DTReplay, SyncControl Pro) support a variety of GPI interfaces. Because of the variety of hardware and u... Tips, Tricks and Technical Information
FlowCaster SRT Quick Start
FlowCaster SRT Quick Start FlowCaster Quick Start for SRT.  This article explains how to setup and test the FlowCaster output with freely available player tools. FlowCaster Quick ... Tips, Tricks and Technical Information