livecode 6.1.1 not playing video : lesson 1 fail

Deploying to Linux? Get penguinated here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ddaniels
Posts: 6
Joined: Thu Aug 22, 2013 11:39 am

livecode 6.1.1 not playing video : lesson 1 fail

Post by ddaniels » Thu Aug 22, 2013 12:30 pm

Linux mint 13
64 bit

see the vid on youtube
KdHliRCV6Q8
The forum only allows 2M files.

Trying to get lesson1 vid to play in card = fail

here's the code:

Code: Select all

# this will play the video
#not the two )) at the end (not doc'ed in the lesson)
on openCard
   play videoClip (specialfolderpath("/home/dennis/Desktop/LiveCode/Lesson1/BitterRevenge/Video"))
end openCard

#go to next card
on playStopped
   go to the next card
end playStopped
When I play it the card is blank AND no audio. :|

In fact all mp4 from runrev are failing to show video but audio does work.
And yes, I've checked with other mp4 files and they work on my machine

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

Re: livecode 6.1.1 not playing video : lesson 1 fail

Post by Klaus » Thu Aug 22, 2013 12:51 pm

Hi,

no idea what video formats are supported on Linux, but please look up "specialfolderpath()" in the dictionary!
Which is always a good idea, if in doubt about correct snytax!
...
## Hmmm... This is definitively NOT a valid "specialfolderpath", but the IN-complete filename to the video, presumed "Video" is a folder!
play videoClip (specialfolderpath("/home/dennis/Desktop/LiveCode/Lesson1/BitterRevenge/Video"))
...

Try this:
...
play videoClip "/home/dennis/Desktop/LiveCode/Lesson1/BitterRevenge/Video/video.mp4"
...

Best

Klaus

ddaniels
Posts: 6
Joined: Thu Aug 22, 2013 11:39 am

Re: livecode 6.1.1 not playing video : lesson 1 fail

Post by ddaniels » Thu Aug 22, 2013 1:20 pm

Hell Klaus and thanks for the quick reply.

The lesson 1 video mp4 does play on VLC and gnome with no problems BUT will not play in LiveCode.

These forums suck for attachments here's the URL of text/code at
pastebin 0zX0wXFn

further forum suckiness can't post URLs
Your account does not have permission to post links or domain/page references.

below is what I tested:

I tried all of the variants below with no joy:

Code: Select all

 #does not work
      #play videClip (specialfolderpath("/home/dennis/Desktop/LiveCode/Lesson1/BitterRevenge/Video"))
      #test this
      #fail = no vid play
      #play videoClip (specialfolderpath("/home/dennis/Desktop/LiveCode/Lesson1/BitterRevenge/Video"))
      #test
      #and fail
      #play videoClip "/home/dennis/Desktop/LiveCode/Lesson1/BitterRevenge/Video/video.mp4"

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

Re: livecode 6.1.1 not playing video : lesson 1 fail

Post by Klaus » Thu Aug 22, 2013 1:46 pm

Hi ddaniels,
ddaniels wrote:Hell Klaus
Hell??? :shock: Oh! :D
ddaniels wrote:The lesson 1 video mp4 does play on VLC and gnome with no problems BUT will not play in LiveCode.
I'm afraid the "play vc ..." command will only play some AVI and MPG1 video files, at least they do on Windows without QuickTime installed.
So maybe Livecode just cannot play this format on Linux.
A rework of the multimedia engine in Livecode is one of the kickstarter stretch goals, althoug this does not help much NOW.
ddaniels wrote:These forums suck for attachments here's the URL of text/code at
pastebin 0zX0wXFn
further forum suckiness can't post URLs
Your account does not have permission to post links or domain/page references.
Cool down, that forum isn't THAT bad! 8)
You need a certain amount of postings before you can post links and attachments, we have a serious SPAM problem, that's why...
ddaniels wrote:I tried all of the variants below with no joy:
#does not work
#play videClip (specialfolderpath("/home/dennis/Desktop/LiveCode/Lesson1/BitterRevenge/Video"))
#test this
#fail = no vid play
#play videoClip (specialfolderpath("/home/dennis/Desktop/LiveCode/Lesson1/BitterRevenge/Video"))
As mentioned before, you are not using "specialfolderpath()" correctly, so this MUST fail!
ddaniels wrote: ...
play videoClip "/home/dennis/Desktop/LiveCode/Lesson1/BitterRevenge/Video/video.mp4"
See above, I'm afraid LC does not play MP4 on Linux.


Best

Klaus

Post Reply

Return to “Linux”