Slightly Off Topic: New FFMPEG Binary

Bug reports, or any problems you might encounter.

Slightly Off Topic: New FFMPEG Binary

Postby IgnoranceIsBliss on Wed Mar 11, 2009 12:03 am

There is a bug in the current 'latest' binary build found on this website which has apparently now been resolved in the FFMPEG source - the bug that causes the LAME encoder to fail with an 'Output Buffer Too Small' error.

I don't suppose there's a chance of a new build appearing any time soon? I'd REALLY like to be able to encode to MP3 using the latest version, since I'm struggling to get earlier versions to output suitable video files for Windows Mobile devices.
IgnoranceIsBliss
 
Posts: 1
Joined: Tue Mar 10, 2009 11:57 pm

Re: Slightly Off Topic: New FFMPEG Binary

Postby wzrlpy on Wed Mar 11, 2009 11:16 pm

The bug disappears if you go back to LAME 3.98
Also there is a patch proposed but not applied. Good diplomacy is yet needed as neither FFmpeg nor LAME see the, ahem, issue as an own bug.
wzrlpy
 
Posts: 124
Joined: Thu Aug 17, 2006 10:45 pm

Re: Slightly Off Topic: New FFMPEG Binary

Postby fallout33 on Fri Feb 05, 2010 3:12 pm

wzrlpy wrote:[...] The bug disappears if you go back to LAME 3.98 [...]

How do I do that under windows?

I have tried that, but there were far too many errors when trying to compile the package ...


wzrlpy wrote:[...] Also there is a patch proposed but not applied [...]

Where can I find this patch?
Is it possible to apply it in windows?
fallout33
 
Posts: 6
Joined: Mon Aug 24, 2009 9:11 pm

Re: Slightly Off Topic: New FFMPEG Binary

Postby angustia on Fri Feb 05, 2010 6:01 pm

the latest autobuilds come with lame from cvs which has this bug fixed.
angustia
Site Admin
 
Posts: 1301
Joined: Thu Jan 01, 1970 12:00 am

Re: Slightly Off Topic: New FFMPEG Binary

Postby fallout33 on Sat Feb 06, 2010 5:37 pm

angustia wrote:the latest autobuilds come with lame from cvs which has this bug fixed.

I have tried version r21657 but I am still getting the error when converting a (youtube) flv video to divx:

Code: Select all
ffmpeg -acodec libfaad -i input.flv -f avi -vcodec mpeg4 -b 750k -vtag DX50 -acodec libmp3lame -ac 2 -ab 128k -ar 44100 output.avi
fallout33
 
Posts: 6
Joined: Mon Aug 24, 2009 9:11 pm

Re: Slightly Off Topic: New FFMPEG Binary

Postby angustia on Tue Feb 09, 2010 11:55 pm

hi, could you please provide full uncut ffmpeg command line + output along with a sample input file?
angustia
Site Admin
 
Posts: 1301
Joined: Thu Jan 01, 1970 12:00 am

Re: Slightly Off Topic: New FFMPEG Binary

Postby fallout33 on Wed Feb 10, 2010 10:26 am

angustia wrote:hi, could you please provide full uncut ffmpeg command line + output along with a sample input file?

Thank you in advance for taking a closer look at the problem!

Code: Select all
http://www.youtube.com/watch?v=CIiy5dvBhNA

Code: Select all
C:\>ffmpeg -acodec libfaad -i video.flv -f avi -vcodec mpeg4 -b 750k -vtag DX50 -acodec libmp3lame -ac 2 -ab 128k -ar 44100 video.avi
FFmpeg version SVN-r21657-Sherpya, Copyright (c) 2000-2010 Fabrice Bellard, et al.
  built on Feb  6 2010 14:17:20 with gcc 4.2.5 20080919 (prerelease) [Sherpya]
  libavutil     50. 8. 0 / 50. 8. 0
  libavcodec    52.52. 0 / 52.52. 0
  libavformat   52.50. 0 / 52.50. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.17. 0 /  1.17. 0
  libswscale     0.10. 0 /  0.10. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[flv @ 0186d410]Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 2000.00 (2000/1) -> 29.92 (359/12)
Input #0, flv, from 'video.flv':
  Metadata:
    duration        : 277
    starttime       : 0
    totalduration   : 277
    width           : 320
    height          : 240
    videodatarate   : 102
    audiodatarate   : 63
    totaldatarate   : 172
    framerate       : 30
    bytelength      : 5949331
    canseekontime   : true
    sourcedata      : B4A7D6C03HH
    purl            :
    pmsg            :
  Duration: 00:04:36.87, start: 0.000000, bitrate: 104 kb/s
    Stream #0.0: Video: h264, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 104 kb/s, 29.92 tbr, 1k tbn, 2k tbc
    Stream #0.1: Audio: aac, 22050 Hz, stereo, s16
