little-media-box
Advanced tools
Comparing version 0.0.7 to 0.1.0
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", |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
2713920
3420
8
+ Added@derhuerst/http-basic@8.2.4(transitive)
+ Added@types/node@10.17.60(transitive)
+ Added@yarnpkg/lockfile@1.1.0(transitive)
+ Addedagent-base@6.0.2(transitive)
+ Addedat-least-node@1.0.0(transitive)
+ Addedbraces@3.0.3(transitive)
+ Addedbuffer-from@1.1.2(transitive)
+ Addedcaseless@0.12.0(transitive)
+ Addedci-info@2.0.0(transitive)
+ Addedconcat-stream@2.0.0(transitive)
+ Addedcross-spawn@6.0.6(transitive)
+ Addedenv-paths@2.2.1(transitive)
+ Addedffmpeg-ffprobe-static@4.3.1-rc.6(transitive)
+ Addedffmpeg-static@4.4.1(transitive)
+ Addedfill-range@7.1.1(transitive)
+ Addedfind-yarn-workspace-root@2.0.0(transitive)
+ Addedfs-extra@9.1.0(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedhttp-response-object@3.0.2(transitive)
+ Addedhttps-proxy-agent@5.0.1(transitive)
+ Addedis-ci@2.0.0(transitive)
+ Addedis-docker@2.2.1(transitive)
+ Addedis-number@7.0.0(transitive)
+ Addedis-wsl@2.2.0(transitive)
+ Addedjsonfile@6.1.0(transitive)
+ Addedklaw-sync@6.0.0(transitive)
+ Addedmicromatch@4.0.8(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addednice-try@1.0.5(transitive)
+ Addedopen@7.4.2(transitive)
+ Addedos-tmpdir@1.0.2(transitive)
+ Addedparse-cache-control@1.0.1(transitive)
+ Addedpatch-package@6.5.1(transitive)
+ Addedpath-key@2.0.1(transitive)
+ Addedpicomatch@2.3.1(transitive)
+ Addedprogress@2.0.3(transitive)
+ Addedreadable-stream@3.6.2(transitive)
+ Addedrimraf@2.7.1(transitive)
+ Addedsemver@5.7.2(transitive)
+ Addedshebang-command@1.2.0(transitive)
+ Addedshebang-regex@1.0.0(transitive)
+ Addedslash@2.0.0(transitive)
+ Addedtmp@0.0.33(transitive)
+ Addedto-regex-range@5.0.1(transitive)
+ Addedtypedarray@0.0.6(transitive)
+ Addeduniversalify@2.0.1(transitive)
+ Addedyaml@1.10.2(transitive)
- Removedffprobe-static@^3.0.0
- Removedffmpeg-static@2.7.0(transitive)
- Removedffprobe-static@3.1.0(transitive)
Updatedffmpeg-static@^4.2.7