enable recording to output
This commit is contained in:
parent
30ac3b714d
commit
e775e8707b
@ -173,6 +173,8 @@ set -- "$@" -vf "${video_filters#,}"
|
|||||||
|
|
||||||
if [ "$output_path" = - ]; then
|
if [ "$output_path" = - ]; then
|
||||||
output_cmd=ffplay
|
output_cmd=ffplay
|
||||||
|
|
||||||
|
window_title_option="-window_title $window_title"
|
||||||
else
|
else
|
||||||
output_cmd=ffmpeg
|
output_cmd=ffmpeg
|
||||||
|
|
||||||
@ -195,6 +197,6 @@ ssh_cmd "$read_loop" \
|
|||||||
-f rawvideo \
|
-f rawvideo \
|
||||||
-pixel_format rgb565le \
|
-pixel_format rgb565le \
|
||||||
-video_size "$width,$height" \
|
-video_size "$width,$height" \
|
||||||
-window_title "$window_title" \
|
$window_title_option \
|
||||||
-i - \
|
-i - \
|
||||||
"$@"
|
"$@"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user