[Asterisk-video] [rizzo at icir.org: call for testers for team/rizzo/video_v2]

Matteo Brancaleoni mbrancaleoni at voismart.it
Fri Sep 28 10:26:53 CDT 2007


Hi,

Il Friday 28 September 2007 17:12:39 Luigi Rizzo ha scritto:
> > btw, if someone has some hints, is welcome :)
>
> the code is almost already there, in fact - if you look at
> function show_frame(), the block marked "/* decode */"
> does the format and size conversion between the incoming
> format (after ffmpeg decoding) and the format required
> by SDL. You would need to duplicate the code and
> use it to convert between the camera format and what
> is required by the encoder.

In fact I noticed that and I've duplicated the code.
But I need to fill src buf into AVPicture struct
and fill up the data & linesize in the right way.
(seems that's not very straightforward).

but since I'm new to ffmpeg libs I'm still digging into
it  to understand how to fill the struct.

matteo.


-- 
Matteo Brancaleoni
R&D Director
Tel  :+39.02.70633354
Voip :sip:matteo at sip.voismart.it



More information about the asterisk-video mailing list