Output #0, avi, to 'video.avi':
    Stream #0.0: Video: mpeg4, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=2-31, 750 kb/s, 29.92 tbn, 29.92 tbc
    Stream #0.1: Audio: libmp3lame, 44100 Hz, stereo, s16, 128 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
frame=  347 fps=231 q=2.0 size=     643kB time=11.52 bitrate= 457.0kbits/s dup=0
frame=  490 fps=245 q=2.0 size=     903kB time=16.25 bitrate= 455.2kbits/s dup=0
frame=  637 fps=255 q=1.6 size=    1166kB time=21.19 bitrate= 451.1kbits/s dup=0
frame=  781 fps=260 q=1.6 size=    1427kB time=25.97 bitrate= 450.3kbits/s dup=0
frame=  928 fps=265 q=2.0 size=    1691kB time=30.93 bitrate= 448.0kbits/s dup=0
frame= 1068 fps=267 q=2.0 size=    1951kB time=35.63 bitrate= 448.5kbits/s dup=0
frame= 1213 fps=270 q=1.6 size=    2212kB time=40.41 bitrate= 448.3kbits/s dup=0
frame= 1350 fps=270 q=2.0 size=    2470kB time=45.04 bitrate= 449.3kbits/s dup=0
frame= 1497 fps=272 q=2.0 size=    2733kB time=49.97 bitrate= 448.1kbits/s dup=0
frame= 1637 fps=273 q=2.0 size=    2992kB time=54.65 bitrate= 448.6kbits/s dup=0
frame= 1784 fps=274 q=2.0 size=    3255kB time=59.53 bitrate= 447.9kbits/s dup=0
frame= 1921 fps=274 q=1.6 size=    3498kB time=64.13 bitrate= 446.8kbits/s dup=0
frame= 2061 fps=275 q=2.0 size=    3757kB time=68.83 bitrate= 447.2kbits/s dup=0
frame= 2204 fps=276 q=2.0 size=    4017kB time=73.56 bitrate= 447.4kbits/s dup=0
frame= 2349 fps=276 q=2.0 size=    4280kB time=78.45 bitrate= 446.9kbits/s dup=0
frame= 2493 fps=277 q=2.0 size=    4541kB time=83.23 bitrate= 446.9kbits/s dup=0
frame= 2640 fps=278 q=2.0 size=    4805kB time=88.19 bitrate= 446.3kbits/s dup=0
frame= 2790 fps=279 q=2.0 size=    5084kB time=93.15 bitrate= 447.1kbits/s dup=0
frame= 2935 fps=280 q=2.0 size=    5388kB time=97.99 bitrate= 450.5kbits/s dup=0
frame= 3070 fps=279 q=2.0 size=    5678kB time=102.53 bitrate= 453.7kbits/s dup=
frame= 3214 fps=279 q=2.0 size=    5992kB time=107.36 bitrate= 457.2kbits/s dup=
frame= 3351 fps=279 q=2.0 size=    6282kB time=111.91 bitrate= 459.9kbits/s dup=
frame= 3490 fps=279 q=2.0 size=    6593kB time=116.56 bitrate= 463.4kbits/s dup=
frame= 3616 fps=278 q=2.0 size=    6858kB time=120.79 bitrate= 465.1kbits/s dup=
frame= 3760 fps=279 q=2.0 size=    7191kB time=125.62 bitrate= 468.9kbits/s dup=
frame= 3901 fps=279 q=1.6 size=    7484kB time=130.30 bitrate= 470.5kbits/s dup=
frame= 4047 fps=279 q=2.0 size=    7799kB time=135.18 bitrate= 472.6kbits/s dup=
frame= 4187 fps=279 q=2.0 size=    8109kB time=139.83 bitrate= 475.1kbits/s dup=
frame= 4326 fps=279 q=2.0 size=    8421kB time=144.51 bitrate= 477.4kbits/s dup=
frame= 4463 fps=279 q=2.0 size=    8712kB time=149.11 bitrate= 478.6kbits/s dup=
frame= 4608 fps=279 q=2.0 size=    9026kB time=153.94 bitrate= 480.3kbits/s dup=
frame= 4740 fps=279 q=2.0 size=    9313kB time=158.30 bitrate= 481.9kbits/s dup=
frame= 4867 fps=278 q=2.0 size=    9599kB time=162.64 bitrate= 483.5kbits/s dup=
frame= 5005 fps=278 q=1.6 size=    9911kB time=167.18 bitrate= 485.6kbits/s dup=
frame= 5138 fps=278 q=2.0 size=   10190kB time=171.65 bitrate= 486.3kbits/s dup=
frame= 5278 fps=278 q=2.0 size=   10490kB time=176.33 bitrate= 487.4kbits/s dup=
frame= 5418 fps=278 q=2.0 size=   10791kB time=180.98 bitrate= 488.4kbits/s dup=
frame= 5559 fps=278 q=2.0 size=   11074kB time=185.70 bitrate= 488.5kbits/s dup=
frame= 5693 fps=278 q=2.0 size=   11372kB time=190.22 bitrate= 489.7kbits/s dup=
frame= 5835 fps=278 q=2.0 size=   11655kB time=194.95 bitrate= 489.8kbits/s dup=
frame= 5986 fps=278 q=2.0 size=   11981kB time=200.02 bitrate= 490.7kbits/s dup=
frame= 6133 fps=279 q=1.6 size=   12286kB time=204.93 bitrate= 491.1kbits/s dup=
frame= 6281 fps=279 q=2.0 size=   12609kB time=209.87 bitrate= 492.2kbits/s dup=
frame= 6426 fps=279 q=2.0 size=   12913kB time=214.70 bitrate= 492.7kbits/s dup=
frame= 6573 fps=280 q=2.0 size=   13218kB time=219.61 bitrate= 493.0kbits/s dup=
frame= 6714 fps=280 q=2.0 size=   13519kB time=224.31 bitrate= 493.7kbits/s dup=
frame= 6860 fps=280 q=2.0 size=   13823kB time=229.22 bitrate= 494.0kbits/s dup=
frame= 7002 fps=280 q=2.0 size=   14125kB time=233.95 bitrate= 494.6kbits/s dup=
frame= 7135 fps=280 q=2.0 size=   14403kB time=238.37 bitrate= 495.0kbits/s dup=
frame= 7278 fps=280 q=2.0 size=   14706kB time=243.20 bitrate= 495.4kbits/s dup=
frame= 7424 fps=280 q=2.0 size=   15011kB time=248.08 bitrate= 495.7kbits/s dup=
frame= 7568 fps=280 q=2.0 size=   15313kB time=252.87 bitrate= 496.1kbits/s dup=
frame= 7710 fps=280 q=2.0 size=   15615kB time=257.65 bitrate= 496.5kbits/s dup=
frame= 7849 fps=280 q=1.6 size=   15897kB time=262.30 bitrate= 496.5kbits/s dup=
frame= 7994 fps=280 q=2.0 size=   16201kB time=267.13 bitrate= 496.8kbits/s dup=
frame= 8142 fps=281 q=2.0 size=   16524kB time=272.04 bitrate= 497.6kbits/s dup=
[libmp3lame @ 01ad9010]lame: output buffer too small (buffer index: 9195, free bytes: 597)
Audio encoding failed
fallout33
 
Posts: 6
Joined: Mon Aug 24, 2009 9:11 pm

Re: Slightly Off Topic: New FFMPEG Binary

Postby angustia on Thu Feb 11, 2010 12:53 am

fallout33 wrote:FFmpeg version SVN-r21657-Sherpya, Copyright (c) 2000-2010 Fabrice Bellard, et al.
built on Feb 6 2010 14:17:20 with gcc 4.2.5 20080919 (prerelease) [Sherpya]

Hmmm... You didn't get this build from my website =) You should contact Sherpya.
With my autobuilds, the input from libfaad fails (I'll look into that), but the output to libmp3lame is fine.
angustia
Site Admin
 
Posts: 1301
Joined: Thu Jan 01, 1970 12:00 am

Re: Slightly Off Topic: New FFMPEG Binary

Postby angustia on Thu Feb 11, 2010 1:24 am

Actually I won't look at the libfaad issue. We should rather support ffaac, and it works.
angustia
Site Admin
 
Posts: 1301
Joined: Thu Jan 01, 1970 12:00 am

Re: Slightly Off Topic: New FFMPEG Binary

Postby fallout33 on Thu Feb 11, 2010 6:45 pm

angustia wrote:[...] You didn't get this build from my website =) [...]

Oh, sorry, I just stumbled across this form when searching the web for the error message string.
Actually, I got this build from sourceforge.

angustia wrote:[...] With my autobuilds, [...] the output to libmp3lame is fine [...]

Thank you, your autobuilds do the job!
fallout33
 
Posts: 6
Joined: Mon Aug 24, 2009 9:11 pm


Return to Problems

Who is online

Users browsing this forum: kupa and 3 guests

cron