On Aug 15 15:30:29, kir...@korins.ky wrote: > > a framerate confusion for mjpeg, which I suspect is a ffmpeg problem > > not related to this: sometimes it will play back the video using > > a framerate different from recording (such as 25 vs 20). > > > Interesting, I had reported to ffmpeg upstream an issue with my Elgato > webcam: when I stream with 4K 60fps, I have "frozen" picture. > > Quite possible that root cause is mjpeg and that ffmpeg uses CPU to decode > it, if your CPU isn't very fast, it may be an issue.
May aim was to not do any decoding: get the mjpeg frames as they come from the camera and just store them, hence the -vcodec copy in ffmpeg -y -vcodec mjpeg -i /dev/video -vcodec copy /tmp/video.mjpeg Jan