> > Hello, > > Thank you for your help. > > That said, I'm only dealing with audio file (ogg and mp3), no video at all. > And my goal is to set the current position to, let say, 27994.717 > milliseconds (well, as close as possible, if possible with an error margin > below 1 millisecond), and start audio extraction from this very position > (as I do in my code example > <https://gist.github.com/mregnauld/2538d98308ad57eb75cfcd36aab5099a>). > > So what is the right way to achieve that? Is there any tutorial or example > somewhere? > > Thanks. > > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user
There is a lot of useful info in headers, check it. I think in your case this is what you need to use: -do not specify stream index -do not specify any flags -position is in AV_TIME_BASE units which is ns if I remember correctly.
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
