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

Error submitting a packet for decoding! #56

Open
songiang95 opened this issue Dec 20, 2022 · 5 comments
Open

Error submitting a packet for decoding! #56

songiang95 opened this issue Dec 20, 2022 · 5 comments

Comments

@songiang95
Copy link

I has an issue when process long mp3 file (over 1 hour) download from youtube via (https://www.y2mate.com/). Please take a look.

@lincollincol
Copy link
Owner

@songiang95 Hello! Please, provide error logs or youtube video url

@songiang95
Copy link
Author

songiang95 commented Dec 21, 2022

@songiang95 Hello! Please, provide error logs or youtube video url

Video url: https://www.youtube.com/watch?v=NP5NAwRZm0k
I download audio of this video via https://www.y2mate.com/

Log:

linc.com.example I/System.out: Process audio: 1% 
linc.com.example I/System.out: Process audio: 2% 
linc.com.example I/System.out: Process audio: 3% 
linc.com.example I/System.out: Process audio: 4% 
linc.com.example I/System.out: Process audio: 5% 
linc.com.example I/System.out: Process audio: 6% 
linc.com.example I/System.out: Process audio: 7% 
linc.com.example I/System.out: Process audio: 8% 
linc.com.example I/System.out: Process audio: 9% 
linc.com.example I/System.out: Process audio: 10% 
linc.com.example I/System.out: Process audio: 11% 
linc.com.example I/System.out: Process audio: 12% 
linc.com.example I/System.out: Process audio: 100% 
linc.com.example E/AMPLITUDA: Processing time: 4.6440 seconds
linc.com.example I/System.out: Stop Progress
linc.com.example W/System.err: linc.com.amplituda.exceptions.processing.PacketSubmittingException: Error submitting a packet for decoding
linc.com.example W/System.err: Read Amplituda doc here: https://github.com/lincollincol/Amplituda
linc.com.example W/System.err:     at linc.com.amplituda.AmplitudaResultJNI.getExceptionFromCode(AmplitudaResultJNI.java:105)
linc.com.example W/System.err:     at linc.com.amplituda.AmplitudaResultJNI.getErrors(AmplitudaResultJNI.java:85)
linc.com.example W/System.err:     at linc.com.amplituda.AmplitudaProcessingOutput.<init>(AmplitudaProcessingOutput.java:32)
linc.com.example W/System.err:     at linc.com.amplituda.Amplituda.processAudio(Amplituda.java:364)
linc.com.example W/System.err:     at linc.com.amplituda.Amplituda.processAudio(Amplituda.java:218)
linc.com.example W/System.err:     at linc.com.example.MainActivity.onCreate(MainActivity.java:27)
linc.com.example W/System.err:     at android.app.Activity.performCreate(Activity.java:7383)
linc.com.example W/System.err:     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1218)
linc.com.example W/System.err:     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3256)
linc.com.example W/System.err:     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3411)
linc.com.example W/System.err:     at android.app.ActivityThread.-wrap12(Unknown Source:0)
linc.com.example W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1994)
linc.com.example W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:108)
linc.com.example W/System.err:     at android.os.Looper.loop(Looper.java:166)
linc.com.example W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:7529)
linc.com.example W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
linc.com.example W/System.err:     at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
linc.com.example W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
linc.com.example I/System.out: Audio info:
linc.com.example I/System.out: millis = 4633208
linc.com.example I/System.out: seconds = 4633
linc.com.example I/System.out: 
linc.com.example I/System.out: source = /storage/emulated/0/nonstop3.mp3
linc.com.example I/System.out: source type = PATH
linc.com.example I/System.out: 
linc.com.example I/System.out: Amplitudes:
linc.com.example I/System.out: size: = 22205

@fus3rx
Copy link

fus3rx commented Jan 17, 2023

