This page is only meant for software engineers. You do not have to understand anything on this page in order to use BluffTitler.
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) |
| /F | Fullscreen |
| /L | Looping |
| /S | Suppress error messages |
| /Q | Quit after playing |
| /W=<HWND> | Play the show in a child window of <HWND> (unsigned decimal number) |
| /O=R | Play all shows in the show folder in a loop, in random order |
| /O=A | Play 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 |
| /PFIRST | Export the first frame as a PNG picture |
| /PMIDDLE | Export the middle frame as a PNG picture |
| /PLAST | Export the last frame as a PNG picture |
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);