开发者

Get information of uploaded media in .NET

开发者 https://www.devze.com 2022-12-12 12:57 出处:网络
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).

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 an开发者_JAVA技巧d images) and duration (video and sound).

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


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


You can also parse the result of ffprobe

you can see my post

How to get video duration in seconds?

0

精彩评论

暂无评论...
验证码 换一张
取 消