syntax
Marc
Marc at f1-outsourcing.eu
Mon Oct 18 11:01:39 UTC 2021
Does this help ?
t. ! queue ! tsdemux name=demux \
demux. ! parsebin ! h264parse ! queue ! hlssink.video \
demux. ! parsebin ! aacparse ! queue ! hlssink.audio \
hlssink2 name=hlssink playlist-location='/mnt/rados/playlist-cam1.m3u8' location='/mnt/rados/seg-cam1-%05d.ts' target-duration=2 max-files=5
>
> 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