Thanks for the response.
Amar,
I think these parameters are for the libvpx tools, which give me .ivf. Also, currently I don't care about the quality of the video.
Mike,
I tried out that link. I got the correct results on verifying it as well:
./ffmpeg -formats 2> /dev/null | grep WebM
E webm WebM file format
./ffmpeg -codecs 2> /dev/null | grep libvpx
DEV libvpx libvpx VP8
However the encoding doesn't work. Here are some of the results I got:
avi to vp8
---------------
ffmpeg -i mm.avi mmvp8.vp8
FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
built on Sep 18 2010 16:16:29 with gcc 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
configuration:
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.11. 0 / 0.11. 0
Input #0, avi, from 'mm.avi':
Metadata:
ISFT : Lavf52.13.0
Duration: 00:00:43.10, start: 0.000000, bitrate: 2536 kb/s
Stream #0.0: Video: mjpeg, yuvj420p, 352x240 [PAR 1:1 DAR 22:15], 29.97 tbr, 29.97 tbn, 29.97 tbc
Stream #0.1: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
Unable to find a suitable output format for 'mmvp8.vp8'qcif to vp8
----------------
ffmpeg -i akiyo_qcif.7z vp8test.vp8
FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
built on Sep 18 2010 16:16:29 with gcc 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
configuration:
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.11. 0 / 0.11. 0
akiyo_qcif.7z: Invalid data found when processing input
avi to vp8
---------------
ffmpeg -i sample_1238959806.avi vp8test.vp8
FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
built on Sep 18 2010 16:16:29 with gcc 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
configuration:
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.11. 0 / 0.11. 0
Input #0, avi, from 'sample_1238959806.avi':
Duration: 00:02:00.52, start: 0.000000, bitrate: 1283 kb/s
Stream #0.0: Video: msmpeg4, yuv420p, 384x288, 25 tbr, 25 tbn, 25 tbc
Stream #0.1: Audio: mp3, 48000 Hz, 2 channels, s16, 320 kb/s
Unable to find a suitable output format for 'vp8test.vp8'
avi to webm
------------------
ffmpeg -i sample_1238959806.avi vp8test.webm
FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
built on Sep 18 2010 16:16:29 with gcc 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
configuration:
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.11. 0 / 0.11. 0
Input #0, avi, from 'sample_1238959806.avi':
Duration: 00:02:00.52, start: 0.000000, bitrate: 1283 kb/s
Stream #0.0: Video: msmpeg4, yuv420p, 384x288, 25 tbr, 25 tbn, 25 tbc
Stream #0.1: Audio: mp3, 48000 Hz, 2 channels, s16, 320 kb/s
Output #0, webm, to 'vp8test.webm':
Stream #0.0: Video: 0x0000, yuv420p, 384x288, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream #0.1: Audio: 0x0000, 48000 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Encoder (codec id 146) not found for output stream #0.0Do you have an idea as to what could be causing this?
Thanks and Regards,
Kanav