Page 1 of 1

Rendering of Video Thumbnail Index

Posted: Sat Jan 24, 2015 2:31 pm
by gagsoft
I am not to sure if this is the correct forum for this type of question.
When I tested the code in The App Academy for "Create a Video Thumbnail Index" I found that the rendering does not work properly.
Currently using LiveCode version 7.0.2-rc-1
kindly see attached image.

Thanks

Re: Rendering of Video Thumbnail Index

Posted: Sat Jan 24, 2015 2:47 pm
by Klaus
Hi gagsoft,

since not everybody has access to the academy files, could you please describe
what should happen and what actually (not) happened and also the involved script(s)?


Best

Klaus

Re: Rendering of Video Thumbnail Index

Posted: Sat Jan 24, 2015 5:09 pm
by gagsoft
Hi Klaus
My apologies. it is supposed to do the following when the user clicks a button:
1. Play and move through a video
2. Create thumbnails from a video
3. Use a field to display a clickable picture index
The stack has the following objects:
A button
A scrolling field
A player

The button script to create the index of the video of which the property in the player for the example is already set.
The Button Code:

Code: Select all

on mouseUp
   repeat the number of images
      delete image 1
   end repeat
   
   repeat with i = 0 to 21
      put i * "10000" into theNumber
      set the currentTime of player 1 to theNumber
      import snapshot from player 1
      set the name of last image to "frame" && theNumber
      hide last image
   end repeat
   
   put empty into field 1
   repeat with i = 1 to the number of images
      put "x" into char 1 of line i of fld 1
      set the imageSource of char 1 of line i of fld 1 to the id of image i
   end repeat
end mouseUp
Thanks
Peter G

Re: Rendering of Video Thumbnail Index

Posted: Sat Jan 24, 2015 5:57 pm
by Klaus
Hi Peter,

ok, my observations:
1.
LC 6.7.1: Works as exspected, I get images and a field full of imagesources

2.
LC 7.0.2: At first a crash 8)
Restart LC, a the next try I get all images but only the LAST line of the field has an imagesource?!
Maybe another bug, sigh...

What do you get anyway? :D


Best

Klaus

Re: Rendering of Video Thumbnail Index

Posted: Sat Jan 24, 2015 6:30 pm
by gagsoft
Hi Klaus
I am getting the same results as you with LC 7.0.2:.

Peter G

Re: Rendering of Video Thumbnail Index

Posted: Sat Jan 24, 2015 8:30 pm
by Klaus
Hi Peter,

hm, then its a bug! 8)

Please consider to report it here: http://quality.runrev.com
Looks like this is not known yet!


Best

Klaus

Re: Rendering of Video Thumbnail Index

Posted: Sun Jan 25, 2015 3:59 am
by gagsoft
Hi Klaus
I am afraid of using the word bug as I am just a LC novice :D
This is perhaps something for the guys to look at.

Thanks
Peter G

Re: Rendering of Video Thumbnail Index

Posted: Sun Jan 25, 2015 11:07 am
by Klaus
Hi Peter,

then do not use the word BUG, simply report your observations! 8)
"The guys" (if you mean the dev team) do not read here very often, if at all.


Best

Klaus