You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
###### Running the `gst-launch-1.0` command to start streaming from USB camera source which has h264 encoded stream already in **Ubuntu** and **Raspberry-PI**.
64
+
###### Running the `gst-launch-1.0` command to start streaming from USB camera source which has h264 encoded stream already:
###### Running the `gst-launch-1.0` command to start streaming both audio and video in **Raspberry-PI** and **Ubuntu**.
70
+
###### Running the `gst-launch-1.0` command to start streaming both audio and video:
81
71
82
72
Please ensure that audio drivers are installed first by running
83
73
@@ -99,20 +89,14 @@ card 3: Camera [H264 USB Camera], device 0: USB Audio [USB Audio]
99
89
Subdevice #0: subdevice #0
100
90
```
101
91
102
-
The audio recording device is represented by `hw:card_number,device_numer`. So to use the second device in the example, use `hw:3,0` as the device in `gst-launch-1.0` command.
The audio recording device is represented by `hw:card_number,device_number`. So to use the second device in the example, use `hw:3,0` as the device in `gst-launch-1.0` command.
###### Running the `gst-launch-1.0` command to upload [MKV](https://www.matroska.org/) file that contains both *audio and video* in **Raspberry-PI**. Note that video should be H264 encoded and audio should be AAC encoded.
##### Running the GStreamer sample application to upload a *audio and video* file
165
131
166
132
`kinesis_video_gstreamer_audio_video_sample_app` supports uploading a video that is either MKV, MPEGTS, or MP4. The sample application expects the video is encoded in H264 and audio is encoded in AAC format. Note: If your media uses a different format, then you can revise the pipeline elements in the sample application to suit your media format.
@@ -208,7 +174,6 @@ For additional examples on using Kinesis Video Streams Java SDK and Kinesis Vid
208
174
##### Running C++ unit tests
209
175
210
176
**Note:** Please set the credentials before running the unit tests:
@@ -232,7 +197,7 @@ The executable for **GStreamer unit tests** will be built as `./tst/gstkvsplugin
232
197
----
233
198
##### How to configure logging for producer SDK sample applications.
234
199
235
-
For the sample demo applications included in the producer SDK (CPP), the log configuration is referred from the file `kvs_log_configuration` (within the `build` folder).
200
+
For the sample demo applications included in the producer SDK (CPP), the log configuration is referred from the file `kvs_log_configuration` (within the `samples` folder).
236
201
237
202
Refer sample configuration in the folder `build` for details on how to set the log level (DEBUG or INFO) and output options (whether to send log output to either console or file (or both)).
238
203
* Log output messages to console:
@@ -244,9 +209,9 @@ Refer sample configuration in the folder `build` for details on how to set the l
244
209
245
210
By default C producer prints all logging information to stdout.
246
211
247
-
To send log information to a file (named kvsProducerLog.index), you need to use the addFileLoggerPlatformCallbacksProvider API after ClientCallbacks has been initialized.
212
+
To send log information to a file (named kvsProducerLog.index), you need to use the `addFileLoggerPlatformCallbacksProvider` API after ClientCallbacks has been initialized.
248
213
249
-
The addFileLoggerPlatformCallbacksProvider API takes five parameters.
214
+
The `addFileLoggerPlatformCallbacksProvider` API takes five parameters.
250
215
251
216
* First parameter is the PClientCallbacks that is created during the createCallback provider API (e.g.createDefaultCallbacksProviderWithAuthCallbacks.
252
217
* Second parameter is the size of string buffer that file logger will use. Logs are buffered in the string buffer and flushed into files when the buffer is full.
@@ -277,39 +242,3 @@ The projects depend on the following open source components. Running `CMake` wil
##### Raspberry PI failure to load the camera device.
284
-
To check this is the case run `ls /dev/video*` - it should be file not found. The remedy is to run the following:
285
-
```
286
-
$ls /dev/video*
287
-
{not found}
288
-
```
289
-
```
290
-
$vcgencmd get_camera
291
-
```
292
-
Example output:
293
-
```
294
-
supported=1 detected=1
295
-
```
296
-
if the driver does not detect the camera then
297
-
298
-
* Check for the camera setup and whether it's connected properly
299
-
* Run firmware update `$ sudo rpi-update` and restart
300
-
```
301
-
$sudo modprobe bcm2835-v4l2
302
-
```
303
-
```
304
-
$ls /dev/video*
305
-
{lists the device}
306
-
```
307
-
308
-
##### Raspberry PI timestamp/range assertion at runtime.
309
-
Update the Raspberry PI firmware.
310
-
```
311
-
$ sudo rpi-update
312
-
$ sudo reboot
313
-
```
314
-
315
-
* Raspberry PI GStreamer assertion on gst_value_set_fraction_range_full: assertion 'gst_util_fraction_compare (numerator_start, denominator_start, numerator_end, denominator_end) < 0' failed. The uv4l service running in the background. Kill the service and restart the sample app.
0 commit comments