Comments (22)
videoPlayer.setUp(url, false, "");
boolean cacheWithPlay字段传false
from gsyvideoplayer.
HttpProxyCacheServer error com.danikula.videocache.ProxyCacheException: Error closing socket output stream 这个异常是正常的异常,因为缓存会强行关闭接口,cacth住不崩溃就可以,但是你这个url的视频是什么格式的,目前测试过的是支持MP4和m3u8。
from gsyvideoplayer.
这是不是视频流信息吧,这个是FTP模式的下载吧?
from gsyvideoplayer.
这个url的视频是mp4格式的。 是数据流信息。是HTTP模式的下载的。
from gsyvideoplayer.
我在公司内网,拍小视频,上传,播放,能正常播放的了。 可是在外网,拍小视频,然后用播放器播放的时候,就会报这个错误。
from gsyvideoplayer.
要不就是视频的编码格式不支持
from gsyvideoplayer.
E/IJKMEDIA: stream 0, offset 0x30: partial file
11-25 15:00:43.786 27860-29664/com.example.gsyvideoplayer W/IJKMEDIA: Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none, 480x360, 227 kb/s): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
from gsyvideoplayer.
这个视频文件是经过特殊处理过的吗?
from gsyvideoplayer.
有进行压缩过。是我自己录制的小视频
from gsyvideoplayer.
https://github.com/mabeijianxi/small-video-record 我是用这个项目进行录制的视频。
from gsyvideoplayer.
bilibili/ijkplayer#1141
bilibili/ijkplayer#2060
对应找到了ijkplayer的issuse,应该是在视频的头部那里没找到对应的信息。我测试了这个项目录制下来的原视频本地是可以播放的。
from gsyvideoplayer.
是的。。我在内网上进行测试。都能跑的通。也可以边缓存,边播放。 可是在外网环境下录制下来的视频,进行播放就会抛出异常。我们的外网,目前是用的阿里云。
from gsyvideoplayer.
确实很奇怪,如果把视频拉倒本地就可以播放,但是如果是在url的话就播放不了,表现出的是在解码的时候找不到格式···不过同样的视频,我传到我们这边的七牛服务器就可以播放····
Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none, 480x360, 227 kb/s): unspecified pixel format 。
Consider increasing the value for the 'analyzeduration' and 'probesize' options。
http://ocgk7i2aj.bkt.clouddn.com/1e9175e4-5f70-419a-81c4-ef1d92ce286f
from gsyvideoplayer.
个人觉得是服务器端的问题。
from gsyvideoplayer.
我也很费解。。郁闷了老半天,。可是在本地自己搭的那个服务器上又没问题。
from gsyvideoplayer.
我把视频传到七牛上也没问题,问题应该是出在了它身上!-> http://www.ettwit.com:8080/file/download/?u_id=41&type=app&id=553
from gsyvideoplayer.
那现在的解决方案,只能是先把视频下载到本地,再进行播放了。 在demo里,该怎么取消缓存。播放本地文件。
from gsyvideoplayer.
好的。谢谢您!!!!
from gsyvideoplayer.
如果可以请关闭issue,(^-^)V
from gsyvideoplayer.
Ok 我可以加下您QQ吗,以后有问题可以一起交流下。。@.@
from gsyvideoplayer.
你用简书吗?我简信发给你。
from gsyvideoplayer.
好的。。我简书联系你。。我把issue关了。
from gsyvideoplayer.
Related Issues (20)
- 亮度调节dialog全屏显示不全 HOT 3
- 请问能获取到退出全屏的回调吗 HOT 1
- 更新SDK后,华为报病毒 HOT 11
- 有flutter版本么? HOT 1
- 继承了StandardGSYVideoPlayer,自定义播放器添加了UI横屏的时候修改UI状态没有反应 HOT 2
- 我用的v8.5.0版本,oppo应用市场提醒上线审核不通过 ,提示超频次读取DEVICEID +2,需要您帮忙处理下. HOT 1
- 横屏的情况切换url 播放黑屏,但是有声音,切换竖屏是正常播放。但是只要在横屏切换的话会黑屏 HOT 3
- 关于DRM license url支持 HOT 1
- 覆写updateStartImage方法,换图无效 HOT 5
- 从指定位置播放对有的视频不起作用 HOT 5
- 电视盒子上使用SystemPlayerManager,并设置GSYVideoType.GLSURFACE时,无法播放视频 HOT 6
- CacheHelper.download 下载报错 java.lang.IllegalStateException HOT 1
- app刚安装状态点击崩溃 HOT 2
- 视频点击时 全屏按钮显示隐藏的回调是哪个? HOT 1
- 根据教程编译SO库,MP2有声音了,但是https视频播放不了了,请问是啥原因呢? HOT 1
- 播放.wmv文件播放不了
- 音视频播放不同步 HOT 6
- Activity中切换Fragment被释放问题导致状态错乱控制失效 HOT 12
- 特殊视频无法播放问题 HOT 4
- 加载一个链接多次请求接口 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gsyvideoplayer.