Mostly AFK

  • 9 Posts
  • 20 Comments
Joined 6 years ago
cake
Cake day: October 16th, 2019

help-circle



  • If chapters are available for the video, yt-dlp has a command line argument that will split the video into different files, one for each chapter. Quoting a reddit comment:

    you need ffmpeg.
    how to convert to mp3: wiki
    split chapters: --split-chapters
    example naming files after chapters: -o "chapter:%(section_number)s %(section_title)s.%(ext)s"
    available chapter variables:

    section_title (string): Title of the chapter
    section_number (numeric): Number of the chapter within the file
    section_start (numeric): Start time of the chapter in seconds
    section_end (numeric): End time of the chapter in seconds
    

    as i recall, i don’t use this myself, it will also keep the original file, which naming depends on the regular -o (use in addition to the -o line with chapter:)

    --split-chapters will also work with the timestamps mentioned in the description















  • Especially since they are aiming the service to improve sign-up reliability in countries that block telegram

    It’s mainly to offload the cost of sending verification codes via sms to users, which is one of the costs that Telegram wants to cut. As far as I remember, it amounts to, like, 7% of all their annual expenses (I will source this later). A couple of years ago they decided not to send sms verification codes when you sign in from a third-party app, and just send the code to active session. This sounds like recipe for moderation headaches and privacy disasters, but also good way to boost their premium metrics :)