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

Lou Logan lou at lrcd.com
Thu Aug 28 03:21:18 CEST 2014


On Tue, 26 Aug 2014 13:41:42 +0200, 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

I feel like I'm missing something, but what about this suggestion from
Nicolas?

>> ffmpeg -f data -i http://samples.ffmpeg.org/image-samples/lena.pnm -c copy -f data -map 0 -y lena.pnm

From:
<https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2014-August/161881.html>

I have ffmpeg (and curl), but no wget on my system.


More information about the ffmpeg-devel mailing list