Hi,
I need the duration of a video that the user will provide in a program I'm writing (written in objective-c). Does anyone know a good way to do this? The video's will be in either flv or mp4 format, and I am using ffmpeg in my program already so if anyone knows a trick to get the duration with ffmpeg it would be greatly appreciated. Otherwise any general way of getting the duration would be great.
Thanks
I need the duration of a video that the user will provide in a program I'm writing (written in objective-c). Does anyone know a good way to do this? The video's will be in either flv or mp4 format, and I am using ffmpeg in my program already so if anyone knows a trick to get the duration with ffmpeg it would be greatly appreciated. Otherwise any general way of getting the duration would be great.
Thanks