Page 1 of 1

64-bit LiveCode IDE not playing video while 32-bit IDE does

Posted: Tue Feb 15, 2022 8:56 am
by Cairoo
Dear LiveCode Forums,

Could this be a bug?

I'm running LiveCode 9.6.2 on Windows 10 and the player won't play video in the 64-bit IDE.

When I open the same stack in the 32-bit IDE then the videos play.

Re: 64-bit LiveCode IDE not playing video while 32-bit IDE does

Posted: Sat Feb 19, 2022 7:33 pm
by Cairoo
As I'm not an expert on video codecs, I wasn't aware that video codecs also have a bitness that would make them available only to apps with matching bitness. After some searching I found two posts on other forums that explain it.

Perhaps a future version of the LiveCode engine should provide a way to reliably determine the availability of codecs for a specified media file?

Re: 64-bit LiveCode IDE not playing video while 32-bit IDE does

Posted: Sun Feb 20, 2022 9:36 am
by SparkOut
Could you submit a bug report, at https://quality.livecode.com/ so that the team can address this please.

Re: 64-bit LiveCode IDE not playing video while 32-bit IDE does

Posted: Tue Feb 22, 2022 9:27 pm
by Cairoo
SparkOut wrote:
Sun Feb 20, 2022 9:36 am
Could you submit a bug report, at https://quality.livecode.com/ so that the team can address this please.
I may have to submit two bug reports for this. One for the IDE/engine and another for the documentation/dictionary.

Just to clarify -- 64-bit apps can use only 64-bit video codecs, and 32-bit apps can use only 32-bit video codecs. Sometimes it happens when a 32-bit app gets installed, that it installs only a 32-bit version of a particular video codec, and then 64-bit apps can't see the codec. So, if for that reason a video can't be played in the 64-bit LiveCode IDE, then it is technically not a bug. However, on Windows the player object does not return an error in such a case, and I think it should.

On the documentation side, the users should just be made aware of this limitation in the operating system so they can optionally distribute a matching video codec with their LiveCode apps.

Re: 64-bit LiveCode IDE not playing video while 32-bit IDE does

Posted: Wed Feb 23, 2022 2:57 am
by PaulDaMacMan
Cairoo wrote:
Sat Feb 19, 2022 7:33 pm
As I'm not an expert on video codecs, I wasn't aware that video codecs also have a bitness that would make them available only to apps with matching bitness. After some searching I found two posts on other forums that explain it.

Perhaps a future version of the LiveCode engine should provide a way to reliably determine the availability of codecs for a specified media file?
What video CODEC were you trying to use?