Skip to main content

Notifications

Community site session details

Community site session details

Session Id : wNy0iOV3kTq/64RS88bsCW
Power Automate - Building Flows
Unanswered

Please add video duration property to get File metadata action

Like (0) ShareShare
ReportReport
Posted on 23 Dec 2023 03:44:50 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. 

  • TerenceH Profile Picture
    9 on 26 Dec 2023 at 17:05:57
    Re: Please add video duration property to get File metadata action

    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

     

  • TerenceH Profile Picture
    9 on 23 Dec 2023 at 23:28:37
    Re: Please add video duration property to get File metadata action

    Drop my idea here: Please add video duration property to get File metadata action · Community (powerautomate.com)

  • TerenceH Profile Picture
    9 on 23 Dec 2023 at 23:19:44
    Re: Please add video duration property to get File metadata action

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

  • Rhiassuring Profile Picture
    8,688 Super User 2025 Season 1 on 23 Dec 2023 at 22:30:22
    Re: Please add video duration property to get File metadata action

    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!

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,679 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard
Loading started