On date Friday 2008-02-29 14:27:49 +0100, Mahmoud M'HIRI wrote:
> I figured it out! in fact, all what i had to do is to delete all the
> conversion code, is useless!

Please don't top post (also please don't ask here what is top-posting
but ask it to google!!!).

> On 2/28/08, Mahmoud M'HIRI <[EMAIL PROTECTED]> wrote:
> >
> > Dear all,
> >
> > I'm following the tutorial 8 of Dranger, and I applied modifs to use
> > sws_scale instead of img_convert. I got some segmentation fault but
> > tinkering the code, I overcame the pb but I'm having an incorrect frames, I
> > don't know where the pb is from but I have a doubts about params of
> > avpicture_fill, sws_getContext and sws_scale.
> >
> > I have attached a sample of output (the frame is correct but it's squeezed
> > (it's a  screencast)). I have attached also the code I'm using (my LDFLAGS:
> > -lavcodec -lavformat -lavutil -lswscale -lz -lm).

For what regards the LDFLAGS, the recommended way to use them portably
in a project is to use the pkg-config program like this:
FFMPEG_LDFLAGS= $(shell pkg-config --libs libavformat)

this because they change according to the actual version of ffmpeg installed.

> > Files:
> > http://mahmoud.mhiri.googlepages.com/frame133.ppm
> > http://mahmoud.mhiri.googlepages.com/avfirst.cpp
> >
> > Thanks

Regards.
-- 
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to