FFmpeg: How to limit CPU usage phptuts December 23, 2018 I have a server with 4core, when i run a command ffmpeg, cpu load high: CPU load about 3 to 4: How to reduce CPU… Continue Reading
How to fix error: “413 Request Entity Too Large” when upload files phptuts December 22, 2018 When upload files, you might got the error “413 Request Entity Too Large”, how to fix this error? Add or modify client_max_body_size in http block… Continue Reading
How to create video thumbnail with FFmpeg phptuts December 18, 2018 Create one thumnail: Method 1: you can specify frame number Result: Method 2: you can specify frame time Method 3: you can specify thumnail size… Continue Reading
How to get video duration with ffmpeg phptuts December 18, 2018 Method 1: Example: See this method with PHP: PHP: How to fix error shell_exec can’t run some command on Linux Method 2: Example: Method 3:… Continue Reading
How to fix Error 521: Web server is down with HTTPS website using Cloudflare phptuts December 14, 2018 Sometime you see a strange error: your website run with HTTP but with HTTPS you get error 521, how to fix this error? Step 1:… Continue Reading
How to get all audio streams of video with ffmpeg phptuts December 11, 2018 We can use 2 methods to Example: Continue Reading
How to get width, height, sample aspect ratio of video with ffmpeg phptuts December 11, 2018 You can use 2 methods: Example: Continue Reading
How to cutting a video with ffmpeg without re-encoding phptuts December 11, 2018 You can cut a video with ffmpeg with command: But it run slowly because ffmpeg must re-encode the video, how to cutting a video with… Continue Reading
How to run Redis as a Service on Windows phptuts November 24, 2018 Read first: How to use Redis on Windows Redis is a high performance key / value store. It is a NoSQL database. It supports various… Continue Reading
How to use Redis on Windows phptuts November 24, 2018 Only for Windows 64bits: Step 1: Download https://github.com/ServiceStack/redis-windows/raw/master/downloads/redis-latest.zip Step 2: Extract redis-latest.zip in any folder, e.g. in D:\redis Step 3: Run the redis-server.exe using the… Continue Reading