# video processing in mediasoup

**URL:** <https://mediasoup.discourse.group/t/video-processing-in-mediasoup/5441>\
**Category:** Integration\
**Created:** [August 25, 2023, 9:37am UTC](https://mediasoup.discourse.group/t/video-processing-in-mediasoup/5441 "2023-08-25T09:37:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhlhao](https://avatars.discourse-cdn.com/v4/letter/z/43a26b/32.png) [@zhlhao](https://mediasoup.discourse.group/u/zhlhao)\
**Post date:** [August 25, 2023, 9:37am UTC](https://mediasoup.discourse.group/t/video-processing-in-mediasoup/5441/1 "2023-08-25T09:37:23Z")

</div>

I wrote a python program that can consume video streams from mediasoup sfu, and then the program can modify the video using graphic processing techniques and AI techniques, such as edge detection, grayscale image, replace the faces in the video with celebrities’ faces, etc. Then the modified video is produced back to mediasoup. This is the function I have always wanted to achieve, which can be used in many places. Mediasoup is really great.
