B4J Question Error "error of -0.620 introduced due to very low timescale" MediaPlayer on Mac

Xandoca

Active Member
Licensed User
Longtime User
Context: MediaPlayer plays a specific small interval of a video file.
It works on Windows but on Mac not.
Mac doesn't start at the right position and also get truncated. Logs shows the below error:
B4X:
2020-05-29 11:36:32.896 java[72365:1267574] CMTimeMakeWithSeconds(12.620 seconds, timescale 1): warning: error of -0.620 introduced due to very low timescale
I've looked here with no luck.
It seems that the timescale on Mac is 1 second and the MediaPlayer.Position are at middle of 12th and and 13th seconds.
The interval is 00:00:12,620 --> 00:00:14,276
 

Xandoca

Active Member
Licensed User
Longtime User
Thanks for replying.
I've tried with 5 videos and all have problems. All videos with 280p.
Then I downloaded the same videos with 320p and 720p and it works. It might be the number of the frames of the video.
I can live with that ;).
Thank you very much.
 
Upvote 0
Top