VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or Try ConvertXtoDVD and convert all your movies to DVD. Free trial ! :)
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Member
    Join Date
    Jan 2013
    Location
    mumbai
    Search Comp PM
    There has been problem with big videos at my server(i.e Video greater than 1 hr duration).

    I am getting the following errors at my Error log file

    Code:
    frame=15645 fps= 55 q=2.0 size=  379977kB time=4119.81 bitrate= 755.6kbits/s    
    [libmp3lame @ 0x1ef425e0] lame: output buffer too small (buffer index: 9325, free bytes: 467)
    Audio encoding failed
    ERROR: failed to allocate memory
    
    ERROR: /usr/lib/ruby/site_ruby/1.8/flv/tag.rb:51:in `read'
    
    ERROR: /usr/lib/ruby/site_ruby/1.8/flv/tag.rb:51:in `initialize'
    
    ERROR: /usr/lib/ruby/site_ruby/1.8/flv/stream.rb:449:in `new'
    
    ERROR: /usr/lib/ruby/site_ruby/1.8/flv/stream.rb:449:in `read_tags'
    
    ERROR: /usr/lib/ruby/site_ruby/1.8/flv/stream.rb:58:in `initialize'
    
    ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:272:in `new'
    
    ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:272:in `open_stream'
    
    ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:238:in `process_files'
    
    ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:225:in `each'
    
    ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:225:in `process_files'
    
    ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:44:in `execute!'
    
    ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2.rb:168:in `execute!'
    
    ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2.rb:228
    
    ERROR: /usr/local/rvm/rubies/ruby-1.9.3-p194/bin/flvtool2:2:in `require'
    
    ERROR: /usr/local/rvm/rubies/ruby-1.9.3-p194/bin/flvtool2:2
    
    Skipping file /home/richie/public_html/flvideo/116x.flv
    /usr/local/bin/ffmpeg -i /home/richie/public_html/video/116.wmv -f image2 -ss 00:00:1 -s 120x90 -vframes 2 -y /home/richie/public_html/tmp/thumbs/116/%08d.jpg

    When I tried to convert file manually with following command

    Code:
     ffmpeg -i /home/richie/public_html/video/115.wmv -r 24 -s 320x240 115.flv
    I got feedback as

    Code:
    Stream mapping:
      Stream #0.1 -> #0.0
      Stream #0.0 -> #0.1
    Press [q] to stop encoding
    [libmp3lame @ 0x1f4cb5e0] lame: output buffer too small (buffer index: 9404, free bytes: 388)
    Audio encoding failed

    Please let me know exactly where is fault among following 3
    1) My Server
    2) FLVTOOL2 ( I already reinstalled ruby / FLVTOOL 2 many a times as server tech guy told me FLVTOOL2 may be broken)
    3) FFMPEG
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    I googled "lame: output buffer too small" and found for example this http://www.experts-exchange.com/OS/Linux/A_2592-Fixing-output-buffer-too-small-issue-f...ibmp3lame.html
    Quote Quote  
  3. Member
    Join Date
    Jan 2013
    Location
    mumbai
    Search Comp PM
    @baldrick

    I already have installed lame 3.97 as per mentioned in the link you posted but problem still persists with same errors at log file.
    Quote Quote  



Similar Threads