Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on windows platform. #106

Open
RajatGurnani opened this issue Feb 10, 2025 · 2 comments
Open

Build fails on windows platform. #106

RajatGurnani opened this issue Feb 10, 2025 · 2 comments

Comments

@RajatGurnani
Copy link

Hi,
I'm trying to build gdx-video from scratch but it fails while building.
I want to add webm with alpha channel support + some fast forward and seeking features, therefore can't use the existing gdx video release.

Caused by: java.io.IOException: Cannot run program "../../../../src/FFmpeg/configure" (in directory "D:\gdxvideorecursive\gdx-video\gdx-video-desktop\FFmpeg\build\windows64\src\FFmpeg"): CreateProcess error=2, The system cannot find the file specified
        at net.rubygrapefruit.platform.internal.DefaultProcessLauncher.start(DefaultProcessLauncher.java:25)
        ... 8 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
        ... 9 more

It says configure file not found, but it is present in the ffmpeg src folder.

build_error.txt

@dasisdormax
Copy link
Contributor

Hello,

As far as I know, no one has worked on building gdx-video directly on Windows yet. You could try it with MinGW-w64 as described in

If you do not want to experiment and get to work, I can recommend building the native DLL through WSL. You can then use the DLL you created for your tests on Windows.

@RajatGurnani
Copy link
Author

DLL will work on windows but I primarily wanted to play videos with alpha channel on android but after looking at source for VideoPlayerAndroid ,i guess that's not supported and possible with the native media player.
Any idea how i can play videos with alpha channel on android. I was guessing maybe i could build FFmpeg for android and use the similar decoding script as the desktop version to extract the frames and playback them.

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

No branches or pull requests

2 participants