Player

For coders only

This page is only meant for software engineers. You do not have to understand anything on this page in order to use BluffTitler.

Syntax

The BluffTitler executable accepts the following arguments:

[<PATH>] [/X=<CONTENT>] [/F] [/L] [/S] [/Q] [/W=<HWND>] [/O=<ORDER>]
[/WIDTH=<WIDTH>] [/HEIGHT=<HEIGHT>] [/PAR=<PAR>] [/QUALITY=<QUALITY>]
[/E=<PATH>] [/FPS=<FPS>] [/PFIRST] [/PMIDDLE] [/PLAST]
[/?]
<PATH>The BT show file or BTPL playlist. It also accepts a picture, a video or a 3D model file.
/X=<CONTENT>Content file (XML)
/FFullscreen
/LLooping
/SSuppress error messages
/QQuit after playing
/W=<HWND>Play the show in a child window of <HWND> (unsigned decimal number)
/O=RPlay all shows in the show folder in a loop, in random order
/O=APlay all shows in the show folder in a loop, in alphabetical order
/WIDTH=<WIDTH>Horizontal resolution
/HEIGHT=<HEIGHT>Vertical resolution
/PAR=<PAR>Pixel aspect ratio
/QUALITY=<QUALITY>Quality (0 for low, 1 for normal, 2 for high and 3 for super high)
/?Display all options

The server edition adds the following commands:

/E=<PATH>Export path (AVI, MP4, WEBM, WMV, MOV, GIF)
/FPS=<FPS>Export frames per second
/PFIRSTExport the first frame as a PNG picture
/PMIDDLEExport the middle frame as a PNG picture
/PLASTExport the last frame as a PNG picture

System integration

BluffTitler can be rendered in your own window like this:

MString Parameters = "\"" + inPath_Show + "\" /Q /W=\" + MString((int)inWindow);
ShellExecute(nullptr, L"open", inPath_BluffTitlerExecutable, Parameters, NULL, SW_SHOWNORMAL);

MP4 files can be generated like this:

MString Parameters = "\"" + inPath_Show + "\" /E=D:\\Temp\\Export.mp4 /WIDTH=1920 /HEIGHT=1080 /PAR=1 /FPS=30 /QUALITY=2 /S /Q";
ShellExecute(nullptr, L"open", inPath_BluffTitlerExecutable, Parameters, NULL, SW_SHOWNORMAL);