I followed your guide to get ffmpeg. Everything is working as it should, except that I dont have PNG codec anymore. I used to use ffmpeg to create a thumbnail of a movie, and save it as mpeg, but now I get a error.
Code:
ffmpeg -y -i /home/andre/Projects/ask/ask/ask.media/videos/IT_Pro.wmv -vframes 1 -ss 00:00:02 -an -vcodec png -f rawvideo -s 320x240 /home/andre/Projects/ask/ask/ask.media/videos/flv/test.png
Ffmpeg resulting output:
Code:
FFmpeg version SVN-r16661, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libxvid
libavutil 49.13. 0 / 49.13. 0
libavcodec 52.11. 0 / 52.11. 0
libavformat 52.24. 1 / 52.24. 1
libavdevice 52. 1. 0 / 52. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
built on Jan 17 2009 23:46:11, gcc: 4.3.2
[wmv3 @ 0xa476130]Extra data: 8 bits left, value: 0
Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 15.00 (15/1)
Input #0, asf, from '/home/andre/Projects/ask/ask/ask.media/videos/IT_Pro.wmv':
Duration: 00:02:35.84, start: 5.000000, bitrate: 154 kb/s
Stream #0.0: Audio: wmav2, 16000 Hz, mono, s16, 16 kb/s
Stream #0.1: Video: wmv3, yuv420p, 320x240, 134 kb/s, 15.00 tb(r)
Unknown encoder 'png'
I tried to see if maybe the name chaned with the new version and did:
Code:
$ ffmpeg -formats | grep png
FFmpeg version SVN-r16661, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libxvid
libavutil 49.13. 0 / 49.13. 0
libavcodec 52.11. 0 / 52.11. 0
libavformat 52.24. 1 / 52.24. 1
libavdevice 52. 1. 0 / 52. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
built on Jan 17 2009 23:46:11, gcc: 4.3.2
.... as you can see with no result
Manually digging through the -formats output, and I didn't find anything related to png.
Do you perhaps know what the issue is here?
EDIT: sorry forgot to say, I'm running 8.10 32-bit on Macbook 4,1
Thanks,
WW
Bookmarks