Psycojoker / prosopopee

a static website generator to make beautiful customizable pictures galleries that tell a story
http://prosopopee.readthedocs.org
GNU General Public License v3.0
323 stars 55 forks source link

“prosopopee” encounter error,how to fix it? #71

Open luckypoem opened 7 years ago

luckypoem commented 7 years ago

hi。

apt-get install -y graphicsmagick apt-get install -y yasm wget http://ffmpeg.org/releases/ffmpeg-3.2.4.tar.bz2 tar jxvf ffmpeg-3.2.4.tar.bz2 cd ffmpeg-3.2.4 ./configure make make install cd ~ git clone https://github.com/webmproject/libvpx cd libvpx cd build ../configure make make install

cd /usr/local git clone https://github.com/Psycojoker/prosopopee prosopopee-site cd prosopopee-site pip install -r requirements.txt python setup.py install

cd example

root@localhost:/usr/local/prosopopee-site/example# prosopopee warning: If you want the rss and/or the social network share to work, you need to specify the website url in root settings Skipped: ././first_gallery/stuff.png is already generated Skipped: ././first_gallery/stuff.png is already generated Skipped: ././first_gallery/stuff.png is already generated Generation: ././first_gallery/video.mp4 ffmpeg -loglevel error -i ././first_gallery/video.mp4 -c:v libvpx -b:v 3900k -qmin 10 -qmax 42 -maxrate 500k -bufsize 1500k -c:a libvorbis -b:v 100k -s 1280x720 -f webm -y ./build/./first_gallery/video.mp4 Unknown encoder 'libvpx' Abort: ffmpeg command failed root@localhost:/usr/local/prosopopee-site/example#

tks

Psycojoker commented 7 years ago

Hello,

Apparently you need to enable libpvx when you run configure according to the second answer here https://stackoverflow.com/questions/11003420/ffmpeg-unable-to-find-encoder-libvpx

luckypoem commented 7 years ago

but how to enable libpvx ? use what command to enable libpvx ?

luckypoem commented 7 years ago

oh,i know how to enable libpvx : cd ffmpeg-3.2.4 ./configure --enable-libvpx make make install

but at later steps,i still encounter error: cd /usr/local/prosopopee-site/example

root@localhost:/usr/local/prosopopee-site/example# ls about build first_gallery second_gallery settings-menu.yaml settings.yaml root@localhost:/usr/local/prosopopee-site/example# prosopopee warning: If you want the rss and/or the social network share to work, you need to specify the website url in root settings Skipped: ././first_gallery/stuff.png is already generated Skipped: ././first_gallery/stuff.png is already generated Skipped: ././first_gallery/stuff.png is already generated Generation: ././first_gallery/video.mp4 ffmpeg -loglevel error -i ././first_gallery/video.mp4 -c:v libvpx -b:v 3900k -qmin 10 -qmax 42 -maxrate 500k -bufsize 1500k -c:a libvorbis -b:v 100k -s 1280x720 -f webm -y ./build/./first_gallery/video.mp4 Unknown encoder 'libvorbis' Abort: ffmpeg command failed root@localhost:/usr/local/prosopopee-site/example#

how to fix it?