NYCPHP Meetup

NYPHP.org

[nycphp-talk] [OT] FFMPEG & LAME

csnyder chsnyder at gmail.com
Wed Oct 10 12:39:06 EDT 2007


On 10/10/07, Ben Sgro (ProjectSkyLine) <ben at projectskyline.com> wrote:


>   Stream #0.1: Audio: pcm_u8, 11024 Hz, mono, 88 kb/s

> Error while opening codec for output stream #0.1 - maybe incorrect
> parameters such as bit_rate, rate, width or height


The audio rate needs to be resampled to 44100Hz in order to work with
the mp3 encoder. Use the command line switch -ar 44100

ffmpeg development frequently exceeds the ability of documentation to
keep up--remember that it is an interface to a ton of different
libraries and codecs, many of which are in constant flux themselves.

The developers tend to reorganize command line switches between
versions, too. C'est la vie, it's such a useful tool that you complain
a bit and move on.

-- 
Chris Snyder
http://chxo.com/



More information about the talk mailing list