Page 1 of 1

Not able to encode to mp3 from flac

Posted: Wed Jul 20, 2016 12:39 pm
by novabox
I seem to be having not luck when trying to encode from a flac to an mp3 file. When I try nothing seems to happen. Using 0.89beta.

Re: Not able to encode to mp3 from flac

Posted: Thu Jul 21, 2016 2:56 pm
by jtclipper
TGF uses the command line tool flac.exe (https://xiph.org/flac/download.html) to decode the .flac files, it does so by creating and executing a .bat file located in your local temp folder for example C:\Users\user1\AppData\Local\Temp\~tfgconv~.bat.

If you execute this file from a command prompt you will find out what the problem is and in most cases the flac.exe tool "de-syncs " if it believes it has found a bad header or frame in the file, most players will play the file just fine but the decoder is stricter and gives up with an error.

These is a switch -F or --decode-through-errors that I do not use at the moment but could just add easily in the next beta build

Re: Not able to encode to mp3 from flac

Posted: Sat Jul 23, 2016 2:52 am
by novabox
Thanks for the info. I reinstalled of TGF solved the problem. Thanks

Re: Not able to encode to mp3 from flac

Posted: Sat Jul 23, 2016 3:03 am
by novabox
Ok, really weird, it worked my first try on reinstalled. Then when I went to another folder it stopped working again.

Re: Not able to encode to mp3 from flac

Posted: Sat Jul 23, 2016 1:03 pm
by jtclipper
I have updated the beta, flac.exe now uses the -F switch to ignore decode hiccups, please download and have a look