Closed azickri closed 1 month ago
Hello, i was trying execa with ffprobe for get video meta data. And i get response error Command was killed with SIGSEGV. Like in image.
Any solving from this error?
Spec VM:
My Code:
import * as execa from 'execa'; import * as ffprobe from '@ffprobe-installer/ffprobe'; private async isValidDuration(videoUrl: string) { try { if (!videoUrl) return true; const params = ['-v', 'error', '-show_format', '-show_streams']; const { stdout } = await execa(ffprobe.path, [...params, videoUrl]); const duration = stdout.match(/duration="?(\d*\.\d*)"?/)[1]; if (Number(duration) > 60) { return false; } return true; } catch (_) { return true; } }
Duplicate of #121
Hello, i was trying execa with ffprobe for get video meta data. And i get response error Command was killed with SIGSEGV. Like in image.
Any solving from this error?
Spec VM:
My Code: