Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

ffprobe throws error for portrait videos on Windows #404

Open
@ghost

Description

var def = deferred();
ffmpeg.ffprobe(zpath, function (err, metadata) {
     if (err) return def.promise.emit('error', err);
     def.promise.emit('done', metadata);
});
return def.promise;

This works for landscape videos but fails for portrait videos.

Error:
[TypeError: Object.keys called on non-object]

This also breaks 'screenshots' method as it uses ffprobe.

Node Verison: "fluent-ffmpeg": "^2.0.1",

FFMPEG Version:
This is a FFmpeg Win64 static build by Kyle Schwarz.
Zeranoe's FFmpeg Builds Home Page: http://ffmpeg.zeranoe.com/builds/
FFmpeg version: 2015-05-21 git-0b9d636

Is this a Windows only issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions