Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Denis/testing2 #14

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions injector.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* HLS Metadata Injector (c) 2015 Denis Mysenko
*/

$packetSize = 188;
// 90Khz for MPEG TS
$packetSize = 188;
// 90Khz for MPEG TS
$clockFrequency = 90000;
$debug = false;
// 10 megabytes – if the input file is smaller, load it into RAM fully
Expand Down Expand Up @@ -667,7 +667,7 @@ function modifyFramePMT($originalFrame, $metastreamID = null) {
$legend = "HLS Injector by Denis Mysenko\nSyntax: " . $argv[0] . " -i filename -m mode [-o filename] [-d]";
$legend .= "\n\n\t\t-i filename\tinput file (MPEG TS format)\n";
$legend .= "\t\t-m mode\t\tchoose 'analyze' or 'inject'\n";
$legend .= "\t\t-o filename\toutput filename in case of 'inject' mode\n";
$legend .= "\t\t-o filename\toutput teasdasd in case of 'inject' mode\n";
$legend .= "\t\t-e filename\twith with timed metadata (see README for format)\n";
$legend .= "\t\t--metastart N\tstart CC for metadata stream from this number\n";
$legend .= "\t\t-d\t\tenable debug mode\n\n";
Expand Down