youtube-mp3-downloader
Advanced tools
Comparing version 0.7.4 to 0.7.5
@@ -140,2 +140,5 @@ 'use strict'; | ||
const audioBitrate = | ||
info.formats.find(format => !!format.audioBitrate).audioBitrate | ||
//Start encoding | ||
@@ -145,3 +148,3 @@ const proc = new ffmpeg({ | ||
}) | ||
.audioBitrate(info.formats[0].audioBitrate) | ||
.audioBitrate(audioBitrate || 192) | ||
.withAudioCodec('libmp3lame') | ||
@@ -148,0 +151,0 @@ .toFormat('mp3') |
{ | ||
"name": "youtube-mp3-downloader", | ||
"version": "0.7.4", | ||
"version": "0.7.5", | ||
"description": "Downloads Youtube videos (in parallel, as streams), encodes the audio data as mp3 and stores them in a defineable location", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
15593
179