提交 c2a05985 编写于 作者: E eguid

去除target

上级 df51e643
Manifest-Version: 1.0
Built-By: Administrator
Build-Jdk: 1.8.0_161
Created-By: Maven Integration for Eclipse
#Generated by Maven Integration for Eclipse
#Thu Oct 18 16:36:37 CST 2018
version=2018.10.18
groupId=cc.eguid.cv.corelib
m2e.projectName=videoRecorder
m2e.projectLocation=E\:\\workspace\\eclipse4.7\\easyCV\\corelib\\videoRecorder
artifactId=videoRecorder
<?xml version="1.0"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>cc.eguid.cv</groupId>
<artifactId>corelib</artifactId>
<version>1.0</version>
</parent>
<groupId>cc.eguid.cv.corelib</groupId>
<artifactId>videoRecorder</artifactId>
<version>2018.10.18</version>
<name>videoRecorder</name>
<url>https://blog.eguid.cc</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>opencv-platform</artifactId>
</dependency>
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>javacv</artifactId>
</dependency>
</dependencies>
<description>2018年10月17日
1、修复javacv录制mp4视频的编码问题,修改为强制使用h264编码
2018年10月16日
1、增加历史任务持久化接口,原有内置历史任务存储实现转移到DefaultRecordInfoStorage中,如果未指定持久化,则使用默认存储器
2、增加目录设置,如果目录不为空,则使用该目录作为录像存储目录
2018年10月10日
完成主体程序开发,并完成整体流程测试
基本架构:
任务管理器(管理单元)--&gt;管理一个任务处理器对象池
| |
持久化接口 任务处理器(控制单元,预处理和控制工作子线程处理)----&gt;工作子线程(计算单元)</description>
</project>
Manifest-Version: 1.0
Built-By: Administrator
Build-Jdk: 1.8.0_161
Created-By: Maven Integration for Eclipse
#Generated by Maven Integration for Eclipse
#Thu Oct 18 16:36:38 CST 2018
version=2018.9.21
groupId=cc.eguid.cv.corelib
m2e.projectName=videoimageshot
m2e.projectLocation=E\:\\workspace\\eclipse4.7\\easyCV\\corelib\\videoimageshot
artifactId=videoimageshot
<?xml version="1.0"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>cc.eguid.cv</groupId>
<artifactId>corelib</artifactId>
<version>1.0</version>
</parent>
<groupId>cc.eguid.cv.corelib</groupId>
<artifactId>videoimageshot</artifactId>
<version>2018.9.21</version>
<name>videoimageshot</name>
<url>https://blog.eguid.cc</url>
<description>
版本更新
2018.9.21
1、多项性能优化
①base64转换性能优化
②ByteBuffer转BufferedImage性能优化
③ffmpeg截图性能优化
④提供线程安全的API
2、修复rtsp截图崩溃的bug
2018.9.18
1、修复流媒体视频检索时间过长问题
2018.9.14
1、支持rtsp/rtmp/hls/媒体流和视频文件截图
2、支持bmp/jpg/png/jpeg/gif等多种格式图片保存
3、支持base64图像数据返回
</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Manifest-Version: 1.0
Built-By: Administrator
Build-Jdk: 1.8.0_161
Created-By: Maven Integration for Eclipse
#Generated by Maven Integration for Eclipse
#Thu Oct 18 16:36:39 CST 2018
version=1.0
groupId=cc.eguid.cv.web
m2e.projectName=videoimageshot-web
m2e.projectLocation=E\:\\workspace\\eclipse4.7\\easyCV\\web-service\\videoimageshot-web
artifactId=videoimageshot-web
<?xml version="1.0"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>cc.eguid.cv</groupId>
<artifactId>web-service</artifactId>
<version>1.0</version>
</parent>
<groupId>cc.eguid.cv.web</groupId>
<artifactId>videoimageshot-web</artifactId>
<version>1.0</version>
<name>videoimageshot-web</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>cc.eguid.cv.corelib</groupId>
<artifactId>videoimageshot</artifactId>
<version>2018.9.21</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
<!-- Package as an executable jar -->
</plugin>
</plugins>
</build>
</project>
#配置程序端口,默认为8080
server.port=8081
#thymeleaf缓存(开发时)取消,取消缓存-false
spring.thymeleaf.cache=true
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title th:text="${hello}">hello</title>
</head>
<body>
<h1 th:text="${hello}">world</h1>
<table>
<tr>
<th>截图ID</th>
<th>截图名称</th>
<th>源视频</th>
<th>格式</th>
<th>保存位置</th>
<th>操作</th>
</tr>
<tr th:each="his : ${hislist}">
<td th:text="${his.id}">0</td>
<td th:text="${his.name}">zhansan</td>
<td th:text="${his.src}">1988-06-01</td>
<td th:text="${his.fmt}">12345</td>
<td th:text="${his.output}">1988-06-01</td>
<td><a th:href="'view?id='+${his.id}" target="_blank">查看截图</a></td>
</tr>
</table>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title th:text="${hello}">hello</title>
</head>
<body>
<h1 th:text="${hello}"></h1>
<div>
<label for="src">流媒体视频源(rtsp/rtmp/hls/http-flv地址):</label>
<input type="url" autofocus="autofocus" value="" name="src" id="src">
<label for="fmt">图片格式:</label>
<select id="fmt" name="fmt">
<option value="png">png</option>
<option value="jpg" selected="selected">jpg</option>
<option value="jpeg">jpeg</option>
<option value="gif">gif</option>
<option value="bmp">bmp</option>
</select>
<button id="btn" type="button" name="截图" title="截图" onclick="submit();">截图</button>
</div>
<div>
<p>显示截图<a id="download" target="_blank"></a></p>
<img id="img" alt="截图" style="margin:0;padding:0;width:500;height:500;">
</div>
</body>
<script type="text/javascript">
function isEmpty(s){
return s==undefined||s==null||s.length<1||s=='';
}
function getDom(id){
return document.getElementById(id);
}
function req(reqmethod,url,ret){
var xmlhttp;
if (window.XMLHttpRequest){// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();
}else{// code for IE6, IE5
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.onreadystatechange=function(){
if (xmlhttp.readyState==4 && xmlhttp.status==200){
if(typeof ret === "function"){
ret(xmlhttp.responseText);
}
}
};
xmlhttp.open(reqmethod,url,true);
xmlhttp.send();
}
function submit(){
getDom("btn").disabled=true;
var fmt=getDom("fmt").value;
var src=getDom("src").value;
if(isEmpty(src)){
alert("请填写一个视频源");
}
req("GET","shot?src="+src+"&fmt="+fmt,function(res){
getDom("btn").disabled=false;
if(!isEmpty(res)){
var data=eval('('+res+')');
if(isEmpty(res)){
alert(data.msg);
return;
}
viewImg(data.base64);
}else{
alert("请求失败");
}
});
}
function viewImg(data){
var fmt=getDom("fmt").value;
var s='data:image/'+fmt+';base64,'+data;
getDom("img").src=s;
var d=getDom("download");
d.href=s;
d.text="(点击这里下载本截图)";
d.download="截图."+fmt;
}
</script>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title th:text="${hello}">hello</title>
</head>
<body style="margin:0;padding:0;width:100%;height:100%;position: absolute;">
<img th:src="'data:image/jpeg;base64,'+${his.base64}" alt="截图预览" style="margin:0;padding:0;width:100%;height:100%;position: absolute;">
</body>
</html>
\ No newline at end of file
Manifest-Version: 1.0
Built-By: Administrator
Build-Jdk: 1.8.0_161
Created-By: Maven Integration for Eclipse
#Generated by Maven Integration for Eclipse
#Thu Oct 18 16:36:39 CST 2018
version=1.0
groupId=cc.eguid.cv
m2e.projectName=videorecorder-web
m2e.projectLocation=E\:\\workspace\\eclipse4.7\\easyCV\\web-service\\videorecorder-web
artifactId=videorecorder-web
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>cc.eguid.cv</groupId>
<artifactId>web-service</artifactId>
<version>1.0</version>
</parent>
<groupId>cc.eguid.cv</groupId>
<artifactId>videorecorder-web</artifactId>
<version>1.0</version>
<name>videorecorder-web</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>cc.eguid.cv.corelib</groupId>
<artifactId>videoRecorder</artifactId>
<version>2018.10.18</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
<!-- Package as an executable jar -->
</plugin>
</plugins>
</build>
<description>2018年10月18日
</description>
</project>
#配置程序端口,默认为8080
server.port=8082
#thymeleaf缓存(开发时)取消,取消缓存-false
spring.thymeleaf.cache=true
#最大工作线程
record.maxsize=10
#录像文件存储路径(该路径应该放在http/ftp服务中,方便取用/播放)
record.dir=F://nginx-1.15.3/html/
#录像播放地址(该地址应当为http/ftp服务访问地址,方便取用/播放录像)
play.url=http://localhost:81/
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册