There ARE methods to compress and store a 3rd party library or application as a property in a Livecode standalone and have the standalone on start up check (if there is a file ... or if there is a folder ...) for the app's presence and if not present, install it by uncompressing and writing it as a bnfile to the install location.

I don't know whether there are any Livecode lessons on the web site on how to do this or not or whether someone else who has done this may have code or tips to share.

First, you may want to manually install LAV Filters and see if it has the codecs for the media formats you want.

Livecode 10, before release, is supposed to get updated to use the Windows Media Foundation (and it's wide range of current codec for various media formats). This change (DirectShow to MMF) is not in the current (dp8) version. So a media coded pack (like LAV Filters) for DirectShow is your only option under there is a version of LC 10 that supports MMF.

If you set the way back machine, if you wanted to do media on Windows under old versions of Livecode (aka Revolution), you had to install Quicktime for Windows.


On 7/7/2024 8:49 PM, Peter Bogdanoff via use-livecode wrote:
OK thanks.

Many of our users are college undergrads, some of which appear to have never 
installed an application on their own computer. Now I have to get them to do a 
second installation as well.

By any chance, can I get my LC application to initiate the LAV filters install?



On Jul 7, 2024, at 8:10 PM, Paul Dupuis via use-livecode 
<use-livecode@lists.runrev.com> wrote:

Windows 11 will have the issue. Livecode on Windows 10 or 11 uses DirectShow. 
Try the LAV Filters to get the formats you want. .mp4 is fine, I am not sure 
about .mp5 support. See the LAV Filters read me and documentation.


On 7/7/2024 7:56 PM, Peter Bogdanoff via use-livecode wrote:
Thanks, Paul.

So, Windows 11 shouldn’t have this issue?



On Jul 7, 2024, at 1:58 PM, Paul Dupuis via use-livecode 
<use-livecode@lists.runrev.com> wrote:

Livecode on Windows (9.x.x and 10.x.x) still uses DirectShow for the video (vs 
the Microsoft Media Foundation (MMF), the current standard. DirectShow was 
always limited in the number of codec for various audio and video formats it 
supported natively. I stringly recommend for macOS Windows parity on video 
formats to install the free library of additional DirectShow supported codec 
that are a part of the LAV Filters package. See 
https://github.com/Nevcairiel/LAVFilters/releases

Just install the current version of LAV Filters and restart and you get a whole 
set of additional audio and video formats supported for Livecode for Windows.


  On 7/7/2024 1:38 PM, Peter Bogdanoff via use-livecode wrote:
Hi, the browser widget doesn’t support .mp4 (or .mp5, both part of the HTML5 
standard) in Windows.

This is disappointing, especially as LC 10 becomes web based. In the music 
application I’ve been developing, we are now going into new, transformational 
frontiers in education with web-based video (such as YouTube) interacting with 
normal Livecode—but this works on macOS ONLY. I tested YouTube videos in the 
widget on Windows 10, and the YT player reports that the videos are unsupported.

I understand that there is licensing involved. MPEG LA, now VIA Licensing 
Alliance, has a fee structure. For hardware decoders, for example:

For the first 1 to 50,000 decoders      No Royalty*
For decoders 50,001 and more    $ 0.25**

https://www.via-la.com/licensing-2/mpeg-4-visual/mpeg-4-visual-license-fees/ 
<https://www.via-la.com/licensing-2/mpeg-4-visual/mpeg-4-visual-license-fees/>

Is this an obstacle for LiveCode as software, and dependent on the underlying 
hardware?

My understanding from past LC forum posts is, to allow the widget to play the 
videos a flag is turned on and the widget recompiled.

I’m happy to pay for the licensing myself if I got to 50K customers!

Peter Bogdanoff


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to