What video formats work on Windows?
Colin Holgate
colinholgate at gmail.com
Sun Oct 13 14:18:37 EDT 2024
That seems to have the same issue that K-lite showed. I immediately see the last frame of the video, and the video doesn’t play (at least not from script). Showing the controller and having to click the play button does show the video, but it’s a jarring experience having to look at the last frame until the user clicks the play button.
> On Oct 13, 2024, at 11:52 AM, Klaus major-k via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> Hi Colin,
>
>> Am 13.10.2024 um 19:08 schrieb Colin Holgate via use-livecode <use-livecode at lists.runrev.com>:
>>
>> The end goal is to be able to run a standalone, and some cards will have an external video file to play.
>> As that doesn’t work, I have a card in LC 10.0 authoring, where a Player object is linked to a local MP4. The MP4 plays fine in the Windows 11 player.
>> When I try to play the video file I get a ‘could not create movie reference’ message in the result.
>> I have tried set the dontuseqt to TRUE - but that didn’t help. I don’t mind if I end up having to have another copy of the video files to use on Windows, but what file types will work?
>> I didn’t find something about installing K-lite, and trying that does make the Player show the last frame of the video, but still the video won’t play, and I can’t assume everyone whose PC I might use would be willing to let me install extra codecs.
>
> unfortunately LC uses the old Windows multimedia engine, not sure how this is called (DirectShow?).
> And that cannot play MP4 videos out of the box.
>
> Adding the new and current multimedia engine was promised for LC 10, but did not make it into the last version of LC.
> Maybe it is implemented in the new and upcoming LCC (LiveCode Create).
>
> So you are stuck with a small number of supported codecs like MPG 1, WMV and AVI, maybe more, I'm not sure...
>
> There is a free codec collection named "LAV Filters" which will let LC also play MP4 files and a lot of other audio and video formats.
> Find and load it here: <https://github.com/nevcairiel/lavfilters/releases>
>
>
> Best
>
> Klaus
>
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> klaus at major-k.de
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list