Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#14938 - ffmpeg / libmp3lame Audio encoding failed and probable missing video index

Attached to Project: Arch Linux
Opened by Arael (ArchArael) - Wednesday, 03 June 2009, 15:46 GMT
Last edited by Roman Kyrylych (Romashka) - Wednesday, 03 June 2009, 17:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

When I try to convert a video using ffmpeg / libmp3lame I obtain the error >> Audio encoding failed

Actually the audio works but, probably due to a missing video index, it is impossible to navigate forward or reverse.
This happens mostly in flash players as mplayer is able to rebuild the missing index.
I have temporary downgraded to lame-3.97 and this solves the problem so I guess that this is a bug in the 3.98 branch.


ffmpeg -i scelta_delle_ragioni.avi -qscale 3 -s qvga -ar 22050 -ab 64k scelta_delle_ragioni.flv
FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --prefix=/usr --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-libfaac --enable-libfaad --enable-libxvid --enable-libx264 --enable-libtheora --enable-postproc --enable-shared --enable-pthreads --enable-x11grab --enable-swscale
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 0 / 52.20. 0
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Apr 20 2009 01:37:42, gcc: 4.3.3
Input #0, avi, from 'scelta_delle_ragioni.avi':
Duration: 00:08:09.64, start: 0.000000, bitrate: 29162 kb/s
Stream #0.0: Video: dvvideo, yuv420p, 720x576, 25 tbr, 25 tbn, 25 tbc
Stream #0.1: Audio: pcm_s16le, 22050 Hz, mono, s16, 352 kb/s
Output #0, flv, to 'scelta_delle_ragioni2.flv':
Stream #0.0: Video: flv, yuv420p, 320x240, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream #0.1: Audio: libmp3lame, 22050 Hz, mono, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
[libmp3lame @ 0x8f52690]lame: output buffer too small (buffer index: 9404, free bytes: 388)
Audio encoding failed


Additional info:
* package version(s)
lame-3.98.2-1-i686.pkg.tar.gz
lame-3.98.2-2-i686.pkg.tar.gz


Steps to reproduce:
Just try to convert some video and use libmp3lame as audio codec.
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Wednesday, 03 June 2009, 17:08 GMT
Reason for closing:  Duplicate
Comment by Arael (ArchArael) - Wednesday, 03 June 2009, 15:56 GMT
Sorry. Here is the same bug: http://bugs.archlinux.org/task/14909?string=ffmpeg

I will duplicate my error output and this one can be closed.

Loading...