Record H.264 from Blackmagic Television Studio USB Port with MXPTiny

The Blackmagic Television Studio (TVS) has a built in H264 encoder for the Program bus output. It provides this via the USB 2.0 port (Note: the new HD and HD Pro do not have this capability). The BMD H.264 Pro Recorder has the same capability and can be used with the software below.

Blackmagic Desktop Video utility can capture this but the file is very big and you have to wait until you stop and save the file before you can access it. If the software crashes then the content is lost. This solution also doesn’t allow streaming the content in real-time.

There is a good 3rd party product, MX Light that many people use for streaming which you may want to evaluate.

MXPTiny is an open source solution worth considering. I have found this to be very reliable and it creates a file that can be read by other applications such as VLC or ffmpeg at the same time as it is being created.


This version was created in Dec 2015 from a fork of the original project created over 4 years. I have found this new version it to be reliable with the latest BMD drivers (ATEM 6.8 and Desktop Video 10.7 – must be installed on same computer as MXPTiny).

Update: Also works with DesktopVideo driver 10.9.5 and H.265 Pro Recorder (previous driver would not detect USB device).

I have made a compiled version available here (updated to release rather than debug build)…

It requires that you also install the required  Visual C++ Redistributable for Visual Studio 2015 x86 or x64 (install the x86 version even if running 64bit OS). Only tested on Windows 8.1 and 10.

If MXPTiny reports no device found, try running C:\Program Files (x86)\Blackmagic Design\Blackmagic Desktop Video\BMDStreamingServer.exe


7 thoughts on “Record H.264 from Blackmagic Television Studio USB Port with MXPTiny

    • Sorry about that. Common problem that development machine has other dependencies installed that make the solution work. I’ll try and track it down. I also have the original MXPTiny on my machine and it works. The trick is to use FFMPEG to stream the .TS file at the same time to Youtube.
      I don’t have much bandwidth so have been using a low res stream settings to test. This will always start from the beginning of the file. Seeking in FFMPEG not as good as VLC but VLC can’t do the RTMP stream.

      ffmpeg -re -i “f:\capture\decklink.ts” -acodec libmp3lame -ar 44100 -b:a 128k -pix_fmt yuv420p -profile:v baseline -s 426×240 -bufsize 2048k -vb 400k -maxrate 800k -deinterlace -vcodec libx264 -preset medium -g 30 -r 30 -f flv “rtmp://[Your Stream key])”

  1. Hello Ian, thanks for the help. The code you provided me should be inserted inside ffmpeg on the command line? I tried but I believe that the command “f: \ capture \ decklink.ts” is wrong … it appears as an error

    • Hi, you should substitute f:\capture with the default path you set in MXPTiny.
      I run the above command from a cmd window in the directory containing ffmpeg.
      Copy/paste of the command may use the wrong quotes so check that.

      • I have done, but it’s not exactly what I need.

        1) open PXPTiny
        2) i’ve changed the folder to record in ffmpeg/bin directory, then click preview and recording… It runs
        2) open cmd ffmpeg and i’ve paste this code

        ffmpeg -re -i DeckLi.ts -acodec libmp3lame -ar 44100 -b:a 128k -pix_fmt yuv420p -profile:v baseline -bufsize 2048k -vb 400k -maxrate 800k -deinterlace -vcodec libx264 -preset medium -g 30 -r 30 -f flv rtmp://

        and it runs

        But, i don’t what to rec any file. I need that ffmpeg capture directly from Atem. I’ve tried this code, but it doesn’t work

        ffmpeg -re -i \\.\pipe\DeckLink.ts -acodec libmp3lame -ar 44100 -b:a 128k -pix_fmt yuv420p -profile:v baseline -bufsize 2048k -vb 400k -maxrate 800k -deinterlace -vcodec libx264 -preset medium -g 30 -r 30 -f flv rtmp://

        is it possible to capture directly the source?
        Thank You

  2. Hi,I tested the software and it works fine,but it records only video.So,I wonder how to record video and audio together.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s