hlssink
David Ing
ding at panopto.com
Thu Sep 23 23:35:06 UTC 2021
Here is my guess.
$ hlssink2 name=hls location="/path/hls_folder/%05d.ts" max-files=0
playlist-length=0 playlist-location="/path/hls_folder/index.m3u8"
target-duration=9 \
v4l2src device=/dev/video2 ! \
video/x-h264,width=1920,height=1080,framerate=30/1 ! \
h264parse ! \
tee name=t \
t. ! queue ! avdec_h264 ! xvimagesink sync=false \
t. ! queue ! avdec_h264 ! xvimagesink sync=true \
t. ! queue max-size-buffers=0 max-size-bytes=0 max-size-time=1000000000 ! \
t. ! queue ! hls.video
mux. pulsesrc device=0 ! \
queue ! \
audioconvert ! \
audioresample ! audio/x-raw, rate=48000 ! \
queue ! \
avenc_aac ! \
queue ! \
mux. mp4mux name=mux ! \
filesink location=try10.mp4
On Thu, Sep 23, 2021 at 3:53 PM James via gstreamer-devel <
gstreamer-devel at lists.freedesktop.org> wrote:
> Hi
>
> I've got a pipeline
>
> gst-launch-1.0 $@ v4l2src device=/dev/video2 ! \
> video/x-h264,width=1920,height=1080,framerate=30/1 ! \
> h264parse ! \
> tee name=t \
> t. ! queue ! avdec_h264 ! xvimagesink sync=false \
> t. ! queue ! avdec_h264 ! xvimagesink sync=true \
> t. ! queue max-size-buffers=0 max-size-bytes=0
> max-size-time=1000000000 ! \
> mux. pulsesrc device=0 ! \
> queue ! \
> audioconvert ! \
> audioresample ! audio/x-raw, rate=48000 ! \
> queue ! \
> avenc_aac ! \
> queue ! \
> mux. mp4mux name=mux ! \
> filesink location=try10.mp4
>
> I want to add a hlssink2 element that picks up video at t. and the audio.
> ie pulsesrc to another tee.
> Can someone show me how to write the pipeline
> Thanks
> james
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210923/43a9ecd9/attachment-0001.htm>
More information about the gstreamer-devel
mailing list