|
From: Alister H. <ali...@gm...> - 2014-09-25 00:39:36
|
OK,
(1) if you want a fixed build of a version which is producing static,
you can just rebuild after deleting this from encode.c:
optcnt++;
options[optcnt] = "-x"; /* Swap bytes */
But I guess this option must have been added because someone actually
needed it... I wonder if it is machine specific and can be tested for at
compile time, or if it is audio file specific?
(2) in 0.21-19 if you rename the start_encode_old() function to
start_encode(), and rename the start_encode() function to
start_encode_new_disabled(), then "Encode Selection As..." will work.
But again, based on the changelog I guess the new function must be
needed on some systems:
> GWC Changelog
> 0.21-19
> ...
> BUGFIX: Encoding to ogg or mp3 has always been broken, can only
encode to once during GWC session. Fixed by using named pipe
The "old" function works fine on my system - I can encode more than once
during a GWC session. For the "Simple encode..." feature to still work
with it I also had to remove this line:
options[optcnt] = pipe_name ; /* named pipe */
These changes and also a fix for "Simple encode..."ing mono files are in
my git version:
https://github.com/AlisterH/gwc/commit/47f7397e6ab6971aed348494b6a5afcd3001d990
Regards,
Alister
Alister Hood wrote, On 24/09/14 12:01:
> Hi John,
>
> I've found the current version of gwc (I'm not sure about old ones)
> freezes if I try to "Encode Selection As..." mp3 or ogg, but "Simple
> encode selection as mp3" works fine.
> FWIW I currently have lame 3.99.5
>
> John Cirillo wrote, On 24/09/14 03:47:
>> I just installed gwc on my work computer and when I go to encode to
>> mp3, I see a message in the command line that:
>> Assuming raw pcm input file : Forcing byte-swapping
>> As a result the mp3 is garbage, just a loud hiss.
>> I remember that this started happening long ago at home, and has
>> persisted ever since then, persisting through complete reinstalls.
>> It is not dependent on the version of gwc.
>> I am currently at 0.21.18 at work because 0.21.19 freezes when I try
>> to save anything.
>> At home I think I'm using 0.21.05.
>> I seem to remember having reported this problem before, and so far
>> the only solution has been to uninstall lame and force an install of
>> lame 3.97 which I kept from my old Squeeze install (or before).
>> The newer lames work fine when encoding a .wav from command line but
>> from gwc this byte-swapping happens.
>> Is there something I can do, maybe something I can set in gwc?
>> I can't believe I'm the only one who has encountered this. Happens
>> consistently on three computers (work, home, and laptop). I think it
>> started happening on or after Squeeze. I've gone through Wheezy and
>> now at Jessie with the same problem. Installing lame 3.97 seems the
>> only solution. I don't understand.
>>
>> Thanks,
>> John Cirillo
|