Fetch the repository succeeded.
This action will force synchronization from 开源技术小栈/html5-dash-hls-rtmp, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
hls, dash, ogg, webm, mp4, rtmp either live or video on demand
支持MP4,WebM和MP3以及HLS,Dash,YouTube,Facebook,SoundCloud和其他HTML5 MediaElement API的HTML5 <audio>或<video>播放器,可在所有浏览器中实现一致的UI
http://hls-live.jia.360.cn/live_jia_public/_LC_RE_non_3605277091515101384821337866_BX/index.m3u8
http://live.hkstv.hk.lxdns.com/live/hks/playlist.m3u8
http://ivi.bupt.edu.cn/hls/cctv1hd.m3u8
http://ivi.bupt.edu.cn/hls/cctv5hd.m3u8
http://live.hkstv.hk.lxdns.com/live/hks/playlist.m3u8
rtmp-stream.html
hls-stream.html
auto-input-hls-player.html
The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. Origin 'http://127.0.0.1
location /record {
add_header Cache-Control no-cache;
add_header 'Access-Control-Allow-Origin' '*' always;
add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range';
add_header 'Access-Control-Allow-Headers' 'Range';
types{
application/dash+xml mpd;
application/vnd.apple.mpegurl m3u8;
video/mp2t ts;
}
alias /home/tinywan/hls;
}
http://192.168.18.143/record/stream_name/index.m3u8
测试结果:RTMP 延迟:2s ,HLS 延迟: 18s
embedSWF: function(swfUrlStr, replaceElemIdStr, widthStr, heightStr, swfVersionStr, xiSwfUrlStr, flashvarsObj, parObj, attObj, callbackFn)
swfUrlStr
:指定您的SWF的URL(StrobeMediaPlayback.swf)replaceElemIdStr
:指定包含替换元素的html元素的ID,能用你的flash的内容来替换widthStr
:指定SWF的宽度heightStr
:指定SWF的高度swfVersionStr
:指定SWF 发布所需的flash播放器的版本xiSwfUrlStr
:指定快速安装的路径,激活快速安装. 请注意,快速安装只会触发一次(他第一次被调用)flashvarsObj
:指定需要传递给flash的变量(用键值对)parObj
:指定嵌入对象的参数(用键值对)attObj
:指定对象的属性(用键值对)callbackFn
: (JavaScript function, optional)能定义一个回调函数,不管调用flash创建成功或者失败都可以调用该函数play2video2.html
,默认静音播放hls_segment_filename
文件名
ffmpeg -i in.nut -hls_segment_filename'file%03d.ts'out.m3u8
use_localtime
文件名
ffmpeg -i in.nut -use_localtime 1 -hls_segment_filename'file-%Y%m%d-%s.ts'out.m3u8
ffmpeg -i 854-1496985395500.ts -c copy -map 0 -f segment -segment_list playlist.m3u8 -segment_time 10 output%03d.ts
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。