Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
luckypoem opened this issue Mar 26, 2017 · 3 comments
Open

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

luckypoem opened this issue Mar 26, 2017 · 3 comments

Comments

@luckypoem
Copy link

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
Copy link
Owner

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
Copy link
Author

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

@luckypoem
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants