Output #0, segment, to '/config/scripts/capture-%03d.mp4': Log output: ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developersĬonfiguration: -prefix=/usr -enable-avresample -enable-avfilter -enable-gnutls -enable-gpl -enable-libass -enable-libmp3lame -enable-libvorbis -enable-libvpx -enable-libxvid -enable-libx264 -enable-libx265 -enable-libtheora -enable-libv4l2 -enable-libdav1d -enable-postproc -enable-pic -enable-pthreads -enable-shared -enable-libxcb -enable-libssh -disable-stripping -disable-static -disable-librtmp -enable-vaapi -enable-vdpau -enable-libopus -enable-libaom -disable-debug ffmpeg -i "rtsp:///user=&password=&channel=1&stream=0.sdp" -c copy -map 0 -movflags +faststart -f segment -segment_time 30 -segment_format mp4 "/config/scripts/capture-%03d.mp4" & echo $1 I tried adding “& echo $1” just to see if I can get it show first. In my script I have to add a “ ” at the end of every line or else the commands don’t work. I think it’s because HASS is adding a return or newline to the end of the ffmpeg command. I’m trying to find the PID of the process so I can kill just that process but I’m not having much success.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |