-
Notifications
You must be signed in to change notification settings - Fork 908
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
Error During Video Compression #1072
Comments
We’ve received similar feedback from other developers regarding the |
I believe that the default configuration value in my application is "h264_mediacodec" based on your previous response. Considering this, do I need to make a modification in my configuration like the following?
Should I explicitly specify something like I did some research online, but I am unsure about one thing: are libx264 and h264_mediacodec the same? Lastly, I am using this process in mobile application development, and I am not certain whether Thank you @tanersener , |
Selecting a video codec and an encoder for that codec is not a simple question to answer. Several factors need to be considered, such as the user scenario, the encoding objectives, and the encoder's licensing. Unfortunately, I cannot provide a specific recommendation. My suggestion is to learn the specifics of the available codecs and encoders to make an informed decision. If you’re unable to find the necessary information, consider asking an AI tool to explain the differences. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
Hello,
I encounter an error while compressing a video on my Android device running version 13. Below is the configuration I use for compression:
"String[] command = {"-y", "-i", videoPath, "-r", "6", "-b:v", "100", "-an", outputPath};"
The process works fine on other devices but fails on Android 13. I cannot figure out the reason. The only error message I receive is as follows
Expected behavior
The video compression process should complete successfully on Android 13 devices, just as it does on other devices. The output video should have the specified frame rate (6 fps), bit rate (100 kbps), and no audio, saved to the specified outputPath.
No errors or warnings should occur during the process.
Current behavior
On Android 13 devices, the video compression process fails with the following error message:
Could you please help me understand and resolve this issue?
Thank you,
Environment
Android
/`arm-v7a
,arm-v7a-neon
,arm64-v8a
,x86
,x86_64
6.0.2
main
,The text was updated successfully, but these errors were encountered: