Skip to content

Instantly share code, notes, and snippets.

@devarsht
Last active June 18, 2024 18:58
Show Gist options
  • Save devarsht/22c2fca08cd3441fb40f2c7a4cebc95a to your computer and use it in GitHub Desktop.
Save devarsht/22c2fca08cd3441fb40f2c7a4cebc95a to your computer and use it in GitHub Desktop.
v14_jpeg_encoder_multistream_logs
./pipe_loop.sh 640 480 NV12 200 60
==> Script source code :
set -x
for i in {1..20}
do
gst-launch-1.0 -v videotestsrc num-buffers=$4 ! video/x-raw,width=${1},height=${2},format=${3}, framerate=30/1 ! queue ! v4l2jpegenc extra-controls="c,compression_quality=$5" ! fpsdisplaysink name=fpssink text-o
sleep 0.5 > /run/o.txt 2>&1&
done
==> Execution logs (tail) each instance
==> /run/fps_1.txt <==
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 131, dropped: 0, current: 19.02, average: 23.91
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 140, dropped: 0, current: 17.89, average: 23.41
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 150, dropped: 0, current: 18.88, average: 23.04
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 160, dropped: 0, current: 19.64, average: 22.79
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 173, dropped: 0, current: 24.87, average: 22.93
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 187, dropped: 0, current: 25.64, average: 23.12
Got EOS from element "pipeline0".
Execution ended after 0:00:08.560290629
Setting pipeline to NULL ...
Freeing pipeline ...
==> /run/fps_10.txt <==
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 95, dropped: 0, current: 20.10, average: 19.86
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 106, dropped: 0, current: 20.27, average: 19.90
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 117, dropped: 0, current: 19.70, average: 19.88
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 128, dropped: 0, current: 20.02, average: 19.89
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 140, dropped: 0, current: 22.86, average: 20.12
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 172, dropped: 0, current: 63.33, average: 23.04
Got EOS from element "pipeline0".
Execution ended after 0:00:07.752161129
Setting pipeline to NULL ...
Freeing pipeline ...
==> /run/fps_11.txt <==
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 119, dropped: 0, current: 19.94, average: 22.49
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 132, dropped: 0, current: 24.88, average: 22.70
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 145, dropped: 0, current: 25.56, average: 22.93
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 155, dropped: 0, current: 19.99, average: 22.72
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 169, dropped: 0, current: 26.59, average: 23.00
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 181, dropped: 0, current: 23.50, average: 23.03
Got EOS from element "pipeline0".
Execution ended after 0:00:08.355256473
Setting pipeline to NULL ...
Freeing pipeline ...
==> /run/fps_12.txt <==
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 117, dropped: 0, current: 29.46, average: 30.44
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 133, dropped: 0, current: 30.30, average: 30.42
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 147, dropped: 0, current: 26.66, average: 30.02
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 158, dropped: 0, current: 19.93, average: 29.00
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 178, dropped: 0, current: 38.78, average: 29.84
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 191, dropped: 0, current: 24.13, average: 29.37
Got EOS from element "pipeline0".
Execution ended after 0:00:06.934405089
Setting pipeline to NULL ...
Freeing pipeline ...
==> /run/fps_13.txt <==
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 110, dropped: 0, current: 19.68, average: 20.71
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 121, dropped: 0, current: 21.71, average: 20.79
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 133, dropped: 0, current: 23.45, average: 21.01
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 143, dropped: 0, current: 19.93, average: 20.93
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 157, dropped: 0, current: 27.31, average: 21.37
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 170, dropped: 0, current: 23.66, average: 21.53
Got EOS from element "pipeline0".
Execution ended after 0:00:08.249176613
Setting pipeline to NULL ...
Freeing pipeline ...
==> /run/fps_14.txt <==
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 79, dropped: 0, current: 19.09, average: 21.33
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 94, dropped: 0, current: 28.83, average: 22.25
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 104, dropped: 0, current: 18.52, average: 21.83
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 114, dropped: 0, current: 19.78, average: 21.63
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 129, dropped: 0, current: 29.34, average: 22.31
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 175, dropped: 0, current: 90.92, average: 27.83
Got EOS from element "pipeline0".
Execution ended after 0:00:06.670965122
Setting pipeline to NULL ...
Freeing pipeline ...
==> /run/fps_15.txt <==
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 109, dropped: 0, current: 18.36, average: 19.89
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 119, dropped: 0, current: 19.23, average: 19.83
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 129, dropped: 0, current: 19.64, average: 19.81
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 139, dropped: 0, current: 19.78, average: 19.81
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 180, dropped: 0, current: 76.73, average: 23.84
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 199, dropped: 0, current: 36.68, average: 24.66
Got EOS from element "pipeline0".
Execution ended after 0:00:08.084939376
Setting pipeline to NULL ...
Freeing pipeline ...
==> /run/fps_16.txt <==
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 116, dropped: 0, current: 18.85, average: 21.88
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 126, dropped: 0, current: 19.72, average: 21.69
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 136, dropped: 0, current: 19.42, average: 21.51
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 162, dropped: 0, current: 51.64, average: 23.73
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 179, dropped: 0, current: 33.77, average: 24.42
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 196, dropped: 0, current: 32.90, average: 24.98
Got EOS from element "pipeline0".
Execution ended after 0:00:07.998471510
Setting pipeline to NULL ...
Freeing pipeline ...
==> /run/fps_17.txt <==
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 120, dropped: 0, current: 19.92, average: 20.95
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 130, dropped: 0, current: 18.97, average: 20.78
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 140, dropped: 0, current: 19.45, average: 20.68
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 154, dropped: 0, current: 27.82, average: 21.18
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 175, dropped: 0, current: 40.20, average: 22.45
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 189, dropped: 0, current: 25.56, average: 22.65
Got EOS from element "pipeline0".
Execution ended after 0:00:08.459751792
Setting pipeline to NULL ...
Freeing pipeline ...
==> /run/fps_18.txt <==
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 135, dropped: 0, current: 19.34, average: 23.39
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 144, dropped: 0, current: 17.19, average: 22.87
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 154, dropped: 0, current: 19.74, average: 22.64
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 166, dropped: 0, current: 22.65, average: 22.64
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 177, dropped: 0, current: 21.62, average: 22.57
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 190, dropped: 0, current: 24.60, average: 22.70
Got EOS from element "pipeline0".
Execution ended after 0:00:08.740751342
Setting pipeline to NULL ...
Freeing pipeline ...
==> /run/fps_19.txt <==
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 111, dropped: 0, current: 16.45, average: 18.96
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 121, dropped: 0, current: 19.52, average: 19.00
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 133, dropped: 0, current: 22.84, average: 19.30
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 144, dropped: 0, current: 21.41, average: 19.44
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 157, dropped: 0, current: 24.30, average: 19.77
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 176, dropped: 0, current: 36.42, average: 20.80
Got EOS from element "pipeline0".
Execution ended after 0:00:08.648404571
Setting pipeline to NULL ...
Freeing pipeline ...
==> /run/fps_2.txt <==
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 125, dropped: 0, current: 18.59, average: 21.19
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 138, dropped: 0, current: 24.57, average: 21.47
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 149, dropped: 0, current: 21.69, average: 21.48
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 163, dropped: 0, current: 25.74, average: 21.79
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 175, dropped: 0, current: 23.64, average: 21.91
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 189, dropped: 0, current: 22.66, average: 21.96
Got EOS from element "pipeline0".
Execution ended after 0:00:08.679092541
Setting pipeline to NULL ...
Freeing pipeline ...
==> /run/fps_20.txt <==
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 110, dropped: 0, current: 21.64, average: 20.69
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 143, dropped: 0, current: 63.84, average: 24.51
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 154, dropped: 0, current: 19.13, average: 24.03
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 166, dropped: 0, current: 21.87, average: 23.86
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 178, dropped: 0, current: 22.97, average: 23.80
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 189, dropped: 0, current: 21.54, average: 23.65
Got EOS from element "pipeline0".
Execution ended after 0:00:08.388383537
Setting pipeline to NULL ...
Freeing pipeline ...
==> /run/fps_3.txt <==
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 134, dropped: 0, current: 17.37, average: 22.99
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 143, dropped: 0, current: 17.76, average: 22.57
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 154, dropped: 0, current: 20.87, average: 22.44
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 166, dropped: 0, current: 22.70, average: 22.46
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 177, dropped: 0, current: 21.47, average: 22.40
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 191, dropped: 0, current: 27.08, average: 22.68
Got EOS from element "pipeline0".
Execution ended after 0:00:08.662928233
Setting pipeline to NULL ...
Freeing pipeline ...
==> /run/fps_4.txt <==
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 79, dropped: 0, current: 17.72, average: 20.81
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 94, dropped: 0, current: 29.75, average: 21.85
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 142, dropped: 0, current: 94.82, average: 29.54
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 162, dropped: 0, current: 37.82, average: 30.36
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 177, dropped: 0, current: 29.90, average: 30.32
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 193, dropped: 0, current: 30.13, average: 30.30
Got EOS from element "pipeline0".
Execution ended after 0:00:06.668470672
Setting pipeline to NULL ...
Freeing pipeline ...
==> /run/fps_5.txt <==
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 115, dropped: 0, current: 36.37, average: 30.50
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 130, dropped: 0, current: 29.88, average: 30.43
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 145, dropped: 0, current: 29.78, average: 30.36
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 161, dropped: 0, current: 30.30, average: 30.36
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 176, dropped: 0, current: 28.62, average: 30.20
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 192, dropped: 0, current: 31.42, average: 30.30
Got EOS from element "pipeline0".
Execution ended after 0:00:06.667360275
Setting pipeline to NULL ...
Freeing pipeline ...
==> /run/fps_6.txt <==
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 117, dropped: 0, current: 91.32, average: 30.45
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 133, dropped: 0, current: 29.99, average: 30.40
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 148, dropped: 0, current: 29.78, average: 30.33
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 164, dropped: 0, current: 30.40, average: 30.34
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 178, dropped: 0, current: 20.68, average: 29.27
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 188, dropped: 0, current: 19.75, average: 28.53
Got EOS from element "pipeline0".
Execution ended after 0:00:06.996018889
Setting pipeline to NULL ...
Freeing pipeline ...
==> /run/fps_7.txt <==
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 123, dropped: 0, current: 17.45, average: 20.95
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 133, dropped: 0, current: 19.16, average: 20.80
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 144, dropped: 0, current: 21.11, average: 20.83
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 156, dropped: 0, current: 22.41, average: 20.94
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 167, dropped: 0, current: 21.64, average: 20.98
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 180, dropped: 0, current: 25.82, average: 21.27
Got EOS from element "pipeline0".
Execution ended after 0:00:08.831614304
Setting pipeline to NULL ...
Freeing pipeline ...
==> /run/fps_8.txt <==
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 109, dropped: 0, current: 17.77, average: 18.81
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 120, dropped: 0, current: 20.96, average: 18.99
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 131, dropped: 0, current: 21.43, average: 19.18
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 144, dropped: 0, current: 25.60, average: 19.62
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 157, dropped: 0, current: 24.48, average: 19.95
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 174, dropped: 0, current: 33.39, average: 20.77
Got EOS from element "pipeline0".
Execution ended after 0:00:08.738115148
Setting pipeline to NULL ...
Freeing pipeline ...
==> /run/fps_9.txt <==
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 123, dropped: 0, current: 18.83, average: 20.59
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 132, dropped: 0, current: 17.46, average: 20.34
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 143, dropped: 0, current: 21.93, average: 20.46
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 154, dropped: 0, current: 21.83, average: 20.55
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 165, dropped: 0, current: 21.50, average: 20.61
/GstPipeline:pipeline0/GstFPSDisplaySink:fpssink: last-message = rendered: 181, dropped: 0, current: 31.13, average: 21.24
Got EOS from element "pipeline0".
Execution ended after 0:00:08.936678312
Setting pipeline to NULL ...
Freeing pipeline ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment