Skip to content
This repository has been archived by the owner on Dec 23, 2022. It is now read-only.

Adding non-video/audio/subtitle streams does not work for Matroska #148

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 6 additions & 5 deletions lib/classes/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -771,11 +771,12 @@ class Video {
});
});

// Other streams (Attachments: fonts, pictures, etc.)
_.each(_self.streams.otherStreams, function(stream, i) {
_self.ffmpegCommand.outputOptions('-map', stream.input + ':' + stream.index);
_self.encoder.logger.debug('Other stream', stream.input + ':' + stream.index, 'mapped.');
});
// "Only audio, video, and subtitles are supported for matroska"
// // Other streams (Attachments: fonts, pictures, etc.)
// _.each(_self.streams.otherStreams, function (stream, i) {
// _self.ffmpegCommand.outputOptions('-map', stream.input + ':' + stream.index);
// _self.encoder.logger.debug('Other stream', stream.input + ':' + stream.index, 'mapped.');
// });

resolve();
});
Expand Down