I haven't actually tried either of those because 1) I can't expect users to fiddle with hardware acceleration, and 2) there aren't any security issues, since (as I just noticed) the player control in the IDE will play the video.

I thought it didn't work before because the size of the video is so large that all I saw was a portion of the initial white frame; the controller and edges were far off the card boundaries. Once I enlarged the card to something huge, I could see the controller and play the video, which did work.

Since the test stack does not use acceleratedRendering at all, I don't think the bug Mark mentioned applies, though who knows. I couldn't find a bug report.

I'm now wondering if the video needs to have a special setting for streaming. When I play it with the LC player in the IDE, it starts up instantaly and plays. On Android, I see a black rectangle with a controller that disappears after some seconds. After that nothing happens. I've waited several minutes to see if Android was trying to download the entire file (which is 100 MB) but either I didn't wait long enough or it didn't work. So that's why I'm wondering if the video needs to be specifically created with a streaming flag.

On 4/9/20 5:34 PM, Colin Holgate via use-livecode wrote:
Only H.264/AAC is acceptable!

Have you tried setting hardware acceleration rendering to be on?

Have you tried including a small video file in the app, to help rule out 
security issues?


On Apr 9, 2020, at 4:10 PM, J. Landman Gay via use-livecode 
<use-livecode@lists.runrev.com> wrote:

On 4/9/20 3:41 PM, Colin Holgate via use-livecode wrote:
A long time ago it was possible to work around hardware acceleration issues by 
playing the video at a different size. That is, a 1920x1080 playback would fail 
and a 1920x1081 would work. It was just a trick to force the player to use 
software instead of hardware.


I have a hard deadline in a short time. If necessary we'll have to convert at 
least a few of the videos to something else if the problem isn't resolved by 
dp4.

What codec is acceptable?

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
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



--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
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

Reply via email to