Skip to content

Commit

Permalink
Stop skipping of all frames in MTS video
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasdotcom committed Nov 14, 2024
1 parent 11403ab commit 1e651dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions server/src/services/media.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ describe(MediaService.name, () => {
'/original/path.ext',
'upload/thumbs/user-id/as/se/asset-id-preview.jpeg',
expect.objectContaining({
inputOptions: ['-skip_frame nointra', '-sws_flags accurate_rnd+full_chroma_int'],
inputOptions: ['-sws_flags accurate_rnd+full_chroma_int'],
outputOptions: [
'-fps_mode vfr',
'-frames:v 1',
Expand Down Expand Up @@ -438,7 +438,7 @@ describe(MediaService.name, () => {
'/original/path.ext',
'upload/thumbs/user-id/as/se/asset-id-preview.jpeg',
expect.objectContaining({
inputOptions: ['-skip_frame nointra', '-sws_flags accurate_rnd+full_chroma_int'],
inputOptions: ['-sws_flags accurate_rnd+full_chroma_int'],
outputOptions: [
'-fps_mode vfr',
'-frames:v 1',
Expand Down Expand Up @@ -475,7 +475,7 @@ describe(MediaService.name, () => {
'/original/path.ext',
'upload/thumbs/user-id/as/se/asset-id-preview.jpeg',
expect.objectContaining({
inputOptions: ['-skip_frame nointra', '-sws_flags accurate_rnd+full_chroma_int'],
inputOptions: ['-sws_flags accurate_rnd+full_chroma_int'],
outputOptions: [
'-fps_mode vfr',
'-frames:v 1',
Expand Down
2 changes: 1 addition & 1 deletion server/src/utils/media.ts
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ export class ThumbnailConfig extends BaseConfig {
}

getBaseInputOptions(): string[] {
return ['-skip_frame nointra', '-sws_flags accurate_rnd+full_chroma_int'];
return ['-sws_flags accurate_rnd+full_chroma_int'];
}

getBaseOutputOptions() {
Expand Down

0 comments on commit 1e651dc

Please sign in to comment.