web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Please add video durat...
Power Automate
Unanswered

Please add video duration property to get File metadata action

(0) ShareShare
ReportReport
Posted on by 9

Please add video duration (video length) property to the Get File Metadata action in Power Automate. And while you're at it, please add other useful metadata properties as well, like for example image width and height, resolution, bit depth, data rate etc. Currently the output of the Get File Metadata action is very limited. While video duration is visible in the Playlist Sharepoint List view, there is no way to obtain this information through Power Automate in any way, as far as I know. I've been researching for hours and tried all sorts of things, to no avail. 

Categories:
I have the same question (0)
  • Rhiassuring Profile Picture
    8,692 Moderator on at

    Hi there,

     

    This is a help forum, so there aren't people here taking suggestions for implementation and stuff like that.  If you want to get an idea across, you should post it in the Ideas forum for Power Automate -- it's here: 

     

    https://ideas.powerautomate.com/d365community/forum/086dd68e-597f-ec11-8d21-0022482e8f9f

     

    I did a search and couldn't find a request for your specific need, so you'll be the first!

  • TerenceH Profile Picture
    9 on at

    Ah, my bad, apologies. Thank you for the suggestion — will drop my idea there. 😉

  • TerenceH Profile Picture
    9 on at
  • TerenceH Profile Picture
    9 on at

    I finally discovered a way to obtain the file duration of a video using below steps:
    1. Send a HTTP request to Sharepoint to get the file properties, for example

    _api/web/GetFolderByServerRelativeUrl('Shared Documents/ ...')/Files('Video.MOV')/Properties


    2. Then use the Parse JSON action (you can use the HTTPS response to generate the schema) to transform the response  and voila 🥳: the MediaLengthInSeconds property, like many other useful file properties, can then be used as dynamic content in the rest of the flow!


    Screenshots of my example flow below:

    screencapture-make-powerautomate-environments-Default-ea3a77b8-a493-49a3-b09a-27c2e52f64a7-flows-ed3915ce-fce3-4f0d-82e9-ee5f3ffc5c6e-2023-12-26-13_48_45.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 791

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 535

Last 30 days Overall leaderboard