[FFmpeg-user] Is possible to capture a frame and convert a video file in the same ffmpeg command?

Dani A danix4u at yahoo.com
Wed Jun 24 01:27:09 CEST 2015


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



     On Saturday, June 20, 2015 7:16 AM, Moritz Barsnick <barsnick at gmx.net> wrote:
   

 On Sat, Jun 20, 2015 at 06:45:46 +0000, Dani A wrote:
> Is it possible to use one ffmpeg command to capture a frame and convert a video file to another format?

Dani, you have to give better explanations of what you are trying to
achieve. Best with an example, full command line, uncut console output.
What were you expecting, what happened?

In this case: 
I don't understand what you are trying to achieve. If you "capture a
frame" with ffmpeg, you need to process it in order for it to make some
sense. What's supposed to happen with it? What does it have to do with
your other video file? If nothing, WHY do you want it done in one
command?

Moritz
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


  


More information about the ffmpeg-user mailing list