Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Infinity at getDuration - getTime #4

Closed
AhmedMondo opened this issue Mar 19, 2022 · 15 comments
Closed

Infinity at getDuration - getTime #4

AhmedMondo opened this issue Mar 19, 2022 · 15 comments

Comments

@AhmedMondo
Copy link

hello , once i try to get Duration it send -Infinity

and at getTime it sends Infinity

as you can see here : https://prnt.sc/h6waoX1XHOZa

i used sample code in main github repo

@davidzeng0
Copy link
Owner

I could not reproduce the issue on my end. May I know what track you tried to play?

@AhmedMondo
Copy link
Author

any track i play it happen the same

this is an example : https://www.youtube.com/watch?v=dQw4w9WgXcQ

@davidzeng0
Copy link
Owner

You are using the sample code from the README, unmodified?

@AhmedMondo
Copy link
Author

yes

@davidzeng0
Copy link
Owner

I get 202 second duration using that code, I unfortunately cannot help you with this issue as it seems like something's wrong with your configuration.

@AhmedMondo
Copy link
Author

does dependencies affect that ?
cuz i tried to reinstall them twice and used dirrent VPSs to test

@AhmedMondo
Copy link
Author

and should i try to reinstall all of them again ?

@AhmedMondo
Copy link
Author

ok i reinstalled everything and still same

@AhmedMondo
Copy link
Author

AhmedMondo commented Mar 19, 2022

can you give me your discord#tag for better contact ?

@davidzeng0
Copy link
Owner

I don't have enough information to help you, and I am very sorry that I can't. I am most experienced with writing code, and I am not very experienced when it comes to the vast majority of computer configurations out there and unfortunately this is something you have to figure out yourself, either through debugging the code or changing it around. If you lack experience with Linux and the C/C++ languages, you will have to find someone to help you with it.

@davidzeng0
Copy link
Owner

davidzeng0 commented Nov 30, 2022

Issue reproduced in production, reopening.

Likely causes:

  • ABI & Library mismatch

Investigation in progress.

@davidzeng0 davidzeng0 reopened this Nov 30, 2022
@3eif
Copy link

3eif commented Nov 30, 2022

:trollface:

@AhmedMondo
Copy link
Author

U came too early bro 🙂😂

@davidzeng0
Copy link
Owner

My apologies, I could never reproduce the issue in production.

@davidzeng0
Copy link
Owner

davidzeng0 commented Dec 1, 2022

Issue resolved, problem was:

multiple installations of libav* header files causing a mismatch between ABI and the compiled shared library

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants