I figured it out! in fact, all what i had to do is to delete all the conversion code, is useless!
Cheers 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). > > Files: > http://mahmoud.mhiri.googlepages.com/frame133.ppm > http://mahmoud.mhiri.googlepages.com/avfirst.cpp > > Thanks > > -- > Mahmoud M'HIRI > [EMAIL PROTECTED] > Phone: Under request -- Mahmoud M'HIRI [EMAIL PROTECTED] Phone: Under request _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
