Page 1 of 1

Upload still to media pool failing

PostPosted: Mon Jun 20, 2022 5:35 pm
by johnd126
Hi,

I'm trying to upload a still image to the media pool but it's constantly failing.

I was basing my code on the SwitcherMediaPool code from the 8.7.1 SDK package. The upload also fails when using the compiled version of the SwitcherMediaPool.exe included in the package. I've tried with a few .tga's created using a variety of graphic software packages.

During debugging I can see that it gets to the point where it writes "Extension data is unsupported" in the TGALoader.cpp. The "TRUEVISION-XFILE" signature does exist in the sample files.

Any ideas?

Thanks,

John

Re: Upload still to media pool failing

PostPosted: Wed Jun 29, 2022 4:37 am
by Ian Morrish
The TGA file can't have any compression. Most graphics apps save TGA with RLE on by default which isn't supported. The file must also be in the same resolution as the switcher.

I have use GIMP to create compatible TGA files, just turn off the RLE compression option when you export to tga extension.

Re: Upload still to media pool failing

PostPosted: Wed Jun 29, 2022 5:05 pm
by johnd126
Yep, that was it.

That's disappointing: all the tools we use create the compressed versions and all the other displays expect it.

Oh well.

Thanks!