-
Notifications
You must be signed in to change notification settings - Fork 12
/
BUILD
57 lines (34 loc) · 1.51 KB
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Tested on:
- Linux OpenSuSE & Ubuntu
- MacOS X
better documentation pending, meanwhile for the early adopters:
Dependencies & installing:
- ccnx (includes ccnr)
If you plan streaming and ccnr crashes when it reaches size around 2GB
create file csrc/conf/local.mk with:
PLATCFLAGS= -O2 -D_FILE_OFFSET_BITS=64 -fPIC
- pyccn (git://github.com/remap/PyCCN.git)
- ndnvideo (play_latest branch - git://github.com/remap/ndnvideo.git)
- gstreamer 0.10 - will NOT WORK with 1.0... must restrict packages to 0.10 for ndnvideo compatibilty.
from there, platform specific, incomplete list below:
ubuntu:
gstreamer0.10-plugins-ugly (for x264 encoding)
python-gst0.10-dev (for gst-python)
gstreamer0.10-ffmpeg
OSX:
Install gstreamer & plugins view MacPorts:
sudo port install gst-ffmpeg gst-plugins-bad gst-plugins-base gst-plugins-gl gst-plugins-gl gst-plugins-gl gst-plugins-good gst-plugins-ugly gst-rtsp-server gstreamer py27-gst-python
- install PyCCN
testing:
To make sure gst works you can try:
gst-launch videotestsrc ! ximagesink
gst-launch v4l2src ! ximagesink
gst-launch v4l2src ! x264enc ! ffdec_h264 ! ximagesink
To check that python bindings are available do:
$ python
import pygst
Troubleshooting:
if you get "No module named pygtk" then this most likely means that the python you're using is the one that
comes with MacOS X. Unfortunately the Mac Ports packages aren't visible
by default to that python, you could probably set up PYTHONPATH to point
there but probably is easier to just use the python from macports.