LiveCode need a MP3 and MP4 players

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

Moderator: Klaus

Post Reply
DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

LiveCode need a MP3 and MP4 players

Post by DR White » Fri Sep 20, 2013 10:40 am

LiveCode need MP3 and MP4 players

Thanks,

David

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Re: LiveCode need a MP3 and MP4 players

Post by BvG » Sat Sep 21, 2013 7:13 pm

I agree, until then, as long as Quicktime is installed, you can play both these formats using the player object.
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10080
Joined: Fri Feb 19, 2010 10:17 am

Re: LiveCode need a MP3 and MP4 players

Post by richmond62 » Sun Sep 22, 2013 5:44 pm

At this point one can argue that Livecode needs a full set of sound and video codexes/codicies,
and that should not be a probelm as there are open source solutions for all those that can be
rolled into the engine.
LC_gadfly.png

ThatOneGuy
Posts: 77
Joined: Fri Jan 04, 2013 9:57 am

Re: LiveCode need a MP3 and MP4 players

Post by ThatOneGuy » Wed Dec 11, 2013 8:45 am

Livecode is already compatible with mp3 and mp4 files... given you aren't using any odd codecs.

Playing unauthorized file types requires that you set the filename of the player to the desired file (just as you normally would), then set the "paused" of the player to false. That's it. It should start playing the file.

Hitting "play" on the player usually won't work with these sort of files, but they can be played.

I've used it before and it works just fine on most everything I've tried.

The only modifications that need to be done are some slight bug fixes in playback and the ability of the existing player to play the files normally using the built-in controller.

DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: LiveCode need a MP3 and MP4 players

Post by DR White » Wed Dec 11, 2013 1:54 pm

I will have to try it again latter and see what happens. On my current project, I have already converted everything to audioclips.

Thanks,

David

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: LiveCode need a MP3 and MP4 players

Post by Klaus » Wed Dec 11, 2013 2:10 pm

Hi friends,

we might see a new multimedia engine in LC sooner than exspected!

Severe problems:
1. Livecode uses (OLD & CARBON) QuickTIme APIs!
2. Apple does not accept apps for its Mac Store anymore that use these old QT APIs!
3. OUCH! THIS IS AN ABSOLUTE SHOWSTOPPER! :(
4. QT on Windows is and has always been a PITA, and its days are definitively counted!

So, RunRev needs to do someting slick in the next time to make at least # 2. available again!


Best

Klaus

ThatOneGuy
Posts: 77
Joined: Fri Jan 04, 2013 9:57 am

Re: LiveCode need a MP3 and MP4 players

Post by ThatOneGuy » Mon Dec 16, 2013 11:34 pm

I sure hope you're right about that Klaus. It's about time LC abandons QT as its default (and only) media player.

QT is proprietary software that, in my experience, is not particularly efficient and doesn't play many types of files. Long ago it was frequently used by Mac users, so I guess it got picked up by the original RunRev devs for that reason. Now it seems that, even among Mac users, VLC and other open source alternatives have stepped up far beyond the antiquated QT player since they are free, faster, more user friendly, and play anything you can throw at them.

It's sad when you know someone who is an Apple purist and a software engineer for them for 19 years who won't even use Apple's QT player.

Some new, actually open source software should takes QT's place as soon as possible.

Post Reply