I have a framegrabber that I connect to a Windows PC. The capture input device is 1080p, 60fps, 4:4:4 raw video. I want to use this in a test setup where I let a user work on an existing windows application and introduce image compression, reduced resolution reduced dropped framerate. The idea is to find out about the user experience and let the user rate the different settings. My idea is to use ffmpeg to take the RAW input stream and introduce delay, transcode to MJPEG and add different JPEG levels and to add a delay. While I can already access the capture device, change the resolution and reduce framerate I am not sure if it's at all possible to introduce a delay since most of the times people either want to introduce a video delay to account for an audio delay or people want to reduce the video delay, not intentionally add a video delay :-) This is how I currently handle the stream:
ffmpeg -f dshow -i video="framegrabber_capture_1" -vf format=yuv420p,scale=1280x1024,fps=5 -f sdl test
As a side note: I only need the pure video, audio is not needed in the test setup.
I didn't figure out how to transcode to MJPEG, but I guess that's doable. What I couldn't find at all was information about the video delay as this would also mean that the stream is cached somewhere. Would be great if somebody could point me into the correct direction.
Thanks!
J.