首页 开发技术 Java     /    java视频上传,转码,截图,播放实现

java视频上传,转码,截图,播放实现

上传者: syd1180070307 | 上传时间:2023/7/17 4:33:18 | 文件大小:5.23MB | 文件类型:rar
java视频上传,转码,截图,播放实现
视频网站中提供的在线视频播放功能,播放的都是FLV格式的文件,它是Flash动画文件,可通过Flash制作的播放器来播放该文件.项目中用制作的player.swf播放器.多媒体视频处理工具FFmpeg有非常强大的功能包括视频采集功能、视频格式转换、视频抓图、给视频加水印等。
ffmpeg视频采集功能非常强大,不仅可以采集视频采集卡或USB摄像头的图像,还可以进行屏幕录制,同时还支持以RTP方式将视频流传送给支持RTSP的流媒体服务器,支持直播应用。
1.能支持的格式ffmpeg能解析的格式:(asx,asf,mpg,wmv,3gp,mp4,mov,avi,flv等)2.不能支持的格式对ffmpeg无法解析的文件格式(wmv9,rm,rmvb等),可以先用别的工具(mencoder)转换为avi(ffmpeg能解析的)格式.实例是将上传视频转码为flv格式,该格式ffmpeg支持,所以我们实例中需要ffmpeg视频处理工具. 本软件ID:7652791

文件下载

资源详情

