New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

little-media-box

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

little-media-box - npm Package Compare versions

Comparing version 0.0.7 to 0.1.0

2

example/basic-delivery/index.js
const { Delivery, Source } = require('../../.')
const uri = 'http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_60fps_normal.mp4'
const uri = 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4'

@@ -5,0 +5,0 @@ const delivery = new Delivery()

@@ -6,3 +6,3 @@ const { Source, AudioTrack, VideoTrack, createDemuxStream } = require('../../.')

const uri = 'http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_60fps_normal.mp4'
const uri = 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4'
const source = new Source(uri)

@@ -9,0 +9,0 @@ const outputs = []

@@ -8,3 +8,3 @@ const { Source, demux } = require('../../.')

const uri = 'http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_60fps_normal.mp4'
const uri = 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4'
const source = new Source(uri)

@@ -45,6 +45,2 @@

console.log('> probe: format: %s', probe.format.format_long_name)
console.log('> probe: format: %s', probe.format.tags.comment)
console.log('> probe: format: %s - %s',
probe.format.tags.title,
probe.format.tags.artist)

@@ -51,0 +47,0 @@ const progress = new Progress(`> demux: [:timecode] (:frames/:nb_frames frames) (:rate fps) [:bar] :percent`, {

@@ -5,3 +5,3 @@ const prettyBytes = require('pretty-bytes')

const uri = 'http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_60fps_normal.mp4'
const uri = 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4'
const source = new Source(uri)

@@ -8,0 +8,0 @@ source.open((err) => {

const { mux, demux, Source } = require('../../.')
const path = require('path')
const uri = 'http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_60fps_normal.mp4'
const uri = 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4'
const filename = 'video.mkv'

@@ -6,0 +6,0 @@ const subtitles = path.resolve(__dirname, 'subtitles.srt')

const { Source, VideoTrack, AudioTrack } = require('../../.')
const path = require('path')
const uri = 'http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_60fps_normal.mp4'
const uri = 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4'
const source = new Source(uri)

@@ -6,0 +6,0 @@ const video = VideoTrack.from(source)

@@ -7,3 +7,3 @@ const ffmpeg = require('fluent-ffmpeg')

*/
const FFPROBE_BIN_PATH = require('ffprobe-static').path
const { FFPROBE_BIN_PATH = require('ffmpeg-ffprobe-static').ffprobePath } = process.env

@@ -14,3 +14,3 @@ /**

*/
const FFMPEG_BIN_PATH = require('ffmpeg-static').path
const { FFMPEG_BIN_PATH = require('ffmpeg-static') } = process.env

@@ -17,0 +17,0 @@ // initial configuration for `ffmpeg` and `ffprobe` binary paths

{
"name": "little-media-box",
"version": "0.0.7",
"version": "0.1.0",
"description": "",

@@ -16,4 +16,4 @@ "main": "index.js",

"debug": "^4.1.1",
"ffmpeg-static": "^2.7.0",
"ffprobe-static": "^3.0.0",
"ffmpeg-ffprobe-static": "^4.3.1-rc.6",
"ffmpeg-static": "^4.2.7",
"fluent-ffmpeg": "^2.1.2",

@@ -20,0 +20,0 @@ "get-uri": "^2.0.4",

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