Are there any video compress method in maui android

Fei Xu 490 Reputation points
2024-01-03T16:54:32.45+00:00

I need pick video from phone then compress it and upload to remote server.

I can't find any nuget or available method for this function on android.

are there any good way ?

Developer technologies | .NET | .NET MAUI
{count} votes

Accepted answer
  1. Anonymous
    2024-01-04T06:58:17.19+00:00

    Hello,

    Are there any sample in maui?

    No, but you can refer to native android document from Android.Media.MediaCodec, then use it directly in the MAUI with MediaCodec Class.

    Best Regards,

    Leon Lu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.