Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
fab_1007
New Member

Import Video files with Power Query into Excel including additional properties such as Length

Hello,


I would like to make a list of videos (mp4) in Excel from levels of folders and subfolders using the Power Query. Is there an option to include more properties than "extension", "Date accessed", "Date modified" etc.? I'm specifically looking to import the length of each video clip.


Many thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @fab_1007 

 

Thanks to @lbendlin for the information. I tested with Folder connector, the result looks similar, without the video duration information. 

 

To get the duration of video files, you may need to use other tools like PowerShell/Python/C# scripts or some third-party tools and export the data into text/csv/excel files. Then use Power BI to connect to the exported files. Some references:

shell script - Get total duration of video files in a directory - Unix & Linux Stack Exchange

command line - How to check how long a video (mp4) is using the shell? - Ask Ubuntu

How to get the duration of a video in Python? - Stack Overflow

c# - How to get video duration from mp4, wmv, flv, mov videos - Stack Overflow

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @fab_1007 

 

Thanks to @lbendlin for the information. I tested with Folder connector, the result looks similar, without the video duration information. 

 

To get the duration of video files, you may need to use other tools like PowerShell/Python/C# scripts or some third-party tools and export the data into text/csv/excel files. Then use Power BI to connect to the exported files. Some references:

shell script - Get total duration of video files in a directory - Unix & Linux Stack Exchange

command line - How to check how long a video (mp4) is using the shell? - Ask Ubuntu

How to get the duration of a video in Python? - Stack Overflow

c# - How to get video duration from mp4, wmv, flv, mov videos - Stack Overflow

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

lbendlin
Super User
Super User

Are you using a File Folder connection or a SharePoint Folder connection?

 

On a SharePoint Folder you can only get the size information, it seems.

 

lbendlin_0-1715377642363.png

 

 

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors