From: Arnout V. <ar...@mi...> - 2009-06-10 11:53:52
|
On Wednesday 10 June 2009 10:33:07 Wim Taymans wrote: > > Sounds good. How does ffmpeg know the latency, though? It buffers one > > frame, but since the framerate is unknown you can't convert this to time, > > can you? > > The thing is that the latency query will be done when the sink prerolls, > which means that the decoder has at least decoded and pushed 1 buffer. > You could use the info you got from decoding this buffer to answer to > the latency query. Hm, there's no clock yet, so timestamps are -1... Regards, Arnout -- Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286540 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: D206 D44B 5155 DF98 550D 3F2A 2213 88AA A1C7 C933 |