Giter Club home page Giter Club logo

sorryjava's People

Contributors

li24361 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sorryjava's Issues

mvn命令打包失败

$ mvn package -DskipTests
[INFO] Scanning for projects...
[INFO]
[INFO] -------------------------< com.lzh:sorry-java >-------------------------
[INFO] Building sorryJava 1.4.0
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocated to commons-io:commons-io:jar:1.3.2
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ sorry-java ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ sorry-java ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 7 source files to C:\sorryJava\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.445 s
[INFO] Finished at: 2018-04-25T11:49:54+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project sorry-java: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

大佬,我jdk也有配置在环境变量,git clone 下来后 用mvn这个命令来打包的时候失败了,麻烦指教一下,谢谢

docker运行报错

docker run --rm -itd --name sorryjava -e QCLOUD_ENABLE=false -p 8888:8888 sorry-java:v1.4报错
Unable to find image 'sorry-java:v1.4' locally
Pulling repository docker.io/library/sorry-java
docker: Error: image library/sorry-java:v1.4 not found.
我执行那个docker build -t sorry-java:v1.4 .的时候最后一行出现
Step 9 : COPY ./target/sorry-java-1.4.0.jar /opt/site/app.jar
lstat target/sorry-java-1.4.0.jar: no such file or directory这个

linux下ffmpeg问题

[AVFilterGraph @ 0x1c95c40] No such filter: 'ass'
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
windows下没有问题,但是到服务器出现这个问题,是ffmpeg安装的姿势不对?

初学java,学习一下。

在直接运行jar包以后远程网页访问ip并不能打开网页,百度了一些资料,我是不是应该自己打包成war包然后用tomcat来运行?还是我端口哪些没有打开?我用的是阿里云,系统centOS7,希望得到一个回复。能稍微指点方向即可。谢谢

nohup: ignoring input and appending output to ‘nohup.out’

小白想问一下进行到这一步的时候
qq 20180624054021
出现这个nohup: ignoring input and appending output to ‘nohup.out’
怎么解决?
系统centos7.3 装的宝塔面板 Tomact7 和jdk1.7,环境变量也没有问题
就剩这个不知道怎么解决!

ffmpeg安装遇到问题

系统Centos7.4
用的下面这几条命令:
yum install epel-release -y
rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
yum install ffmpeg ffmpeg-devel -y

有以下提示:
Error: Package: ffmpeg-libs-2.6.8-3.el7.nux.x86_64 (nux-dextop)
Requires: libass.so.5()(64bit)
Error: Package: libavdevice-2.6.8-3.el7.nux.x86_64 (nux-dextop)
Requires: libopenal.so.1()(64bit)
Error: Package: ffmpeg-libs-2.6.8-3.el7.nux.x86_64 (nux-dextop)
Requires: libschroedinger-1.0.so.0()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

百度了好久都没找到解决方法,麻烦指导一下!

关于mac系统生成gif报错问题

在mac系统终端命令行里直接执行ffmpeg没有问题,但用java调用就生成gif报错。

原因是ffmpeg在linux的shell命令行下当然能执行(如果ffmpeg在/usr/bin下),但java调用的时候并不是shell模式,所以不能直接执行

解决办法:
请用完整的ffmpeg路径,另外需要使用shell命令执行。代码示例如下:
Process exec = Runtime.getRuntime().exec(new String[]{"sh", "-c", cmd}); exec.waitFor();
以上cmd变量第一个字符(参数)必须是ffmpeg的系统安装路径,获得此路径:
$ which ffmpeg

windows下路径问题

windows下获取到的路径地址是反斜杠
cmd下ffmpeg 只能认第一个反斜杠的路径
GifService.java中应把assPath gifPath videoPath中的反斜杠替换成正斜杠

关于window系统,执行FFmpeg ass文件路径的问题。

window 系统,执行FFmpeng 命令 是 ass 文件 不能是绝对路径,绝对路径会报错:
[Parsed_ass_0 @ 000001d20187acc0] Shaper: FriBidi 1.0.4 (SIMPLE)
[Parsed_ass_0 @ 000001d20187acc0] Using font provider directwrite
[Parsed_ass_0 @ 000001d20187acc0] ass_read_file(..ae1bb83b38e9402485c83ef3455b64f5.ass): fopen failed
[Parsed_ass_0 @ 000001d20187acc0] Could not create a libass track when reading file '..ae1bb83b38e9402485c83ef3455b64f5.ass'
[AVFilterGraph @ 000001d27fe4bec0] Error initializing filter 'ass' with args '..ae1bb83b38e9402485c83ef3455b64f5.ass'
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0

建议不添加 giflossy

从我的测试来看,giflossy 对于gif的压缩时间需要大概在2~3s,如果此项目部署在服务器端,延迟较严重。

关于mac系统安装ffmpeg的问题

请添加关于mac系统安装ffmpeg的详细操作描述,mac系统下无法使用yum工具安装,需要安装类似yum的工具如:brew:
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
然后使用命令安装ffmpeg:
$ brew install ffmpeg

有bug哎

SubTitles的getset方法没写,QcloudService的getset方法没写...还有我是springboot直接运行的..\opt\site\cache\sorry这个文件应该创建到哪里...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.