Skip to content

Commit

Permalink
Merge pull request #15 from elsampsa/sampsa-dev
Browse files Browse the repository at this point in the history
onvif & discovery separated
  • Loading branch information
elsampsa authored Sep 29, 2023
2 parents 2edc4a8 + b1f3f9d commit 5b5f97a
Show file tree
Hide file tree
Showing 56 changed files with 234 additions and 552 deletions.
2 changes: 1 addition & 1 deletion api_level_1/cli/shmem_test_decoded.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file shmem_test_decoded.py
@author Sampsa Riikonen
@date 2017
@version 1.5.4
@version 1.6.1
@brief Stream decoded (bitmap) frames from a single rtsp camera. Share the bitmap between python processes.
"""

Expand Down
2 changes: 1 addition & 1 deletion api_level_1/cli/shmem_test_encoded.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file shmem_test_encoded.py
@author Sampsa Riikonen
@date 2017
@version 1.5.4
@version 1.6.1
@brief Stream encoded H264 frames from a single rtsp camera (no decoding). Share H264 stream to another python process.
"""

Expand Down
2 changes: 1 addition & 1 deletion api_level_1/qt/multiple_stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file multiple_stream.py
@author Sampsa Riikonen
@date 2017
@version 1.5.4
@version 1.6.1
@brief A demo program streaming from various rtsp cameras and other sources (defined per .sdp files)
"""

Expand Down
2 changes: 1 addition & 1 deletion api_level_1/qt/single_stream_rtsp.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file single_stream_rtsp.py
@author Sampsa Riikonen
@date 2017
@version 1.5.4
@version 1.6.1
@brief A demo program: streaming from a single rtsp camera
"""

Expand Down
2 changes: 1 addition & 1 deletion api_level_1/qt/single_stream_rtsp_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file single_stream_rtsp_1.py
@author Sampsa Riikonen
@date 2018
@version 1.5.4
@version 1.6.1
@brief A demo program: streaming from a single rtsp camera. You can use an x window create by Valkka.
"""

Expand Down
7 changes: 5 additions & 2 deletions api_level_2/cli/find_cams.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,14 @@ def process_cl_args():
return parsed

p = process_cl_args()
ips = runWSDiscovery()
ips = [item[0] for item in runWSDiscovery()] # list of (ip, port)
# -> pick up the ip addresses only
# print(ips)
ips2 = []
if p.arp:
ips2 = runARPScan(exclude_list = ips)
ips2 = [item[0] for item in runARPScan(exclude_list = ips)]
# list of (ip, port) values, where port is the rtsp port
# pick up the ip only
ips = ips + ips2

"""Let's produce the following format:
Expand Down
2 changes: 1 addition & 1 deletion api_level_2/cli/single_stream_rtsp.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file single_stream_rtsp.py
@author Sampsa Riikonen
@date 2017
@version 1.5.4
@version 1.6.1
@brief Send N copies of an rtsp stream to the screen, using level 2 api
"""

Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
@file basic.py
@author Sampsa Riikonen
@date 2017
@version 1.5.4
@version 1.6.1
@brief Some basic classes encapsulating filter chains
"""
Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/basic1.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
@file basic1.py
@author Sampsa Riikonen
@date 2018
@version 1.5.4
@version 1.6.1
@brief Some more custom filterchain classes for different use cases
"""
Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/basic2.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
@file basic.py
@author Sampsa Riikonen
@date 2017
@version 1.5.4
@version 1.6.1
@brief Some basic classes encapsulating filter chains. User must define the endpoints of the filterchains
"""
Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/cast.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file demo_filterchains.py
@author Sampsa Riikonen
@date 2018
@version 1.5.4
@version 1.6.1
@brief
"""
import sys
Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/chains.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file chains.py
@author Sampsa Riikonen
@date 2019
@version 1.5.4
@version 1.6.1
@brief
"""

Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/cpp_thread_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file cpp_thread_demo.py
@author Sampsa Riikonen
@date 2017
@version 1.5.4
@version 1.6.1
@brief Launch a cpp thread in python. That thread uses a callback to send a signal to PyQt's signal/slot system
"""

Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/demo_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file analyzer.py
@author Sampsa Riikonen
@date 2018
@version 1.5.4
@version 1.6.1
@brief A base class for analyzing image streams using OpenCV and an example movement detector.
"""

Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/demo_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file demo_base.py
@author Sampsa Riikonen
@date 2018
@version 1.5.4
@version 1.6.1
@brief
"""

Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
@file manage.py
@author Sampsa Riikonen
@date 2018
@version 1.5.4
@version 1.6.1
@brief Managed filterchain classes. Resources are managed hierarchically, decoding is turned off if its not required
"""
Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/multiprocessing_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file multiprocessing_demo.py
@author Sampsa Riikonen
@date 2018
@version 1.5.4
@version 1.6.1
@brief Use Qt with python multiprocesses
"""

Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/playback.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@author Petri Eränkö
@author Sampsa Riikonen
@date 2019
@version 1.5.4
@version 1.6.1
@brief A controller that brings together TimeLineWidget, CalendarWidget and the ValkkaFSManager
"""

Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/playwidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@author Petri Eränkö
@author Sampsa Riikonen
@date 2017
@version 1.5.4
@version 1.6.1
@brief
"""

Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/port.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
@file manage.py
@author Sampsa Riikonen
@date 2018
@version 1.5.4
@version 1.6.1
@brief Port classes for managed filterchains (see "managed.py"). "Ports" are terminals of the filterchains that require resources (say, decoding or connection to a certain x screen)
"""
Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/test_studio_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@file test_studio_1.py
@author Sampsa Riikonen
@date 2018
@version 1.5.4
@version 1.6.1
@brief Test live streaming with Qt
Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/test_studio_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@file test_studio_2.py
@author Sampsa Riikonen
@date 2018
@version 1.5.4
@version 1.6.1
@brief Test live streaming with Qt with floating instead of grouped widgets
Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/test_studio_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file test_studio_2.py
@author Sampsa Riikonen
@date 2018
@version 1.5.4
@version 1.6.1
@brief Jump video from one x-screen (and gpu) to another
Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/test_studio_4.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file test_studio_2.py
@author Sampsa Riikonen
@date 2018
@version 1.5.4
@version 1.6.1
@brief Test live streaming with Qt
Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/test_studio_5.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file test_studio_5.py
@author Sampsa Riikonen
@date 2019
@version 1.5.4
@version 1.6.1
@brief Test live streaming, recording and playback in Qt
Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/test_studio_6.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file test_studio_5.py
@author Sampsa Riikonen
@date 2019
@version 1.5.4
@version 1.6.1
@brief Test live streaming, recording and playback in Qt
Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/test_studio_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file test_studio_detector.py
@author Sampsa Riikonen
@date 2018
@version 1.5.4
@version 1.6.1
@brief Test live streaming with Qt. Send copies of streams to OpenCV movement detector processes. There is one OpenCV detector & multiprocess for each stream.
In the main text field, write live video sources, one to each line, e.g.
Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/test_studio_detector_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file test_studio_detector_2.py
@author Sampsa Riikonen
@date 2018
@version 1.5.4
@version 1.6.1
@brief Test live streaming with Qt. Send copies of the streams to OpenCV movement detector processes.
Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/test_studio_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@file test_studio_file.py
@author Sampsa Riikonen
@date 2018
@version 1.5.4
@version 1.6.1
@brief An example GUI for reading matroska (mkv) files, playing and sending them to an analyzer
"""

Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/test_studio_multicast.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file test_studio_multcast.py
@author Sampsa Riikonen
@date 2018
@version 1.5.4
@version 1.6.1
@brief Test live streaming with Qt
Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/test_studio_rtsp_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file test_studio_multcast.py
@author Sampsa Riikonen
@date 2018
@version 1.5.4
@version 1.6.1
@brief Test live streaming with Qt
Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
@file tools.py
@author Sampsa Riikonen
@date 2017
@version 1.5.4
@version 1.6.1
@brief helper functions
"""
Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/valkkafs.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
@file valkkafs.py
@author Sampsa Riikonen
@date 2017
@version 1.5.4
@version 1.6.1
@brief Framefilter chains for simultaneous decoding, presenting and reading / writing frames to ValkkaFS
"""
Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/valkkafs2.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@author Sampsa Riikonen
@author Petri Eränkö
@date 2019
@version 1.5.4
@version 1.6.1
@brief
"""

Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/valkkafs3.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@author Sampsa Riikonen
@author Petri Eränkö
@date 2019
@version 1.5.4
@version 1.6.1
@brief
"""

Expand Down
2 changes: 1 addition & 1 deletion api_level_2/qt/xscreen_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file NAME.py
@author Sampsa Riikonen
@date 2017
@version 1.5.4
@version 1.6.1
@brief
"""

Expand Down
2 changes: 1 addition & 1 deletion aux/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file NAME.py
@author Sampsa Riikonen
@date 2017
@version 1.5.4
@version 1.6.1
@brief
"""

Expand Down
2 changes: 1 addition & 1 deletion aux/template_qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@file NAME.py
@author Sampsa Riikonen
@date 2017
@version 1.5.4
@version 1.6.1
@brief
"""

Expand Down
27 changes: 0 additions & 27 deletions docker/Dockerfile.cv.armv8

This file was deleted.

Loading

0 comments on commit 5b5f97a

Please sign in to comment.