awss3hlssink can't exit in gst_launch
I use "awss3hlssink" in "gst_launch". When I exit, the program will block in the step of setting it to null. Replacing "awss3hlssink" with "awss3sink" will not cause this problem.
error info
gst-launch-1.0 -e videotestsrc pattern=ball ! queue ! x264enc ! h264parse ! awss3hlssink endpoint-uri=http://192.168.100.23:9000 bucket=001
0:00:00.020849435 45760 0x5620fe2b72d0 ERROR GST_PLUGIN_LOADING gstpluginloader.c:442:gst_plugin_loader_try_helper: Spawning gst-plugin-scanner helper failed: Failed to close file descriptor for child process (Operation not permitted)
(gst-launch-1.0:45760): GStreamer-WARNING **: 09:21:46.280: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run. You might need to set the GST_PLUGIN_SCANNER environment variable if your setup is unusual. This should normally not be required though.
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
Redistribute latency...
^Chandling interrupt.
Interrupt: Stopping pipeline ...
EOS on shutdown enabled -- Forcing EOS on the pipeline
Waiting for EOS...
Redistribute latency...
Redistribute latency...
Got EOS from element "pipeline0".
EOS received - stopping pipeline...
Execution ended after 0:00:08.960874711
Setting pipeline to NULL ...
^C
will block in Setting pipeline to NULL ...
Normal info
gst-launch-1.0 -e videotestsrc pattern=ball ! queue ! x264enc ! h264parse ! queue ! isofmp4mux fragment-duration=2000000000 write-mfra=true ! awss3sink endpoint-uri=http://192.168.100.23:9000 bucket=123/22 key=tes8.mp4
0:00:00.019504724 48186 0x55f7d58670d0 ERROR GST_PLUGIN_LOADING gstpluginloader.c:442:gst_plugin_loader_try_helper: Spawning gst-plugin-scanner helper failed: Failed to close file descriptor for child process (Operation not permitted)
(gst-launch-1.0:48186): GStreamer-WARNING **: 09:24:17.257: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run. You might need to set the GST_PLUGIN_SCANNER environment variable if your setup is unusual. This should normally not be required though.
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
Redistribute latency...
New clock: GstSystemClock
^Chandling interrupt.
Interrupt: Stopping pipeline ...
EOS on shutdown enabled -- Forcing EOS on the pipeline
Waiting for EOS...
Got EOS from element "pipeline0".
EOS received - stopping pipeline...
Execution ended after 0:00:06.060543222
Setting pipeline to NULL ...
Freeing pipeline ...
Look forward to your reply
Edited by AadeIT