rpicamsrc: Buffer has no PTS

Abu Abdullah falcon.sheep at gmail.com
Wed Oct 12 12:51:09 UTC 2022


Hi,

i have this pipeline:
gst-launch-1.0 rpicamsrc do-timestamp=true inline-headers=true
preview=false keyframe-interval=30 !
video/x-h264,width=640,height=480,framerate=30/1,profile=high !
h264parse ! tee name=t t. ! queue ! splitmuxsink
location=/home/pi/snapshots_tmp/snap_%03d.mp4
max-size-time=30000000000 max-size-bytes=2000000 t. ! queue ! hlssink
max-files=5 target-duration=5
location=/home/pi/snapshots_tmp/segment_%05d.ts
playlist-location=/home/pi/snapshots_tmp/playlist.m3u8

it throughs this error:
ERROR: from element
/GstPipeline:pipeline0/GstSplitMuxSink:splitmuxsink0/GstMP4Mux:muxer:
Could not multiplex stream.
Additional debug info:
../gst/isomp4/gstqtmux.c(5402): gst_qt_mux_add_buffer ():
/GstPipeline:pipeline0/GstSplitMuxSink:splitmuxsink0/GstMP4Mux:muxer:
Buffer has no PTS.

if i remove 'inline-headers=true' it works fine but the hls segments
are not playable in the browser, im using hls.js and it throughs a
bunch of errors. hls only works with inline-headers=true

any support is appreciated


More information about the gstreamer-devel mailing list