Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#336 -V option not working on QNAP TS-209 with Debian

closed-fixed
5
2011-05-07
2009-03-11
Anonymous
No

I'm trying to do flac to mp3 conversion on my QNAP TS-209 and cannot for the life of me get VBR to work. The problem is not with flac, since "flac -d file.flac" produces a good wav copy. Then, when trying wav to mp3 conversion, "lame -b 320 file.wav" works out nicely but "lame -V 0 file.wav" does not work. It gives a file that is way too small and that produces no audible output. The lame histogram shows encoding to only 32 kbit/s. I have tried the -x option but it makes no difference.

I installed lame by adding debian-multimedia.org to my apt sources.list.

Investigation of this bug is at http://forum.qnap.com/viewtopic.php?f=147&t=12356&p=57594

If you do not have access to a TS-209 I'll be glad to assist. Contact me at bjohv052@gmail.com.

Discussion

  • What version of LAME do you use?
    Did you compile yourself or do you get pre-compiled binaries?

     
  • 3.98.2 for Debian Lenny ARM from debian-multimedia.org (pre-compiled).

     
  • I don't have access to a TS-209. Can you give me some details how LAME gets configured on that machine? Maybe there is some feature detection going wrong with the configure script.

     
    • labels: 105731 --> configure/Makefiles
    • assigned_to: nobody --> rbrito
     
  • Hi Björn,

    the link you gave is very useful. It seems to nail the problem down to a GCC bug, which we need to circumvent by taking care of it in our configure stuff.

    Robert

     
  • I have already contacted the submitter on the forum indicated and I will put a fix on the HEAD branch of our tree.

    I think that I can backport it, but since the original poster is using binaries compiled by Christian Marillat, I guess that he won't be able to benefit from our changes, since Marillat removes the Debian packaging that I make and does it his way. I have been trying to be in contact with Fabien and he has suggested me some improvements to the packaging and I intend to bring it to the state of the art (or, at least, as close as possible to it).

    Regards, Rogério Brito.

     
  • Not really a problem with lame, but with gcc, it appears. Please let me know if there are any further comments.

    Regards, Rogério Brito.

    P.S.: Martin has told me that he could, perhaps, arrange me an ARM box to use for Debian development. Unfortunately, at this time I don't have anything. I can, OTOH, use the patch linked to from the bug...
    (http://martinwguy.co.uk/martin/debian/no-finite-math-only/)

     
    • priority: 5 --> 1
     
  • This is closed with the patch that Andres Mejia sent me. It would be good to verify if newer versions of GCC (e.g., 4.5 or 4.6) still have this bug.

     
    • priority: 1 --> 5
    • status: open --> closed-fixed