Skip to content

Commit fd42945

Browse files
authored
Now uses correct name of GStreamer (#33)
1 parent d131d03 commit fd42945

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ The *Signed Video Framework* is an open-source project that secures an H264, or
88
## Getting started with the repo
99
This repository contains a set of application examples which aims to enrich the developers implementation experience. All examples are using the [signed-video-framework](https://github.com/AxisCommunications/signed-video-framework) and has a README file in its directory with instructions on how to build and run it.
1010

11-
The repository uses meson + ninja as default build method. Further, all application examples uses gStreamer APIs.
11+
The repository uses meson + ninja as default build method. Further, all application examples uses GStreamer APIs.
1212
- [meson](https://mesonbuild.com/Getting-meson.html) Getting meson and ninja. Meson version 0.49.0 or newer is required.
13-
- [gStreamer](https://gstreamer.freedesktop.org/documentation/installing/index.html?gi-language=c) All applications are built around the gStreamer framework to handle coded video.
13+
- [GStreamer](https://gstreamer.freedesktop.org/documentation/installing/index.html?gi-language=c) All applications are built around the GStreamer framework to handle coded video.
1414

1515
## Example applications
1616
Below is a list of example applications available in the repository.

apps/signer/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ Note: This example application code also serves as example code for how to imple
55
*Signed Video Framework*.
66

77
## Prerequisites
8-
This application relies on gStreamer and signed-video-framework.
9-
- [gStreamer](https://gstreamer.freedesktop.org/documentation/installing/index.html?gi-language=c)
8+
This application relies on GStreamer and signed-video-framework.
9+
- [GStreamer](https://gstreamer.freedesktop.org/documentation/installing/index.html?gi-language=c)
1010
- [signed-video-framework](https://github.com/AxisCommunications/signed-video-framework)
1111

1212
## Description
1313
The application processes a file NALU by NALU and adds signatures in SEIs, provided by the
1414
*Signed Video Framework*. A successfully signed GOP prints it on the screen.
1515

16-
It is implemented as a gStreamer element that process every NALU and adds SEI NALs to the stream repeatedly.
16+
It is implemented as a GStreamer element that process every NALU and adds SEI NALs to the stream repeatedly.
1717
The signed video is written to a new file, prepending the filenamne with `signed_`. That is, `test_h264.mp4` becomes `signed_test_h264.mp4`. The application requires the file to process to be in the current directory.
1818

1919
## Building the signer application
@@ -33,7 +33,7 @@ Build and install the library locally in `./my_installs/`.
3333
meson --prefix $PWD/my_installs signed-video-framework build_lib
3434
meson install -C build_lib
3535
```
36-
Then build and install the `signer` in the same place. Since this application is implemented as a gStreamer element set `GST_PLUGIN_PATH` for gStreamer to find it.
36+
Then build and install the `signer` in the same place. Since this application is implemented as a GStreamer element set `GST_PLUGIN_PATH` for GStreamer to find it.
3737
```
3838
export GST_PLUGIN_PATH=$PWD/my_installs
3939
meson --prefix $PWD/my_installs -Dsigner=true signed-video-framework-examples build_apps

apps/signer/main.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,11 @@ main(gint argc, gchar *argv[])
227227
filesink = gst_element_factory_make("filesink", NULL);
228228

229229
if (!filesrc || !demuxer || !parser || !muxer || !filesink) {
230-
if (!filesrc) g_message("gStreamer element 'filesrc' not found");
231-
if (!demuxer) g_message("gStreamer element '%s' not found", demux_str);
232-
if (!parser) g_message("gStreamer element '%sparse' not found", codec_str);
233-
if (!muxer) g_message("gStreamer element '%s' not found", mux_str);
234-
if (!filesink) g_message("gStreamer element 'filesink' not found");
230+
if (!filesrc) g_message("GStreamer element 'filesrc' not found");
231+
if (!demuxer) g_message("GStreamer element '%s' not found", demux_str);
232+
if (!parser) g_message("GStreamer element '%sparse' not found", codec_str);
233+
if (!muxer) g_message("GStreamer element '%s' not found", mux_str);
234+
if (!filesink) g_message("GStreamer element 'filesink' not found");
235235

236236
goto out;
237237
} else if (!signedvideo) {

apps/validator/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Note: This example application code also serves as example code for how to imple
55
the *Signed Video Framework*.
66

77
## Prerequisites
8-
This application relies on GstAppSink (part of gStreamer) and signed-video-framework.
9-
- [gStreamer](https://gstreamer.freedesktop.org/documentation/installing/index.html?gi-language=c)
8+
This application relies on GstAppSink (part of GStreamer) and signed-video-framework.
9+
- [GStreamer](https://gstreamer.freedesktop.org/documentation/installing/index.html?gi-language=c)
1010
- [signed-video-framework](https://github.com/AxisCommunications/signed-video-framework)
1111

1212
## Description

apps/validator/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ is_signed_video_sei(const guint8 *nalu, SignedVideoCodec codec)
166166
idx++;
167167
} else {
168168
// Start code NOT present. Assume the first 4 bytes have been replaced with size,
169-
// which is common in, e.g., gStreamer.
169+
// which is common in, e.g., GStreamer.
170170
idx = 4;
171171
}
172172

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ signedvideoframework_dep = declare_dependency(
2323
include_directories : include_directories(sv_header_dir),
2424
)
2525

26-
# gStreamer is used by all applications
26+
# GStreamer is used by all applications
2727
gst_req = '>= 1.0.0'
2828
api_version = '1.0'
2929
gst_dep = dependency(

0 commit comments

Comments
 (0)