Sign in to follow this  
Misiu

FFMpeg Getting length of video or/and audio.

Recommended Posts

Misiu    152
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
Bregma    9199
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

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