[FFmpeg-user] Encode single pictures to movies

Lou lou at lrcd.com
Fri Feb 1 01:22:43 CET 2013


On Fri, 1 Feb 2013 00:14:07 +0000
Tom Mackey <tfmackey at gmail.com> wrote:

> Lou,
> 
> Thanks for your prompt reply.  * *As all the images were a little different
> I used
> mogrify -resize 1920x1080

widthxheight
Maximum values of height and width given, aspect ratio preserved.

This means that it doesn't force resize to 1920x1080 and your images
can vary in size. Perhaps you meant:

widthxheight!
Width and height emphatically given, original aspect ratio ignored.

ImageMagick: Command-line Processing - Image Geometry
<http://www.imagemagick.org/script/command-line-processing.php#geometry>

> ffmpeg version git-2013-01-31-b999774 Copyright (c) 2000-2013 the FFmpeg
> developers
>   built on Jan 31 2013 22:02:45 with gcc 4.6.1 (Ubuntu/Linaro
> 4.6.1-9ubuntu3)

You get a bonus point for using real ffmpeg.

> Input stream #0:0 frame changed from size:1608x1080 fmt:yuvj420p to
> size:1686x1080 fmt:yuvj420p
> Input stream #0:0 frame changed from size:1686x1080 fmt:yuvj420p to
> size:1601x1080 fmt:yuvj420p
> Input stream #0:0 frame changed from size:1601x1080 fmt:yuvj420p to
> size:1596x1080 fmt:yuvj420p
> Input stream #0:0 frame changed from size:1596x1080 fmt:yuvj420p to
> size:1536x1080 fmt:yuvj420p
> Input stream #0:0 frame changed from size:1536x1080 fmt:yuvj420p to
> size:1548x1080 fmt:yuvj420p

These lines show that the frame sizes change.

> bitrate=1278.1kbits/s dup=0 drop=3

The above line indicates that 3 frames were dropped.


More information about the ffmpeg-user mailing list