pyCA安装过程:

36 git clone https://github.com/opencast/pyCA.git

37 cd pyCA/

41 yum install python-pycurl python-dateutil python-configobj python-flask python-sqlalchemy

46 ./start.sh

[root@localhost pyCA]# ./start.sh
Traceback (most recent call last):
File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/root/pyCA/pyca/__main__.py", line 14, in <module>
from pyca import capture, config, schedule, ingest, ui, agentstate, utils
File "pyca/capture.py", line 19, in <module>
import sdnotify
ImportError: No module named sdnotify

  

[root@localhost pyCA]# pip install sdnotify
Collecting sdnotify
Downloading https://files.pythonhosted.org/packages/ce/d8/9fdc36b2a912bf78106de4b3f0de3891ff8f369e7a6f80be842b8b0b6bd5/sdnotify-0.3.2.tar.gz
Installing collected packages: sdnotify
Running setup.py install for sdnotify ... done
Successfully installed sdnotify-0.3.2
[root@localhost pyCA]#

  

[root@localhost pyCA]# ./start.sh
[pyca.config:135:logger_init()] [INFO] Log level set to info
[pyca.config:95:update_configuration()] [INFO] Configuration loaded from ./etc/pyca.conf
Process Process-1:
Traceback (most recent call last):
File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "pyca/schedule.py", line 137, in run
configure_service('scheduler')
File "pyca/utils.py", line 119, in configure_service
get_service('org.opencastproject.' + service)
File "pyca/utils.py", line 75, in get_service
response = http_request(url).decode('utf-8')
File "pyca/utils.py", line 58, in http_request
config()['server']['password']))
TypeError: invalid arguments to setopt
Process Process-2:
Traceback (most recent call last):
File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "pyca/capture.py", line 187, in run
configure_service('capture.admin')
File "pyca/utils.py", line 119, in configure_service
get_service('org.opencastproject.' + service)
File "pyca/utils.py", line 75, in get_service
response = http_request(url).decode('utf-8')
File "pyca/utils.py", line 58, in http_request
config()['server']['password']))
TypeError: invalid arguments to setopt
Process Process-3:
Traceback (most recent call last):
File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "pyca/ingest.py", line 151, in run
configure_service('ingest')
File "pyca/utils.py", line 119, in configure_service
get_service('org.opencastproject.' + service)
File "pyca/utils.py", line 75, in get_service
response = http_request(url).decode('utf-8')
File "pyca/utils.py", line 58, in http_request
config()['server']['password']))
TypeError: invalid arguments to setopt
Process Process-4:
Traceback (most recent call last):
File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "pyca/agentstate.py", line 43, in run
control_loop()
File "pyca/agentstate.py", line 30, in control_loop
update_agent_state()
File "pyca/utils.py", line 220, in update_agent_state
configure_service('capture.admin')
File "pyca/utils.py", line 119, in configure_service
get_service('org.opencastproject.' + service)
File "pyca/utils.py", line 75, in get_service
response = http_request(url).decode('utf-8')
File "pyca/utils.py", line 58, in http_request
config()['server']['password']))
TypeError: invalid arguments to setopt
[root@localhost pyCA]#

  

正在解决,持续更新。

12-03:

再论坛跟pyCA技术人员反馈后,对方更新了github上的内容。

