Here is command line for playing two videos side by side in sync in FFmpeg (ffplay). It can be useful for comaring videos, for example.
ffplay -v warning -f rawvideo -s 800x400 -i /dev/zero -vf 'movie=video1.mkv,scale=400x400 [mv2] ; movie=video2.mkv,scale=400x400 [mv1]; [in][mv1] overlay=0:0 [tmp]; [tmp][mv2] overlay=400:0'
Is there some better way, in particular:
- Without using fake video input;
- More easily extendible, without inventing names for
- Maybe with automatic geometry calculation, without manual coordinates;
- Input video filenames should be more easily visible and together?