Skip to content

Commit

Permalink
Merge pull request #209 from l-atelier-des-chercheurs/embedding-stati…
Browse files Browse the repository at this point in the history
…c-ffmpeg-build

Embedding static ffmpeg build
  • Loading branch information
louis-ev authored Nov 26, 2016
2 parents 7d2c313 + 8e963a6 commit 96ed063
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/bin/dodoc-media.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ var slugg = require('slugg');
var merge = require('merge');

var mm = require('marky-mark');

var ffmpegstatic = require('ffmpeg-static');
var ffmpeg = require('fluent-ffmpeg');

// only load sharp if not in electron (need to find how to make it work eventually)
Expand All @@ -12,6 +14,8 @@ var sharp = require('sharp');
var dodoc = require('../dodoc');
var dodocAPI = require('./dodoc-api');

ffmpeg.setFfmpegPath(ffmpegstatic.path);

var dodocMedia = (function() {

const API = {
Expand Down
1 change: 1 addition & 0 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"download": "^3.3.0",
"express": "3.1.0",
"ffmpeg": "0.0.4",
"ffmpeg-static": "^2.0.0",
"flags": "^0.1.3",
"fluent-ffmpeg": "^2.1.0",
"fs-extra": "^0.18.0",
Expand Down

0 comments on commit 96ed063

Please sign in to comment.