getting streaming stopped, reason not-negotiated (-4) error

manas_mandal mandalmanas786 at gmail.com
Sun May 17 15:02:08 UTC 2020


I have fixed above error by adding decodebin in pipeline command as follows

pipeline_command = "appsrc name=videosrc is-live=true
caps=image/jpeg,width=1920,height=1080,framerate=30/1 ! queue ! decodebin !
videoconvert ! x264enc ! " \
                               "mpegtsmux ! " \
                               "hlssink location=/var/www/segment-%05d.ts "
\
                               "playlist-location=/var/www/index.m3u8
max-files=10 " \
                               "target-duration=15 sync=false"

But i got one more issue don't know this is the root cause or not for not
getting .ts and .m3u8 file is not generated 

0:00:00.177883765    15 0x557ed8a5a150 WARN                  ladspa
gstladspa.c:507:plugin_init:<plugin91> no LADSPA plugins found, check
LADSPA_PATH
0:00:00.239043179    15 0x557ed8a5a150 WARN                 default
gstsf.c:98:gst_sf_create_audio_template_caps: format 0x120000: 'AVR (Audio
Visual Research)' is not mapped
0:00:00.239055066    15 0x557ed8a5a150 WARN                 default
gstsf.c:98:gst_sf_create_audio_template_caps: format 0x180000: 'CAF (Apple
Core Audio File)' is not mapped
0:00:00.239069455    15 0x557ed8a5a150 WARN                 default
gstsf.c:98:gst_sf_create_audio_template_caps: format 0x100000: 'HTK (HMM
Tool Kit)' is not mapped
0:00:00.239076439    15 0x557ed8a5a150 WARN                 default
gstsf.c:98:gst_sf_create_audio_template_caps: format 0xc0000: 'MAT4 (GNU
Octave 2.0 / Matlab 4.2)' is not mapped
0:00:00.239096187    15 0x557ed8a5a150 WARN                 default
gstsf.c:98:gst_sf_create_audio_template_caps: format 0xd0000: 'MAT5 (GNU
Octave 2.1 / Matlab 5.0)' is not mapped
0:00:00.239100583    15 0x557ed8a5a150 WARN                 default
gstsf.c:98:gst_sf_create_audio_template_caps: format 0x210000: 'MPC (Akai
MPC 2k)' is not mapped
0:00:00.239106233    15 0x557ed8a5a150 WARN                 default
gstsf.c:98:gst_sf_create_audio_template_caps: format 0xe0000: 'PVF (Portable
Voice Format)' is not mapped
0:00:00.239111183    15 0x557ed8a5a150 WARN                 default
gstsf.c:98:gst_sf_create_audio_template_caps: format 0x160000: 'SD2 (Sound
Designer II)' is not mapped
0:00:00.239119349    15 0x557ed8a5a150 WARN                 default
gstsf.c:98:gst_sf_create_audio_template_caps: format 0x190000: 'WVE (Psion
Series 3)' is not mapped
check_hls_streaming
20200517 14:55:33 STEF[7]                 stef_hdmi|    DEBUG| HDMI device
open.[/dev/video0]
starting hls live streamingwaiting for 600 seconds

appsrc name=videosrc is-live=true
caps=image/jpeg,width=1920,height=1080,framerate=30/1 ! queue ! decodebin !
videoconvert ! x264enc ! mpegtsmux ! hlssink
location=/var/www/segment-%05d.ts playlist-location=/var/www/index.m3u8
max-files=10 target-duration=15 sync=false
0:00:00.941194930     7 0x7f2c6805bed0 FIXME                default
gstutils.c:3981:gst_pad_create_stream_id_internal:<videosrc:src> Creating
random stream-id, consider implementing a deterministic way of creating a
stream-id

0:00:00.943707430     7 0x7f2c6805be80 FIXME           videodecoder
gstvideodecoder.c:933:gst_video_decoder_drain_out:<jpegdec0> Sub-class
should implement drain()
0:00:00.943762184     7 0x7f2c6805be80 FIXME           videodecoder
gstvideodecoder.c:933:gst_video_decoder_drain_out:<jpegdec0> Sub-class
should implement drain()
*0:00:01.317674270     7 0x7f2c6805be80 WARN            videodecoder
gstvideodecoder.c:2443:gst_video_decoder_chain:<jpegdec0> Received buffer
without a new-segment. *Assuming timestamps start from 0.
0:00:01.317697268     7 0x7f2c6805be80 FIXME           videodecoder
gstvideodecoder.c:933:gst_video_decoder_drain_out:<jpegdec0> Sub-class
should implement drain()

To add i am not getting any error if i use same pipeline command in opencv
cv2.VideoWriter function



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list