Open d8bhatta opened 7 years ago
Hello, I have used following script to convert wav to mp3: var audioConverter = require("audio-converter"); audioConverter("path/to/waves", "path/to/output", { progressBar: true }).then(function() { console.log("Done!"); }); All the files are replicated to targeted folder but all they are zero bytes, $ ls -al mp3audio/ total 16 drwxrwxrwx 33 deepak staff 1122 Sep 6 09:57 . drwxrwxrwx 18 deepak staff 612 Sep 6 09:56 .. -rw-r--r--@ 1 deepak staff 6148 Sep 5 16:53 .DS_Store -rw-r--r-- 1 deepak staff 0 Sep 6 09:57 20170831211532.mp3 -rw-r--r-- 1 deepak staff 0 Sep 6 09:57 20170831214051.mp3 -rw-r--r-- 1 deepak staff 0 Sep 6 09:57 20170831214431.mp3 -rw-r--r-- 1 deepak staff 0 Sep 6 09:57 20170831215510.mp3 -rw-r--r-- 1 deepak staff 0 Sep 6 09:57 20170831224546.mp3 -rw-r--r-- 1 deepak staff 0 Sep 6 09:57 20170831224738.mp3
var audioConverter = require("audio-converter"); audioConverter("path/to/waves", "path/to/output", { progressBar: true }).then(function() { console.log("Done!"); });
here is sox installed path: $ which sox /usr/local/bin/sox
Can you please suggest why its only zero bytes.
I'm not sure what would cause this issue. Have you tried converting any of the files with sox manually? Try running sox path/to/file.wax path/to/output.mp3.
sox path/to/file.wax path/to/output.mp3
Hello, I have used following script to convert wav to mp3:
var audioConverter = require("audio-converter"); audioConverter("path/to/waves", "path/to/output", { progressBar: true }).then(function() { console.log("Done!"); });
All the files are replicated to targeted folder but all they are zero bytes, $ ls -al mp3audio/ total 16 drwxrwxrwx 33 deepak staff 1122 Sep 6 09:57 . drwxrwxrwx 18 deepak staff 612 Sep 6 09:56 .. -rw-r--r--@ 1 deepak staff 6148 Sep 5 16:53 .DS_Store -rw-r--r-- 1 deepak staff 0 Sep 6 09:57 20170831211532.mp3 -rw-r--r-- 1 deepak staff 0 Sep 6 09:57 20170831214051.mp3 -rw-r--r-- 1 deepak staff 0 Sep 6 09:57 20170831214431.mp3 -rw-r--r-- 1 deepak staff 0 Sep 6 09:57 20170831215510.mp3 -rw-r--r-- 1 deepak staff 0 Sep 6 09:57 20170831224546.mp3 -rw-r--r-- 1 deepak staff 0 Sep 6 09:57 20170831224738.mp3here is sox installed path: $ which sox /usr/local/bin/sox
Can you please suggest why its only zero bytes.