Technical

Tips, Tricks and Technical Information

DTMediaRead Pipe Utility

dt logo 1.5inchThe DTMediaRead SDK now includes a utility called dtmrpipe. This utility allows the user to 'pipe' out uncompressed YUV2 or BGRA video data to another application. It can also be used to pipe an uncompressed stereo audio stream in 16 or 32 bit little endian. This is useful for feeding other applications, such as ffmpeg, with the output of file formats, types or codecs it doesn't support.

 

DTMRPipe

 

DTMRPipe is a command line utility.  The available parameters are:

 

dtmrpipe - pipe raw audio or video out of a media file, by Drastic Technologies (www.drastic.tv)

(c)opyright 1995-2023 Drastic Technologies Ltd. All rights reserved.
Usage: ./dtmrpipe -q -i <sourcefile> -t <type>
    -i <sourcefile> File to decode
    -q Quiet, minimal print outs
    -t <type> Type of raw video or audio:
      Video
         0 BGRA 8 bit
         1 UYUV 8 bit YCbCr 4:2:2
      Audio
         10 16 bit stereo le
         11 32 bit stereo le

 

The basic usage would be

someapp 'parameters for that app' < dtmrpipe cine.cine -q -t 0

The result would be each frame of the cine file would be read and decoded to 8 bit BGRA, and then fed to the secondary encoder.

Examples (using FFMPEG)

 

Convert a cine to a MP4/h.264 (via RGB)

dtmrpipe -i cine.cine -t 0 | ffmpeg -s 1920x1080 -pix_fmt rgb32 -f rawvideo -i pipe:0 -c:v mpeg4 -s 1920x1080 -aspect 16:9 cine.mp4

Convert an MXF (XDcam in this case) to a MP4/h.264 (via YCbCr)

dtmrpipe -i xdcam.mxf -t 1 | ffmpeg -i pipe:0 -pix_fmt yuyv422 -c:v mpeg4 -s 1920x1080 -aspect 16:9 xd.mp4

Convert a DNG Sequence to an MP4/h.264 (via RGB) at 6 megabits

dtmrpipe -i First0000.dng -t 0 | ffmpeg -s 1920x1080 -pix_fmt rgb32 -f rawvideo -i pipe:0 -c:v mpeg4 -s 1920x1080 -aspect 16:9 -vb 6M cine.mp4


 

 

Trademarks, Registered Trademarks, and Copyrights

 

Trademarks, Registered Trademarks, and Copyrights

Drastic Technologies Ltd. - trademarks specified here.
Fabrice Bellard - FFmpeg is a trademark of Fabrice Bellard
All other trademarks are the property of their respective owners.

 

 

More great products from Drastic

Using the Drastic OpenFX plugins in DaVinci Resolve
Using the Drastic OpenFX plugins in DaVinci Resolve Drastic Technologies has created two OpenFX plugins to view the output of Blackmagic DaVinci Resolve editors; the FlowCaster Remote Monitoring plugin, and the D... Tips, Tricks and Technical Information
Drastic Log Format
Drastic Log Format The Drastic LOG format uses the same basic layout as a LOG/~ALG/~ALE. The main differences are the 'Type:' header and the file name in the comment. The comment ... Tips, Tricks and Technical Information
SMPTE 2110, 2202 & RTP Multicast Setup
SMPTE 2110, 2202 & RTP Multicast Setup Most operating systems are not set up out of the box to handle heavy multicast loads. With some, multicast reception is actually disabled.  This article co... Tips, Tricks and Technical Information
FlowCaster Live Edit Review
FlowCaster Live Edit Review Use FlowCaster on the www.flowcaster.live site for real time group review of edit sessions anywhere in the world, without rendering or uploading your media to a... Tips, Tricks and Technical Information
FlowCaster Live Event Review
FlowCaster Live Event Review FlowCaster Live Event Review captures SDI or IP signals simultaneously as high quality MXF files and as time code matched proxy MP4s. This way the creative team... Tips, Tricks and Technical Information
Image

For more than two decades, Drasticâ„¢ has been developing cutting edge digital video 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: sales@drastictech.com

Fax: + 1 (416) 255 8780

Follow us on Social Media