Replies: 4 comments 4 replies
-
Hi. For decoded frames you need to look at other players/decodes: ws-scrcpy/src/app/player/BroadwayPlayer.ts Lines 46 to 48 in 5af6272 ws-scrcpy/src/app/player/TinyH264Player.ts Lines 46 to 50 in 5af6272 ws-scrcpy/src/app/player/WebCodecsPlayer.ts Lines 89 to 92 in 5af6272 Also this could be usefull: Difference between different decoders |
Beta Was this translation helpful? Give feedback.
-
For broadway.js and tinyh264 in the specified places a For WebCodecs |
Beta Was this translation helpful? Give feedback.
-
@drauggres thanks a lot for the quick reply! |
Beta Was this translation helpful? Give feedback.
-
I would like to read the decoded frames with OpenCv, but it seems OpenCv's imdecode function is not able to read the frame (returns empty object). |
Beta Was this translation helpful? Give feedback.
-
Hi there, thanks for this great project!
I would need the frames decoded in full resolution. I saw that the h264-converter is used to decode the data, and forward it to the mediaSource which is assigned to the video tag.
I am not familiar with video decoding at all, so I don't get where I could get the decoded frames from.
My guess was that it should be somewhere around here, right?
Or is there any other place maybe inside of ws-scrcpy where I could access the decompressed frames?
Beta Was this translation helpful? Give feedback.
All reactions