consultingcas.blogg.se

Ffmpeg options discord
Ffmpeg options discord




ffmpeg options discord

  • Installing youtube_dl ( pip install youtube-dl) if you don't have it.
  • What you can do anycodings_discord.py is: You're already using youtube_dl (judging anycodings_discord.py by your ydl_opts var). Vc.play(discord.FFmpegPCMAudio('music.mp3'), after=lambda e: print('done', e)) Os.system("ffmpeg -i music.mp4 -map 0:a:0 -b:a 96k music.mp3")

    ffmpeg options discord

    Youtube = pytube.YouTube(str(song).strip("(,)'")) Thanks for any input! def play(ctx, *song):

    ffmpeg options discord

    I don't care much about smaller anycodings_discord code optimizations as this is just a small anycodings_discord bot for a few friends and me. How would I go anycodings_discord about streaming the audio directly into the anycodings_discord VC? I'm open to use youtube_dl in place of anycodings_discord pytube3. At the moment, the anycodings_discord command downloads the full song, converts anycodings_discord it, and then outputs it into a VC, but this anycodings_discord process is heavily slow. I have setup a music command anycodings_discord that downloads a song from YouTube and anycodings_discord outputs it into a VC. I have a discord.py bot setup in a small anycodings_discord server of mine.






    Ffmpeg options discord