• 2 Posts
  • 9 Comments
Joined 2 years ago
cake
Cake day: July 23rd, 2023

help-circle

  • If it wasn’t on your phone, I would point to yt-dlp: simply type yt-dlp -F <Youtube URL> to list the available formats, then yt-dsp -f <format ID> <Youtube URL> to download the audio in the format of your choice:

    E.g.:

    $ yt-dlp -F https://youtu.be/xWUCsE4IM_c
    [youtube] Extracting URL: https://youtu.be/xWUCsE4IM_c
    [youtube] xWUCsE4IM_c: Downloading webpage
    [youtube] xWUCsE4IM_c: Downloading ios player API JSON
    [youtube] xWUCsE4IM_c: Downloading android player API JSON
    [youtube] xWUCsE4IM_c: Downloading player 6e1dd460
    WARNING: [youtube] xWUCsE4IM_c: Signature extraction failed: Some formats may be missing
    [youtube] xWUCsE4IM_c: Downloading m3u8 information
    [info] Available formats for xWUCsE4IM_c:
    ID  EXT   RESOLUTION FPS CH │   FILESIZE   TBR PROTO │ VCODEC          VBR ACODEC      ABR ASR MORE INFO
    ───────────────────────────────────────────────────────────────────────────────────────────────────────────────
    sb2 mhtml 48x27        0    │                  mhtml │ images                                  storyboard
    sb1 mhtml 80x45        0    │                  mhtml │ images                                  storyboard
    sb0 mhtml 160x90       0    │                  mhtml │ images                                  storyboard
    233 mp4   audio only        │                  m3u8  │ audio only          unknown             Default
    234 mp4   audio only        │                  m3u8  │ audio only          unknown             Default
    139 m4a   audio only      23.16MiB   49k https │ audio only          mp4a.40.5   49k 22k low, m4a_dash
    140 m4a   audio only      28.38MiB  129k https │ audio only          mp4a.40.2  129k 44k medium, m4a_dash
    269 mp4   256x144     25    │ ~ 11.11MiB  172k m3u8  │ avc1.4D400C    172k video only
    160 mp4   256x144     254.08MiB   63k https │ avc1.4D400C     63k video only          144p, mp4_dash
    230 mp4   640x360     25    │ ~ 51.95MiB  803k m3u8  │ avc1.4D401E    803k video only
    134 mp4   640x360     2513.88MiB  215k https │ avc1.4D401E    215k video only          360p, mp4_dash
    605 mp4   640x360     25    │ ~ 37.67MiB  582k m3u8  │ vp09.00.21.08  582k video only
    232 mp4   1280x720    25    │ ~166.26MiB 2569k m3u8  │ avc1.4D401F   2569k video only
    136 mp4   1280x720    2552.13MiB  806k https │ avc1.4D401F    806k video only          720p, mp4_dash
    270 mp4   1920x1080   25    │ ~306.16MiB 4730k m3u8  │ avc1.640028   4730k video only
    137 mp4   1920x1080   25159.35MiB 2462k https │ avc1.640028   2462k video only          1080p, mp4_dash
    
    $ yt-dlp -f 140 https://youtu.be/xWUCsE4IM_c
    [youtube] Extracting URL: https://youtu.be/xWUCsE4IM_c
    [youtube] xWUCsE4IM_c: Downloading webpage
    [youtube] xWUCsE4IM_c: Downloading ios player API JSON
    [youtube] xWUCsE4IM_c: Downloading android player API JSON
    [youtube] xWUCsE4IM_c: Downloading player 6e1dd460
    WARNING: [youtube] xWUCsE4IM_c: Signature extraction failed: Some formats may be missing
    [youtube] xWUCsE4IM_c: Downloading m3u8 information
    [info] xWUCsE4IM_c: Downloading 1 format(s): 140
    



  • Isn’t it the same as tuning?

    Although it’s unclear what tuning is because it depends on who says it:

    • It does mean doing modifications to a vehicle for actual performance improvements
    • It’s used extensively by ricers to describe themselves and their hobby and they think it’s a positive term
    • It’s used extensively by people who dislike ricing and most definitely as a derogatory term

    Yet for all its faults, I believe that’s the closest word to ricing you’ll find that is universally understood, neutral and isn’t rendered hopelessly bland and meaningless by the process of political correctness newspeak.


  • A lot of those BT adapters are cheap shit. Like the aforementioned RTL8821CE: it’s a nasty hack to do wifi and BT using a single 2.4 GHz transponder. But here’s the thing: however bad they are, they’re made to work well in Windows - possibly with a lot of awful engineering shortcuts and hackery, but in the end, Windows users will never know and that’s the point.

    When open-source developers try to make equivalent Linux drivers without documentation or help from the manufacturer, reverse-engineering their way around the general crappiness of the products, you get… well, not very good drivers. And it really is nobody’s fault but the unhelpful adapter’s manufacturer.

    So there is that, and the general bugginess on BlueZ on top of it.


  • My experience with Bluetooth support in Linux is: you’re either using one of the very few problem-free BT controllers and it works okay most of the time, or you have more or less problems all of the time.

    The least problematic controllers I own are ASUS USB-BT500. The most problematic are ASUS USB-BT400 and Realtek RTL8821CE.

    The state of Bluetooth in Linux is completely terrible, it has been for many, many years and it’s hardly getting any better. Bluez, like Pulseaudio, needs to die, and sooner rather than later.





  • Aah yes, appimage, flatpak, snaps, progressive web apps, electron apps… The cross-compatibility of the lazy 21st century developer, where a simple IRC-like chat client comes with an entire operating system or an entire browser (which itself is an entire operating system too nowadays), takes up half a gig of disk space, and starts up in over 10 seconds with a multi-gigahertz multicore CPU.

    Just perfect…