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

Crash when converting to ACC #100

Open
citizenserious opened this issue Jul 16, 2024 · 2 comments
Open

Crash when converting to ACC #100

citizenserious opened this issue Jul 16, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@citizenserious
Copy link

citizenserious commented Jul 16, 2024

Describe the bug
Wanted to convert a .mp3 to .acc and the app crashes when selecting the file

Version
v1.3.2

Settings applied
clean install with the only settings changed is "Audio file output extension" to ".acc"

App Logs
FATAL EXCEPTION: main Process: com.caydey.ffshare, PID: 2904 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.caydey.ffshare/com.caydey.ffshare.HandleMediaActivity}: java.lang.IllegalArgumentException: No enum constant k1.m.a.ACC at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3645) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3782) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:138) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2307) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7924) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936) Caused by: java.lang.IllegalArgumentException: No enum constant k1.m.a.ACC at java.lang.Enum.valueOf(Enum.java:259) at k1.m$a.valueOf(Unknown Source:2) at k1.j.c(Unknown Source:1125) at com.caydey.ffshare.HandleMediaActivity.C(Unknown Source:198) at com.caydey.ffshare.HandleMediaActivity.onCreate(Unknown Source:52) at android.app.Activity.performCreate(Activity.java:8348) at android.app.Activity.performCreate(Activity.java:8327) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1421) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3626) ... 12 more

File used
Uploading the file to help replicate the bug is very helpful however if it is not possible, run the following command on the file ffprobe -v quiet -print_format json -show_format -show_streams FILE and include its output

I do not know how to do this,
crash happens with any sound file, tried different ones with type .wav .mp3 even .acc

@citizenserious citizenserious added the bug Something isn't working label Jul 16, 2024
@caydey
Copy link
Owner

caydey commented Jul 16, 2024

looks like AAC (Advanced Audio Coding) was spelt wrong.

@citizenserious
Copy link
Author

looks like AAC (Advanced Audio Coding) was spelt wrong.

Didn't even notice it myself while filing this issue :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants