Skip to content

Instantly share code, notes, and snippets.

# please build your rpm file using the command "macq-rpmbuild *.spec"
%{!?_version: %define _version 1.5.0 }
%{!?_release: %define _release 0 }
Name: macq-nmead
Version: %{_version}
Release: %{_release}
License: Proprietary
Summary: gps-nmead receiver daemon
@Mezzano
Mezzano / client side
Created March 7, 2018 18:09
client side
user@TaMLap:~$ GST_DEBUG=rtsp*:4 gst-launch-1.0 --gst-plugin-path=/usr/local/lib/gstreamer-1.0/ rtspsrc location=rtsp://10.1.63.236:8554/colour ! rtph264depay ! avdec_h264 ! xvimagesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://10.1.63.236:8554/colour
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
0:00:00.205688737 21611 0x2053850 INFO rtspsrc gstrtspsrc.c:3110:gst_rtspsrc_stream_configure_manager:<rtspsrc0> configure bandwidth in session 0x7f5cb402c0a0
Progress: (open) Opened Stream
@Mezzano
Mezzano / server side
Created March 7, 2018 18:08
server side
sudo GST_DEBUG=rtsp*:4 ./macq-gst-rtsp-server -f /tmp/gst-rtsp-server.ini
0:00:36.096189185 31877 0x699018c0 INFO rtspstream rtsp-stream.c:1892:dump_structure: structure: application/x-rtp-source-stats, ssrc=(uint)3456116650, internal=(boolean)true, validated=(boolean)true, received-bye=(boolean)false, is-csrc=(boolean)false, is-sender=(boolean)true, seqnum-base=(int)6261, clock-rate=(int)90000, octets-sent=(guint64)5709250, packets-sent=(guint64)4512, octets-received=(guint64)5709250, packets-received=(guint64)516, bitrate=(guint64)1515629, packets-lost=(int)-516, jitter=(uint)0, sent-pli-count=(uint)0, recv-pli-count=(uint)0, sent-fir-count=(uint)0, recv-fir-count=(uint)0, sent-nack-count=(uint)0, recv-nack-count=(uint)0, have-sr=(boolean)true, sr-ntptime=(guint64)16017800436480020255, sr-rtptime=(uint)4052565920, sr-octet-count=(uint)5709250, sr-packet-count=(uint)4512;
[mv4l2src] 1 frames lost starting at index 298. Real fps=8.00
0:00:38.410491837 31877 0x6a301800 INFO rtspstre
0:00:27.432217748 19559 0x5f90a0 INFO rtspclient rtsp-client.c:3378:gst_rtsp_client_set_connection: client 0x610ad0 connected to server ip 10.1.41.63, ipv6 = 0
0:00:27.434893614 19559 0x5f90a0 INFO rtspclient rtsp-client.c:3381:gst_rtsp_client_set_connection: added new client 0x610ad0 ip 10.1.41.210:37180
0:00:27.437493125 19559 0x5f90a0 DEBUG rtspserver rtsp-server.c:1028:manage_client:<GstRTSPServer@0x5fe420> manage client 0x610ad0
0:00:27.437686822 19559 0x5f90a0 DEBUG rtspthreadpool rtsp-thread-pool.c:468:default_get_thread:<GstRTSPThreadPool@0x7f80004ef0> make new client thread
0:00:27.437849060 19559 0x5f90a0 DEBUG rtspthreadpool rtsp-thread-pool.c:424:make_thread:<GstRTSPThreadPool@0x7f80004ef0> new thread 0x4f61f0
0:00:27.438173225 19559 0x5faf20 INFO rtspthreadpool rtsp-thread-pool.c:328:do_loop: enter mainloop of thread 0x4f61f0
0:00:27.438174058 19559 0x5f90a0 INFO rtspclient rtsp-c
0:06:50.883411850 19383 0x5f90a0 INFO rtspclient rtsp-client.c:3378:gst_rtsp_client_set_connection: client 0x610a90 connected to server ip 10.1.41.63, ipv6 = 0
0:06:50.883531797 19383 0x5f90a0 INFO rtspclient rtsp-client.c:3381:gst_rtsp_client_set_connection: added new client 0x610a90 ip 10.1.41.210:37062
0:06:50.883599713 19383 0x5f90a0 DEBUG rtspserver rtsp-server.c:1028:manage_client:<GstRTSPServer@0x5fe420> manage client 0x610a90
0:06:50.883660338 19383 0x5f90a0 DEBUG rtspthreadpool rtsp-thread-pool.c:468:default_get_thread:<GstRTSPThreadPool@0x7f80004ef0> make new client thread
0:06:50.883761066 19383 0x5f90a0 DEBUG rtspthreadpool rtsp-thread-pool.c:424:make_thread:<GstRTSPThreadPool@0x7f80004ef0> new thread 0x7f64003500
0:06:50.884052939 19383 0x5f90a0 INFO rtspclient rtsp-client.c:3875:gst_rtsp_client_attach: client 0x610a90: attaching to context 0x613620
0:06:50.884058199 19383 0x5fb050 INFO
0:00:01.837987809 30991 0x13fc900 INFO   rtspmountpoints rtsp-mount-points.c:327:gst_rtsp_mount_points_add_factory: adding media factory 0x72401aa8 for path /colour
0:00:06.897374404 30991 0x13fc900 INFO   rtspclient rtsp-client.c:2943:gst_rtsp_client_set_connection: client 0x13aa918 connected to server ip 10.1.63.236, ipv6 = 0
0:00:06.897540069 30991 0x13fc900 INFO   rtspclient rtsp-client.c:2946:gst_rtsp_client_set_connection: added new client 0x13aa918 ip 10.1.41.238:43216
0:00:06.897901398 30991 0x724025b0 INFO   rtspthreadpool rtsp-thread-pool.c:328:do_loop: enter mainloop of thread 0x12c5650
0:00:06.898042064 30991 0x13fc900 INFO   rtspclient rtsp-client.c:3442:gst_rtsp_client_attach: client 0x13aa918: attaching to context 0x1409f10
0:00:06.898886721 30991 0x724025b0 INFO  
This file has been truncated, but you can view the full file.
0:00:01.712508341 25781 0x4f48e0 DEBUG   rtspmountpoints rtsp-mount-points.c:131:gst_rtsp_mount_points_init:<GstRTSPMountPoints@0x4e6010> created
0:00:01.713425332 25781 0x4f48e0 INFO   rtspmountpoints rtsp-mount-points.c:327:gst_rtsp_mount_points_add_factory: adding media factory 0x4fc848 for path /colour
0:00:01.713549664 25781 0x4f48e0 DEBUG   rtspserver rtsp-server.c:807:gst_rtsp_server_create_socket:<GstRTSPServer@0x67e02308> getting address info of 0.0.0.0/8554
0:00:01.716261972 25781 0x4f48e0 DEBUG   rtspserver rtsp-server.c:891:gst_rtsp_server_create_socket:<GstRTSPServer@0x67e02308> opened sending server socket
0:00:01.716461303 25781 0x4f48e0 DEBUG   rtspserver rtsp-server.c:919:gst_rtsp_server_create_socket:<GstRTSPServer@0x67e02308> listening on server socket 0x500100 with queue of 5
0:00:04.473
/* GStreamer
* Copyright (C) 2008 Wim Taymans <wim.taymans at gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
iCar-G3-446:/dev/disk/mounted/sda1/opencl/caffe_requirements/CLBlast/build # ./clblast_test_xgemm
* Options given/available:
-platform 0 [=default]
-device 0 [=default]
-full_test [false]
-verbose [false]
-cblas 1 [=default]
* Running on OpenCL device 'Vivante OpenCL Device'.
iCar-G3-446:/dev/disk/mounted/sda1/opencl/caffe_requirements/CLBlast/build # ctest
Test project /dev/disk/mounted/sda1/opencl/caffe_requirements/CLBlast/build
Start 1: clblast_test_xswap
1/41 Test #1: clblast_test_xswap ............... Passed 11.79 sec
Start 2: clblast_test_xscal
2/41 Test #2: clblast_test_xscal ............... Passed 10.25 sec
Start 3: clblast_test_xcopy
3/41 Test #3: clblast_test_xcopy ............... Passed 11.15 sec
Start 4: clblast_test_xaxpy
4/41 Test #4: clblast_test_xaxpy ...............***Failed 11.47 sec