Page 2 of 2

Re: Eureka... How to play a movie inside a stack on Lubuntu

Posted: Tue Sep 20, 2016 4:33 am
by mwieder
OMG. I guess I never tried this on 7.x because of course it doesn't work.
So what changed from 7.x to 8.x that caused it to crash?
In LC8 it crashes LC immediately upon selecting a filename.

Re: Eureka... How to play a movie inside a stack on Lubuntu

Posted: Tue Sep 20, 2016 9:38 am
by MaxV
It works on linux with livecode 7.x, it works on Linux with livecode 8.x.
Install one of these packages: http://www.maxvessi.net/livecode/linux/

Re: Eureka... How to play a movie inside a stack on Lubuntu

Posted: Tue Sep 20, 2016 3:19 pm
by mwieder
Here it works on Mint 17 with LiveCode 7, but crashes immediately on selecting a filename with LiveCode 8.

Re: Eureka... How to play a movie inside a stack on Lubuntu

Posted: Tue Sep 20, 2016 5:31 pm
by FourthWorld
mwieder wrote:OMG. I guess I never tried this on 7.x because of course it doesn't work.
So what changed from 7.x to 8.x that caused it to crash?
In LC8 it crashes LC immediately upon selecting a filename.
I think the changes are far older than v7. I reported this hang against v6.7.1:
http://quality.livecode.com/show_bug.cgi?id=14427

IIRC I haven't been able to play video reliably on Linux for some error or another (sometimes crashes, sometimes rendering artifacts) since MetaCard 2.4.1.

I've discussed this with Peter, and being a Linux fan he's quite keen to address it as the last stage of the slated multimedia revisions now that OS X and Windows are done.

The trick at the moment seems to be getting Apple to adopt anything close to what the rest of the industry does with backward compatibility, as their frequent changes in iOS eat up a lot of development time. Now that v8.1.1 seems to address Apple's latest round of changes, hopefully we'll see more core dev time available soon for everything else, this included.

Re: Eureka... How to play a movie inside a stack on Lubuntu

Posted: Tue Sep 20, 2016 6:03 pm
by mwieder
Richard-

No, I was commenting on the fact that it *does* work with LC7!

I was able to play .avi, .mp4, .divx, .flv videos on Mint 17.

Digging into the code, I think the problem is that LC8 moved to a gdk implementation, and that probably broke the player in some meaningful ways.
May be worth bringing to Fraser's attention, since it looks like he did the code migration.

Re: Eureka... How to play a movie inside a stack on Lubuntu

Posted: Fri Sep 23, 2016 3:36 am
by capellan
Mark,

Could you ask Fraser to make the player to pause automatically
when the user open Player Properties?

Using LC 7.1.4, I could change on the fly (while still playing)
the playrate and the volume, but could not set a start time,
end time or play media in a loop.

By the way, mplayer allows to set the playrate to
fractional numbers like 1.75 or 0.5 so maybe
the Player could have this feature too:
mplayer -af scaletempo -speed 0.5 mymovie.mp4

Re: Eureka... How to play a movie inside a stack on Lubuntu

Posted: Sat Oct 01, 2016 6:13 pm
by richmond62
I thought the whole point about shedding the dependency on Quicktime was NOT to
introduce platform-dependent dependencies on other external media players, but
to introduce an internal media player.

The problem has always been that one can have no way of knowing what if any
media players an end-user has installed in her/his machine.

The fact that one can play media fairly reliably on Linux has to be a big plus,
but is it what was talked about a few years ago?

Re: Eureka... How to play a movie inside a stack on Lubuntu

Posted: Sun Oct 02, 2016 9:16 pm
by capellan
LiveCode should allows developers to use the best features of each platform, including the media player capabilities.

If Windows Media Player and Apple AV Media Player could not:
1) play media at 0.5 (50% slower) or 1.75 (175% faster)
2) play media in a loop
3) start, play, pause or stop from any frame (or time) in the media file
then
Livecode should not refrain from supporting
these feature in Linux, using mplayer.
end if :D