libqatemcontrol icon indicating copy to clipboard operation
libqatemcontrol copied to clipboard

ATEM Video Modes not supported

Open kevinreedy opened this issue 4 years ago • 3 comments

I have an ATEM Mini Pro on firmware 8.2.3. I am getting segmentation faults when trying to use the qatemuploader example. After doing some digging, it looks like m_connection->videoFormat() returns 27 from my devices here: https://github.com/petersimonsson/libqatemcontrol/blob/252b0319fabf291a90d791bddc7619c2ebf0b095/example/qatemuploader/qatemuploader.cpp#L77

There are only 18 modes available in m_connection->availableVideoModes(): https://github.com/petersimonsson/libqatemcontrol/blob/252b0319fabf291a90d791bddc7619c2ebf0b095/qatemconnection.cpp#L1693-L1711

The makes size.width() and size.height() return -1: https://github.com/petersimonsson/libqatemcontrol/blob/252b0319fabf291a90d791bddc7619c2ebf0b095/example/qatemuploader/qatemuploader.cpp#L82

I'm guessing later hardware and firmwares have added additional modes. I'll see if I can find documentation on them to get a PR back in.

kevinreedy avatar Jul 15 '20 04:07 kevinreedy

Confirmed this is an issue by changing https://github.com/petersimonsson/libqatemcontrol/blob/252b0319fabf291a90d791bddc7619c2ebf0b095/example/qatemuploader/qatemuploader.cpp#L82

to

m_connection->sendDataToSwitcher(0, m_position, info.baseName().toUtf8(), QAtemConnection::prepImageForSwitcher(image, 1920, 1080));

No longer segfaulting, but hanging at

Uploading... [onCCdP] Unknown adjustment domain: 4
[onCCdP] Unknown adjustment domain: 4
[onCCdP] Unknown adjustment domain: 4
[onCCdP] Unknown adjustment domain: 4

kevinreedy avatar Jul 15 '20 04:07 kevinreedy

Just noticed the documentation at http://skaarhoj.com/fileadmin/BMDPROTOCOL.html now says:

August 2018: The free open source SKAARHOJ provided Arduino Libraries will only work
with ATEM Software Control firmware versions up to 7.5.0.

(SKAARHOJs commercial products will work with ATEM Software Control firmwares beyond 7.5.0)

kevinreedy avatar Jul 15 '20 05:07 kevinreedy

I seem to have the same issue. I wanted to create a batch uploader script for image files. I run firmware 8.5.1 on an ATEM Mini Pro and the thing segfaults. I changed the line mentioned above, now the thing hangs on „Uploading....”.

DrNI avatar Apr 20 '22 20:04 DrNI