I have a sequence of .pngs and I want to encode them into a video using the h264 codec.
After a bit of googling I found that the proper incantation for doing this is
avconv -f image2 -i frame_%08d.png -c:v h264 -crf 1 -r 24 out.mov
but if I try this I get the following error:
[buffer @ 0x1919a40] Invalid pixel format string '-1'
Error opening filters!
Do I need to add extra options to get the .pngs to encode? I looked at the avconv
help files but find them rather intimidating and hard to understand. I've uploaded the first .png here in case there is a problem with the input files, although the .pngs open just fine in Eye of Gnome.
The version of avconv I am using is the one you get from the Ubuntu package manager:
avconv version 9.14-6:9.14-0ubuntu0.14.04.1, Copyright (c) 2000-2014 the Libav developers
built on Jul 15 2014 13:57:40 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)