Giter VIP home page Giter VIP logo

Comments (14)

th-ch avatar th-ch commented on May 14, 2024

Hey @Shnxxx, thanks for the feedback! The latest prerelease adds support for custom file extensions - using it, you can convert to opus with the following options (in Options > Advanced Options):


"downloader": {
    "enabled": true,
    "extension": "opus",
    "ffmpegArgs": [
        "-acodec",
        "libopus",
        "-b:a",
        "128000"
    ]
},

128000 is for 128kbits/s but you can set another bitrate - Feel free to give it a try!

Other audio formats are also possible by setting a different extension and custom FFmpeg options - a list of available encoders is available in ffmpegwasm/ffmpeg.wasm#61 (feel free to post in this issue if you need help for another format)

from youtube-music.

Shnxxx avatar Shnxxx commented on May 14, 2024

Thank you for your response! I used the code you have given and when I tried to download, I am only getting 0 KB files and is still in .mp3 extension. Any ideas?

image
image

from youtube-music.

th-ch avatar th-ch commented on May 14, 2024

Hey @Shnxxx, thanks for the feedback! Settings look good, have you restarted after changing the setting + are you using v1.8.1 (and not the latest v1.8.0)? You can check with About YouTube Music in the menu.
I had the same issue (0KB file) with 1.8.0, that's why I released v1.8.1 (and with "extension": "opus", your final file should be a .opus, not a .mp3).

If things are still the same, then it might be another issue worth investigating!

from youtube-music.

Shnxxx avatar Shnxxx commented on May 14, 2024

Thank you! After doing the fix last time, I looked at the release section but there is no new version so I did not change anything in the app except the configuration. Didn't notice there was a pre-release. My mistake 😅

The download works fine now! I am just wondering, does the download do is downloading the audio in .mp3 and converts it to .opus? If yes, is it possible to download the highest possible quality of the audio? Based on a web search, YouTube Music uses .aac @ 256Kbps. Is it possible to download that directly then convert to .opus?

Also, Is it possible to add more metadata on the audio I've downloaded? For example, I just downloaded U got that - Halogen and the filename was only U got that.opus. Also, when I looked at the details under properties of the file, there were no other details except the Name, Audio Sample rate, Length, Size, and Date. Or is it on the YouTube Music already? They don't include metadata?

One more thing, if you are a premium user of YouTube Music, which I am not, you can stream or download High Quality audio by setting it up the playback settings to High or Always High. When I tried it to the app, it is the same in the browser. Is it possible in the future to allow us to stream/download high-quality music with the app like a premium?

Thank you again! I still have lots of thoughts but I think it is too much for now. 😅

from youtube-music.

th-ch avatar th-ch commented on May 14, 2024

Hey @Shnxxx, thanks for the feedback! In latest version 1.9.0, all downloaded songs should now have the artist/title metadata!
Feel free to give it a try and update the issue if necessary!

from youtube-music.

Shnxxx avatar Shnxxx commented on May 14, 2024

Thank you @th-ch! I tried downloading a song and the metadata is there, it works great! But is it possible to modify how the app names the filename?
image

Is it possible to add the artist too? From 'Iris.opus' to 'Iris - Goo Goo Doll.opus'.

from youtube-music.

th-ch avatar th-ch commented on May 14, 2024

Hey @Shnxxx, thanks for the feedback!

I am just wondering, does the download do is downloading the audio in .mp3 and converts it to .opus? If yes, is it possible to download the highest possible quality of the audio?

About quality, the highest audio quality is downloaded (seems to be 160kb/s by default) and then converted to the format you configured (so you configured opus, no intermediary mp3).

Is it possible to add the artist too?

Sure! Added the artist - title file format in 37289b9, it will be available in the next version!

from youtube-music.

Crunklydunks avatar Crunklydunks commented on May 14, 2024

I figured rather than open a new issue I would just ask here - is there some way with the new options to have it not transcode at all, just save whatever the highest quality file is that YTM is serving up? It can of course be done using youtube-dl but I would love to be able to do it from within this app, it's so convenient. Thanks!

from youtube-music.

Richiev4 avatar Richiev4 commented on May 14, 2024

Hi All

Could someone tell me how to add the correct code to up bit rate on MP3s, My config looks like this but I don't know which arguments to change/add

Config

Many thanks
Richard

from youtube-music.

Araxeus avatar Araxeus commented on May 14, 2024

The bitrate you get is the maximum for free youtube :)

When you see youtube downloaders that gives you "320kbs" - its a lie

from youtube-music.

Richiev4 avatar Richiev4 commented on May 14, 2024

The bitrate you get is the maximum for free youtube :)

When you see youtube downloaders that gives you "320kbs" - its a lie

HI, I'm a Premium subscriber, can I get a higher bit rate?

Rich

from youtube-music.

Araxeus avatar Araxeus commented on May 14, 2024

HI, I'm a Premium subscriber, can I get a higher bit rate?

Theoretically, it's possible, but no one implemented that yet.

(I don't have a premium account and I didn't succeed in my few tries implementing this using cookie grabbing)

from youtube-music.

Richiev4 avatar Richiev4 commented on May 14, 2024

OK, Thanks for the info...I'll Wait, maybe it will happen

from youtube-music.

LeonDerDr avatar LeonDerDr commented on May 14, 2024

How do i use the ffmpegArgs to download m4a audio?

from youtube-music.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.