Technical

Tips, Tricks and Technical Information

Sequence of Images Options (DPX, TGA, etc)

dt logo 1.5inchDrastic software supports a wide range of still image formats including TIFF, TGA, DPX, CINEON, PSD, SGI, VPB, ARI, RAW and others.  They are processed as a series of images to create a video stream.  How they are processed can be controlled by a number of configuration settings.

Writing Images

 

When writing series of stills, there are a number of options available. They are configurable through the registry in version 3.x (HKEY_LOCAL_MACHINE\SOFTWARE\Drastic Technologies) and the DDRConfig/config.xml in version 4 and greater. The setup is in this key:

\MediaReactor\PlugIns\DTLiveStills

 

<DefaultScale> / <DefaultRate>

If there is no indication of frame rate in the stills' headers or the sidebar XML file, these elements set the default rate or frames per second.  Common scale / rate combinations are:
1 / 24 = 24 fps
1001 / 20000 = 23.98 fps
1 / 25 = 25 fps
1001 / 30000 = 29.97 fps
1 / 30 = 30 fps

 

<discreetMode>

When set to one, the DPX produced will include a discreet specific extension for Flame, Flint, Inferno, Smoke, Combustion and other Autodesk products.

 

<DPXVersion1>

Normally we write version 2.0 or greater DPX files. For compatibility with older software packages you can force us to write version 1.0 DPX files.

 

 

<DPXTCContiguous>

Normally time codes are written directly from the input into the file. This will write any time code received in any order. If this is set to 1, then the time code will be overridden from the first frame's time code. From the first frame the time code will continue without interruption.

 

<NameEmbedTC>

This allows you to embed the time code into the name of the graphic image. This can be set up in a number of ways:
  • 0 = Do not embed time code in file name
  • 1 = Use the frame value of the time code as the numeric part
  • 2 = Embed the starting time code (initial) as a string in each file name
  • 3 = Embed the starting time code and user bit (initial)
  • 99 = Embed the starting time code with a tc=

<Separator>

Change the character used to separate the base name and the numeric portion of the file name. Normally it is a '_' or '.'. It should be one character long. The format is:

