I was looking for a solution to a problem and on my travels I cane across something linked to what I was doing which prompted a 2nd question.
I bundled both these questions here. If I should not I will split it into 2 separate question if requested.
I was looking for way to output an image from my ip camera using ffmpeg from a RTSP strteam.
I found it and it was this (I tested in a DOS prompt)
ffmpeg -i rtsp://192.168.0.8/video_1 -f image2 -s 360x240 -vf fps=fps=10/60 img%3d.jpg
I was looking at a way of controlling the quality of the image. I remember when I encoded serveral jpegs to a video file I would use this:
-f image2 -r FPS-i + MyPath + \img%05d.jpg -crf 23 -y -r 'FPS' + 'oggOut.ogg'
Here the quality is set using -crf 23 where the 23 is setting the quality of the image. I have been told the lower the number the better the quality.
Is there a way of specifing image quality in my 1st command line? I have tried putting the crf everywhere but it tells me flag not recognised.
Whilst looking for a solution I found this page:
The last example on that page stated:
This will create one thumbnail image every I-frame
I had understood that an i-Frame is a change in preceding and current frames? When I tested this it just gave me a stream of images. Have I mis-understood what an I-Frame is?