[MPlayer-dev-eng] MPlayer and MEncoder in single binary (was: [RFC] Advertising Slave mode)

Rich Felker dalias at aerifal.cx
Thu Aug 25 16:47:00 CEST 2005


On Thu, Aug 25, 2005 at 08:35:58AM +0300, Oded Shimon wrote:
> > > Maybe a neat new feature for ffmpeg would be the ability to give it a
> > > function pointer to call for each frame with the artifacted frame.. for
> > > encoders which support it...
> > > It's doable, and sane. I think. Should I try that?...
> > 
> > I don't know enough about ffmpeg to really comment on that, but I suppose it 
> > could be done if it's sure beforehand that all artifacted frames are really 
> > available to the encoder. Or maybe it can generate the artifacted frame if 
> > it's asked for by this function call and it wasn't available inside anyway. 
> > I think you better ask the ffmpeg guys :-)
> 
> I think you got confused by what I meant, I didn't mean to make a function 
> in ffmpeg to CALL, I meant you give ffmpeg a function pointer, and ffmpeg 
> will be the CALLER, whenever it can.

Using callback is nonsense. If this data is available, it can be
exported via the codec context. And if it's not you'll just have to
decode it yourself anyway.

Rich




More information about the MPlayer-dev-eng mailing list