[FFmpeg-trac] #6959(undetermined:closed): Concat images only makes 3 frames with -filter_complex

FFmpeg trac at avcodec.org
Fri Jan 12 02:00:12 EET 2018


#6959: Concat images only makes 3 frames with -filter_complex
-------------------------------------+-------------------------------------
             Reporter:  mattaias     |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  concat       |               Resolution:  invalid
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Your command line still looks very convoluted, I also believe that in any
 case, you should only use one instance of `setpts`. The `pix_fmt` options
 are useless afaict, you know already that the input option `r` does not
 help for your usecase. I would expect that the `color` filter is unneded,
 pad defaults to black iirc.
 I just tested the following command line for three input images, the
 second one had a different resolution than first and third:
 {{{
 $ ffmpeg -i image1 -i image2 -i image3 -filter_complex
 [1:v]scale=s=320x240,setsar=1[t2],[0:v][t2][2:v]concat=n=3,setpts=2*N/TB
 -r 25 out.mov
 }}}
 `2*N` implies two seconds per frame.
 I hope this helps to simplify (and speed up) your command line, feel free
 to ask additional questions on the user mailing list.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6959#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list