FyshOS / movies

Fyne based movie file player
Other
26 stars 7 forks source link

Introduce an abstract widget/concept of "stream" pointed to memory/DMA buf ? #4

Open c1ngular opened 1 year ago

c1ngular commented 1 year ago

I wanna start with displaying hardware decoded video frame or preview USB cameras (at least get the video working first , leave the audio /sync ... for later), could fyne offer an abstract widget/concept of "stream" , which point to an memory or dma buf (even better), consume and optimize it with fixed size/bytes/format accordingly ?

Is this idea gonna work ?

Thanks

andydotxyz commented 1 year ago

If the decoded video frame is a Go image.Image then it already works! I guess your request is not that straight forward?

c1ngular commented 1 year ago

@andydotxyz I was thinking zero copy technique , to display hardware decoded or captured video frame as fast /performant as possible , format could be various according to hardwares .