[FFmpeg-devel] grabbing from dv1394

Roman Shaposhnick rvs
Tue Jul 10 19:19:10 CEST 2007

On Tue, 2007-07-10 at 19:07 +0300, Tommi Sakari Uimonen wrote:
> Hello again!
> >> Maybe I should also dig into the dvgrab code to see what it does
> >> differently.
> >>
> > That's why OpenSource is so great!
> In ffmpeg, the ringbuffer is done with mmap which I guess is faster to use 
> than vector of buffers, 

  The idea is to be as close to zero-copy as hardware permits.

> but I fail to see how the threads are handled if 
> any, since grepping 'thread' over the source tree does not give many hits.

  Well, strictly speaking threads are not a requirement here.

> The single thread approach works for 
> encoding disk streams but not for realtime usage.

  Could you, please, elaborate on this one?


More information about the ffmpeg-devel mailing list