Hi, cany you correct this ffmpeg 6.0 arg: ffmpeg -f x11grab -framerate 30 $(xwininfo…
- User
Hi, cany you correct this ffmpeg 6.0 arg: ffmpeg -f x11grab -framerate 30 0, -geometry ([0-9]+x[0-9]+).([0-9]+).([0-9]+)/, a){ print "-video_size " a[1] " -i +" a[2] "," a[3] }') -c:v libx264rgb -preset slow -t 5 -pass 1 -an -f null /dev/null &&
ffmpeg -i /dev/null -c:v libx264rgb -preset slow -f alsa -ac 2 -i pulse -t 5 -pass 2 $(date +%Y-%m-%d_%H-%M_%S).mkv - Assistant
It appears you want to perform a two-pass screen recording with FFmpeg, capturing both your screen (via x11grab) and audio (from PulseAudio), using the
libx264rgbcodec for video. Your command is complex and involves dynamic resolution determination and a timestamp in the output filename. However, it has a few issues needing correction: