-
Notifications
You must be signed in to change notification settings - Fork 49
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
MP4, Could not find a suitable audio decoder! even with --enable-decoder=h264 or --enable-libx264 #68
Comments
The issues you linked are pretty old. We changed some time ago to our jnigen gradle plugin. gdx-video/gdx-video-desktop/build.gradle Line 45 in 74b978f
gdx-video/gdx-video-desktop/build.gradle Line 60 in 74b978f
gdx-video/gdx-video-desktop/build.gradle Line 75 in 74b978f
gdx-video/gdx-video-desktop/build.gradle Line 90 in 74b978f
gdx-video/gdx-video-desktop/build.gradle Line 105 in 74b978f
gdx-video/gdx-video-desktop/build.gradle Line 120 in 74b978f
gdx-video/gdx-video-desktop/build.gradle Line 135 in 74b978f
depending what platforms you need. Then you can execute your mentioned gradlew command.I this works, I'm not very familiar with jnigen |
Yeah, i added the decoders there, my win64 line is |
I may have to put --enable-libx264 but i get that libx264 not found in all ffmpeg builds except linux 64, i need to take a win32 win64 linux32 machines to get this built? |
I solved my error with libx264, but I still can't get mp4 working, i added --enable-gpl --enable-libx264 --enable-decoder=h264 to the ffmpeg configure, i get [ant:patch] 'patch' failed with exit code 1 on patchFFmpeg, this matters? im still getting "Could not open file!" error |
I get the problem i need to add --enable-decoder=aac to the ffmpeg, now i having sync with audio and video, #53 but that's other problem |
I understand there are licensing restrictions which prevent a build with mp4 support to be widely distributed, but is there a chance you could share the Win64 build to a small audience? I have no idea about the build process, so would take me a long time to get into this, but I also need mp4 support... in either case, thanks for fixing those issues. |
Yeah, i can send you my natives but at the time I only have the dll for win64, now im trying to fix the sync issue, send me a mail to [email protected] and if you want it I can send you the natives of linux 64/32 and windows32 when i have it |
I'm glad you've found out how how to build the natives with mp4. Now we have an issue to point at how to build it yourself. |
I don't know exactly how much bigger is the natives in total but the windows 64 dll its 4,6 MB i think without the mp4 its 4,1 MB, definitely not much bigger |
Hello, I followed the instructions in #22 to get mp4 files working I can build the natives but when I try to use it, I get "Could not find a suitable audio decoder!" error. I may have failed in some step but I don't know where:
-I downloaded all the required libraries and the gdx-video sources
-I changed the ffmpeg configure and added --enable-decoder=h264 --enable-decoder=h265
-I run ./gradlew buildFFmpeg jnigen jnigenBuild jnigenJarNativesDesktop --info and get the natives
in #22 I saw that I have to change something in build-platform-{platform}.xml and add the decoder, but I don't know what and where I supose it referes to the --enable-decoder=264 that i added in the ffmpeg configure, is anything that im doing wrong?
The text was updated successfully, but these errors were encountered: