kopia lustrzana https://github.com/mifi/lossless-cut
Fix for TS with unknown streams #170
rodzic
b4dc0877d9
commit
73482bdf52
|
@ -78,6 +78,7 @@ async function cut({
|
|||
];
|
||||
|
||||
const rotationArgs = rotation !== undefined ? ['-metadata:s:v:0', `rotate=${rotation}`] : [];
|
||||
|
||||
const ffmpegArgs = [
|
||||
...inputCutArgs,
|
||||
|
||||
|
@ -89,6 +90,9 @@ async function cut({
|
|||
...(includeAllStreams ? ['-map', '0'] : []),
|
||||
'-map_metadata', '0',
|
||||
|
||||
// See https://github.com/mifi/lossless-cut/issues/170
|
||||
'-ignore_unknown',
|
||||
|
||||
...rotationArgs,
|
||||
|
||||
'-f', format, '-y', outPath,
|
||||
|
|
Ładowanie…
Reference in New Issue