[FFmpeg-user] ffplay with -filter_complex possible?

Stefano Sabatini stefasab at gmail.com
Thu Aug 9 08:36:43 CEST 2012


On date Tuesday 2012-08-07 17:14:23 -0600, Roger Pack encoded:
> I've noticed this works with ffmpeg, but not with ffplay. Is this expected?
> 
> $ ffplay.exe -f dshow -i video=screen-capture-recorder -i go.png
> -filter_complex "overlay=10:H-h-10" out.avi
[...]
> Argument 'go.png' provided as input filename, but
> 'video=screen-capture-recorder' was already specified.

Hi,

note that ffplay supports only one input, and doesn't support the
-filter_complex option, which is ffmpeg specific.

You can still support multiple inputs through the lavfi device,
something like:

ffplay -f lavfi "movie='video=screen-capture-recorder':f=dshow
[tmp0]; movie=go.png [tmp1]; [tmp0][tmp1] overlay=10:H-h-10"
-- 
ffmpeg-user random tip #21
Create a video from a single image:
ffmpeg -loop_input -f image2 -i image.jpeg -t 20 image-movie.mpeg


More information about the ffmpeg-user mailing list