W/System.err: linc.com.amplituda.exceptions.processing.PacketSubmittingException: Error submitting a packet for decoding!
W/System.err: Read Amplituda doc here: https://github.com/lincollincol/Amplituda
W/System.err: at linc.com.amplituda.AmplitudaResultJNI.getExceptionFromCode(AmplitudaResultJNI.java:105)
W/System.err: at linc.com.amplituda.AmplitudaResultJNI.getErrors(AmplitudaResultJNI.java:85)
W/System.err: at linc.com.amplituda.AmplitudaProcessingOutput.(AmplitudaProcessingOutput.java:32)
W/System.err: at linc.com.amplituda.Amplituda.processAudio(Amplituda.java:394)
W/System.err: at linc.com.amplituda.Amplituda.processAudio(Amplituda.java:74)
W/System.err: at com.masoudss.lib.utils.WaveformOptions.getSampleFrom(WaveformOptions.kt:13)
W/System.err: at com.masoudss.lib.WaveformSeekBar.setSampleFrom(WaveformSeekBar.kt:220)
W/System.err: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
W/System.err: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
W/System.err: at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
W/System.err: at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
W/System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
W/System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749)
W/System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
W/System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

@thirumalVenket12
Copy link

Am also having the same issue which is posted above one.

am fetching the wave from the MP3 file it's having the same issue

linc.com.amplituda.exceptions.processing.PacketSubmittingException: Error submitting a packet for decoding!
2024-01-24 12:52:02.552 27884-27884 System.err W Read Amplituda doc here: https://github.com/lincollincol/Amplituda
2024-01-24 12:52:02.553 27884-27884 System.err W at linc.com.amplituda.AmplitudaResultJNI.getExceptionFromCode(AmplitudaResultJNI.java:105)
2024-01-24 12:52:02.553 27884-27884 System.err W at linc.com.amplituda.AmplitudaResultJNI.getErrors(AmplitudaResultJNI.java:85)
2024-01-24 12:52:02.553 27884-27884 System.err W at linc.com.amplituda.AmplitudaProcessingOutput.(AmplitudaProcessingOutput.java:32)
2024-01-24 12:52:02.553 27884-27884 System.err W at linc.com.amplituda.Amplituda.processAudio(Amplituda.java:364)
2024-01-24 12:52:02.553 27884-27884 System.err W at linc.com.amplituda.Amplituda.processAudio(Amplituda.java:74)
2024-01-24 12:52:02.553 27884-27884 System.err W at com.masoudss.lib.utils.WaveformOptions.getSampleFrom(WaveformOptions.kt:13)
2024-01-24 12:52:02.553 27884-27884 System.err W at com.masoudss.lib.WaveformSeekBar.setSampleFrom(WaveformSeekBar.kt:226)

@thirumalVenket12
Copy link

Am also having the same issue which is posted above one.

am fetching the wave from the MP3 file it's having the same issue

linc.com.amplituda.exceptions.processing.PacketSubmittingException: Error submitting a packet for decoding! 2024-01-24 12:52:02.552 27884-27884 System.err W Read Amplituda doc here: https://github.com/lincollincol/Amplituda 2024-01-24 12:52:02.553 27884-27884 System.err W at linc.com.amplituda.AmplitudaResultJNI.getExceptionFromCode(AmplitudaResultJNI.java:105) 2024-01-24 12:52:02.553 27884-27884 System.err W at linc.com.amplituda.AmplitudaResultJNI.getErrors(AmplitudaResultJNI.java:85) 2024-01-24 12:52:02.553 27884-27884 System.err W at linc.com.amplituda.AmplitudaProcessingOutput.(AmplitudaProcessingOutput.java:32) 2024-01-24 12:52:02.553 27884-27884 System.err W at linc.com.amplituda.Amplituda.processAudio(Amplituda.java:364) 2024-01-24 12:52:02.553 27884-27884 System.err W at linc.com.amplituda.Amplituda.processAudio(Amplituda.java:74) 2024-01-24 12:52:02.553 27884-27884 System.err W at com.masoudss.lib.utils.WaveformOptions.getSampleFrom(WaveformOptions.kt:13) 2024-01-24 12:52:02.553 27884-27884 System.err W at com.masoudss.lib.WaveformSeekBar.setSampleFrom(WaveformSeekBar.kt:226)

@lincollincol any update on the above issue

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

4 participants