FFMPEG unable to record a specific region on screen
I've switched to ffmpeg after recordmydesktop mic problem which it volume output completely muted the video clip. So then I'm trying to record an embedded video on my browser so I tried to mimic the coordinates using another window but there's an error.
"Application provided invalid, non monotonically dts to muxer in stream 1: 66>= 66
av_interleaved_write_frame(): Invalid data found when processing input.
It's able to record my whole screen with no problem but not this specific size and FFmpeg was installed pre-packaged but wasn't compiled. This is the command to produce this error: ffmpeg -f alsa -ac 2 -i hw:0,0 -f x11grab -r 30 -s 712x366 -i :0.0+229,186 -acodec pcm_s16le -vcodec libx264 -preset ultrafast -crf 0 -threads 0 output.mkv
I'm not sure what's wrong people recommend using ffcast2 for graphical window grab but I failed to met the package's requirements. Has anyone tried using ffmpeg and grabbed a certain window or region of their screen successfully?