Skip to content

Commit

Permalink
Switch back to taking video stills at t=1sec now that there is a fall…
Browse files Browse the repository at this point in the history
…back
  • Loading branch information
rprieto committed Jul 10, 2019
1 parent 73d0557 commit 0d3954c
Show file tree
Hide file tree
Showing 11 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ exports.still = function (source, target, options, callback) {

function extractFrame (source, target, callback) {
const args = ['-i', source, '-vframes', 1, '-y', target]
ffmpeg.exec(['-ss', '0.1'].concat(args), (err) => {
ffmpeg.exec(['-ss', '1'].concat(args), (err) => {
if (fs.existsSync(target)) {
callback(err)
} else {
Expand Down
Binary file modified test-data/expected/videos/countdown-bitrate.mp4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test-data/expected/videos/countdown-bitrate.webm.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test-data/expected/videos/countdown-poster.mp4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test-data/expected/videos/countdown-quality.mp4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test-data/expected/videos/countdown-quality.webm.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test-data/expected/videos/countdown-small.mp4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test-data/expected/videos/countdown-thumb.mp4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test-data/expected/videos/short.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test-data/expected/videos/short.webm.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test-data/expected/videos/single-frame.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0d3954c

Please sign in to comment.