I want to catch the time when this "done" is outputted in the console, but I am not sure how to do this:
var cp = require('child_process');
cp.exec('avconv -strict experimental -i ' + filename + ' ' + tempname + ';' + ' echo done', function(err, stdout, stderr) {
    console.log(err);
    console.log(stdout);
    console.log(stderr);
});
Tried checking the stdout, but it just brings lots of information about the file.
avconv is a tool for converting files so my goal in here is to check when the converting is done and proceed further on.
