Skip to content

Use win64 ffmpeg built from BtbN - #1838

Closed
npes87184 wants to merge 3 commits into
Genymobile:devfrom
npes87184:BtbN
Closed

npes87184 wants to merge 3 commits into
Genymobile:devfrom
npes87184:BtbN

Conversation

@npes87184

@npes87184 npes87184 commented Oct 18, 2020 •

Copy link
Copy Markdown
Contributor

There are three changes in this PR.

  1. In script prepare-dep the third parameter will be the output folder name now.
  2. Stop building win32 version due to lack of ffmpeg libs
  3. Use BtbN built ffmpeg (win64-lgpl-shared)

There are two problems still need to be solved. First, it looks like BtbN is an auto build server, it is hard to guarantee the built ffmpeg is stable. Second, it lacks of win32 version.

Thanks.

Signed-off-by: Yu-Chen Lin <npes87184@gmail.com>
Signed-off-by: Yu-Chen Lin <npes87184@gmail.com>
Signed-off-by: Yu-Chen Lin <npes87184@gmail.com>
Comment thread prebuilt-deps/Makefile
prepare-ffmpeg-shared-win64:
@./prepare-dep https://ffmpeg.zeranoe.com/builds/win64/shared/ffmpeg-4.3.1-win64-shared.zip \
dd29b7f92f48dead4dd940492c7509138c0f99db445076d0a597007298a79940 \
@./prepare-dep https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2020-10-17-12-30/ffmpeg-n4.3.1-20-g8a2acdc6da-win64-lgpl-shared-4.3.zip \

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One problem is that the releases disappear :/

@nkh0472

nkh0472 commented Aug 25, 2021 •

Copy link
Copy Markdown
Contributor

First, it looks like BtbN is an auto build server, it is hard to guarantee the built ffmpeg is stable.

You might could change download source to gyan.dev.

It's possible to fetch the latest stable 64bit build of FFmpeg and the sha256sum of it in https://www.gyan.dev/ffmpeg/builds/, more info about them can be seen in https://github.com/GyanD/codexffmpeg.

More discussion about it can be seen in #2583:

As I mentioned earlier, there are two semi-official providers of binary pre-compiled builds for windows, gyan.dev and BtbN.

The reason why I chose the former is that for the stable version of FFmpeg, he only provides a single compiled version, so it is more stable and controllable; Another one often publishes updated pre-compiled files of the stable version.
This could solve your problem 1.


For another problem:

Second, it lacks of win32 version.

The 32bit prebuilt package is still available (even through it's old), so keep it is just OK.

@nkh0472

nkh0472 commented Aug 25, 2021

Copy link
Copy Markdown
Contributor

Meanwhile, seems scripts in https://github.com/BtbN/FFmpeg-Builds could build win32 version.

https://github.com/BtbN/FFmpeg-Builds#targets-variants-and-addins

I'm not sure whether this can still be used at present. If so, compiling with GitHub server can save a lot of resources. If you only need a stable version, you can compile it once after it is released, and there is no need to build frequently.


Since there is no need to build new versions frequently, maybe I can ask gyanD if he can provide a 32-bit version for the stable release.

rom1v added a commit that referenced this pull request Jan 17, 2022
Use FFmpeg win64 binaries from gyan.dev (referenced from ffmpeg.org):

 - https://www.gyan.dev/ffmpeg/builds/
 - https://ffmpeg.org/download.html#build-windows

Keep the old FFmpeg prebuilt binaries (4.3.1) for win32 builds.

Fixes #1753 <#1753>
Refs #1838 <#1838>
Refs #2583 <#2583>

Co-authored-by: Yu-Chen Lin <npes87184@gmail.com>
Co-authored-by: nkh0472 <nkh0472@hotmail.com>
Signed-off-by: Romain Vimont <rom@rom1v.com>
rom1v added a commit that referenced this pull request Jan 18, 2022
Use FFmpeg win64 binaries from gyan.dev (referenced from ffmpeg.org):

 - https://www.gyan.dev/ffmpeg/builds/
 - https://ffmpeg.org/download.html#build-windows

Keep the old FFmpeg prebuilt binaries (4.3.1) for win32 builds.

Fixes #1753 <#1753>
Refs #1838 <#1838>
Refs #2583 <#2583>
PR #2952 <#2952>

Co-authored-by: Yu-Chen Lin <npes87184@gmail.com>
Co-authored-by: nkh0472 <nkh0472@hotmail.com>
Signed-off-by: Romain Vimont <rom@rom1v.com>
@rom1v
rom1v force-pushed the dev branch 2 times, most recently from 7e8a942 to c0de365 Compare January 27, 2022 18:02
@rom1v

rom1v commented Feb 22, 2022

Copy link
Copy Markdown
Collaborator

#2952

@rom1v rom1v closed this Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants