Masm32 SDK description, downloads and other helpful links

Main Menu

An interface to run 'ffmpeg'

Started by hutch--, November 01, 2017, 01:02:12 AM

Previous topic - Next topic


This toy is an interface to use the video program "ffmpeg" and its target is MP4 video footage that you either want to compress by way of the bitrate and/or increase the sharpness using an "unsharp" mask. The interface collects the options required and feeds them in a valid command line to "ffmpeg" which MUST be in the same directory or it will not start. It has given me the capacity to very accurately compress MP4 files and to carefully tune the level of sharpness to the individual MP4 file.

To use it you must have a current version of "ffmpeg" which you can download from their site and this executable must have "ffmpeg" in the same directory so you can either put this executable in the ffmpeg directory or copy ffmpeg into the directory where this executable is placed.

The download  file "" is about 46 meg.    :biggrin:  :skrewy:


This is version 2 of ffmprun and it has a wider range of options. I have slightly changed the way it works, it now creates a batch file to run "ffmpeg.exe" and when that is finished it will run the processed video in "ffplay.exe". This version uses the codec h264 which is the most commonly used at the moment, it does have the option to run the h265 codec but I confess I have not fully decyphered its reference material and it barely performs any better than the h264 codec.

You will need to download the ffmpeg at and as this is a 64 bit version you will need to download the 64 bit version. ffmpeg.exe must be in the same directory so the app will start and you also need to place ffplay.exe in the same directory so that the video is run once the processing is finished. With the MP4 footage I have taken recently in 4k and 1080 the results are very good and highly adjustable in terms of size and quality. I aim at MP4 and have few others but I tested it with some old AVI footage and it seems to work OK and you get respectable size reductions and quality with a little fiddling.

The batch file that the app creates "latest.bat" remains in the target directory and can be edited manually to re-run the process.

I note with some humour that the entire "ffmpeg" project is run like many other Unix based projects, a wide collection of different developers doing all sorts of things and often with very good code but the documentation is all over the place like a mad woman's chyte, various bits of it are out of date or simply wrong and it is generally hard to find. I got the command line for the app reliable by exhaustive testing of options, not from the reference material.    :biggrin:  :skrewy:


The site seem to be in perpetual changes,new link
I don't find the ""
Fa is a musical note to play with CL


Fa is a musical note to play with CL



Just get the windows version, I just downloaded it and it works fine on win10 64.    :biggrin:  :skrewy:


OK,it's need perhaps some help to use.
I have dowloaded "How to download from youtude"   99Mo
I have filled the dialog box with two name of mp4
frame=10579 fps= 28 q=-1.0 Lsize=  180841kB time=00:05:52.61 bitrate=4201.3kbits/s speed=0.929x         ;final dos screen screen
And the file rien.mp4 begin uncompressed that is 180Mo ?
how to compress ?

Fa is a musical note to play with CL


Quote from: TouEnMasm on March 09, 2021, 05:53:32 AM
I have dowloaded "How to download from youtude"   99Mo
Most of these sites use a tool coded in python called "youtube-dl".
youtube-dl use ffmpeg after video have been download to convert to specific format. This program works with more than 50 different video-streaming sites.
It's necessary to have python installed in your machine, most linux distro have that by default. One problem that I faced was when I installed by linux mint repository, program was not working fine, a lot of error messages. So, I uninstall it and download again from their site or GitHub, forgot now, and worked.
Command line looks like this:
python3 youtube-dl --extract-audio --audio-format mp3
I'd rather be this ambulant metamorphosis than to have that old opinion about everything