adding in simple mux record that works for test srcs

This commit is contained in:
talksik
2023-09-18 10:43:17 -07:00
parent dc7b387ee7
commit 6cc1a351fb
3 changed files with 13 additions and 0 deletions
View File
Executable
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
rm -rf mux.mp4
gst-launch-1.0 alsasrc ! voaacenc ! queue ! mux. \
v4l2src ! video/x-raw,width=640,height=480,framerate=30/1 ! \
x264enc ! h264parse ! \
mp4mux name=mux ! \
filesink location="mux.mp4"
+4
View File
@@ -0,0 +1,4 @@
#!/bin/bash
gst-launch-1.0 -e videotestsrc ! x264enc ! mp4mux name=mux ! filesink location="bla.mp4" audiotestsrc ! lamemp3enc ! mux.