[FFmpeg-devel] [PATCH] tests: Download lena.pnm if its missing from the source tree

James Almer jamrial at gmail.com
Thu Aug 28 03:25:03 CEST 2014


On 26/08/14 8:41 AM, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
>  tests/Makefile |    5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/Makefile b/tests/Makefile
> index 07557f9..2f095df 100644
> --- a/tests/Makefile
> +++ b/tests/Makefile
> @@ -24,13 +24,16 @@ $(VREF): tests/videogen$(HOSTEXESUF) | tests/vsynth1
>  $(AREF): tests/audiogen$(HOSTEXESUF) | tests/data
>  	$(M)./$< $@
>  
> +$(SRC_PATH)/tests/lena.pnm:
> +	wget -O $@  http://samples.ffmpeg.org/image-samples/lena.pnm
> +

wget is not available on a standard Msys installation. Probably the same with Cygwin.

What about "ffmpeg -i http://samples.ffmpeg.org/image-samples/lena.pnm" instead?


More information about the ffmpeg-devel mailing list