Re: Video-Fun2

2019-01-02 Thread Bob Sneidar via use-livecode
CHEESE!

Bob S


> On Jan 1, 2019, at 10:07 , Richmond via use-livecode 
>  wrote:
> 
> If, however, you were to promote an automated bottom-washer
> that played Donald Trump's "March on Moscow" you'd get so much money
> you would know what to do with it.
> 
> Richmond.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Video-Fun2

2019-01-01 Thread hh via use-livecode
> Peter B. wrote:
> It looks great!
> After awhile (10-15 minutes) it froze. Reloaded the page, then Safari had the
> message, “This page is using significant memory….”

Yes, I had this too. It's probably a caching problem of Safari. They do a lot of
caching, that's why they are the fastest browser with our LC-standalones. 
Firefox
complains with HTML5 standalones about the memory usage already when loading it.

On the other hand, all that is done every 33 millisecs (while a video is 
playing):

1. One frame is taken from the video and drawn into an offset canvas.
2. (Optional) The imageData of that canvas is manipulated with an image filter.
3. The optionally manipulated imageData is drawn into a second offset canvas.
4. The imageData of that second canvas is base64Encoded and sent to the 
standalone.
5. The standalone displays the base64Decoded imagedata in an (rotated) image 
object.

There is one remedy: If the time per frame goes in average over 66 ms then one
could zoom out the image (slider "zoom").

There would be less stress for your CPU/GPU if we would omit steps 4 and 5, but
then we have only the controls in LiveCode and we could also use a JavaScript
package only. As soon as there is one that can also do what LiveCode can do ...



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Video-Fun2

2019-01-01 Thread hh via use-livecode
Well, HTML5 standalones have a display filter, just try to find out how
you can set it.

> Richmond wrote:
> "What you see is an LC-image object"
> Um, well, unfortunately NOT on my Mac Mini running WaterFox on MacOS 10.14.2
> https://www.waterfoxproject.org/en-US/
> Nor, for that matter on safari Technology Preview Release 72


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Video-Fun2

2019-01-01 Thread Peter Bogdanoff via use-livecode
It looks great!

After awhile (10-15 minutes) it froze. Reloaded the page, then Safari had the 
message, “This page is using significant memory….”

Peter


> On Jan 1, 2019, at 1:18 PM, Richmond via use-livecode 
>  wrote:
> 
> "What you see is an LC-image object"
> 
> Um, well, unfortunately NOT on my Mac Mini running WaterFox on MacOS 10.14.2
> 
> https://www.waterfoxproject.org/en-US/
> 
> Nor, for that matter on safari Technology Preview Release 72
> 
> Richmond.
> 
> On 1.01.19 20:01, hh via use-livecode wrote:
>> Video-Fun2 is a major update of the HTML5 standalone "Video-Fun".
>> Finally all I wanted works.
>> 
>> This uses only "atomic" canvas2d methods of JavaScript in the
>> browser, no JS-packages. And, where they are fast enough in the
>> HTML5 engine, all the well known wonderful LC-techniques:
>> 
>> (US) http://hh.on-rev.com/html5/video-funHTML5-9.0.2hhX.html
>> (EU) http://hyperhh.de/html5/video-funHTML5-9.0.2hhX.html
>> 
>> The source code is, as usual, free for non-commercial use.
>> (Sadly, my idea of a developer fund died last year).
>> 
>> Happy New Year 2019!
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Video-Fun2

2019-01-01 Thread Richmond via use-livecode

"What you see is an LC-image object"

Um, well, unfortunately NOT on my Mac Mini running WaterFox on MacOS 10.14.2

https://www.waterfoxproject.org/en-US/

Nor, for that matter on safari Technology Preview Release 72

Richmond.

On 1.01.19 20:01, hh via use-livecode wrote:

Video-Fun2 is a major update of the HTML5 standalone "Video-Fun".
Finally all I wanted works.

This uses only "atomic" canvas2d methods of JavaScript in the
browser, no JS-packages. And, where they are fast enough in the
HTML5 engine, all the well known wonderful LC-techniques:

(US) http://hh.on-rev.com/html5/video-funHTML5-9.0.2hhX.html
(EU) http://hyperhh.de/html5/video-funHTML5-9.0.2hhX.html

The source code is, as usual, free for non-commercial use.
(Sadly, my idea of a developer fund died last year).

Happy New Year 2019!

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Video-Fun2

2019-01-01 Thread Richmond via use-livecode
Developer funds are hard to get hold of: my Devawriter Kickstarter 
"thing" I ran last year is a shining

example.

If, however, you were to promote an automated bottom-washer
that played Donald Trump's "March on Moscow" you'd get so much money
you would know what to do with it.

Richmond.

On 1.01.19 20:01, hh via use-livecode wrote:

Video-Fun2 is a major update of the HTML5 standalone "Video-Fun".
Finally all I wanted works.

This uses only "atomic" canvas2d methods of JavaScript in the
browser, no JS-packages. And, where they are fast enough in the
HTML5 engine, all the well known wonderful LC-techniques:

(US) http://hh.on-rev.com/html5/video-funHTML5-9.0.2hhX.html
(EU) http://hyperhh.de/html5/video-funHTML5-9.0.2hhX.html

The source code is, as usual, free for non-commercial use.
(Sadly, my idea of a developer fund died last year).

Happy New Year 2019!

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Video-Fun2

2019-01-01 Thread hh via use-livecode
Video-Fun2 is a major update of the HTML5 standalone "Video-Fun".
Finally all I wanted works.

This uses only "atomic" canvas2d methods of JavaScript in the
browser, no JS-packages. And, where they are fast enough in the
HTML5 engine, all the well known wonderful LC-techniques:

(US) http://hh.on-rev.com/html5/video-funHTML5-9.0.2hhX.html
(EU) http://hyperhh.de/html5/video-funHTML5-9.0.2hhX.html

The source code is, as usual, free for non-commercial use.
(Sadly, my idea of a developer fund died last year).

Happy New Year 2019!

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode