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

Read aac info #44

Closed
Ducke1001 opened this issue Jul 21, 2024 · 2 comments
Closed

Read aac info #44

Ducke1001 opened this issue Jul 21, 2024 · 2 comments

Comments

@Ducke1001
Copy link

I want to read the file info of all aac files in a folder (actually all supported files). This is not a problem with mp3, but with aac phiola reads the whole file in fast forward. It then stops shortly before the end.

D:\Programmierung\wxbasic\Projects\dsmPlayer\Records>D:\Programmierung\wxbasic\Projects\dsmPlayer\ThirdParty\phiola-2\phiola info -tags -inc "*.aac" .
φphiola v2.1.5 (windows-amd64)
#1 " - " "./OGLAK - About.aac" 2.43MB 3:36.775 (9,559,813 samples) 0kbps HE-AAC int16 44100Hz stereo
[==============================================================..] 3:32 / 3:36

When I read the stream I get one line for every second. This slows down reading immensely.
Actually, I only need the title length.

@stsaz
Copy link
Owner

stsaz commented Jul 27, 2024

Fixed in v2.2-beta3.
Note that some decoding is still required to determine the AAC stream type (HE or LC) but a lot less than previously.
The best way to improve this even further is to parse the stream by my own code, but currently I have not enough knowledge on the subject.

@Ducke1001
Copy link
Author

Now it works fine. Thank you.

@stsaz stsaz closed this as completed Jul 28, 2024
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

2 participants