If you set the TARGETDIR to blank, or set the TARGETDIR = DIR, the file will be reflaced to the same filename.
Some FLAC files are being skipped. It says they are being processed in the main output but the sub-window for the cores of my CPU are not processing all the files supposedly being allocated to that thread.
does this transfer metadata like comments, album name, artist name etc?
Tag v2.0.52 Makes use of Tag to identify and remove ID3v2 tags.
' If installed Flac version is >= 1.1.3, use native re-encoding If FlacVersion >= "1.1.3" Then exitcode = shell.Run("""" & flac & """ " & flacoptions & " -f -s -o """ & ofile & """ """ & ifile & """", 0, True) End If ' If older Flac version, or if the above attempt failed, use old method If (FlacVersion < "1.1.3") Or (exitcode <> 0) Then Set tags = GetFlacTags(ifile) tmpwavfile = fso.BuildPath(fso.GetParentFolderName(ofile), fso.GetBaseName(ofile) & ".wav") exitcode = shell.Run("""" & flac & """ -d -f -s -o """ & tmpwavfile & """ """ & ifile & """", 0, True) Wav2Flac tmpwavfile, ofile, tags End if
I just tried out version 2 and it crashes on my system (Vista 32 SP1). Reflacer.exe opens but I immediately get a "Reflacer has stopped working" error and I have to end it. I tried running with administrator priveleges, and running under compatibility modes with previous Windows version, to no avail...This is with the same script I use with 1.04, which works great.Thanksdavid
i have a lot of custom tags in my flac files that i've been unsuccessful in getting reflacer/metamp3 to work correctly. however i'm not really concerned that much, because i can easily use Mp3Tag to manually copy/paste the flac tags to the mp3 files.
what i'm curious about is if there would be an easy way to manually edit the script to turn off the v1.04 script's tag read/write parsing and the image resizing functionality?an even better option would be if you could consider it as an option in the reflacer.cfg file?in effect, what i'm trying to do is use your script or exe to strictly parse the directory structure, doing only the flac to mp3 transcoding plus the "additional file masks to copy". skipping the tag processing entirely.
' flac parameters to use for decodingFLACDecodeParams=--force --decode --totally-silent
just got a chance to try v2.01 on my Vista 32-bit build, I still ran into the random lockup's during the decode step, it looked like something happened with flac.exe near the end of the file. if i ended the flac.exe process, the reflacer.exe console window would dump a bunch of status txt and say decode failed, then move on to the next file.I think I was able to resolve it by adding the following parameter to the cfg:Code: [Select]' flac parameters to use for decodingFLACDecodeParams=--force --decode --totally-silentSince adding the --totally-silent option, I have successfully tested 2 runs with 7 albums and 93 flac's. Once using the MultiProcessor=Y option and once using the MultiProcessor=N modes. I'll try to test more and provide additional feedback. Any way to turn on a debug option to see what's happening in the background when it fails?
Not really. I think the code is locking up in the call to FLAC.exe. When it locks up, can you see flac.exe running, but taking up no CPU? When I launch flac, I'm creating a hidden window and attaching to the STDERR and STDOUT streams from the command. This is what was causing the issue with reFLACing files, but I didn't experience an issue with MP3s/decodes.I got around the issue for reflacing by piping STDOUT and STDERR to a temporary file. Can you try running the same process to reflac without version skipping and let me know if you experience any lock ups? While that process is running, you'll see a file in the TEMP directory with the output from the process. I may have to switch all of my external calls to this way of capturing the output.
How do I use this program exactly? I've edited the config file, run the .exe and it's giving me critical errors.What are the basics that I need in a config file to reflac all my FLAC's to the latest version? There's a hell of alot of options in the default config it's confusing.
1-ERROR: you may only specify one FLAC file when using '--export-picture-to'