-
-
Save FreeFly19/9bfcc4fbc90a38427ac93fe8d82b5eb2 to your computer and use it in GitHub Desktop.
Command for gstreamer rtsp to mp4 file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gst-launch-1.0 -e rtspsrc location='rtsp://localhost:554/stream' latency=300 ! queue ! rtph264depay ! h264parse ! mp4mux ! filesink location=file3.mp4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
st-launch-1.0 -e rtspsrc location='rtsp://localhost:554/stream' ! rtph264depay ! h264parse ! mp4mux ! filesink location=video.mp4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gst-launch-1.0 -e rtspsrc location='rtsp://localhost:554/stream' ! rtph264depay ! h264parse ! avimux ! filesink location=enterence-into-small-parking.avi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gst-launch-1.0 -v -e rtspsrc protocols=tcp location='rtsp://localhost:554/stream' ! queue ! rtph264depay ! h264parse ! mpegtsmux ! hlssink location="%06d.ts" target-duration=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment