Blog
Our EFV CDN launched: scheduled route switching saves over 50% in operating costs; live-stream scrolling comments added
This feature was developed for operation: cdn nodes and a cdn controller allow hundreds of vps servers to serve as CDN segment nodes. Combined with scheduled route switching, operating costs can be reduced by more than 50%. This is a carefully prepared addition. The CDN not only caches EFV segments but also offers a production-oriented image-processing API, converting images to arbitrary dimensions in webp, jpg or png format.
Updates
- One: Added live-stream scrolling comments. Comments sent from the player appear in the chat room, and chat-room comments also appear over the video, creating a genuine scrolling-comment live room.
- Two: Separated the user-related module for easier customization.
- Three: Subtitle extraction now processes only
srtandass, skipping other formats for better compatibility. - Four: Fixed downloading from the built-in
CMSfailing to assemble encrypted segments intomp4. Improved/apifluent/savestream, which assembles a video'sm3u8intomp4, to support encryptedm3u8playlists. - Five: Real-time previews before transcoding now display video codecs, audio codecs and subtitle-stream information. Check whether an
mkvcontains subtitles and see their formats and languages before selecting videos for transcoding. - Six: Added scheduled route switching. Our tests found ordinary servers generally provide sufficient bandwidth for HD, but external networks become congested during 9:30—12:30. Configure one route to start at 9:30 PM and another at 12:30 AM: use a better, more expensive
CDNroute during the peak and a cheaper route afterward. Combined with our new [H0H] system, this can save more than [H1H] in operating costs. - Seven: Our
CDNsystem installs automatically through scripts and consists of aCDNnode system andCDNcontrol-center system. Scripts on theCDNcontroller can add and remove nodes remotely and automatically. The controller shows everyCDNnode's bandwidth,CPUand disk usage. ThisCDNsystem offers segment caching, zero-configuration installation and an image-processingAPIsimilar to Qiniu's. Set a sufficiently long cache duration andCDNnodes can even serve as cloud-storage centers, receiving segments atCDNnodes without separate uploads. Simply change the route inEFVCMSto theCDNdomain and leave the rest to the scripts. Thiscdnsystem remains free permanently, with ongoing updates and maintenance.
CDN image-processing API example
https://imageserver.querydata.org/api?url=https://wmdb.querydata.org/movie/poster/no-poster.jpg&width=200&format=webp
#参数详解
url为海报地址,已经做了白名单,仅支持wmdb.querydata.org中的图片处理。
width和height参数为海报长宽,至少需要存在一个,当仅存在其中一个时,则会保留图片宽高比自动处理!
format为返回类型,支持jpg、png和webp,推荐使用webp,程序会判断浏览器是否支持webp,支持webp返回webp,不支持返回jpg!webp加载实在太快了!
Screenshots







