Problems with media files

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

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

Problems with media files

Post by ThatOneGuy » Mon Apr 27, 2015 11:34 pm

I was working on a project involving a cross-platform VHD-type file being run within a virtualized OS. My intention was to perform all functions internally (as in, not write out files from this virtual disk unless the user directly attempts to do so), but I am having serious problems with the video player that is getting in the way of that goal.

At first, I had hoped that it was possible to set the text of a player in similar manner that the data of an image can be set, but that turned out to be impossible. I then decided that my only option was to export these media files (audio and video) to the host as temp files and set the filename of a player to the location of that file. This works alright with audio, however inefficient it is, but I soon realized that the video playback does not work at all.

Firstly, is it possible to set the data of a player or clip to a variable in similar manner that an image can be set without needing any direct access to a file?

Secondly, Has something recently occurred with the player control that would prevent it from playing any type of video on Windows, or is this just an issue with Windows 8.1 not letting livecode applications play video?

I tried playing mkv, mp4, avi, wma, and mov files with and without dontuseqt enabled and with and without QT installed on the computer with no luck. mp3 files also have intermittent playback, some work while others don't even though they play just fine in AVI and WMP.

I heard that livecode uses WMP as its default player if QT is not enabled or installed on the system, but most files that are natively supported on windows are either not recognized as video or appear with a striped background stating that a codec is missing, even though it isn't.

Is there any news on that cross-platform video player object that was announced last year for release in 2014/2015?

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

Re: Problems with media files

Post by ThatOneGuy » Tue Apr 28, 2015 12:23 am

Nevermind about the files not playing. It was just that my updater was not working and I was stuck at LC 7.0.0.

I'd still like the option of playing files located in memory instead of on disk, but that's probably not happening for some time.

Post Reply