-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
organize transcoding parameters in config files
- Loading branch information
1 parent
8bef342
commit 8d84d77
Showing
11 changed files
with
71 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
return [ | ||
'-hwaccel', 'cuda', | ||
'-hwaccel_output_format','cuda', | ||
'-extra_hw_frames', env('TRANSMORPHER_VIDEO_DECODER_NVIDIA_HWFRAMES', 10), | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
return [ | ||
// -omit data streams (e.g. timecodes). Transcoding sometimes failed when data streams were not omitted. | ||
'-dn', | ||
//omit attachments (e.g. metadata files). Metadata should not be publicly available. | ||
'-map', '-0:t?', | ||
// omit subtitles. Subtitles would need an encoder configuration for DASH, and possibly HLS. | ||
'-sn', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
return [ | ||
// -omit data streams (e.g. timecodes). Transcoding sometimes failed when data streams were not omitted. | ||
'-dn', | ||
//omit attachments (e.g. metadata files). Metadata should not be publicly available. | ||
'-map', '-0:t?', | ||
// omit subtitles. Subtitles would need an encoder configuration for DASH, and possibly HLS. | ||
'-sn', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
return [ | ||
'-preset', env('TRANSMORPHER_VIDEO_ENCODER_NVIDIA_PRESET', 'p4'), | ||
// -omit data streams (e.g. timecodes). Transcoding sometimes failed when data streams were not omitted. | ||
'-dn', | ||
//omit attachments (e.g. metadata files). Metadata should not be publicly available. | ||
'-map', '-0:t?', | ||
// omit subtitles. Subtitles would need an encoder configuration for DASH, and possibly HLS. | ||
'-sn', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
return [ | ||
'-preset', env('TRANSMORPHER_VIDEO_ENCODER_NVIDIA_PRESET', 'p4'), | ||
// -omit data streams (e.g. timecodes). Transcoding sometimes failed when data streams were not omitted. | ||
'-dn', | ||
//omit attachments (e.g. metadata files). Metadata should not be publicly available. | ||
'-map', '-0:t?', | ||
// omit subtitles. Subtitles would need an encoder configuration for DASH, and possibly HLS. | ||
'-sn', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters