bockwurstnacken
Member
Hey there,
my first post, so please be gentle . I'm using Sinusbot for a teamspeak server for friends of mine and myself.
OS : CentOS 7
CPU : Intel Q6600
RAM : DDR2-400 4096MB
I'm experiencing some weird laggy noises when using !yt or !ytdl. I get the error when playing this video, but not when i play this in teamspeak (its the same track). Hardware issues aswell as package loss or a wrong "SampleIntervall" can be rule out because I checked that with htop, and several tests. I stumpled upon something, which might explain it. All tracks i want to play with !yt/ytdl and which have this lag issue, are saved with the "Vorbis Audio" Codec (says vlc). Tracks which don't lag doesn't have this effect. So I looked at how videos are downloaded :
Something which bothers me is that -f bestaudio might save the audio in a bad format. Is it possible to say Sinusbot to use something else (I've got a fully functional ffmpeg environment installed) ? Why does Sinusbot even have problems with "Vorbis Audio"?
EDIT : When I download from the teamspeak3 server the !ytdl downloaded laggy audio, it's not lagging when played in vlc for instance.
Looking forward to some answers!
Best,
Bockwurstnacken
my first post, so please be gentle . I'm using Sinusbot for a teamspeak server for friends of mine and myself.
OS : CentOS 7
CPU : Intel Q6600
RAM : DDR2-400 4096MB
Code:
TS3Path = "/opt/ts3music/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
ListenHost = "0.0.0.0"
DataDir = ""
ListenPort = 8087
LocalPlayback = false
SecretKey = [...]
EnableLocalFS = false
LogLevel = 10
EnableProfiler = false
YoutubeDLPath = "/usr/bin/youtube-dl"
EnableDebugConsole = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
MTU = 1500
SampleInterval = 50
StartVNC = false
EnableMulticastMetadata = false
EnableWebStream = false
I'm experiencing some weird laggy noises when using !yt or !ytdl. I get the error when playing this video, but not when i play this in teamspeak (its the same track). Hardware issues aswell as package loss or a wrong "SampleIntervall" can be rule out because I checked that with htop, and several tests. I stumpled upon something, which might explain it. All tracks i want to play with !yt/ytdl and which have this lag issue, are saved with the "Vorbis Audio" Codec (says vlc). Tracks which don't lag doesn't have this effect. So I looked at how videos are downloaded :
Code:
/usr/bin/python2 /usr/bin/youtube-dl -f bestaudio -o /opt/ts3music/data/tmp/329efdf6c009f59d9ed0313acb95f97d --max-downloads 1 --max-filesize 400M --rate-limit 104857600 --no-playlist --write-info-json --write-thumbnail --no-call-home https://www.youtube.com/watch?v=P3Qhu9UQu10
Something which bothers me is that -f bestaudio might save the audio in a bad format. Is it possible to say Sinusbot to use something else (I've got a fully functional ffmpeg environment installed) ? Why does Sinusbot even have problems with "Vorbis Audio"?
EDIT : When I download from the teamspeak3 server the !ytdl downloaded laggy audio, it's not lagging when played in vlc for instance.
Looking forward to some answers!
Best,
Bockwurstnacken