[basename](separator){####}.ext
so, '_' would be
test_000000.dpx
or '.' would be
test.00000.dpx

 

Reading Images

 

Often when reading a series of still images there is no way to determine the frame rate they should be played at.  DPX files do contain a frame rate in their headers, but it is most often set to an invalid rate, or is sometimes plain wrong.  To set a default frame rate for your system, there are a number of places you can change it.  In each case, it is a Rate/Scale setting that you will be changing.  The most common Rate/Scale combinations are:

Rate  Scale  Frame Rate 
60  60p 
60000  1001  59.94p 
50  50p 
30 1 30p
30000 1001 29.97p/59.94i
25 1 25p/50i
24 1 24p
24000 1001 23.98p

 

When loading a series of stills where the frame rate is unknown, the reader will look for a default rate and scale in the following places, in the following order.  Once one is found, it stops looking:

  • A local metadata xml file in the same directory as the stills, with the same base name.  A sample file is available at the end of this article
  • In the config.xml, the <MediaReactor> <MetaData> <Default> OriginalScale and OriginalRate keys
  • In the config.xml, the <MediaReactor> <PlugIns> <DTLiveStills>  DefaultScale and DefaultRate keys
  • The default rate of any hardware Drastic software is using directly (e.g. videoQC, MediaNXS, DrasticDDR, etc)

 

The config.xml is a standard text xml, and it is available in these locations:

Windows

C:\ProgramData\Drastic\config.xml

macOS

/Library/Application Support/Drastic/config.xml

Linux

~/.Drastic/config.xml

 

Sample XML Metadata File:

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/http://www.drastictech.com/metadata/drastic-metadata.xsl"
<!DOCTYPE dtm:dtm PUBLIC "-//DRASTIC MEDIA METADATA//DCMES DTD 2001 01 01//EN" "http://www.drastictech.com/metadata/dtmes-xml-dtd.dtd">
<dtm:dtm xmlns:dtm="http://www.drastictech.com/metadata"
  xmlns:dt="http://www.drastictech.com/metadata/elements">
   <dtm:Description dtm:about="default*.dpx">
    <dt:OriginalRate>25</dt:OriginalRate>
    <dt:OriginalScale>1</dt:OriginalScale>
  </dtm:Description>
</dtm:dtm>


Trademarks, Registered Trademarks, and Copyrights

 

Trademarks, Registered Trademarks, and Copyrights

Apple Inc. - Apple, the Apple logo, Final Cut, Final Cut Pro, Apple TV, iOS, iPad, iPhone, iPod touch, iTunes, Mac, Mac OS X, macOS, Shake, Final Cut Pro, ProRes, High Sierra, Mojave, M1, M2, and QuickTime are trademarks of Apple Inc., registered in the U.S. and other countries.
Autodesk, Inc. - Autodesk, Discreet, Flame, Flare, Smoke, Lustre, and Maya are either trademarks or registered trademarks of Autodesk, Inc. or its subsidiaries in the United States and/or other countries.
Drastic Technologies, Ltd. – Drastic Technologies, Drastic, Drastic.tv, videoQC View, videoQC Pro, videoQC Inspect, videoQC Workstation, FlowCaster, Network Video Analyzer, 2110Scope, HDRScope, 4KScope, sdiScope, Net-X-Code Server, Net-X-Code Channel, Media File Scanner, MediaReactor, MediaReactor Workstation, MR Lite, ccConvert, Net-X-Proxy, Net-X-Convert, MediaNXS, ndiScope, DrasticPreview, QuickClip, DDRConfig, and SyncControl are registered trademarks of Drastic Technologies, Ltd.
Eastman Kodak Company - Cineon™ is a trademark of Eastman Kodak Company
Linus Torvalds - Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
Microsoft Corporation – Microsoft: Windows®, Video For Windows (VFW), DirectShow, Microsoft, Skype, Microsoft Azure, Microsoft Teams, Wave Mapper, Microsoft, Windows NT|2000|XP|XP Professional|Server 2003|Server 2008 |Server 2012, Windows 7, Windows 8, Media Player, Media Encoder, Windows Defender, Microsoft Office, .Net, Internet Explorer, SQL Server 2005|2008|2012|2014, Windows Media Technologies and Internet Explorer are trademarks of Microsoft Corporation.
All other trademarks are the property of their respective owners.

More great products from Drastic

DDRSetup - Net-X-Code Setup and Licensing
DDRSetup - Net-X-Code Setup and Licensing ddrSetup is part of ccConvert and Net-X-Code Server software. ddrSetup is a command line tool that can do basic configurations for various Drastic software as... Tips, Tricks and Technical Information
Automatic Proxy Setup
Automatic Proxy Setup Version 7 or greater Drastic software supports writing a proxy file at the same time as it writes the main file when transcoding files, capturing from IP compre... Tips, Tricks and Technical Information
DTMediaRead Pipe Utility
DTMediaRead Pipe Utility The DTMediaRead SDK now includes a utility called dtmrpipe. This utility allows the user to 'pipe' out uncompressed YUV2 or BGRA video data to another applicati... Tips, Tricks and Technical Information
Running Net-X-Code In The Cloud (AWS/GCS/VM)
Running Net-X-Code In The Cloud (AWS/GCS/VM) Net-X-Code can be run on local servers, local VMs or cloud based VMs.  The VMs can be using Red Hat/Centos, Windows, Windows Server, or even Docker.  ... Tips, Tricks and Technical Information
Running Net-X-Code (no server)
Running Net-X-Code (no server) Net-X-Code is normally run on a server, where the parts of Net-X-Code run automatically as services. For some applications, only part of Net-X-Code needs to be ... Tips, Tricks and Technical Information
Image

For more than two decades, Drastic™ has been developing cutting edge solutions for television, post production and sports broadcasting, from real time web delivery to 8K broadcast.

We offer standalone software for the end user or enterprise, integrated solutions for automated workflows, and OEM tools for custom applications or branded devices.

Contact Us

Address:
523 The Queensway, Suite 201
Toronto, ON
M8Y 1J7, Canada

Phone: +1 (416) 255 5636

Email: info@drastictech.com

Fax: + 1 (416) 255 8780