Alas no real solutions came up. The problems continued what resulted in me losing interest in the StereoPi.
Recently I picked up StereoPi with a fresh SLP image (version 0.2.4), only to find out that no reliable video capture was possible. I tried to get some idea why and noticed that running /opt/StereoPi/run.sh in a ssh-terminal (after first stopping relevant processes with stop.sh) logged a lot of information on the termial screen.
Next lines seem to confirm that Gstreamer not correctly closing the recordings is indeed the reason why the recordings can not be played
Code: Select all
Recording enabled
Recording without audio to 20200604-165655
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstQTMux:qtmux0: Could not multiplex stream.
Additional debug info:
gstqtmux.c(3391): gst_qt_mux_add_buffer (): /GstPipeline:pipeline0/GstQTMux:qtmux0:
Buffer has no PTS.
EOS on shutdown enabled -- waiting for EOS after Error
Waiting for EOS...
ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data stream error.
Additional debug info:
gstbasesrc.c(2950): gst_base_src_loop (): /GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
streaming stopped, reason error (-5)
ERROR: from element /GstPipeline:pipeline0/GstQueue:queue0: Internal data stream error.
Additional debug info:
gstqueue.c(989): gst_queue_handle_sink_event (): /GstPipeline:pipeline0/GstQueue:queue0:
streaming stopped, reason error (-5)
Need to stop recording
handling interrupt.
Interrupt: Stopping pipeline ...
Interrupt while waiting for EOS - stopping pipeline...
Execution ended after 0:00:28.678193959
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Recording parts by 30 seconds
Setting pipeline to NULL ...
Freeing pipeline ...
Recording stopped
killall -q -INT recorder
sleep 2
before starting a new recording (after line 20)
Code: Select all
...
if [ "$record_enabled" = "1" ] ; then
echo "Recording enabled"
else
sleep 1
continue
fi
#next two lines added:
killall -q -INT recorder
sleep 2
if [ "$audio_enabled" = "1" ] ; then
echo "Recording with audio"
...
So, after that I added a record button to the SLP, I will describe this in a new post.