syntax

James Linder jam at tigger.ws
Mon Oct 18 10:05:22 UTC 2021


Help with the syntax please.
I’m trying to feed audio to hlssink2

James

dvr at dvrTW:~> cat gst.haf
#!/bin/bash

IP=`hostname -I`

gst-launch-1.0 \
 hlssink2 playlist-location=/dev/shm/channel1.m3u8 playlist-root=http://$IP \
 location=/dev/shm/channel1_%05d.ts max-files=15 target-duration=3 name=hl \
 v4l2src device=/dev/video2 ! \
 video/x-h264,width=1920,height=1080,framerate=30/1 ! \
 h264parse ! \
 tee name=t \
 t. ! queue ! hl.video \
 t. ! queue ! avdec_h264 ! xvimagesink \
 t. ! queue ! avdec_h264 ! xvimagesink \
 pulsesrc device=0 ! \
 queue2 ! audioconvert ! avenc_aac maxrate=800 ! \
 tee name=u \
 u. ! queue | hl.audio \
 t. !  queue max-size-buffers=0 max-size-bytes=0 max-size-time=1000000000 ! \
 mux. u. \
 mux. mp4muxname = mux ! \
 filesink location=try.haf.mp4
dvr at dvrTW:~>
dvr at dvrTW:~>

dvr at dvrTW:~>
dvr at dvrTW:~>
dvr at dvrTW:~>
dvr at dvrTW:~>
dvr at dvrTW:~>
dvr at dvrTW:~> ./gst.haf -e -v
./gst.haf: line 19: hl.audio: command not found


More information about the gstreamer-devel mailing list