lkjasdadslkj
This commit is contained in:
@@ -73,9 +73,16 @@ selected_audio_device=$(
|
||||
| cut -d' ' -f1
|
||||
)
|
||||
|
||||
# TODO:
|
||||
# ffmpeg -f video4linux2 -list_formats all -i /dev/video3
|
||||
# [video4linux2,v4l2 @ 0x23ed7140] Raw : yuyv422 : YUYV 4:2:2 : 1920x1080 1600x1200 1280x720 720x576 720x480 640x480
|
||||
# [video4linux2,v4l2 @ 0x23ed7140] Raw : nv12 : Y/UV 4:2:0 : 3840x2160 2560x1440 1920x1080 1600x1200 1280x720 720x576 720x480 640x480
|
||||
|
||||
ffmpeg_common=(
|
||||
-fflags nobuffer
|
||||
-flags nobuffer
|
||||
-flags low_delay
|
||||
-strict experimental
|
||||
)
|
||||
ffmpeg_args=(
|
||||
-f v4l2
|
||||
@@ -90,4 +97,4 @@ ffmpeg_args=(
|
||||
)
|
||||
|
||||
set -x
|
||||
ffmpeg "${ffmpeg_common[@]}" "${ffmpeg_args[@]}" -c copy -f nut pipe: | ffplay "${ffmpeg_common[@]}" -f nut -i pipe:
|
||||
ffmpeg "${ffmpeg_common[@]}" "${ffmpeg_args[@]}" -c copy -f nut pipe: | ffplay -framedrop "${ffmpeg_common[@]}" -f nut -i pipe:
|
||||
|
||||
Reference in New Issue
Block a user