[FFmpeg-devel] [PATCH] tests: add fate-ffprobe test
Derek Buitenhuis
derek.buitenhuis at gmail.com
Wed Sep 19 17:09:41 CEST 2012
On 19/09/2012 5:59 AM, Stefano Sabatini wrote:
> +FFPROBE_GENTEST_CMD = ffmpeg$(EXESUF) \
> + -f lavfi -i "aevalsrc=sin(400*PI*2*t)::d=0.25[out0]; testsrc=d=0.25[out1]; testsrc=s=100x100:d=0.25[out2]" \
> + -flags +bitexact -map 0:0 -map 0:1 -map 0:2 \
> + -metadata "title=ffprobe test file" \
> + -metadata "comment='A comment wih CSV, XML & JSON special chars': <tag value=\"x\">" \
> + -metadata "comment2=I ♥ Üñîçød€" \
> + -vcodec rawvideo -acodec pcm_s16le \
> + -y
The only thing wrong with this patch that I can think of, is to test actual media files,
e.g. to test has_b_frames and pals. Perhaps it is feasible to use something from $(SAMPLES)
as well?
- Derek
More information about the ffmpeg-devel
mailing list