I have a sequence of images with transparency which I want to convert into a video with alpha channel. The following attempts did not work:
Code:
ffmpeg -f image2 -pattern_type glob -i '*.png' -vcodec png chromakeyed.mov
Code:
ffmpeg -f image2 -pattern_type glob -i '*.png' -vcodec vp6a chromakeyed.flv
Code:
ffmpeg -f image2 -pattern_type glob -i '*.png' -vcodec huffyuv chromakeyed.avi
Code:
ffmpeg -f image2 -pattern_type glob -i '*.png' -vcodec ffvhuv chromakeyed.avi
Code:
ffmpeg -f image2 -pattern_type glob -i '*.png' -vcodec qtrle chromakeyed.mov
All returned:
Code:
[image2 @ 0x1cb68c0] Could not find codec parameters for stream 0 (Video: png): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
*.png: could not find codec parameters
The files are named "Fire0000.png" counting up.
I furthermore tried
Code:
ffmpeg -f image2 -i Fire%04d.png -vcodec png chromakeyed.mov
and
Code:
ffmpeg -f image2 -i Fire%04d.png -s 720x480 -vcodec png chromakeyed.mov
Both return
Code:
[image2 @ 0x1cb68c0] Could not find codec parameters for stream 0 (Video: png): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Fire%04d.png: could not find codec parameters
The message "*.png: could not find codec parameters" only comes with ffmpeg 2.0.1. "glob -i '*.png'" worked with version N-53430-g2c2e69b from May 25 2013 05:26:47 but the results were crappy.
Bookmarks