Skip to content
This repository was archived by the owner on Aug 14, 2024. It is now read-only.

Merged with the main repo and added typescript #1

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
48b112b
Add license scan report and status
fossabot Nov 14, 2017
bbfdf92
Merge branch 'master' into master
xedsvg May 9, 2019
22db625
Merge pull request #772 from fossabot/master
xedsvg May 9, 2019
a9ebbd3
Clear process timeout timer when command completes
c24w Jul 9, 2019
d74149d
Merge pull request #920 from c24w/master
njoyard Jul 11, 2019
9ed900f
remove unused code
riophae Aug 5, 2019
efca49f
small tweak on `run()` method
riophae Aug 6, 2019
04a404a
updated node version to 12
adityapatadia Aug 17, 2019
d3953b0
Hide ffprobe console in windows
tony-0tis Sep 17, 2019
99df291
Hide ffmpeg,renice,flvtool console window on windows
tony-0tis Sep 17, 2019
ac38adc
Fixing Bug resolve "./lib-cov/fluent-ffmpeg"
flibustier Sep 18, 2019
473436b
Little change for fix pull request test
tony-0tis Sep 29, 2019
299b9f5
update travis.yml
olingern Oct 18, 2019
72dc3ab
Merge pull request #956 from olingern/fix-build
njoyard Oct 18, 2019
cc6adfc
Merge branch 'master' into patch-1
njoyard Oct 18, 2019
712a117
Merge branch 'master' into 8ai-patch-1
tony-0tis Oct 18, 2019
e507214
Merge branch 'master' into patch-1
njoyard Oct 18, 2019
89e1548
Merge pull request #945 from flibustier/patch-1
njoyard Oct 18, 2019
0467062
Merge branch 'master' into fix-run-method
njoyard Oct 18, 2019
7e3e3d4
Merge pull request #943 from 8ai/8ai-patch-1
njoyard Oct 18, 2019
44ee322
Merge pull request #937 from adityapatadia/patch-1
njoyard Oct 18, 2019
5b8620d
Merge pull request #929 from riophae/cleanup
njoyard Oct 18, 2019
dc826c4
Merge pull request #931 from riophae/fix-run-method
njoyard Oct 18, 2019
27f79a5
ffprobe: added EOF to the list of ignored errors
Feb 10, 2020
1266709
Merge pull request #985 from lmancel/patch-1
xedsvg Apr 3, 2020
777fde7
add example any-to-mp4-steam.js
ArturAralin May 1, 2020
68d5c94
Merge pull request #1007 from ArturAralin/mp4-stream-to-stream-example
njoyard Jan 13, 2021
183a12d
Changed version and scope
AndreiNet Apr 13, 2021
27a387d
Added typescript definitions
AndreiNet Apr 13, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@


before_install:
- sudo add-apt-repository ppa:sauce/ppa -y
- sudo apt-get update -q
- sudo apt-get install flvtool2 -y
matrix:
- gem install flvtool2

jobs:
include:
- os: linux
env: NODE_VERSION=8
- os: linux
env: NODE_VERSION=10
- os: linux
env: NODE_VERSION=11
env: NODE_VERSION=12

script:
- tools/test-travis.sh

addons:
apt:
packages:
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Fluent ffmpeg-API for node.js [![Build Status](https://secure.travis-ci.org/fluent-ffmpeg/node-fluent-ffmpeg.svg?branch=master)](http://travis-ci.org/fluent-ffmpeg/node-fluent-ffmpeg)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ffluent-ffmpeg%2Fnode-fluent-ffmpeg.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Ffluent-ffmpeg%2Fnode-fluent-ffmpeg?ref=badge_shield)

> **Fluent-ffmpeg is looking for new maintainers**
> More details [on the wiki](https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/wiki/Looking-for-a-new-maintainer)
Expand Down Expand Up @@ -1487,3 +1488,6 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ffluent-ffmpeg%2Fnode-fluent-ffmpeg.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Ffluent-ffmpeg%2Fnode-fluent-ffmpeg?ref=badge_large)
16 changes: 16 additions & 0 deletions examples/any-to-mp4-steam.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// The solution based on adding -movflags for mp4 output
// For more movflags details check ffmpeg docs
// https://ffmpeg.org/ffmpeg-formats.html#toc-Options-9

var fs = require('fs');
var path = require('path');
var ffmpeg = require('../index');

var pathToSourceFile = path.resolve(__dirname, '../test/assets/testvideo-169.avi');
var readStream = fs.createReadStream(pathToSourceFile);
var writeStream = fs.createWriteStream('./output.mp4');

ffmpeg(readStream)
.addOutputOptions('-movflags +frag_keyframe+separate_moof+omit_tfhd_offset+empty_moov')
.format('mp4')
.pipe(writeStream);
Loading