FFMPEG Toolkit

之前开源的安装脚本

FFMPEGToolkit is a free and 100% open source software completely written in bash shell script.
The purpose of this script is to build a video streaming platform in your Gnu/Linux server (CentOS 7.*).

So you can start video streaming websites and avoid the cost of installations. This script not only install ffmpeg but also all its friends packages. You can chose this script for building platform for most of the youtube clone softwares like clip-shre, sharemixer,shareigniter,etc,.

特地建立了一个官方网站
https://www.ffmpegtoolkit.com/

最近通过搜索访问本文章的关键词:

NYAA.SE 活过来啦

Nyaa.si – our new home for our torrents

As you might’ve noticed, the torrent links are working again for newer stuff. We’ll be using nyaa.si as our official replacement. You can find our page here. They seem to have recovered a lot of the torrents from nyaa.se, which is excellent if you want to find older stuff. It also seems like it’s being actively worked on. We’ll be reaching out to them to get our older torrents restored.

Why not the other ones? I have my concerns about the longevity, stability, and leadership of other alternatives like pantsu and anidex. As a few of my peers have warned me, racism seems to also be a concern (though I have no idea how racism is linked to an anime tracker) and we’d like to distance ourselves away from such drama.

新域名 V2了
www.nyaa.si


新程序也是开源的
使用Python写的,搜索使用ES了
开源在这里 https://github.com/nyaadevs/nyaa

最近通过搜索访问本文章的关键词:

[FFMPEG] take multiple screenshots to an image

To make multiple screenshots and place them into a single image file (creating tiles), you can use FFmpeg’s tile video filter, like this:

ffmpeg -ss 00:00:10 -i movie.avi -vf 'select=not(mod(n\,1000)),scale=320:240,tile=2x3' out.png

That will seek 10 seconds into the movie, select every 1000th frame, scale it to 320×240 pixels and create 2×3 tiles in the output image out.png, which will look like this:

ffmpeg_tile

Allow only CloudFlare CDN IPs

sudo apt-get install ipset
ipset create cf hash:net
#Now populate the set with CloudFlare IP ranges:
for x in $(curl https://www.cloudflare.com/ips-v4); do ipset add cf $x; done
#You can use the 'cf' set now in a iptables rule like so:
iptables -A INPUT -m set --match-set cf src -p tcp -m multiport --dports http,https -j ACCEPT
#Disallow direct connecting to your server IP:
iptables -A INPUT -p tcp --dport http -j DROP
iptables -A INPUT -p tcp --dport https -j DROP

SNMP Installer Bash

懒惰

NGINX防盗链 伪静态重写 nginx secure link rewrite the MP4/FLV File Link

nginx secure link rewrite the MP4/FLV File Link

Nginx is Fast web server software, look it in www.nginx.org

if you used secure link mod
the link like is
http://www.test.com/media/000.mp4?s=oJ-RnINtL028POIlzeLXGA&e=1381153610
but we like that

How To Get The rewrite clean link?

this examples nginx.conf

This PHP Test code

now your can get two link
the $url is STD URL like
http://www.test.com/media/000.mp4?s=oJ-RnINtL028POIlzeLXGA&e=1381153610

the $seo is url friend link like

Good luck!!!

最近通过搜索访问本文章的关键词:

Web网站 拍照 缩略图 网页拍照 网页缩略图 在线生成

Web网站 缩略图生成
基于NODEJS的Web网站 网页缩略图删除 拍照

主URL http://42.121.19.34:3000/
默认返回1024×600大小的网页缩略图
如果需要改大小 或者定制UA 可以使用下面的使用教程 定制参数就可以了

生成Sogou的缩略图
测试URL http://42.121.19.34:3000/?url=www.sogou.com

返回一个800×600的PNG快照
测试URL http://42.121.19.34:3000/?url=www.sogou.com&width=800&height=600

如果需要使用AJAX调用
可以这样做 异步返回
http://42.121.19.34:3000/?url=www.sogou.com&callback=http://www.cnlabs.net/?upload
意思是将 sogou.com 生成一个缩略图
并且在生成完成后 使用POST方式将生成好的图片
提交到 http://www.cnlabs.net/?upload
注意请求后 会返回200 OK的header信息 判断是否成功加入生成队列
待处理完毕后 才会异步使用POST方式推送到 callback指定的url

使用教程 :
# 生成缩略图
GET /?url=www.google.com
# Return a 1024×600 PNG screenshot of the www.google.com homepage
继续阅读Web网站 拍照 缩略图 网页拍照 网页缩略图 在线生成