PTAM normally uses libCVD for video input. Alternative video inputs here.
Point Grey cameras for Win32 using FlyCapture2:
Use this videosource. Only tested on a Firefly MV.
Webcams (Directshow) for Win32, using videoInput:
Using OpenCV for video input:
Arnaud Grosjean has written a wrapper to use OpenCV for video input, this is more flexible than libCVD in some instances. You can find his code and instructions on his website.
Using GStreamer for reading video files on Linux:
James Y. Wilson has written a videosource file to use GStreamer, which allows PTAM to run with pre-recorded videos. Download the gstreamer video source.