0

Here is the approximate code, but it doesn't display the image. This code works. But nothing is displayed.

Take an example code from here

The task is to make a player on ffmpeg.

Luen
  • 1
  • I haven't worked with it, so I can't give you working code, but you create a bitmap and read its value at the end, but you don't write any data to it. Instead you write to `pFrameRgb` and don't read it. – Phil Dukhov Feb 26 '22 at 04:38
  • and what should be done with it? This is my first time writing something like this, and I don't really know how to do it right. – Luen Feb 27 '22 at 11:36
  • In the example they're passing `bm.pixmap().writable_addr()`, but I wasn't being able to find how to get it from kotlin. I suggest you asking it in [kotlin slack](https://surveys.jetbrains.com/s3/kotlin-slack-sign-up), **#compose-desktop** channel, I think there're better chances of getting an answer there. – Phil Dukhov Feb 28 '22 at 04:47

0 Answers0