Comments (11)
能正常播放就是有个报错
from flvplayer.
一个容错问题,我修复下
from flvplayer.
from flvplayer.
应该flv流不是规范格式,你可以在/src/demuxer/demuxer.worker
,找到删掉这个错误警告,再试试。
from flvplayer.
好的,谢谢。那如何知道 flv 流是否规范格式呢?
from flvplayer.
这个有点难判断,所以我尽量按照文档来对flv解封装,但就算有的地方不规范也可以播放。
from flvplayer.
你好,我也遇到这个问题,但是不能正常播放,视频流用vlc是可以正常播放的,不知道用flvplayer怎么修改能成功播放
from flvplayer.
你好,我也遇到这个问题,但是不能正常播放,视频流用vlc是可以正常播放的,不知道用flvplayer怎么修改能成功播放
经过修改可以了原来是设置的fps不对导致的
from flvplayer.
你好,我也遇到这个问题,但是不能正常播放,视频流用vlc是可以正常播放的,不知道用flvplayer怎么修改能成功播放
经过修改可以了原来是设置的fps不对导致的
请问你是如何设置 fps 的?
from flvplayer.
你好,我也遇到这个问题,但是不能正常播放,视频流用vlc是可以正常播放的,不知道用flvplayer怎么修改能成功播放
经过修改可以了原来是设置的fps不对导致的
请问你是如何设置 fps 的?
var flv = new FlvPlayer({
container: '.flvplayer-app', // A div dom element
url: 'path/to/video.flv', // Url of flv video file or url of websocket
decoder: './flvplayer-decoder-baseline.js', // Path to video decoder, flvplayer-decoder-baseline.js or flvplayer-decoder-multiple.js
poster: 'path/to/poster.png', // Url of video poster, the first frame of the video is taken as the poster by default
autoPlay: false, // Whether auto play
debug: false, // Show debug information on developer tools
live: false, // Whether live video
loop: false, // Whether to automatically loop play
hotkey: true, // Whether to use hotkeys
hasAudio: true, // Whether to include audio
volume: 7, // Default volume, ranging from 0 to 10
frameRate: 30, // Video frame rate, which will be extracted from the flv file by default
width: 400, // Video default width, which will be extracted from the flv file by default
height: 300, // Video default height, which will be extracted from the flv file by default
});
就是这个 frameRate: 30, // Video frame rate, which will be extracted from the flv file by default
参数
from flvplayer.
已经把这个错误改成警告形.
from flvplayer.
Related Issues (20)
- 播放的flv直播流没有声音的时候画面会卡住或者就没有画面。 HOT 6
- 请问怎么将mp4转成flv? HOT 1
- 可以实现播放实时视频流吗 HOT 5
- 切换浏览器标签页画面会卡住 HOT 3
- 移动端不能拖动进度 HOT 2
- 直播结束有没有callback可以调? HOT 1
- 拉流延迟问题 HOT 2
- iPad 创建FlvPlayer失败 HOT 2
- 启动报错- v1.1.8 HOT 1
- Does not work with Node Media Server
- multiple decode.worker的源码 HOT 3
- The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page HOT 3
- 通过官方的demo访问flv地址时,有声音但是没有画面
- canvas 2d渲染黑白重复
- ffmpeg 编译为decoder.worker 方式和 源码 能 分享一下吗? HOT 1
- 一个页面同时开启12个FlvPlayer会卡顿,其中几个FlvPlayer无画面,有画面的画面不动 HOT 4
- Mobile Demo 移动端进度条无法拖动,是没开启还是? HOT 1
- 播放直播视频,页面处于非激活状态时,会发生内存泄漏 HOT 1
- 同一个页面只能加载一个 canvas 播放器 HOT 1
- 全屏是不是有问题 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 flvplayer.