Sign in to follow this  

FFMpeg Getting length of video or/and audio.

This topic is 2839 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm using FFmpeg and OpenAL for all my audio playback in my project. but having trouble finding any info on getting the length of my audio or video that I'm playing, could someone point me in the right direction or provide a snippet please. Thank you.

Share this post


Link to post
Share on other sites
What container format does your audio come in? What compression scheme does it use? Not all containers and compressions convey the sort of metadata you're looking for. For example, a WAV file tells you nothing.

Share this post


Link to post
Share on other sites

This topic is 2839 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this