Skip to content

Commit

Permalink
Update downloader.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeANi-SHILIX committed Aug 2, 2023
1 parent 8628ab4 commit a265dfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helpers/downloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ export async function downloadTYoutubeVideo(jid, videoId) {
console.log("converting from opus to ogg...")
// convert to ogg
ffmpeg(filename + ".opus")
.audioCodec('opus')
//.audioCodec('libopus')
//.audioCodec('opus')
.audioCodec('libopus')
.toFormat('ogg')
.addOutputOptions('-avoid_negative_ts make_zero')
.on('error', (err) => {
Expand Down

0 comments on commit a265dfb

Please sign in to comment.