Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am working with ffmpeg.

I can get a thumbnail from rtsp via command like below:

ffmpeg -itsoffset -4 -f rtsp -rtsp_transport tcp -i rtsp:// -vframes 1 -s 420x270 /home/guest/ffmpegsample.bmp

The problem is what I want is take thumbnail from position which I want.

If it is local file, I can do that with "-ss" option. How can I achieve this with a stream?

I want to take thumbnail from 10 minutes after video started.

share|improve this question
up vote 1 down vote accepted

I solved this in below way

ffmpeg -ss 600 -f rtsp -rtsp_transport tcp -i rtsp:// -vframes 1 -s 420x270 /home/guest/ffmpegsample.bmp

there was an easy way :-)

share|improve this answer

The best way is to generate thumbnails at server side and transmit seperately. You can try to seek stream 10 minutes to future, however have in mind, that server need to have 10 minute feed storage at least and ability to seek a stream (as can ffserver):

ffserver is a streaming server for both audio and video. It supports several live feeds, streaming from files and time shifting on live feeds (you can seek to positions in the past on each live feed, provided you specify a big enough feed storage in ‘ffserver.conf’).

It basically depends on what server can do. I do not know exactly what parameter is (probably same -ss), but it seems that server itself must allow to seek 10 minutes to future for this to work.

share|improve this answer
@lBr Thanks a lot. I'll look for it. – Juneyoung Oh May 30 '13 at 8:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.