[{"title":"(50个子文件5.23MB)java视频上传,转码,截图,播放实现","children":[{"title":"MediaPlayer","children":[{"title":".project <span style='color:#111;'>1.02KB</span>","children":null,"spread":false},{"title":"WebContent","children":[{"title":"media_list.jsp <span style='color:#111;'>4.33KB</span>","children":null,"spread":false},{"title":"skins","children":null,"spread":false},{"title":"WEB-INF","children":[{"title":"lib","children":[{"title":"commons-lang3-3.1.jar <span style='color:#111;'>308.40KB</span>","children":null,"spread":false},{"title":"commons-dbutils-1.5.jar <span style='color:#111;'>60.45KB</span>","children":null,"spread":false},{"title":"jstl.jar <span style='color:#111;'>20.70KB</span>","children":null,"spread":false},{"title":"commons-dbcp-1.4.jar <span style='color:#111;'>156.76KB</span>","children":null,"spread":false},{"title":"commons-fileupload-1.2.2.jar <span style='color:#111;'>58.19KB</span>","children":null,"spread":false},{"title":"commons-io-1.3.2.jar <span style='color:#111;'>85.72KB</span>","children":null,"spread":false},{"title":"mysql-connector-java-5.1.10.jar <span style='color:#111;'>707.25KB</span>","children":null,"spread":false}],"spread":true},{"title":"web.xml <span style='color:#111;'>1.73KB</span>","children":null,"spread":false}],"spread":true},{"title":"tools","children":[{"title":"vcastr3.swf <span style='color:#111;'>24.82KB</span>","children":null,"spread":false},{"title":"ffmpeg.exe <span style='color:#111;'>11.74MB</span>","children":null,"spread":false}],"spread":true},{"title":"videos","children":[{"title":"images","children":null,"spread":false},{"title":"temp","children":null,"spread":false}],"spread":true},{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'>39B</span>","children":null,"spread":false}],"spread":true},{"title":"media_upload.jsp <span style='color:#111;'>1.21KB</span>","children":null,"spread":false},{"title":"media_player.jsp <span style='color:#111;'>945B</span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"webapp","children":[{"title":"service","children":[{"title":"PlayMediaService.java <span style='color:#111;'>1.11KB</span>","children":null,"spread":false},{"title":"ShowMediaList.java <span style='color:#111;'>1.00KB</span>","children":null,"spread":false},{"title":"UploadMediaService.java <span style='color:#111;'>5.23KB</span>","children":null,"spread":false},{"title":"CharacterEncodingFilter.java <span style='color:#111;'>832B</span>","children":null,"spread":false}],"spread":true},{"title":"dao","children":[{"title":"DaoFactory.java <span style='color:#111;'>526B</span>","children":null,"spread":false},{"title":"MediaDao.java <span style='color:#111;'>1.69KB</span>","children":null,"spread":false},{"title":"impl","children":[{"title":"MediaDaoImpl.java <span style='color:#111;'>4.45KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"util","children":[{"title":"dbconfig.properties <span style='color:#111;'>157B</span>","children":null,"spread":false},{"title":"DBConn.java <span style='color:#111;'>2.90KB</span>","children":null,"spread":false},{"title":"DbHelper.java <span style='color:#111;'>1.13KB</span>","children":null,"spread":false},{"title":"Config.java <span style='color:#111;'>939B</span>","children":null,"spread":false},{"title":"ReflectUtil.java <span style='color:#111;'>1.36KB</span>","children":null,"spread":false}],"spread":true},{"title":"test","children":null,"spread":false},{"title":"entity","children":[{"title":"Media.java <span style='color:#111;'>966B</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.wst.jsdt.ui.superType.container <span style='color:#111;'>49B</span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.project.facet.core.xml <span style='color:#111;'>305B</span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'>395B</span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.name <span style='color:#111;'>6B</span>","children":null,"spread":false},{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'>107B</span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.component <span style='color:#111;'>487B</span>","children":null,"spread":false},{"title":".jsdtscope <span style='color:#111;'>503B</span>","children":null,"spread":false}],"spread":true},{"title":"build","children":[{"title":"classes","children":[{"title":"com","children":[{"title":"webapp","children":[{"title":"service","children":[{"title":"UploadMediaService.class <span style='color:#111;'>6.15KB</span>","children":null,"spread":false},{"title":"ShowMediaList.class <span style='color:#111;'>1.62KB</span>","children":null,"spread":false},{"title":"PlayMediaService.class <span style='color:#111;'>1.81KB</span>","children":null,"spread":false},{"title":"CharacterEncodingFilter.class <span style='color:#111;'>1.63KB</span>","children":null,"spread":false}],"spread":true},{"title":"dao","children":[{"title":"impl","children":[{"title":"MediaDaoImpl.class <span style='color:#111;'>4.30KB</span>","children":null,"spread":false}],"spread":true},{"title":"DaoFactory.class <span style='color:#111;'>634B</span>","children":null,"spread":false},{"title":"MediaDao.class <span style='color:#111;'>1.63KB</span>","children":null,"spread":false}],"spread":true},{"title":"util","children":[{"title":"DBConn.class <span style='color:#111;'>2.89KB</span>","children":null,"spread":false},{"title":"dbconfig.properties <span style='color:#111;'>157B</span>","children":null,"spread":false},{"title":"ReflectUtil.class <span style='color:#111;'>1.92KB</span>","children":null,"spread":false},{"title":"DbHelper.class <span style='color:#111;'>1.30KB</span>","children":null,"spread":false},{"title":"Config.class <span style='color:#111;'>1.13KB</span>","children":null,"spread":false}],"spread":true},{"title":"test","children":null,"spread":false},{"title":"entity","children":[{"title":"Media.class <span style='color:#111;'>1.44KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".classpath <span style='color:#111;'>1.34KB</span>","children":null,"spread":false}],"spread":true},{"title":"db_mediaplayer.sql <span style='color:#111;'>2.45KB</span>","children":null,"spread":false}],"spread":true}]

评论信息

  • CHQIUU:
    谢谢分享,可以用。2020-07-22
  • Hiedige:
    部分代码,不全2017-07-13
  • 尐千叶:
    貌似不能截图2017-05-09
  • 落地生根牛大:
    很好,不错,就是想要的功能2017-02-23
  • romdo:
    很不错,学习了,谢谢楼主2016-12-16

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明