diff --git a/mux.mp4 b/mux.mp4 new file mode 100644 index 0000000..e69de29 diff --git a/record_mux.sh b/record_mux.sh new file mode 100755 index 0000000..08b4757 --- /dev/null +++ b/record_mux.sh @@ -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" diff --git a/simple_test_record_to_file.sh b/simple_test_record_to_file.sh new file mode 100755 index 0000000..f4da3a4 --- /dev/null +++ b/simple_test_record_to_file.sh @@ -0,0 +1,4 @@ +#!/bin/bash + + +gst-launch-1.0 -e videotestsrc ! x264enc ! mp4mux name=mux ! filesink location="bla.mp4" audiotestsrc ! lamemp3enc ! mux.