google-code-export / ffmpegthumbnailer

Automatically exported from code.google.com/p/ffmpegthumbnailer
GNU General Public License v2.0
1 stars 1 forks source link

[feature request] thumbnail from rtsp source instead of local file #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Ffmpeg in itself has the ability to read from an RTSP stream. E.g., I can
get a crude thumbnail from a remote, streamed, source like this:

ffmpeg -itsoffset -4 -i "rtsp://192.168.3.50/sample.ts" -vframes 1 -an -s
320x240 sample.jpeg

If I try the source on ffmpegthumbnailer, e.g.

   ffmpegthumbnailer -i "rtsp://192.168.3.50/sample.ts" -o sample.jpeg 

then I just get 

   [rtsp @ 0x1443f70]max_analyze_duration reached
   RTP: PT=21: bad cseq 0f0a expected=1592
   Warn: Failed to stat file (No such file or directory)

and no result file.

Original issue reported on code.google.com by olesan...@gmail.com on 21 May 2010 at 10:24

GoogleCodeExporter commented 9 years ago
Can you try the code in subversion? It allowed me to successfully create a 
thumbnail 
from a vlc hosted rtsp stream.

Original comment by dirk.vdb on 21 May 2010 at 11:31

GoogleCodeExporter commented 9 years ago
Yes, that worked. I was on version 2.0.1 from the Fedora 12 repository, but 
current
source (Svn rev 214) did the trick.

Wonderful! Thanks. 

Original comment by olesan...@gmail.com on 21 May 2010 at 1:24

GoogleCodeExporter commented 9 years ago

Original comment by dirk.vdb on 21 May 2010 at 1:31