Should Log

This should (if I've not screwed stuff up) log standard error to .log
file.
This commit is contained in:
Jigme Datse Yli-Rasku 2024-04-04 10:52:25 -07:00
parent fc4ba356ab
commit 75c94ef590
3 changed files with 9 additions and 5 deletions

View File

@ -3,8 +3,12 @@
./record.sh -c "steinberg.json" & ./record.sh -c "steinberg.json" &
./record.sh -c "webcam.json" & ./record.sh -c "webcam.json" &
./record.sh -c "capture.json" & ./record.sh -c "capture.json" &
./video-record.sh -c "webcam-video.json" &
./video-record.sh -c "capture-video.json" & ./video-record.sh -c "capture-video.json" &
./video-record.sh -c "video1.json" &
./video-record.sh -c "video4.json" &
./screen-record.sh -c "screen-right.json" &
./screen-record.sh -c "screen-left.json" &

View File

@ -84,7 +84,7 @@ mkdir -p $outputdir
#echo ffmpeg -f v4l2 -framerate 24 -video_size 864x480 -c:v h264 -i ${inputvideo} -f pulse -i ${inputaudio} -c:a aac ${theoutput} #echo ffmpeg -f v4l2 -framerate 24 -video_size 864x480 -c:v h264 -i ${inputvideo} -f pulse -i ${inputaudio} -c:a aac ${theoutput}
#ffmpeg -f v4l2 -framerate 24 -video_size 864x480 -i ${inputvideo} -f pulse -i ${inputaudio} -c:a aac ${theoutput} #ffmpeg -f v4l2 -framerate 24 -video_size 864x480 -i ${inputvideo} -f pulse -i ${inputaudio} -c:a aac ${theoutput}
echo ffmpeg -f pulse -i ${inputaudio} -c:a flac ${theoutput} #echo ffmpeg -f pulse -i ${inputaudio} -c:a flac ${theoutput}
ffmpeg -f pulse -i ${inputaudio} -c:a flac ${theoutput} 2> /dev/null ffmpeg -f pulse -i ${inputaudio} -c:a flac ${theoutput} 2> ${theoutput}.log

View File

@ -82,8 +82,8 @@ echo inputaudio $inputaudio
mkdir -p $outputdir mkdir -p $outputdir
echo ffmpeg -f v4l2 -framerate 24 -video_size 864x480 -c:v h264 -i ${inputvideo} -f pulse -i ${inputaudio} -c:a aac ${theoutput} #echo ffmpeg -f v4l2 -framerate 24 -video_size 1920x1080 -c:v h264 -i ${inputvideo} -f pulse -i ${inputaudio} -c:a aac ${theoutput}
ffmpeg -f v4l2 -framerate 24 -video_size 864x480 -fflags +genpts -use_wallclock_as_timestamps 1 -r 15 -thread_queue_size 32 -i ${inputvideo} -f pulse -thread_queue_size 32 -i ${inputaudio} -use_wallclock_as_timestamps 1 -r 15 -c:v h264 -c:a aac ${theoutput} 2> /dev/null ffmpeg -f v4l2 -framerate 24 -video_size 1920x1080 -fflags +genpts -use_wallclock_as_timestamps 1 -r 15 -thread_queue_size 32 -i ${inputvideo} -f pulse -thread_queue_size 32 -i ${inputaudio} -use_wallclock_as_timestamps 1 -r 15 -c:v h264 -c:a aac ${theoutput} 2> ${theoutput}.log
#echo ffmpeg -f pulse -i ${inputaudio} -c:a flac ${theoutput} #echo ffmpeg -f pulse -i ${inputaudio} -c:a flac ${theoutput}
#ffmpeg -f pulse -i ${inputaudio} -c:a flac ${theoutput} 2> /dev/null #ffmpeg -f pulse -i ${inputaudio} -c:a flac ${theoutput} 2> /dev/null