Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$ avconv -framerate 25 -f image2 -i %d.jpg -c:v h264 -acodec copy run.mp4
avconv version 9.18-6:9.18-0ubuntu0.14.04.1, Copyright (c) 2000-2014 the Libav developers
built on Mar 16 2015 13:19:10 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
Input #0, image2, from '%d.jpg':
Duration: 00:00:00.12, start: 0.000000, bitrate: N/A
Stream #0.0: Video: mjpeg, yuvj420p, 1669x2500 [PAR 72:72 DAR 1669:2500], 25 tbr, 25 tbn
[libx264 @ 0x122f400] width not divisible by 2 (1669x2500)
Output #0, mp4, to 'run.mp4':
Stream #0.0: Video: libx264, yuvj420p, 1669x2500 [PAR 72:72 DAR 1669:2500], q=-1--1, 90k tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg -> libx264)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment