mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
Update builders for libavdevice, pkg-config; add note about ffmpeg device support
This commit is contained in:
parent
04470f9532
commit
356c60a6ed
3
.github/workflows/macos_test.yml
vendored
3
.github/workflows/macos_test.yml
vendored
@ -26,7 +26,8 @@ jobs:
|
|||||||
ffmpeg \
|
ffmpeg \
|
||||||
libdeflate \
|
libdeflate \
|
||||||
libunistring \
|
libunistring \
|
||||||
ncurses
|
ncurses \
|
||||||
|
pkg-config
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
1
.github/workflows/ubuntu_test.yml
vendored
1
.github/workflows/ubuntu_test.yml
vendored
@ -28,6 +28,7 @@ jobs:
|
|||||||
ffmpeg \
|
ffmpeg \
|
||||||
libavcodec-dev \
|
libavcodec-dev \
|
||||||
libavformat-dev \
|
libavformat-dev \
|
||||||
|
libavdevice-dev \
|
||||||
libavutil-dev \
|
libavutil-dev \
|
||||||
libdeflate-dev \
|
libdeflate-dev \
|
||||||
libncurses-dev \
|
libncurses-dev \
|
||||||
|
@ -112,7 +112,7 @@ may well be possible to use still older versions. Let me know of any successes!
|
|||||||
* (build+runtime) GNU [libunistring](https://www.gnu.org/software/libunistring/) 0.9.10+
|
* (build+runtime) GNU [libunistring](https://www.gnu.org/software/libunistring/) 0.9.10+
|
||||||
* (OPTIONAL) (build+runtime) [libgpm](https://www.nico.schottelius.org/software/gpm/) 1.20+
|
* (OPTIONAL) (build+runtime) [libgpm](https://www.nico.schottelius.org/software/gpm/) 1.20+
|
||||||
* (OPTIONAL) (build+runtime) From QR-Code-generator: [libqrcodegen](https://github.com/nayuki/QR-Code-generator) 1.5.0+
|
* (OPTIONAL) (build+runtime) From QR-Code-generator: [libqrcodegen](https://github.com/nayuki/QR-Code-generator) 1.5.0+
|
||||||
* (OPTIONAL) (build+runtime) From [FFmpeg](https://www.ffmpeg.org/): libswscale 5.0+, libavformat 57.0+, libavutil 56.0+
|
* (OPTIONAL) (build+runtime) From [FFmpeg](https://www.ffmpeg.org/): libswscale 5.0+, libavformat 57.0+, libavutil 56.0+, libavdevice 57.0+
|
||||||
* (OPTIONAL) (build+runtime) [OpenImageIO](https://github.com/OpenImageIO/oiio) 2.15.0+, requires C++
|
* (OPTIONAL) (build+runtime) [OpenImageIO](https://github.com/OpenImageIO/oiio) 2.15.0+, requires C++
|
||||||
* (OPTIONAL) (testing) [Doctest](https://github.com/onqtam/doctest) 2.3.5+
|
* (OPTIONAL) (testing) [Doctest](https://github.com/onqtam/doctest) 2.3.5+
|
||||||
* (OPTIONAL) (documentation) [pandoc](https://pandoc.org/index.html) 1.19.2+
|
* (OPTIONAL) (documentation) [pandoc](https://pandoc.org/index.html) 1.19.2+
|
||||||
|
@ -132,6 +132,8 @@ If Notcurses was built against a multimedia engine (FFMpeg or OpenImageIO),
|
|||||||
image and video files can be loaded into visuals using
|
image and video files can be loaded into visuals using
|
||||||
**ncvisual_from_file**. **ncvisual_from_file** discovers the container
|
**ncvisual_from_file**. **ncvisual_from_file** discovers the container
|
||||||
and codecs, but does not verify that the entire file is well-formed.
|
and codecs, but does not verify that the entire file is well-formed.
|
||||||
|
If Notcurses was built against FFMpeg, **ncvisual_from_file** can also handle
|
||||||
|
multimedia devices such as webcams.
|
||||||
**ncvisual_decode** ought be invoked to recover subsequent frames, once
|
**ncvisual_decode** ought be invoked to recover subsequent frames, once
|
||||||
per frame. **ncvisual_decode_loop** will return to the first frame,
|
per frame. **ncvisual_decode_loop** will return to the first frame,
|
||||||
as if **ncvisual_decode** had never been called.
|
as if **ncvisual_decode** had never been called.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user