Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

How to get width/height dimensions of video selected by Xam.Plugin.Media?

$
0
0

I have a mobile app that uses the Xam.Plugin.Media to select existing photos/videos on a device, or take photos/video with the device. Once I have the image/video file, I need to determine the width/height of the image/video.

I already have working C# code that allows me to get the image dimensions by examining the first 1024 bytes of the image file, so I'm all good for photos.

HOW can I find out the dimensions (resolution) of the video in the video file? Is there another plugin that reads metadata from a video file?

This needs to work on iOS and Android.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>