🎥 Make videos programmatically with React
Check GIF video stream duration independently of audio padding
JonnyBurgerf65c63c1365e
diff --git a/packages/it-tests/src/rendering/rendering.test.ts b/packages/it-tests/src/rendering/rendering.test.tsindex 2b455c8313..594657145c 100644--- a/packages/it-tests/src/rendering/rendering.test.ts+++ b/packages/it-tests/src/rendering/rendering.test.ts@@ -534,7 +534,15 @@ test(const info = await RenderInternals.callFf({bin: 'ffprobe',- args: [outputPath],+ args: [+ '-select_streams',+ 'v:0',+ '-show_entries',+ 'stream=duration',+ '-of',+ 'json',+ outputPath,+ ],indent: false,logLevel: 'info',binariesDirectory: null,@@ -547,7 +555,7 @@ test(} else {expect(data).not.toContain('bt709');}- expect(data).toContain('Duration: 00:00:01.64');+ expect(Number(JSON.parse(info.stdout).streams[0].duration)).toBe(48 / 30);fs.unlinkSync(outputPath);},