On Tue, Jun 23, 2015 at 23:27:09 +0000, Dani A wrote: > I want to combine those two commands one, can this be done? > ffmpeg -i video.mp4 -ss 00:00:10 -vframes 1-vf scale=240:160 frame.jpg > ffmpeg-i video.mp4 -c:a copy -c:v copy -movflags faststart videonew.mp4
Totally easily, have you even tried? You can specify multiple outputs with separate options: $ ffmpeg -i video.mp4 -c:a copy -c:v copy -movflags faststart videonew.mp4 -ss 00:00:10 -vframes 1 -vf scale=240:160 frame.jpg Here's an introduction, but perhaps too complex for your case: https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs Moritz _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
