54 Commits

Author SHA1 Message Date
Thom Shutt 343a3ddb37 Add an error return to makeStreamID to make issues explicit (#400)
* Add an error return to makeStreamID to make issues explicit

* Reinstate nil check
2024-05-28 08:02:57 +01:00
Thom Shutt 98566e26c0 Remove scene detection code (#377)
* Remove scene detection code

* Remove tensorflow from runner
2024-01-15 10:31:13 +00:00
Ivan Poleshchuk 8b5dca93fe lpms: Netint hardware support (#318)
* Netint hardware support

* make netcat flags depend on OS

* Self-review, cleanup, temporary disable some failing tests

* Uncomment signature test

* Support HEVC for Netint, refactor decoder selection

* Uncomment signature test, cleanup

* Set profile to high for h264 in transcoding script

* Pass profile in xcoderParams for Netint

* enable detectionFreq test for merging
2022-04-19 17:38:07 +04:00
Ivan Tivonenko 7437e4b92a go fmt all files 2022-02-03 15:45:17 +02:00
Ivan Poleshchuk 0eb91f2fac Support H.265/HEVC, VP8, VP9 (#279)
* support other popular codecs

* use install_ffmpeg.sh from go-livepeer, refactor tests

* set environment variable to build ffmpeg with tools and modules required for tests

* Fix NV-SW encoder selection

* Change HEVC display name to be alphanumeric

* refactor tests

* refactor tests

* refactor tests

* Fix unsupported codec test comments

* Bump to trigger CI

* Set env for dynamic libraries

* Test cleanup, temporary use install_ffmpeg.sh from go-livepeer branch

* Create cache key with right install_ffmpeg.sh

* Bump to trigger CI

* Switch back to master install_ffmpeg.sh
2022-01-11 17:14:01 +02:00
Ivan Tivonenko 37ccc0d3b5 cmd/transcoding: specify 'from' and 'to' args as flag options (-from, -to) 2021-11-30 23:54:44 +02:00
Ivan Tivonenko 5da83d2f46 add from/to parametrs support for transcoding function
from/to specified in ms from segment start
2021-11-30 23:54:44 +02:00
Ivan Poleshchuk 96961a954b Bump ffmpeg commit 2021-11-12 17:18:53 +05:00
Jai Luthra e85ff00f8d ffmpeg: Use new scene classification filter 2021-08-06 18:19:09 +05:30
Oscar 4e4a3a87d2 ffmpeg/detector: Add support for content detection
Co-authored-by: Jai Luthra <me@jailuthra.in>
2021-06-23 18:03:28 +05:30
Josh Allmann f32e37b8cd ffmpeg: Return stats on decoded stream from transcoder. 2019-08-20 08:04:02 -07:00
Josh Allmann a31a7c3b79 cmd: Update transcoding example to use new API. 2019-08-15 12:53:39 -07:00
Josh Allmann 4b28457871 simple: Update to new AppData API. 2019-07-10 13:40:49 -07:00
mk-livepeer a3b9076da9 fix cmd/example/main.go: Infof call has arguments but no formatting directives (#133)
```
# github.com/livepeer/lpms/cmd/example
cmd/example/main.go:182:14: Infof call has arguments but no formatting directives
```
2019-07-03 05:21:34 -04:00
Ivan Tivonenko 7b27ae29ad Change links from github.com/ericxtang/m3u8
to `github.com/livepeer/m3u8`
2019-06-13 21:01:34 +03:00
Josh Allmann b43c124ba9 Merge pull request #123 from livepeer/ja/sidrefactor
vidlistener: Support opaque user data.
2019-05-24 14:12:12 -07:00
Josh Allmann 7549314685 vidlistener: Support opaque user data.
This allows us to pass around per-stream data from MakeStreamID
without storing it outside LPMS.
2019-05-24 16:56:23 +00:00
Josh Allmann fb696c073b ffmpeg: Add transcoder example program.
Includes support to toggle GPU via CLI flags.

Also update documentation.
2019-05-22 21:23:01 +00:00
Josh Allmann 6a54cf329c Remove unused packer program. 2019-02-15 12:55:32 -08:00
Eric Tang 5861d210ae update 2019-02-15 12:28:49 -05:00
Eric Tang 96401a6171 documentations 2019-02-15 12:22:39 -05:00
Josh Allmann 81fe06e61f Use a LPMS config struct, add RTMP/HTTP binding IPs. 2018-05-02 11:03:01 -07:00
Eric Tang 63179bcb3c clean up ffmpegpath 2018-04-27 19:44:28 -04:00
Eric Tang 1b72a2d92d small cleanup 2018-04-27 19:14:53 -04:00
Josh Allmann 68fe14acd8 example: Unbreak compilation.
Updates the API to the changes introduced in 129d5b2b9.

Also fix CircleCI, because `go get` attempts to build the example
from a (broken) master branch by default even though we really want
$CIRCLE_BRANCH.
2018-04-20 12:03:34 -07:00
Josh Allmann b0845184da example: Fix compilation. 2018-03-01 16:51:55 -08:00
Josh Allmann 90b7017a0c Move VideoProfile into ffmpeg package.
Avoids a circular dependency between ffmpeg and core once ffmpeg
starts using the profiles.
2018-02-09 01:03:15 -08:00
Josh Allmann 0a18a5282b example: Clean up subscribers after a publisher disconnects.
Without this our segmenter could hang forever.
2018-01-30 10:25:52 -08:00
Josh Allmann a5c3b43e1d example: Fix panics. 2018-01-30 10:25:52 -08:00
Josh Allmann b9030c609c example: Re-enable RTMP2HLS. 2018-01-30 10:25:52 -08:00
Eric Tang c8374abb81 update lpms with latest memory fixes 2018-01-12 15:53:19 -05:00
Eric Tang 8c81d54818 fix issue 45 2017-12-19 12:17:41 -05:00
Eric Tang 19ec196131 fix examples 2017-12-02 22:11:10 -05:00
Eric Tang ca389eddd2 bug fix 2017-10-03 00:30:38 -07:00
Eric Tang 3fcb2e4796 fix bugs 2017-09-24 10:54:15 -04:00
Eric Tang 3d3ac67663 mostly removing old code 2017-09-21 11:01:50 -04:00
Eric Tang c1f13fbfd2 fix broken examples 2017-09-20 16:52:33 -04:00
Eric Tang 7fbddc1544 update circle, fix bugs 2017-09-11 11:44:59 -04:00
Eric Tang 477d2c5b11 changes for abs 2017-08-08 11:58:01 -04:00
Eric Tang 945704b0aa add interface to make unit tests easier 2017-07-17 21:37:13 -04:00
Eric Tang b96d9f50ef code cleanup 2017-07-03 11:17:58 -04:00
Eric Tang d85c95aa06 interface cleanup, segment transcoder 2017-07-02 18:59:06 -04:00
Eric Tang ce1038408d fix to make mobile publish workflow work 2017-05-17 20:14:33 -04:00
Eric Tang 006574da6c now load HLS segment number and duration, and maintain the playlist in the HLS buffer as the segments are written instead of generating a new playlist for every request 2017-05-11 16:13:13 -04:00
Eric Tang 103e9d4f02 hls fixes 2017-05-01 16:05:12 -04:00
Eric Tang 67d97bd5db HLS changes 2017-05-01 00:12:24 -04:00
Eric Tang d5f5c43e45 add ffmpegPath, bugfixes 2017-04-25 18:46:09 -04:00
Eric Tang 8f16ad6199 fixing lpms runner 2017-04-20 12:25:24 -04:00
Eric Tang 10e16cffd1 get hls to work 2017-04-07 02:04:39 -04:00
Eric Tang da86f87875 segmentation experiment #1 2017-03-30 21:05:40 -04:00