commit dc7b387ee7820514196f690b44c84d8b72021e4b Author: talksik Date: Mon Sep 18 08:14:42 2023 -0700 adding in iniitial diff --git a/dump.ogg b/dump.ogg new file mode 100644 index 0000000..3c57178 Binary files /dev/null and b/dump.ogg differ diff --git a/record_audio.sh b/record_audio.sh new file mode 100755 index 0000000..e04f670 --- /dev/null +++ b/record_audio.sh @@ -0,0 +1,7 @@ +#!/bin/bash + + +rm -rf dump.ogg + +gst-launch-1.0 pulsesrc ! audioconvert ! vorbisenc ! oggmux ! filesink location=dump.ogg + diff --git a/record_mp4_video_audio.sh b/record_mp4_video_audio.sh new file mode 100755 index 0000000..f68f644 --- /dev/null +++ b/record_mp4_video_audio.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +rm -rf test.mp4 + +export GST_DEBUG=3 +gst-launch-1.0 -e v4l2src ! video/x-raw,width=640,height=480,framerate=30/1 ! \ + videoconvert ! \ + x264enc tune=zerolatency ! \ + mux. alsasrc ! queue ! audioconvert ! \ + audioresample ! voaacenc ! aacparse ! qtmux name=mux ! \ + filesink location=test.mp4 sync=false + diff --git a/test.mp4 b/test.mp4 new file mode 100644 index 0000000..88f0ad1 Binary files /dev/null and b/test.mp4 differ