-
Notifications
You must be signed in to change notification settings - Fork 13
Setting up
HOME > Setup Guide
Setting up Infoqscraper is a four steps process:
- Install ffmpeg
- Install swftools
- Install rtmpdump
- Install infoqscraper
Once installed, ffmpeg, swfrender and rtmpdump have to be in the PATH
or their location can be specified on the command line.
Infoqscraper relies on ffmpeg to build the final movie. Most operating systems allow easy installation of ffmpeg.
However, ffmpeg evolved quite a lot in the last few years. They fixed a lot of bugs,
provided new features so ensuring strong compatibility with a wide number of releases
is quite challenging. Infoqscraper supports ffmpeg 0.7 or later for the legacy
output type. All other output types requires a "recent" version of ffmpeg and libx264
.
It the version provided by your system is too old you can easily downald and install a
static build of ffmpeg.
While newer slides are JPG files, older ones are SWF. swftools is used to convert SWF into PNG. It is not always packaged but can be very easily compiled for your system. Any version will work.
### rtmpdumpVideos are delivered by Infoq using the rtmp protocol rather than http. Thus rtmpdump has to be installed.
### infoqscraperInfoqscraper releases are upload on PyPI and can be
installed using pip
:
pip install [--user] infoqscraper
The infoqscraper
executable should now be available in your path. If not you
have to add the installation directory (usually $HOME/.local/bin
with
--user
) to the PATH
environment variable or specify the full path of the
command.
Install python2
, swftools
, rtmpdump
and ffmpeg
using pacman
pacman -S python2 swftools rtmpdump ffmpeg
Then install Infoqscraper with
pip2 install --user infoqscraper
Install python-pip
, swftools
, rtmpdump
and ffmpeg
using apt-get:
apt-get install python-pip swftools rtmpdump ffmpeg
Then install Infoqscraper with:
pip install --user infoqscraper
ffmpeg
comes in version 0.8
. It is compatible with the legacy
output type
but the other ones require a newer version of ffmpeg. You can use a backport,
the deb-multimedia repository or download a static build.
Install ffmpeg
, swftools
and rtmpdump
using yum from rpmfusion:
yum install ffmpeg swftools rtmpdump
Then install Infoqscraper with
pip install --user infoqscraper
Please note that rtmpdump
from Fedora 19 is currently broken. You have to download rtmpdump source code and compile it.
Install pip
, ffmpeg
, swftools
and rtmpdump
with ports.
sudo port install py27-pip ffmpeg swftools rtmpdump
Then install Infoqscraper with
pip-2.7 install --user infoqscraper
After the installation is complete, the binary will be located at ~/Library/Python/2.7/bin
.
Add following to your .bash_profile
in your user directory:
export PATH=~/Library/Python/2.7/bin:$PATH
And after terminal restart, you should be able to type infoqscraper
and execute it.
Install rtmpdump
using apt-get:
apt-get install rtmpdump ffmpeg libavcodec-extra-53
swftools
is not available and must installed manually.
ffmpeg
comes in version 0.8
. It is compatible with the legacy
output type but the other ones require a newer version of ffmpeg.
You can use a ppa or download a static build.
Install rtmpdump
, swftools
and ffmpeg
using apt-get:
apt-get install rtmpdump ffmpeg libavcodec-extra-53 swftools
If your ffmpeg
version is too old you can use a ppa or download a [static