-
Notifications
You must be signed in to change notification settings - Fork 17
Windows Installation
Note from ochawkeye:
These were the steps I followed to successfully
install nflvid
to the point of being able to download and view both "coach"
video as well as "--broadcast" video.
This list of steps includes steps that were proven to ultimately be unsuccessful or that introduced issues that needed to be worked around. I leave these failed issue steps here as they were my most logical progression through my attempt at installation and therefore may be the natural order for those that follow after. Hopefully these failures will help others avoid some of the same problems.
This initial installation was attempted on a fairly fresh Windows 8 64-bit
install. Python 2.7.5 32-bit was already fully functional on the unit at the
time of this effort. Notable "already-installed" Python modules included
beautifulsoup4-4.3.1
, mechanize-0.2.5
, nflgame-1.1.13
, and pip-1.4.1
Note from ochawkeye: As of version 0.1.4, these are the most likely steps
required to install nflvid
. For older versions (or if you have issues with
these steps, try these older instructions
-
Attempt to install
nflvid
the easiest way possibleC:\Python27\Scripts>pip install nflvid
-
Attempt to
import nflvid
in PythonC:\Python27\Scripts>python Python 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit (Intel)] on win 32 Type "help", "copyright", "credits" or "license" for more information. >>> import nflvid >>>
Result: Success
-
Download and install
7zip
-
Download and unzip
ffmpeg
-
Download and install
imagemagick
Note from ochawkeye: Link innflvid
README
links toimagemagick
-
Download
rtmpdump
. -
Download and install
VLC player
-
Copy the
rtmpdump.exe
file I downloaded and unzipped from the download folder into my working directory. In my case this was my Python scripts folder (that is where mynflvid-footage
script is located) -
Try downloading some
coaches
footage and playing in VLC playerC:\Python27\Scripts>python nflvid-footage --dry-run --season 2012 --teams MIN -- "P:\Projects\Home Computer\Fantasy Football\nflvid\footage\vikes\full"
Result: Successfully download files, files successfully play in VLC player 13. Instead of downloading default "coaches" video, attempt to download "broadcast" video
```
C:\Python27\Scripts>python nflvid-footage --dry-run --broadcast --season 2013 --teams
MIN -- "P:\Projects\Home Computer\Fantasy Football\nflvid\footage\vikes\broadcast"
```
Result: Files successfully download and play in VLC player 14. Since --dry-run worked, deleted 30 second clip and try the full thing
```
C:\Python27\Scripts>python nflvid-footage --broadcast --season 2013 --teams MIN --
"P:\Projects\Home Computer\Fantasy Football\nflvid\footage\vikes\broadcast"
```
-
Continuing through the
nflvid
README
suggests trying to slice the video into playsC:\Python27\Scripts>python nflvid-slice --dry-run "P:\Projects\Home Computer\Fan tasy Football\nflvid\footage\vikes\pbp" "P:\Projects\Home Computer\Fantasy Footb all\nflvid\footage\vikes\broadcast\*.mp4"
Result: Failed - "EID ".mp4" from game file ".mp4" is not valid. Please make sure all game files start with their EID." 22. Try naming the file specifically
```
C:\Python27\Scripts>python nflvid-slice --dry-run "P:\Projects\Home Computer\Fan
tasy Football\nflvid\footage\vikes\pbp" "P:\Projects\Home Computer\Fantasy Footb
all\nflvid\footage\vikes\broadcast\2013090804.mp4"
```
Result: Success
Note from ochawkeye:
This ends this portion of the installation instructions
for nflvid
in a Windows environment.
The full power of nflvid
is unlocked by nfldb
. Hopefully installation
instructions for nfldb
in Windows to follow soon.