FFmpeg on Windows

Submit command line tools that you find here.
Message
Author
User avatar
SYSTEM
Posts: 2045
Joined: Sat Jul 31, 2010 1:19 am
Location: Helsinki, Finland

Re: FFmpeg on Windows

#31 Post by SYSTEM »

Andrew Lee wrote: Sat Jan 28, 2023 5:25 pm Can't believe I finished reading all of the posts. A truly fascinating read of a large and important open-source project, and some of the players involved. Thanks for sharing the link!
Seconded. It was an excellent read.
My YouTube channel | Release date of my 13th playlist: August 24, 2020

User avatar
Midas
Posts: 6912
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: FFmpeg on Windows

#32 Post by Midas »

I thought so, too... 8)

User avatar
Midas
Posts: 6912
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: FFmpeg on Windows

#33 Post by Midas »

FFmpeg v6.0 "Von Neumann" released (announcement at https://ffmpeg.org/index.html#news).

Updated Windows binaries repos linked from the homepage:
Browse back in the current topic for links to older FFmpeg builds -- including XP-compatible and non-(entirely)free...

User avatar
Midas
Posts: 6912
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: FFmpeg on Windows

#34 Post by Midas »

Quick post to note a very handy resource for FFmpeg: ffmprovisr...
FFmpeg is a powerful tool for manipulating audiovisual files. Unfortunately, it also has a steep learning curve, especially for users unfamiliar with a command line interface. This app helps users through the command generation process so that more people can reap the benefits of FFmpeg.

User avatar
Andrew Lee
Posts: 3116
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: FFmpeg on Windows

#35 Post by Andrew Lee »

Midas wrote: Sat Aug 19, 2023 12:24 pm Quick post to note a very handy resource for FFmpeg: ffmprovisr...
FFmpeg is a powerful tool for manipulating audiovisual files. Unfortunately, it also has a steep learning curve, especially for users unfamiliar with a command line interface. This app helps users through the command generation process so that more people can reap the benefits of FFmpeg.
Thanks for sharing this. Being a big fan of ffmpeg, I think this is a terrific resource!

User avatar
FileHandler
Posts: 147
Joined: Sat Aug 15, 2015 7:11 pm

Re: FFmpeg on Windows

#36 Post by FileHandler »

Thanks.
For someone like me, who has been struggling with the syntax over and over again, this looks very promising and might save me a ton of googling for ready-made solutions that never quite fit my purpose.

User avatar
rbon
Posts: 432
Joined: Wed Mar 28, 2007 2:16 am
Location: Italy

Re: FFmpeg on Windows

#37 Post by rbon »

Andrew Lee wrote: Tue Sep 01, 2020 3:38 pm Are there any other good sources for pre-built ffmpeg binaries?
I have found on GitHub the repository "FFmpeg-Builds" for FFmpeg Static Auto-Builds.
Latest build is of 2023-10-02 - 12:50) (6 hours ago)
details:
• GitHub "FFmpeg Builds": https://github.com/BtbN/FFmpeg-Builds
• GitHub repository download page: https://github.com/BtbN/FFmpeg-Builds/r ... tag/latest
--> I have downloaded 'ffmpeg-master-latest-win64-gpl-shared' https://github.com/BtbN/FFmpeg-Builds/r ... shared.zip
and estracted the content of 'bin' subfolder.

My program 'yt-dlp-gui' works well.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning." - Rick Cook.

User avatar
juverax
Posts: 402
Joined: Mon Jun 11, 2018 5:19 am

Re: FFmpeg on Windows

#38 Post by juverax »


User avatar
rbon
Posts: 432
Joined: Wed Mar 28, 2007 2:16 am
Location: Italy

Re: FFmpeg on Windows

#39 Post by rbon »

Another two FFmpeg (user) manual in pdf format:

1°. pdf manual
Official manual FFmpeg Basics:
• web site: https://ffmpeg.tv/
• pdf preview: https://ffmpeg.tv/content.pdf - press download button

2°. pdf manual
• web site: https://www.riptutorial.com
• list of all (free) ebook: https://riptutorial.com/ebook
• eBook description: https://riptutorial.com/ebook/ffmpeg
• ebook preview: https://riptutorial.com/Download/ffmpeg.pdf - press download button
• Title: LEARNING ffmpeg
This free ebook was created by 'Stack Overflow' contributors.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning." - Rick Cook.

User avatar
juverax
Posts: 402
Joined: Mon Jun 11, 2018 5:19 am

Re: FFmpeg on Windows

#40 Post by juverax »

@rbon Thank you! Great resources :D

User avatar
Midas
Posts: 6912
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: FFmpeg on Windows

#41 Post by Midas »

