[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]

/jp/ - Otaku Culture

Search:


View post   

>> No.39760145 [View]
File: 193 KB, 1080x2039, muzac.png [View same] [iqdb] [saucenao] [google]
39760145

>>39744467
>>39744665
>I really just want that last ASMR on my phone to use for sleep.
I jog to a lot of music that's only posted on NND, so I have an automated process for losslessly ripping audio from NND videos to my PC, laptop, and phones. The process below can just be done manually for each video.

If you link me the NND video specifically, I should be able to make an M4A for you.

- - -

I use what >>39744656 does. There are technically several forkes with NND fixes, but the most complete and updated is currently yt-dlp:
https://github.com/yt-dlp/yt-dlp

Since it has login and mylist support, I make mylists while browsing, then use a "cookies.txt" file created though a browser extension (google "cookies.txt [your browser]") . I then feed it into yt-dlp with the "--cookies" flag to be able to see all my private mylists and get max quality. If you don't use mylists or have premium it's probably not needed, but I find it convenient for bookmarking stuff as I see it.

I then run something like the following one-liner in the top directory containing the videos to rip the AAC audio from the MP4 to an M4A container:
https://pastebin.com/c13EyHPp
It should give you something like the following:
https://pastebin.com/whhuCXmN

To get these files from my PC directory to a directory on my phone without having to move them manually, I use Syncthing. Great tool for automatically syncing your data across devices regardless:
https://syncthing.net/
https://files.catbox.moe/yvwt4u.png
So every time I have new files to be converted from the master directory, I just run that conversion one-liner again, it skips the files which already exist, and it is then synced automatically with my phone when it is using wifi (run condition can be configured otherwise).

Finally, to play the music and make playlists I use a FOSS player called Odyssey:
https://f-droid.org/en/packages/org.gateshipone.odyssey/
Any decent player that can handle M4A containers should work as well. If that fails you can also try outputting the file in ffmpeg as an ".aac" rather than a ".m4a", though the audio may lose seeking depending on the player.

Hope that helps.

Navigation
View posts[+24][+48][+96]