Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to output a video of gource, I follow this guide Creating videos with gource but I get error on video codec. I also use this guide enable libx264 support on

This is my error :

gource -o - | ffmpeg -y -b 3000K -r 60 -f image2pipe -vcodec ppm -i - -vcodec libx264 -vpre slow -threads 0 gource.mp4

pipe:: could not find codec parameters

share|improve this question

1 Answer 1

up vote 2 down vote accepted

I think I finally fixed this problem for me by installing the following packages (you probably don't need all of them):

libnetpbm10-dev (2:10.0-12.2)

libavfilter1 (4:0.6.2-1ubuntu1.1) libavformat52 (4:0.6.2-1ubuntu1.1) libpostproc51 (4:0.6.2-1ubuntu1.1) libswscale0 (4:0.6.2-1ubuntu1.1)

libavcodec-extra-52 (4:0.6.2-1ubuntu2) libavutil-extra-50 (4:0.6.2-1ubuntu2)

The complete error I got to start with:

[image2pipe @ 0x23036e0]Could not find codec parameters (Video: ppm)
[image2pipe @ 0x23036e0]Estimating duration from bitrate, this may be inaccurate
pipe:: could not find codec parameters
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.