(https://github.com/opencast/pyCA)

上面介绍说实现录制还需要借助 ffmpeg。web界面需安装 Gunicom 。(https://gunicorn.org/)

再次参照上面的介绍安装。顺利完成pyCA启动。

接下来就是配置使它能够和我们自己的服务器配合工作了。

opencast 视频捕获代理 pyCA安装和功能实现的更多相关文章

  1. C# 利用 OpenCV 进行视频捕获 (笔记)

    原文:C# 利用 OpenCV 进行视频捕获 (笔记) 简介 这个项目是关于如何从网络摄像头或者视频文件(*.AVI)中捕获视频的,这个项目是用C#和OPENCV编写的. 这将有助于那些喜欢C#和Op ...

  2. [转] c# 中使用opencv进行视频捕获

    简介 这个项目是关于如何从网络摄像头或者视频文件(*.AVI)中捕获视频的,这个项目是用C#和OPENCV编写的. 这将有助于那些喜欢C#和OpenCV环境的人.这个程序完全基于Visual Stud ...

  3. 背景建模技术(五):视频捕获(VideoCapture)模块

    本次对“视频捕获(VideoCapture)模块”做出分析,给出源代码和对应的程序流程框架. 视频捕获模块的主要功能是设置视频或相机参数,并读取设置配置参数,最后进入帧处理模块的process进程,该 ...

  4. iOS仿写有妖气漫画、视频捕获框架、启动页广告页demo、多种动画效果等源码

    iOS精选源码 以tableview的section为整体添加阴影效果/ta'b'le'vi'e'w顶部悬浮.... 一个可以轻松应用自定义过滤器的视频捕获框架. 基于UITableView的组件,旨 ...

  5. virtualbox安装增强功能时【未能加载虚拟光盘】

    virtualbox安装增强功能时[未能加载虚拟光盘] 今天在使用Virtualbox中的Ubuntu虚拟机,想安装增强功能来实现更改分辨率,但是在安装时出错:未能加载虚拟光驱 VBoxsGuestA ...

  6. virtualbox安装增强功能(centos6.5)

    vitualbox安装增强功能(centos 6.5) 1. 安装依赖包 #yum install kernel-headers-$(uname -r) #yum install kernel-dev ...

  7. VirtualBox CentOS安装增强功能与设置共享文件夹

    如果安装的是CentOS minimal版无网络的可以看这篇文章. 一.安装依赖环境 依次执行如下命令 yum install update yum install kernel-headers yu ...

  8. CCapture directshow 视频捕获类

    // Capture.h for class CCapture #include <dshow.h> #include <qedit.h> #include <atlba ...

  9. 【运维手记】virtualbox中centOS安装增强功能

    在virtualbox安装了centOS,想安装增强功能时,系统提示: building the main Guest Additions module Failed 于是尝试了以下两步操作: (1) ...

随机推荐

  1. python的pip管理工具

    Python有两个著名的包管理工具easy_install.py和pip.在Python2.7的安装包中,easy_install.py是默认安装的,而pip需要我们手动安装. 在此进行编译安装pip ...

  2. 安装CocoaPods,ios的库安装工具

    1.需要ruby环境,mac pro自带了 2.终端输入:sudo gem install cocoapods

  3. 50 个加速包都抢不到车票,还不如这个 Python 抢票神器!

    又到了一年一度的抢票大战,本来就辛苦劳累了一年,想着可以早点订到票跟家里人团聚.所以有挺多的人,宁愿多花些钱去找黄牛买票.但今年各种抢票软件的横行,还有官方出的加速包,导致连黄牛都不敢保证能买到票.你 ...

  4. Mysql的跨服务器操作

    1.查询FEDERATED功能是否开启: show ENGINES; 2.如果状态为NO则需修改my.ini文件,增加一行federated配置: my.ini配置文件的默认路径 C:\Program ...

  5. Hive_Hive和数据仓库简介

    文章摘自 : http://www.imooc.com/video/7573 Hive是建立在Hadoop HDFS上的数据仓库基础架构.Hive可以用来进行数据的ETL.Hive定义了简单的类似SQ ...

  6. 转:在linux中vi 文件里行尾奇怪的^M及解决

    Linux编辑器vim中删除行尾的^M 有时候,在 Linux 中使用打开曾在 Windows 中编辑过的文件时,会在行尾看到 ^M 字符.看起来总是感觉很别扭. 删除方法如下: 在 Vim 的命令模 ...

  7. [译]Understanding ECMAScript6 迭代器与生成器(未完)

    迭代器在许多编程语言中被作为一种更易处理数据集合的方式被使用.在ECMAScript6中,JavaScript添加了迭代器,将其作为此语言的一个重要特征.当再加上新的方法和新的集合类型(比如集合与映射 ...

  8. D. Caesar's Legions 背包Dp 递推DP

    http://codeforces.com/problemset/problem/118/D 设dp[i][j][k1][k2] 表示,放了i个1,放了j个2,而且1的连续个数是k1,2的连续个数是k ...

  9. odoo filter 日期

    <!--日期--> <filter name="before_twodays" string="前天" domain="[('dat ...

  10. C#连接Oracle中文乱码问题解决方法

    1.打开注册表:开始-运行-regedit       HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE/KEY_OraDb11g_home1/OLEDB    在右侧点鼠标右键- ...