Re: [Vnc2swf-users] [Error] unsupported operand type
Status: Alpha
Brought to you by:
euske
From: Lukasz S. <szy...@gm...> - 2008-05-02 19:23:06
|
On Fri, May 2, 2008 at 5:44 AM, Yusuke Shinyama <yu...@cs...> wrote: > On Thu, 1 May 2008 16:36:47 -0500, "Lukasz Szybalski" <szy...@gm...> wrote: > > Attached... > > > > also: > > apt-cache policy x11vnc > > x11vnc: > > Installed: 0.9.3.dfsg.1-1 > > > > apt-cache policy ffmpeg > > ffmpeg: > > Installed: 0.cvs20070307-6 > > Now I know, this was not an MP3. It is MP2. > Actually, your log says it: > > > FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al. > configuration: --enable-gpl --enable-pp --enable-swscaler > --enable-pthreads --enable-libvorbis --enable-libtheora > --enable-libogg --enable-liba52 --enable-libdts --enable-libgsm > --enable-dc1394 --disable-debug --enable-shared --prefix=/usr > libavutil version: 1d.49.3.0 > libavcodec version: 1d.51.38.0 > libavformat version: 1d.51.10.0 > built on Jul 9 2007 22:27:18, gcc: 4.1.3 20070601 (prerelease) > (Debian 4.1.2-12) > Input #0, wav, from 'voice.wav': > Duration: 00:00:06.3, start: 0.000000, bitrate: 1411 kb/s > Stream #0.0: Audio: pcm_s16le, 44100 Hz, stereo, 1411 kb/s > Output #0, mp2, to 'voice.mp3': > Stream #0.0: Audio: mp2, 22050 Hz, stereo, 64 kb/s > ^^^^ > Stream mapping: > Stream #0.0 -> #0.0 > Press [q] to stop encoding > size= 49kB time=6.3 bitrate= 64.0kbits/s > video:0kB audio:49kB global headers:0kB muxing overhead 0.000000% > > > I guess you need to install a package called "lame", which may not be > in your distro by default, due to the mp3 patent issues. > Then re-encode the wav file. Meanwhile, I'll make it > report an error in a less confusing manner... Thanks. That solved my problem. Also, I installed lame codec but I am not sure how to tell ffmpeg about a new codec? Does ffmpeg need to be precompiled or can I modify some config file or tell ffmpeg to use my codec? ffmpeg -i voice.wav -ar 22050 voice.mp3 tried ffmpeg -i voice.wav -ar 22050 -acodec mp3 voice.mp3 but still writes mp2 Unless there is a different command? Please list any that might appropriate. Thanks, Lucas |