audio pipeline
Table of Contents
-
read rtsp and demux to video and audio
gst-launch-1.0 rtspclientsink name=s location=rtsp://localhost:8554/mystream libcamerasrc ! video/x-raw, width=640, height=480, framerate=30/1 ! videoconvert ! videoscale ! clockoverlay time-format="%d/%m/%y %H:%M:%S" ! x264enc speed-preset=ultrafast bitrate=600 key-int-max=40 ! queue ! s.sink_0 alsasrc ! queue ! audioconvert ! opusenc ! s.sink_1
-
read and record
gst-launch-1.5 v4l2src do-timestamp=true ! videoconvert ! videoscale ! video/x-raw,framerate=30/1 ! timeoverlay shaded-background=1 ! queue ! x264enc ! queue ! mpegtsmux name=mux alsasrc ! queue ! audioconvert ! queue ! audioresample ! queue ! audiorate ! voaacenc bitrate=160000 ! queue ! aacparse ! queue ! mux. mux. ! queue ! hlssink sync=false
Comments |0|
Category: Uncategorized