[Kdenlive-devel] MP3 export don't work

reinhard Amersberger at t-online.de
Mon Nov 20 20:51:39 UTC 2006


On Friday, 17. November 2006 21:38, you wrote:
> On Thursday 16 November 2006 23:24, reinhard wrote:
> > the resulting file is just empty (0 B).
> > Ogg and wav works fine, but ogg also export the video and after an import
> > into kdenlive the clip has a length of just 5 frames, but I've exported 2
> > seconds. btw - ogg/wav playback works fine in other media players.
>
> Looks like mp3 encoding is only available if FFMPEG was configured
> with --enable-mp3lame
>
> I cannot reproduce the ogg problem... which version of FFMPEG are you using

ra at linux:/cap/avfiles/avi> rpm -qa "ffmpeg"
ffmpeg-0.4.9-7.pm.svn20060924

mlt is compiled by ...
./configure --enable-gpl --avformat-cvs --enable-motion-est

... so configure print out this ...

ra at linux:/prog/cvs/mlt> ./configure --enable-gpl --avformat-cvs 
--enable-motion-est
Configuring framework:
Configuring modules:
Configuring modules/avformat:
install prefix   /usr/local
source path      /prog/cvs/mlt/src/modules/avformat/ffmpeg
C compiler       gcc
make             make
CPU              x86 (generic)
big-endian       no
inttypes.h       yes
broken inttypes.h no
MMX enabled      yes
Vector Builtins  yes
3DNow! Builtins  yes
gprof enabled    no
zlib enabled     yes
libgsm enabled   no
mp3lame enabled  no
...
...

but using ...
./configure --enable-gpl --avformat-cvs --enable-motion-est --enable-mp3lame

... don'T change the situation ...
Wrong syntax ?
I'm just a bit confused .....

> ? What is the output of the "ffmpeg" command in a terminal ? Can you post
> it (I am only interested in the first lines that show the configuration).
>
> jb

ok, I just did a simple conversion ...


ra at linux:/cap/avfiles/avi> ffmpeg -i 
divamjpeg.avi  /cap/avfiles/mp3/fftest.mp3
FFmpeg version SVN-r6328, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --shlibdir=/usr/lib --prefix=/usr --mandir=/usr/share/man 
--libdir=/usr/lib --enable-shared --enable-mp3lame --enable-libogg 
--enable-vorbis --enable-faad --enable-faac --enable-xvid --enable-a52 
--enable-x264 --enable-pp --enable-gpl --enable-gprof --enable-amr_nb 
--enable-amr_wb
  libavutil version: 49.0.0
  libavcodec version: 51.14.0
  libavformat version: 50.5.0
...
...


also using ffmpeg in mlt sources works fine ...


ra at linux:/cap/avfiles/avi> /prog/cvs/mlt/src/modules/avformat/ffmpeg/ffmpeg -i 
divamjpeg.avi  /cap/avfiles/mp3/fftestgpl.mp3
FFmpeg version SVN-r6580, Copyright (c) 2000-2006 Fabrice Bellard, et al.
  configuration:  --enable-shared --build-suffix=
  libavutil version: 49.0.1
  libavcodec version: 51.16.0
  libavformat version: 50.5.0
  built on Oct 12 2006 22:56:04, gcc: 4.0.2 20050901 (prerelease) (SUSE Linux)
Input #0, avi, from 'divamjpeg.avi':
  Duration: 00:00:03.0, start: 0.000000, bitrate: 2861 kb/s
  Stream #0.0: Video: mjpeg, yuvj422p, 384x288, 25.00 fps(r)
  Stream #0.1: Audio: pcm_s16le, 44100 Hz, stereo, 1411 kb/s
Output #0, mp2, to '/cap/avfiles/mp3/fftestgpl.mp3':
  Stream #0.0: Audio: mp2, 44100 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
Press [q] to stop encoding
size=      23kB time=3.0 bitrate=  64.0kbits/s
video:0kB audio:23kB global headers:0kB muxing overhead 0.000000%
ra at linux:/cap/avfiles/avi>

... hhmmm, ok at least I have a playable file (also import into kdenlive 
works) with .mp3 extension, but I'm not sure if this is a "real" mp3 file - 
so please enlighten me on this guys ;)

also, please call me if you need more info.

greetings
reinhard




More information about the Kdenlive mailing list