logo       

How to create thumbnail from FLV file?: msg#00163

video.ffmpeg.user

Subject: How to create thumbnail from FLV file?

I am having trouble creating thumbnail from FLV files using ffmpeg. It seems
to work fine when I create thumbnails from MOV files, but the FLV files are
not working. Here's what I get when I try to create a thumbnail from FLV
files. This has been puzzling me for hours ...

*ffmpeg.exe -i geebo_skiing_video.flv -f image2 -t 0.001 -ss 3
fsn-throw-06_1.jpg
*
ffmpeg version 0.4.9-pre1, build 4721, Copyright (c) 2000-2004 Fabrice
Bellard
built on Sep 20 2004 09:49:14, gcc: 3.2.3 (mingw special 20030504-1)
[flv @ 0040E0A4]skipping flv packet: type 18, size 273, flags 0
Input #0, flv, from 'geebo_skiing_video.flv':
Duration: N/A, bitrate: N/A
Stream #0.0: Audio: mp3, 22050 Hz, stereo
Stream #0.1: Video: ♦
Output #0, image2, to 'fsn-throw-06_1.jpg':
Stream #0.0: Video: mjpeg, q=2-31, 200 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Unsupported codec (id=0) for input stream #0.1

It seems to work fine when I do it for a quicktime file. Why does it work
for quicktime but not for flash video?

*ffmpeg.exe -i fsn-throw-06.mov -f image2 -t 0.001 -ss 3 fsn-throw-06_1.jpg
*ffmpeg version 0.4.9-pre1, build 4721, Copyright (c) 2000-2004 Fabrice
Bellard
built on Sep 20 2004 09:49:14, gcc: 3.2.3 (mingw special 20030504-1)
Input #0, mov,mp4,m4a,3gp, from 'fsn-throw-06.mov':
Duration: 00:00:30.6, bitrate: 445 kb/s
Stream #0.0: Video: svq3, 320x240, 30.00 fps
Stream #0.1: Audio: mp2, 44100 Hz, stereo
Output #0, image2, to 'fsn-throw-06_1.jpg':
Stream #0.0: Video: mjpeg, 320x240, 30.00 fps, q=2-31, 200 kb/s
Stream mapping:
Stream #0.0 -> #0.0
frame= 89 q=0.0 Lsize= 0kB time=3.0 bitrate= 0.0kbits/s
video:5kB audio:0kB global headers:0kB muxing overhead -100.000000%

Jordan
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@xxxxxxxxxxxx
http://mplayerhq.hu/mailman/listinfo/ffmpeg-user
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise