Audio and Video export possibilities

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Exporting audio and video files in a variety of formats would be an advantage.

Yes.
10
71%
No.
2
14%
I'm not sure what this means.
2
14%
 
Total votes: 14

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6622
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Audio and Video export possibilities

Post by FourthWorld » Tue Jan 15, 2019 9:55 pm

richmond62 wrote:
Tue Jan 15, 2019 9:50 pm
such specialized functionality
I don't know why you rate it as specialised, or even "specialized". 8)

An awful lot of programs "out there" import, mess around with, and export sound.

How do internet telephony apps work?
Using specialized vendor- and/or network-specific APIs.

True, whether a given feature is "specialized" -- or "not specialized" -- is a matter of subjective opinion, since "specialized" does not imply any specific percentage of the user base needing it.

But focusing on obvious word definitions misses the point: if you need this, why not write this?
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 3237
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Audio and Video export possibilities

Post by richmond62 » Tue Jan 15, 2019 9:59 pm

if you need this, why not write this?
I don't, personally, but I thought (possibly naively) that one could reasonably
expect a programming language to cope with audio generation and export.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6622
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Audio and Video export possibilities

Post by FourthWorld » Tue Jan 15, 2019 10:13 pm

richmond62 wrote:
Tue Jan 15, 2019 9:59 pm
if you need this, why not write this?
I don't, personally, but I thought (possibly naively) that one could reasonably
expect a programming language to cope with audio generation and export.
I can't think of any language that has that built in. Most handle it by writing interfaces to OS APIs, just as we can do in LC.
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2747
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: Audio and Video export possibilities

Post by mwieder » Wed Jan 16, 2019 5:41 am

Most handle it by writing interfaces to OS APIs, just as we can do in LC.
Interfacing to OS APIs requires at least proficiency in LCB, and at worst requires writing external libraries in something closer to the metal. It's not a simple matter of scripting

export mySound as "mp3"

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6622
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Audio and Video export possibilities

Post by FourthWorld » Wed Jan 16, 2019 5:54 am

I'm not saying it would be trivial, just noting that I can't think of any language has that that built-in.

If there's sufficient interest it will be possible to find resources to do this. If resources cannot be found that may be an indicator of level of interest in the community. FWIW even the OP here has said he has no actual need for this at this time.
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 3237
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Audio and Video export possibilities

Post by richmond62 » Wed Jan 16, 2019 10:33 am

the OP here has said he has no actual need for this at this time.
However, the "OP" would like that capability as the "OP" teaches LiveCode
to various ill-assorted kiddos every summer.

After the initial 5-6 days of 3 hours a day they begin to develop
"dangerously independent" tendencies and start making noises about project work.

Of course the less imaginative ones all want to make a "shoot-em-up" game: but other more
switched-on kids have more switched-on ideas such as several that involve sound.

This is, already, a pain-in-the-bum as I use Linux boxes in my school, and LiveCode
and sound DON'T on Linux.

[And, I am not going to run out and buy 10 Microsoft Windows licences "just"
to have access to the rather rudimentary sound capabilities of LiveCode for
3-4 weeks each year.]

NOW I only run "silly wee intro" courses every summer for 3-4 weeks maximum:
but there are those who would teach LiveCode programming over several years
in a regular school (my school being somewhat irregular) and aim to do serious,
long-term project work . . .

A dependence on APIs ties one to specific platforms . . . and, of course this:
This allows you to build robust, flexible objects that work on
any platform with any type of user interaction you or your customer can imagine.
seems less and less to be the case.

Being capable of imaginative moments I CAN IMAGINE a program where
an end-user can use a standalone to write music and export the end result
to .midi and .aif files on ALL the platforms LiveCode claims it works seemlessly on.

bogs
Posts: 3355
Joined: Sat Feb 25, 2017 10:45 pm

Re: Audio and Video export possibilities

Post by bogs » Wed Jan 16, 2019 1:44 pm

richmond62 wrote:
Wed Jan 16, 2019 10:33 am
I CAN IMAGINE a program where
an end-user can use a standalone to write music and export the end result
to .midi and .aif files on ALL the platforms LiveCode claims it works seemlessly on.
This was one of the first things I did (many years ago) in RB/Xojo, in fact, since there are many occasions where I need or want music that is not copyright encumbered.

Aside from RB/Xojo, it can also be done in FPC/Lazarus (or any number of other FPC visual IDEs) which include sound libraries. In the original Delphi, you could write to the Windows APIs directly by encapsulating them (also available in RB/Xojo to an extent), which would be nice to have in this language without needing to rely on an external. I think even Smalltalk has this ability (although it has been WAY too long since I used it to be sure at this point), so it is a little off the mark to say no other IDE/language provides this type of access
FourthWorld wrote:
Tue Jan 15, 2019 10:13 pm
I can't think of any language that has that built in. Most handle it by writing interfaces to OS APIs, just as we can do in LC.
Image

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 3237
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Audio and Video export possibilities

Post by richmond62 » Wed Jan 16, 2019 1:57 pm

so it is a little off the mark
The person who stated that often states that type of thing in fairly authoritative terms hoping
creepy types like Richmond will b*gger off. 8)

Unfortunately Richmond has an unfortunate tendency to keep
"nibbling".

bogs
Posts: 3355
Joined: Sat Feb 25, 2017 10:45 pm

Re: Audio and Video export possibilities

Post by bogs » Wed Jan 16, 2019 2:47 pm

Oh I doubt it is like that, but I also doubt anyone here has tried every programming language on the planet either. I just tend to get bored easily and don't have to make my bread and butter from programming, so I play with a lot of different environments.

One possibility I think has merit on 'nix (or possibly for a unified cross platform solution) might be using SDL, since it already supports all the platforms Lc runs on (far as I can see) and is distributed under the zlib license. This license allows you to use SDL freely in any software and is pretty easy to understand (doesn't require a legal team).

You can probably use it right now for your own projects, they list a lot of examples on how to bind it (for other languages :roll: ). I first came across it in sdl basic, but have also used it in pascal. It works pretty well.
Image

Klaus
Posts: 10967
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Audio and Video export possibilities

Post by Klaus » Wed Jan 16, 2019 4:50 pm

I have no idea if this is feasable or if and what licence problems might arise, but it would surely be a good thing, if LC would/could provide an internal (= build-in) framework for multimedia playback, like VLC or MPlayer or whatever.

I'd rather love to see this than any EXPORT capabilities for video/sound!

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 3237
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Audio and Video export possibilities

Post by richmond62 » Wed Jan 16, 2019 6:08 pm

don't have to make my bread and butter
That's a relief: nor do I. 8)

capellan
Posts: 607
Joined: Wed Aug 15, 2007 11:09 pm
Contact:

Re: Audio and Video export possibilities

Post by capellan » Wed Jan 16, 2019 8:47 pm

Hi Klaus,
Klaus wrote:
Wed Jan 16, 2019 4:50 pm
I have no idea if this is feasable or if and what licence problems might arise, but it would surely be a good thing, if LC would/could provide an internal (= build-in) framework for multimedia playback, like VLC or MPlayer or whatever.

I'd rather love to see this than any EXPORT capabilities for video/sound!
I wholeheartedly agree! If this internal audio/video player
plays webM (audio and video) then it could play
streaming and local files.

Al

Lagi Pittas
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 323
Joined: Mon Jun 10, 2013 1:32 pm

Re: Audio and Video export possibilities

Post by Lagi Pittas » Thu Jan 17, 2019 2:23 pm

Just for you Bogs

http://www.bbcbasic.co.uk/bbcsdl/index.html

https://stardot.org.uk/forums/viewtopic.php?t=15521

I purchased his BBC basic for Windows quite a few years ago - not because I needed it - the free version is good enough for playing , but because I think it's brilliant bit of programming and I like to help the lone programmer ...

But now he has an SDL version that runs on Windows,Linux,OSX,Android and IOS for free - some with built in assemblersboth arm and x86 - and that's one man by himself using assembly language only (at least in the windows version)

EDIT: Link fixed - thanks Bogs

Lagi
Last edited by Lagi Pittas on Thu Jan 17, 2019 3:41 pm, edited 2 times in total.

bogs
Posts: 3355
Joined: Sat Feb 25, 2017 10:45 pm

Re: Audio and Video export possibilities

Post by bogs » Thu Jan 17, 2019 3:14 pm

Thanks Lagi!
It is interesting that the first link doesn't copy correctly from the address bar (not your fault, I tested it myself). For some reason, when you copy the address -
http://www.bbcbasic.co.uk/bbcsdl/index.html
from the address bar, it drops the 'l' at the end, which leads to a 404 error. Weird!

That is a different version than the 'SDL Basic' I was mentioning above, which the guy stopped doing anything with around 2012, so it will be interesting to take a look at, especially since I've never used BBC Basic (my early basic languages were GW-BASIC and MS Quick Basic).

I really appreciate it!
Image

Lagi Pittas
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 323
Joined: Mon Jun 10, 2013 1:32 pm

Re: Audio and Video export possibilities

Post by Lagi Pittas » Thu Jan 17, 2019 3:43 pm

My First language was Basic on a timesharing system, then 6800 machine language on a homebuilt computer with 1K of static ram (I even remember the chip number 2102 - Eight of them for 1K). It was when I expanded it to 16K that the chip number was forever etched in my brain - I can't remember what I had for breakfast!!!

Basic isn't my favourite language - that's Pascal - but you can do a helluva lot with BBC Basic for windows - but I wouldn't write any business programs with it.

Lagi

Post Reply

Return to “Feature Requests”