Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tenhishadow committed Nov 8, 2023
1 parent 717da63 commit 604297f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions dotfiles/.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,10 @@ function recit() {
[[ ! -d ${__SCREEN_RECORD_DIR} ]] &&
mkdir -p "${__SCREEN_RECORD_DIR}"
_REC_OUT=$(pactl get-default-sink)




cvlc \
-I dummy -q \
--screen-fps=24.000000 --live-caching=300 screen:// \
--input-slave="pulse://${_REC_OUT}.monitor" \
--input-slave="pulse://${_REC_IN}" \
--sout "#transcode{vcodec=h264,acodec=aac,channels=2,samplerate=48000}:standard{mux=mp4,dst=""${__SCREEN_RECORD_DIR}/rec-${1}-$(date +%Y-%m-%d-%H%M).mp4"",access=file}" \
vlc://quit
}
Expand Down

0 comments on commit 604297f

Please sign in to comment.