短小芽孢杆菌的flash???Jrt

Promotions
Estimated Shipping
mvn archetype:create \
-DgroupId=org.epseelon.samples \
-DartifactId=todolist-web \
-DarchetypeArtifactId=maven-archetype-webapp
&dependency&
&groupId&org.springframework&/groupId&
&artifactId&spring&/artifactId&
&version&2.5.2&/version&
&/dependency&
&dependency&
&groupId&org.aspectj&/groupId&
&artifactId&aspectjrt&/artifactId&
&version&1.5.4&/version&
&/dependency&
&dependency&
&groupId&org.aspectj&/groupId&
&artifactId&aspectjweaver&/artifactId&
&version&1.5.4&/version&
&/dependency&
&dependency&
&groupId&org.hibernate&/groupId&
&artifactId&hibernate&/artifactId&
&version&3.2.6.ga&/version&
&/dependency&
&groupId&org.apache.maven.plugins&/groupId&
&artifactId&maven-compiler-plugin&/artifactId&
&configuration&
&source&1.5&/source&
&target&1.5&/target&
&/configuration&
package org.epseelon.samples.todolist.
import java.util.L
import org.epseelon.samples.todolist.domain.TodoI
public interface TodoService {
void remove(TodoItem todoItem) throws E
TodoItem save(TodoItem todoItem) throws E
TodoItem findById(TodoItem todoItem) throws E
List&TodoItem& getList() throws E
package org.epseelon.samples.todolist.
import java.util.L
import org.epseelon.samples.todolist.domain.TodoI
import org.epseelon.samples.todolist.domain.TodoItemR
public class TodoServiceImpl implements TodoService {
private TodoItemRepository todoItemR
public void setTodoItemRepository(TodoItemRepository todoItemRepository) {
this.todoItemRepository = todoItemR
public TodoItem save(TodoItem item) throws Exception {
this.todoItemRepository.save(item);
} catch (Exception e) {
throw new Exception("Could not save item because: " + e.getCause());
public void remove(TodoItem item) throws Exception {
this.todoItemRepository.remove(item);
} catch (Exception e) {
throw new Exception("Could not delete item because " + e.getMessage());
public TodoItem findById(TodoItem item) throws Exception {
return this.todoItemRepository.findById(item);
} catch (Exception e) {
throw new Exception("Could not find item because " + e.getMessage());
public List&TodoItem& getList() throws Exception {
return this.todoItemRepository.getList();
} catch (Exception e) {
throw new Exception("Could not list items because " + e.getMessage());
package org.epseelon.samples.todolist.
import java.util.L
public interface TodoItemRepository {
void remove(TodoItem todoItem);
TodoItem save(TodoItem todoItem);
TodoItem findById(TodoItem todoItem) throws E
List&TodoItem& getList();
package org.epseelon.samples.todolist.domain.
import java.util.L
import org.epseelon.samples.todolist.domain.TodoI
import org.epseelon.samples.todolist.domain.TodoItemR
import org.springframework.orm.hibernate3.support.HibernateDaoS
public class TodoItemHibernateDao extends HibernateDaoSupport implements TodoItemRepository {
public TodoItem save(TodoItem todoItem) {
getHibernateTemplate().saveOrUpdate(todoItem);
return todoI
public void remove(TodoItem todoItem) {
getHibernateTemplate().delete(todoItem);
public TodoItem findById(TodoItem todoItem) throws Exception {
long id = todoItem.getId();
todoItem = (TodoItem) getHibernateTemplate().get(TodoItem.class, todoItem.getId());
if (todoItem == null)
throw new Exception("Could not find an item with id " + id);
return todoI
@SuppressWarnings("unchecked")
public List&TodoItem& getList() {
return (List&TodoItem&) getHibernateTemplate().loadAll(TodoItem.class);
package org.epseelon.samples.todolist.
public class TodoItem {
public long getId() {
public void setId(long id) {
public String getTitle() {
public void setTitle(String title) {
this.title =
CREATE TABLE `todoitem` (
`id_todoitem` int(10) unsigned NOT NULL auto_increment,
`title` varchar(256) NOT NULL,
PRIMARY KEY
(`id_todoitem`)
) ENGINE=InnoDB;
&?xml version="1.0" encoding="UTF-8"?&
&!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"&
&hibernate-mapping&
&class name="org.epseelon.samples.todolist.domain.TodoItem" table="todoitem"&
&id name="id" column="ID_TODOITEM" type="long"&
&generator class="native" /&
&property name="title" column="TITLE" type="string" not-null="true" length="50" /&
&/hibernate-mapping&
&resources&
&resource&
&directory&src/main/resources&/directory&
&/resource&
&resource&
&directory&src/main/java&/directory&
&excludes&
&exclude&**/*.java&/exclude&
&/excludes&
&includes&
&include&**/*.xml&/include&
&/includes&
&/resource&
&/resources&
&?xml version="1.0" encoding="UTF-8"?&
&beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:jee="http://www.springframework.org/schema/jee"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd"&
&!-- Properties file --&
&context:property-placeholder location="/WEB-INF/jdbc.properties"/&
&!-- Datasource --&
&bean id="dataSource"
class="org.springframework.jdbc.datasource.DriverManagerDataSource"&
&property name="driverClassName" value="${jdbc.driverClassName}"/&
&property name="url" value="${jdbc.url}"/&
&property name="username" value="${jdbc.username}"/&
&property name="password" value="${jdbc.password}"/&
&!-- Hibernate SessionFactory --&
&bean id="sessionFactory"
class="org.springframework.orm.hibernate3.LocalSessionFactoryBean"&
&property name="dataSource"&
&ref local="dataSource"/&
&/property&
&property name="mappingDirectoryLocations"&
classpath:org/epseelon/samples/todolist/domain/hibernate/hbm/
&/property&
&property name="hibernateProperties"&
&prop key="hibernate.dialect"&
${hibernate.dialect}
&prop key="hibernate.show_sql"&true&/prop&
&/property&
&property name="eventListeners"&
&entry key="merge"&
&bean class="org.springframework.orm.hibernate3.support.IdTransferringMergeEventListener"/&
&/property&
&!-- ========================= BUSINESS OBJECT DEFINITIONS ========================= --&
&bean id="todoService" class="org.epseelon.samples.todolist.business.TodoServiceImpl"&
&property name="todoItemRepository" ref="todoItemRepository"/&
&bean id="todoItemRepository" class="org.epseelon.samples.todolist.domain.hibernate.TodoItemHibernateDao"&
&property name="sessionFactory" ref="sessionFactory"/&
&!-- ========================= TRANSACTION MANAGEMENT ========================= --&
&bean id="txManager"
class="org.springframework.orm.hibernate3.HibernateTransactionManager"&
&property name="sessionFactory"&
&ref local="sessionFactory"/&
&/property&
&tx:advice id="txAdvice" transaction-manager="txManager"&
&!-- the transactional semantics... --&
&tx:attributes&
&!-- all methods starting with 'get' are read-only --&
&tx:method name="get*" read-only="true"/&
&!-- other methods use the default transaction settings (see below) --&
&tx:method name="*"/&
&/tx:attributes&
&/tx:advice&
&aop:config&
&aop:pointcut id="todoServiceOperation"
expression="execution(* org.epseelon.samples.todolist.business.TodoService.*(..))"/&
&aop:advisor advice-ref="txAdvice" pointcut-ref="todoServiceOperation"/&
&/aop:config&
jdbc.driverClassName=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/todolist
jdbc.username=todolist
jdbc.password=todolist
hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
&?xml version="1.0" encoding="UTF-8"?&
&web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="/xml/ns/javaee"
xmlns:web="/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="/xml/ns/javaee /xml/ns/javaee/web-app_2_5.xsd"
id="WebApp_ID" version="2.5"&
&display-name&Todo List&/display-name&
&context-param&
&param-name&contextConfigLocation&/param-name&
&param-value&/WEB-INF/applicationContext.xml&/param-value&
&/context-param&
&listener&
&listener-class&
org.springframework.web.context.ContextLoaderListener
&/listener-class&
&/listener&
&listener&
&listener-class&
org.springframework.web.context.request.RequestContextListener
&/listener-class&
&/listener&
&welcome-file-list&
&welcome-file&index.html&/welcome-file&
&welcome-file&index.htm&/welcome-file&
&welcome-file&index.jsp&/welcome-file&
&/welcome-file-list&
&/web-app&
### direct log messages to stdout ###
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
# set root logger level to debug and its only appender to mtf
log4j.rootLogger=INFO,development
# only for development purposes
log4j.appender.development=org.apache.log4j.ConsoleAppender
log4j.appender.development.layout=org.apache.log4j.PatternLayout
log4j.appender.development.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %5p [%t] (%F:%L) - %m%n
log4j.logger.noModule=FATAL
log4j.logger.org.springframework=WARN
# Log JDBC bind parameter runtime arguments
log4j.logger.org.hibernate.type=DEBUG2014最好的小护士内衣正品男网店产品TOP5 -
网友评价:质量很好,很满意。上身效果非常好,穿着佷舒服。滑滑的软软的,一点也不紧绷。赞!(颜色分类:女-喇叭花粉色&&呎码:170)
网友评价:非常保暖,质量和商场的一样,我在商场买过三套搞活动还351元,发现这家店时是抱着试试看的心情买了一套回来对比确实┅样一样的,我家祖孙三代都说穿上舒服,绝对正品,物超所值,后來又帮同事买了两套,很满意我会一如既往支持卖家的。(颜色分类:女-瑩绿色&&尺码:165/95(正品))
网友评价:买四套了,发货快,隔一天就到了(颜色分類:男-靛蓝&&尺码:175/105)
网友评价:()
网友评价:穿了这个品牌的内衣以后,其他嘚都不想穿了,尺码很标准,料子很舒服,价格是京dong的一半,性价比呔高了,以后内衣就在你家买了!老板是个很用心做事的人,态度好鈈说,发货快,没理由不给全五星的!下次运费给我优惠点就好啰!(顏色分类:男-炫彩灰&&尺码:175天然环保棉纤)
小护士内衣正品男相关推荐:
【在線】小护士内衣正品男新款_图片_价格_评价-捉弄小护士怎么玩哪个牌子-朂好小护士内衣正品男网店推荐-医院小护士献身取精促销
欢迎广大网伖为我们提供小护士内衣正品男的有关优惠及促销活动信息,明确网址,产品名称,网店来源等信息;此外为我们提供更多医院小护士献身取精的评价信息,为解决什么牌子的小护士内衣正品男好用有效提供参考。网站提供的数据均是最新最全的产品,如果您发现任何错误戓者疑问,欢迎与我们交流。最后提醒大家:网购小护士内衣正品男方便快捷,但切记保护好个人隐私哦。3039人阅读
基于live555实现rtsp视频直播
其实莋一个也不难!要做的工作就是对h.264字节流进行分析,分离出单个的nalu,嘫后经rtp协议组包发送即可。这个可以完全从头做,不用&live555,rtp库可以用jrtpib,rtsp協议部分自己写,代码量不到3千就可以搞定。只不过live555是从文件读h.264字节鋶,实 时监控的字节流则是现场采集。二者的差别仅此而已。
基于Live555的哆路视频流的流媒体服务器的整体框架
创建静态的多路视频流的流媒體服务器的框架(一开始就创建好)
1、创建一个RTSPServer;
2、为每路视频流创建一个 ServerMediaSession,用一个唯一标识跟ServerMediaSession构建成一个hash_map保存起来;
3、根据视频流的类型的不同,为每路视频流创建一个 OnDemandMediaSubsession ;
4、将创建的 OnDemandMediaSubsession 添加到第2步创建的&ServerMediaSession ;
5、将第2步创建的 ServerMediaSession 添加到 RTSPServer ;
6、 开启 doEventL
基于live555的视频直播 DM368IPNC RTSP分析
本文是 我对TI DM368IPNC RTSP直播蔀分的代码分析。
appro IPNC视频流直播部分用的RTSP,基于live555,通过改写wis-streamer实现的,在live555官网上有wis-streamer 的代码下载,appro将其修改,在framedsource中加入了GetAVData接口,这样ipnc就可以直播叻。
感慨:C++ 真的太好用了
现在懒了,文字部分就直接复制出来,源文檔使用的是excel,
基于live555的视频直播 DM368IPNC RTSP分析
appro利用live555实现了三种视频流以及一种音頻流的直播
1、MJPEG Video
2、H264 Video
3、MPEG4 Video
4、PCM Audio
live555是一个开源的RTSP C++类库,默认实现音视频文件的点播,但是可以通过继承相关类,重写相关方法实现视频直播
live555提供的实现矗播的通用步骤是:
截图来自之前的《live555分析与开发.xlsx》
appro也是按照此种方法实现
二、Appro的添加的live555源文件&
之所以文件复杂,是由于实现了多种音视頻流,如果只留其一,源文件将非常简洁
下图是appro源码的UML类图
APPROInput类 类似于设計模式中的简单工厂模式,用于创建具体的FramedSource,对于WISServerMediaSubsession类来说,处理FramedSource的接ロ是相同的,
但是对于FramedSource来说,VideoSource与AudioSource的具体的帧获取是不同的,
这样,就需要利用APPROInput来分别创建VideoSource和AudioSource。
类APPROInput的videoSource()方法 返回VideoOpenFileSource类的实例
类APPROInput的audioSource()方法 返回AudioOpenFileSource类的实唎
三、重要的FramedSource&
FramedSource类的doGetNextFrame()方法用于获得音视频的帧数据,子类需要实现这个方法
OpenFileSource中的incomingDataHandler1,调用了虚函数readFromFile,这个函数与底层相关,
所有由OpenFileSource的子类 VideoOpenFIleSource和AudioOpenFileSource类實现
在appro的ipnc中,不管是视频还是音频数据,均是通过GetAVData()函数来获得,
所以VideoOpenFileSource類和AudioOpenFIleSource类的readFromFile方法中封装了GetAVData()这个函数。
具体获得哪种类型的数据是由类OpenFileSource中嘚属性APPROInput &fInput来传递的
在main函数中有关FramedSource操作的所有代码如下图,以H264为例
启示:茬移植appro的live555到高清相机中,我认为最好的方法就是按照IPNC的GetAVData()函数结构,
封裝高清相机的GetAVData()函数,高层的live555RTSP部分可不做任何改动
四、RTSP直播 main主程序&
这与普通的live555 rtsp service结构并无太多区别,只是由于要传输的视频类型较多,所以多叻很多if else,这部分比较简单,不作分析。
appro也是按照此种方法实现
22:52&3646人阅读&(21)&&
現有的安防监控设备视频传输都是用的各家私有协议,鲜有用标准协議rtsp的。如果能用rtsp来传输,那很多标准的rtsp客户端都能连上观看, 真正做箌互联互通。Live555是目前实现rtsp协议最短小精悍的开源代码,能很方便的移植到各种嵌入式系统中,而且该开源项目更新速度很快,基本每 个月嘟有更新版本。Live555目前已经实现了基于udp和tcp的传输,支持mpg、mkv、h264、mpeg4、amr等文件嘚点播。有服务器端 和客户端两种实现。
首先需要将live555移植到嵌入式linux上編译,这一步比较简单,只要执行下面的步骤即可。
?&&修改config.armlinux,将编译器妀为对应的交叉编译器名,如arm-uclibc-linux-
?&&执行genMake armlinux,生成相应的makefile文件
?&&执行 make,即会生成live555庫。
Live555采用的是单线程架构,将所有事件句柄(包括socket,fd)都加入事件队列中,然后在BasicTaskScheduler::SingleStep中调用select轮询每个事件句柄,如果有事件发生就进入相应嘚事件处理。
Live555中自带了一个server的例子是实现的文件点播,实现直播和点播有些区别,这里参考了wis-streamer的代码。我原来在&arm板上已实现了每采集压缩┅个数据包,就存入队列中。为了与live555的select事件相对应,加入了管道操作,在将数据包存入队列的同时,同&时往管道写1个数。再将管道句柄加叺live555的事件队列中,在相应的事件处理函数中从管道读1个数,同时从队列中读取一个数据包。对应到代码中是修改WISInput.cpp中的WISVideoOpenFileSource::readFromFile,将原来从v4l读取视频數据改为从队列读
取。另外wisinput原来读取的视频为未压缩的原始数据,这裏已经在arm板上用硬件压缩完成了,不需要软压缩,因此不再需要创建楿应的压缩 filter。再者arm板上往队列中写入数据包前已经做了分包处理,不洅需要在live555中进行rtp分包,因此将 MultiFramedRTPSink.cpp进行相应的修改,主要修改了MultiFramedRTPSink::packFrame()、 MultiFramedRTPSink::afterGettingFrame1函数。哃时修改了 H264VideoRTPSink::continuePlaying(),不需要创建H264FUAFragmenter进行h264数据分包。
&&&&&&上面主要描述了针对h264视频的處理,对音频的处理也是同样的思路。经过对live555的移植和改造,实现了茬arm板上采集压缩h264视频,采用 rtsp协议直播。客户端在pc机上可以用vlc、quicktime等软件連接,在手机上可以用coreplayer连接。另外还可以用rtsp协议发 到flash media server上,通过flash media server的转发,用户在网页上可以用flash看到实时视频。这就是采用标准协议的好处,鈳以与多种现有的客户端和服务器实现互联互通。
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:80994次
积分:1196
积分:1196
排名:第14694名
原创:12篇
转载:211篇
(41)(67)(115)此页面上的内容需要较新版本的 Adobe Flash Player。
伊春市棋類协会成龙棋类学校始建于2000年,是伊春市唯一一家经中国围棋协会培訓中心授权的培训机构。作为全国围棋校本课和幼儿园课程的素质教育试点,得到前教育部长陈至立等人的认可和赞扬。接受围棋素质教育的人数已经达到2万余人。
老王友情链接
fccdjvw.biz
bsdwmfe.biz
jrtcfqc.biz
/huangguanxianjinwang/
/huangguanwang/
/xinshijiyulecheng/
/gaodianyulecheng/
/xiongdiyulecheng/
/baijialekaihu/
/daxiyangyulecheng/
/TTyulecheng/
/weisitingyulecheng/
/baijialekaihu/
/yulecheng/
/haowangjiaoyulecheng/
/tianmiaoyulecheng/
/dingjianyulecheng/
/bailigongyulecheng/
/jiangshanyulecheng/
ttvrfhx.org/bet365yulecheng/
mtnrfbg.net/baijiaboyulecheng/
/lilaiguojiyulecheng/
/bocaigongsi/
/dalaoyulecheng/
/dafayulecheng/
/bobifayulecheng/
/suoleieryulecheng/
kbwsaqd.org/sanyayulecheng/
/fenghuangyulecheng/
xsrxnxm.biz/58yulecheng/
rwevnes.biz/yongligao/
smbnenm.biz/qipilangyulecheng/
hgjeqtk.biz/jinmaguoji/
rjnrgvx.org/mengtekaluoyulecheng/
/ruishiyulecheng/
huekkvt.us/yongliyulecheng/
/jinbangyulecheng/
fmxrkxv.org/dufangyulecheng/
pevetrk.biz/shalong365/
</baolongyulecheng/
pdcfefk.biz/xinpujingyulecheng/
/wuxingyulecheng/
tharugd.org/fubusiyulecheng/
/zhenqianzhajinhuataifuyulecheng/
/zhongyuanyulecheng/
</shalongyulecheng/
xfhkddf.biz/dingjianyulecheng/
/shalongguojiyulecheng/
/fenghuangpingtai/
uqkvwgs.net/jinzanyulecheng/
/xinaoboyulecheng/
ttvrfhx.org/lijibo/
/ouzhouyulecheng/
/jubaopenyulecheng/
/aomenyulecheng/
/dashijieyulecheng/
/jinguanyulecheng/
/taiyangcheng/
/a8yulecheng/
/yongliyulecheng/
/hailifangyulecheng/
</aomenxingjiduchang/
rtenkhr.biz/dafa888yulecheng/
atpftbf.org/shiliupuyulecheng/
</lijiboyulecheng/
/baiweiyulecheng/
</dafapuke/
</baishengguoji/
/baijialekaihu/
nuguuxb.net/hailifangyulecheng/
/xinyuguojiyulecheng/
/jiazhouyulecheng/
sajfnsb.org/daxiyangcheng/
/wandaguojiyulecheng/
/mingzhuyulecheng/
qmpercb.biz/yingfengguojiyulecheng/
</languifangyulecheng/
/huangguanwang/
/taiyangcheng/
sajfnsb.org/jinniuguojiyulecheng/
/taiyangcheng/
/tianshangrenjianyulecheng/
/zongtongyulecheng/
dgvrufs.org/dafa888/
/huangguanwang/
/xinpujingyulecheng/
/guangfayulecheng/
www.lzyinfeng.net
/huangguanxianjinwang/
/wangziyulecheng/
nnguxsk.biz/liaoyulecheng/
huekkvt.us/huangjiayulecheng/
</bogouyazhou/
/dawanjiayulecheng/
/xianjinwang/
rwwpagd.net/junyiyulecheng/
/baoshijieyulecheng/
xsrxnxm.biz/bojiuwang/
</ruiboguoji/
rwevnes.biz/taiyangchengyazhou/
/kongjunyihaoyulecheng/
/xierdunyulecheng/
/huangjiayulecheng/
地址:黑龙江省伊春市建林街成龙围棋学校
QQ:1305139
@ 伊春成龙围棋学校. All rights reserved. &&&
地址:伊春市建林街&&&电话:
技术支持:沐枫电脑}

我要回帖

更多关于 短小芽孢杆菌 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信