FFmpeg stable is currently on v6.1.1 released 2023-12-31 (changelog at https://git.ffmpeg.org/gitweb/ffmpeg.git/shortlog/n6.1.1).

Plus a quick note for yet another Github FFmpeg autobuild repo.
Automated stable nonfree builds of FFmpeg for Windows using GitHub Actions.

Nonfree in this context means that the above binaries include the "Fraunhofer FDK AAC (libfdk_aac) & DeckLink"...

FYI, Anim Mouse publishes a rather extensive list of FFmpeg builds in his site:


User avatar
Midas
Posts: 6912
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: FFmpeg on Windows

#42 Post by Midas »

FFmpeg v7.0 released 2024-04-05 (announcement at https://ffmpeg.org/index.html#news).

Windows binaries repos linked from the official homepage:

EDIT: For yet another alternative FFmpeg build source, see viewtopic.php?p=107583#p107583 ...

User avatar
Midas
Posts: 6912
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: FFmpeg on Windows

#43 Post by Midas »

Useful article on the practicalities of (voice) audio processing, mainly using FFmpeg:
Most of us can get reasonably close to “professional” sounding recordings without much effort or money. In this post I’m going to break this down into two parts: recording and processing. My experience is that most of us eventually work out some recording techniques, but many fewer dive into processing. I’m going to show how one can use widely available command-line tools to process recordings, producing good quality mixes...

User avatar
rbon
Posts: 432
Joined: Wed Mar 28, 2007 2:16 am
Location: Italy

Re: FFmpeg on Windows

#44 Post by rbon »

News from FFmpeg-Builds by BtbN hosted on GitHub https://github.com/BtbN/FFmpeg-Builds:
I have carefully read on FFmpeg Static Auto-Builds https://github.com/BtbN/FFmpeg-Builds#f ... uto-builds
Static Windows (x86_64) and Linux (x86_64) Builds of ffmpeg master and latest release branch.
Windows builds are targetting Windows 7 and newer, provided UCRT is installed. The minimum supported version is Windows 10 22H2, no guarantees on anything older.
What's UCRT ?
UCRT means Universal C RunTime and it's a:
The UCRT is now a Windows component, and ships as part of Windows 10 and later. The UCRT supports a stable ABI based on C calling conventions, and it conforms closely to the ISO C99 standard, with only a few exceptions. It's no longer tied to a specific version of the compiler. You can use the UCRT on any version of Windows supported by Visual Studio 2015 or Visual Studio 2017. The benefit is that you no longer need to update your builds to target a new version of the CRT with every upgrade of Visual Studio.

This citation has been grabbed from an official Microsoft page at this link https://learn.microsoft.com/en-us/cpp/p ... w=msvc-170

What happens if you don't "install" UCRT?
I have used a program YouTube Dlp GUI by Kannagy (on GitHub), that's a front-end for yt-dlp https://github.com/kannagi0303/yt-dlp-gui: the program won't works and immediately exit with error '0xc0000005'' https://answers.microsoft.com/en-us/win ... 524618d00a
This error means that the component UCRT (they are .dll for x32 and x64 systems) is missing (if you have a Windows Vista/7/8/8.1) .

So I have downloaded UCRT from Microsoft page https://www.microsoft.com/it-it/downloa ... x?id=48234.
When download ends, You have a file with name 'WindowsUCRT.zip' of KB 7.874.
Extract the installer for Your system, for example 'Windows6.1-KB2999226-x64.msu' and install it.
You obtain a dll with version number: 10.0.1.14393.2990, but You need the dll for 32 bit because must be used with a 32 bit program (see below).
You can also obtain 'Windows6.1-KB2999226-x86.msu' but Windows do not allow install it.
I have solved this grabbing the dll ucrtbase.dll from my Kaspersky installation - inside Programs(x86) - and version number of this dll is: 10.0.17134.12.

The installed component do not appears on Add/Remove programs because it extract the .dll directly inside:
- C:\Windows\System32 --> file ucrtbase.dll
- C:\Windows\SysWOW64 --> files ucrtbase.dll + ucrtbase_clr0400.dll

I have copied this .dll (dll for x32, because the YouTube DLP GUI is a 32 bit program) inside folder that contains my YouTube DLP GUI and relaunched the program.
Therefore I have copied the 32 bit file ucrtbase.dll inside program folder.

Finally the 0xc0000005 error do not appears anymore and my yt-dlp front-ent now works perfectly with FFmpeg Static Builds.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning." - Rick Cook.

User avatar
Midas
Posts: 6912
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: FFmpeg on Windows

#45 Post by Midas »

Thanks for the detailed write-up, rbon, it's good to know about UCRT... 8)

Post Reply