2

Is it easy to get information about uploaded media (in asp.net).

The format of the media can be flv (video), mp3 (sound) and jpeg, png and gif (images).

I would need resolution (video and images) and duration (video and sound).

Are there .NET api's to get this information or will I have to use third party libraries?

Lieven Cardoen
  • 25,140
  • 52
  • 153
  • 244

2 Answers2

1

I had a similar requirement for one of my sites and used ffmpeg for that. I think ffmpeg is your best option.

Shoban
  • 22,920
  • 8
  • 63
  • 107
0

You can also parse the result of ffprobe

you can see my post

How to get video duration in seconds?

Community
  • 1
  • 1
athina.bikaki
  • 729
  • 7
  • 5