File: README.md

package info (click to toggle)
gst-plugins-bad1.0 1.26.10-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 69,996 kB
  • sloc: ansic: 722,568; cpp: 278,154; objc: 3,556; xml: 3,351; sh: 1,095; python: 508; makefile: 175; java: 75
file content (48 lines) | stat: -rw-r--r-- 1,366 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
LCEVC Decoder Build Instructions
--------------------------------

1. Build and install the V-Nova's LCEVC Decoder SDK (LCEVCdec):

- Checkout the repository: https://github.com/v-novaltd/LCEVCdec

```
$ git clone https://github.com/v-novaltd/LCEVCdec.git
$ cd LCEVCdec
```

- Build and install the SDK
- $BUILD_DIR and $INSTALL_DIR are local build and install directories

```
$ mkdir $BUILD_DIR
$ cd $BUILD_DIR
$ cmake  -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR ..
$ cmake --build .
$ cmake --install .
```

2. Build LCEVC decoder (lcevcdecoder) plugin for GStreamer:

- You can now build the lcevcdecoder plugin by using the '-Dgst-plugins-bad:lcevcdecoder=enabled' meson flag
- $BUILD_DIR and $INSTALL_DIR are local build and install directories
- For example:

```
$ cd GStreaner
$ meson setup $BUILD_DIR --pkg-config-path=$INSTALL_DIR/lib/pkgconfig -Dgst-plugins-bad:lcevcdecoder=enabled
$ ninja -C $BUILD_DIR
```

3. Run GStreamer LCEVC decoder pipeline:

- If the build was successful, you can test LCEVC decoding with the following pipeline:

```
$ gst-launch-1.0 filesrc location=/home/user/lcevc-sample.mp4 ! qtdemux ! h264parse ! openh264dec ! lcevcdec ! videoconvert ! autovideosink
```

- LCEVC decoding should also work with autoplugging elements:

```
$ gst-launch-1.0 playbin uri=file:///home/user/lcevc-sample.mp4
```