How i can reproduce a video in format .h264?
Hello,
have you tried with VideoPlayer component?
From the documentation:
"Video files should be in 3GPP (.3gp) or MPEG-4 (.mp4) formats."
You may just need to change the extension to .mp4
?
https://ai2.appinventor.mit.edu/reference/components/media.html#VideoPlayer
What Android are you testing on?
This is the information from this page:
Handling encrypted media
Starting with Android 8.0 (API level 26) MediaPlayer
can also decrypt Common Encryption Scheme (CENC) and HLS sample-level encrypted media (METHOD=SAMPLE-AES) for the elementary stream types H.264, and AAC. Full-segment encrypted media (METHOD=AES-128) was previously supported.
I don't know what "elementary stream types" means, but maybe your files are not like that.
Probably a timing issue (error 701 usually is).
You need a clock timer, @ 250ms. Start the player in there (after stopping the timer!)
Please share with us here an example file compressed by h264 if it has no copyright.
There is a link to Drive:
it was downloaded from:
Try this one:
In my opinion, the problem is "Format profile". Hight@L3.1 and Main@L4 will be supported, but Hight@L4 may be a problem. Android does not support all possible H264 formats