Skip to content

Commit

Permalink
v3.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
oleh-poberezhets committed May 1, 2022
1 parent ed3a7b9 commit 15ced8f
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

### 3.0.3

- Fix url in FFmpeg commands.

### 3.0.1

- Fix problem with [librtmp](https://linux.die.net/man/3/librtmp) style URL parameters.
Expand Down
1 change: 1 addition & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
MIT License

Copyright (c) 2017-2022 Oleh Poberezhets <[email protected]>
Copyright (c) 2017-2018 Dmitry Menshikov <[email protected]>
Copyright (c) 2017-2018 Alexandr Lisovenko <[email protected]>
Copyright (c) 2017-2018 Eduard Bondarenko <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "video-quality-tools",
"version": "3.0.1",
"version": "3.0.3",
"description": "Set of tools to evaluate video stream quality.",
"main": "index.js",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion src/FramesMonitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ class FramesMonitor extends EventEmitter {
args.push('-analyzeduration', analyzeDuration);
}

args.push('-i', `"${this._url}"`);
args.push('-i', this._url);

try {
return spawn(ffprobePath, args);
Expand Down
2 changes: 1 addition & 1 deletion src/StreamsInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class StreamsInfo {
commandArgs.push('-analyzeduration', analyzeDuration);
}

commandArgs.push('-rw_timeout', timeout, '-show_streams', '-print_format json', '-i', `"${this._url}"`);
commandArgs.push('-rw_timeout', timeout, '-show_streams', '-print_format json', '-i', this._url);

return promisify(exec)(commandArgs.join(' '));
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/FramesMonitor/_runShowFramesProcess.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function getSpawnArguments(url, timeoutInMs, analyzeDurationInMs, errorLevel) {
args.push('-analyzeduration', analyzeDurationInMs * 1000);
}

args.push('-i', `"${url}"`);
args.push('-i', url);

return args;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/StreamsInfo/_runShowStreamsProcess.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function getExecCommand(ffprobePath, timeout, analyzeDuration, url) {
commandArgs.push('-analyzeduration', analyzeDuration);
}

commandArgs.push('-rw_timeout', timeout, '-show_streams', '-print_format json', '-i', `"${url}"`);
commandArgs.push('-rw_timeout', timeout, '-show_streams', '-print_format json', '-i', url);

return commandArgs.join(' ');
}
Expand Down

0 comments on commit 15ced8f

Please sign in to comment.