have ffmpeg scan and report correct time
Posted
by acidzombie24
on Super User
See other posts from Super User
or by acidzombie24
Published on 2010-03-18T09:17:01Z
Indexed on
2010/03/18
9:21 UTC
Read the original article
Hit count: 318
I am encoding a section of a song. I used -ss offset -t 30 (duration). When i use -i file.acc i see it says the audio is 31, 32 and once 36 seconds long. Opening it in vlc showed it as 30sec after a few seconds of playback.
My code needs to filter sounds more then 30 seconds. I can fudge it and allow 30.99 (maybe 20.48 is better) however 2 seconds too long is not good and i would need to filter this out even though playback is 30seconds long. How do i get ffmpeg to scan the file and report an accurate time?
© Super User or respective owner