Code review fixes

This commit is contained in:
Vanilagy
2026-04-16 17:43:12 +02:00
parent aadfa77489
commit b85ecd3109
13 changed files with 253 additions and 44 deletions
+4 -1
View File
@@ -117,11 +117,14 @@ const input = createInputFrom(file, ALL_FORMATS);
const duration = await input.computeDuration(); // in seconds
const videoTrack = await input.getPrimaryVideoTrack();
const audioTrack = await input.getPrimaryAudioTrack();
const displayWidth = await videoTrack.getDisplayWidth();
const displayHeight = await videoTrack.getDisplayHeight();
const { rotation } = videoTrack;
const rotation = await videoTrack.getRotation();
const sampleRate = await audioTrack.getSampleRate();
const numberOfChannels = await audioTrack.getNumberOfChannels();
const { title, artist, album } = await input.getMetadataTags();
```