[Ffmpeg-devel] How does ffplay use the interpolation function to show video?

Michel Bardiaux mbardiaux
Tue Mar 13 10:21:06 CET 2007


Bo Liu wrote:
> Hi all:
> 
> I'm now using ffplay to play H.264 and rawvideo files.It is good that
> ffplay could adjust the video area no matter how I change the window
> size . ffplay can keep the width/height ratio when it plays video.
> This is wonderful.
> 
> besides, when I play a H.264 file which is just in qcif
> format(176x144) using options like"-x 640 -y 480", it works quite
> well, seems like it uses a kind of interpolation method when it plays
> video...
> 
> I checked ffplay.c many times in order to get information about this
> and analyze it,but I couldn't find codes related to it.
> 
> anybody do me a favor?
> thank you for your time.
> 
> 
Look for call to sws_scale

-- 
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/




More information about the ffmpeg-devel mailing list