Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ffmpeg-probe

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ffmpeg-probe - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

.editorconfig

2

package.json
{
"name": "ffmpeg-probe",
"version": "1.0.1",
"version": "1.0.2",
"description": "Wrapper around ffprobe for getting info about media files.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -19,11 +19,13 @@ # ffmpeg-probe

const ffmpeg = require('fluent-ffmpeg')
const ffmpegProbe = require('ffmpeg-probe')
const probe = require('ffmpeg-probe')
const info = await ffmpegProbe('input.mp4')
const info = await probe('input.mp4')
console.log(`size=${info.width}x${info.height}px duration=${info.duration}ms`)
// => size=640x360 duration=4000ms
console.log(info.streams) // extra ffprobe details
// => array of ffprobe streams info (verbose)
// info = {
// width: 640,
// height: 360,
// duration: 4000,
// streams: [ ... ],
// format: { ... }
// }
```

@@ -30,0 +32,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc