ffmpeg/hdmi

This commit is contained in:
Marc Beninca 2025-01-28 09:21:42 +01:00
parent a273d2ea43
commit 3ba4859231
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -54,7 +54,7 @@ rwx_ffmpeg_input_file() {
for argument in "${@}"; do echo "${argument}"; done for argument in "${@}"; do echo "${argument}"; done
} }
rwx_ffmpeg_input_nearstream_ccd10() { rwx_ffmpeg_input_hdmi() {
local device="${1}" local device="${1}"
[ -n "${device}" ] || device="/dev/video0" [ -n "${device}" ] || device="/dev/video0"
set -- \ set -- \
@ -130,11 +130,11 @@ rwx_ffmpeg_output_video_slow() {
# │ ffmpeg │ record │ # │ ffmpeg │ record │
# ╰────────┴────────╯ # ╰────────┴────────╯
rwx_ffmpeg_record_ccd10_yeti() { rwx_ffmpeg_record_hdmi_yeti() {
local file="${1}" local file="${1}"
[ -n "${file}" ] || return [ -n "${file}" ] || return
set -- \ set -- \
$(rwx_ffmpeg_input_nearstream_ccd10) \ $(rwx_ffmpeg_input_hdmi) \
$(rwx_ffmpeg_input_blue_yeti) \ $(rwx_ffmpeg_input_blue_yeti) \
$(rwx_ffmpeg_output_video_fast) \ $(rwx_ffmpeg_output_video_fast) \
$(rwx_ffmpeg_output_audio_fast) \ $(rwx_ffmpeg_output_audio_fast) \