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

Output music file is 2.15 GB #556

Closed
canpoyrazoglu opened this issue Aug 8, 2023 · 2 comments
Closed

Output music file is 2.15 GB #556

canpoyrazoglu opened this issue Aug 8, 2023 · 2 comments

Comments

@canpoyrazoglu
Copy link

I just tried downloading a track (I'll redact the details to prevent potential copyright claims) though here is the output:

can@can-mbp ~ % freyr "https://music.apple.com/[redacted]"
    ____                    
   / __/_______  __  _______
  / /_/ ___/ _ \/ / / / ___/
 / __/ /  /  __/ /_/ / /    
/_/ /_/   \___/\__, /_/     
              /____/ v0.10.1

freyr - (c) Miraculous Owonubi <omiraculous@gmail.com>
------------------------------------------------------
[•] Initializing config file...[done]
Checking directory permissions...[done] 
[https://music.apple.com/[redacted]]
 [•] Identifying service...[Apple Music]
 [•] Checking authentication...[authenticated]
 Detected [track]
 Obtaining track metadata...[done] 
  ➤ Title: [redacted]
  ➤ Album: [redacted]
  ➤ Artist: [redacted]
  ➤ Year: 2020
  ➤ Playtime: [redacted]
 [•] Collating...
 • [01 [redacted]]
    | ➤ Collating sources...
    |  ➤ [•] YouTube Music...[success, found 6 sources]
    | ➤ Awaiting audiofeeds...[done] 
    | [✓] Got album art 
    | {⯈} @2{1/10}: [ENOTFOUND] (getaddrinfo ENOTFOUND rr4---sn-u0g3uxax3-5qcs.googlevideo.com) (     0/569651) 
    | [✓] Got raw track file 
    | [•] Post Processing...
 [•] Download Complete
 [•] Embedding Metadata...
  • [✓] 01 [redacted]
[•] Collation Complete
============ Stats ============
 [•] Runtime: [16s]
 [•] Total queries: [01]
 [•] Total tracks: [01]
     » Skipped: [00]
     ✓ Passed:  [01]
     ✕ Failed:  [00]
 [•] Output directory: [.]
 [•] Total Output size: 2.15 GB
 [•] Total Network Usage: 4.05 MB
     ♫ Media: 3.99 MB
     ➤ Album Art: 59.10 KB
 [•] Output bitrate: 320k
===============================

The output m4a file is 2.15 GB in size even though the song itself was 4 MB which was quickly downloaded (there's no way I could download 2 GB in seconds with my connection speeds anyway). The song plays correctly, metadata and album is also correct, everything works expect the enormous file size.

I'm suspicious of that seemingly-failed step after getting album art, but I'm not sure.

@miraclx
Copy link
Owner

miraclx commented Aug 8, 2023

You're on a MacBook Pro, so I suspect you used brew to download atomicparsley.

There's a standing issue that causes buffer overflows currently.

See #437 (comment)

@miraclx
Copy link
Owner

miraclx commented Aug 19, 2023

Closing as resolved.

@miraclx miraclx closed this as completed Aug 19, 2023
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