FFmpeg upscale or downscale with auto ratio
Scaling video with FFmpeg can be done with defined width and height like: ffmpeg -i input.mp4 -vf scale=1920×1080 output_1080p.mp4 Assuming that my video is 16:9 ratio like 1280×720. However if…
Scaling video with FFmpeg can be done with defined width and height like: ffmpeg -i input.mp4 -vf scale=1920×1080 output_1080p.mp4 Assuming that my video is 16:9 ratio like 1280×720. However if…
Counting or checking if your PDO MySQL query found a row relies on one key object called rowCount. rowCount returns the number of rows affected by the last executed query….
Running cron jobs on your Ubuntu server to call PHP scripts in a timely manner. The first step would be creating a PHP file that when called will leave proof…
A codec is the logic to encoding or decoding a media stream, there are many different types with popular ones being H.264, HEVC (H.265) and MPEG-4. Codecs are different to…
Using a batch file to start a DayZ server is common practice, there are many ways, methods and features to put in the batch file most confusing to beginners. Read…
If you are downloading and archiving images majority of the time you can compress them heavily to be able to store more. For reasons such as: never viewing the image…
Here is a method to live stream a mp4 video file to YouTube with FFmpeg. There are many configuration options but here is what i found works best. Read the…
v.redd.it is Reddits native video uploader and player, with the free Reddit API endpoint and FFmpeg you can download v.redd.it videos easily. If you prefer a more automated web system…
Setters and Getters in PHP are object methods used in OOP programming. The basis being you set a property to your value and then you can get it. Using setters…
How to easily get a responsive full screen image background with text overlay in HTML such as this: The method shown here uses Bootstrap, you could however do it vanilla…