R128GAIN: An EBU R128 compliant loudness scanner |
![]() ![]() |
R128GAIN: An EBU R128 compliant loudness scanner |
Oct 8 2011, 20:23
Post
#301
|
|
|
Group: Members Posts: 256 Joined: 29-April 10 Member No.: 80274 |
Can there be some README file on SourceForge or in source archive itself or here on HA as how to build this tool and what it expects to find on system?
CODE ...blah...
src/lib1770/src/example1.c src/lib1770/src/example2.c src/lib1770/src/pp/bs1770_version.c tar cfv rel/0.8.7/r128gain-0.8.7-src-ffmpeg.tar --transform="s,^,r128gain-0.8.7/,g" tools/download/ffmpeg-export-snapshot.tar.lzma tar: tools/download/ffmpeg-export-snapshot.tar.lzma: Cannot stat: No such file or directory tar: Exiting with failure status due to previous errors make: *** [rel] Error 2 |
|
|
|
Oct 8 2011, 20:39
Post
#302
|
|
![]() Group: Members Posts: 396 Joined: 13-June 10 Member No.: 81467 |
Can there be some README file on SourceForge or in source archive itself or here on HA as how to build this tool and what it expects to find on system? CODE ...blah... src/lib1770/src/example1.c src/lib1770/src/example2.c src/lib1770/src/pp/bs1770_version.c tar cfv rel/0.8.7/r128gain-0.8.7-src-ffmpeg.tar --transform="s,^,r128gain-0.8.7/,g" tools/download/ffmpeg-export-snapshot.tar.lzma tar: tools/download/ffmpeg-export-snapshot.tar.lzma: Cannot stat: No such file or directory tar: Exiting with failure status due to previous errors make: *** [rel] Error 2 I simply don't have the time to provide more documentation as currently available. For building R128GAIN do the following:
|
|
|
|
Oct 8 2011, 20:50
Post
#303
|
|
|
Group: Members Posts: 256 Joined: 29-April 10 Member No.: 80274 |
I was talking about simple README as you posted. Thanks
1. done 2. done (provides only download subfolder in tools folder) 3. make: *** No rule to make target `build/a52dec-0.7.4/__installed__', needed by `lib/liba52.a'. Stop. ? |
|
|
|
Oct 8 2011, 21:12
Post
#304
|
|
![]() Group: Members Posts: 396 Joined: 13-June 10 Member No.: 81467 |
I was talking about simple README as you posted. Thanks 1. done 2. done (provides only download subfolder in tools folder) 3. make: *** No rule to make target `build/a52dec-0.7.4/__installed__', needed by `lib/liba52.a'. Stop. ? Unfortunately the Makefile's download section is lost for whatever reason. In an hour or two I will upload a new version. |
|
|
|
Oct 8 2011, 22:13
Post
#305
|
|
![]() Group: Members Posts: 396 Joined: 13-June 10 Member No.: 81467 |
I noticed that R128GAIN doesn't allow more than 20 sounds in the input field. My goal is to normalize thousands of files This should mostly be fixed. I'm not certain whether 1000 and more files are possible, but indeed much more then 20. To process a directory it should be preferred to enter the directory to the input list rather than the individual files. Version 0.8.8 released: Home: http://r128gain.sourceforge.net/What's new?
|
|
|
|
Oct 8 2011, 23:07
Post
#306
|
|
|
Group: Members Posts: 256 Joined: 29-April 10 Member No.: 80274 |
3. make: *** No rule to make target `build/a52dec-0.7.4/__installed__', needed by `lib/liba52.a'. Stop. CODE ... touch build/a52dec-0.7.4/__installed__ echo "EXPORTS" > lib/liba52.def nm lib/liba52.a|sed -n "s/.* \(D\|R\|B\) _\(.*\)/\2 DATA/p" >> lib/liba52.def nm lib/liba52.a|sed -n "s/.* T _//p" >> lib/liba52.def mkdir -p bin gcc -shared -o bin/liba52.dll -Wl,--out-implib,lib/liba52.dll.a lib/liba52.def lib/liba52.a /usr/bin/ld: unrecognized option '--out-implib' /usr/bin/ld: use the --help option for usage information collect2: ld returned 1 exit status make: *** [bin/liba52.dll] Error 1 rm lib/liba52.def I thought I should ignore this error and go to 'src' but that wasn't good idea Is this tested on Linux? |
|
|
|
Oct 9 2011, 02:43
Post
#307
|
|
![]() Group: Members Posts: 396 Joined: 13-June 10 Member No.: 81467 |
|
|
|
|
Oct 9 2011, 03:54
Post
#308
|
|
|
Group: Members Posts: 256 Joined: 29-April 10 Member No.: 80274 |
Could you articulate a bit more why your suggestions from #302 does not do what they should?
Is your experimental project reasonably public, in a sense that user does not need to browse through foreign makefiles to figure what author wanted to do? This post has been edited by klonuo: Oct 9 2011, 03:54 |
|
|
|
Oct 9 2011, 06:34
Post
#309
|
|
![]() Group: Members Posts: 396 Joined: 13-June 10 Member No.: 81467 |
Could you articulate a bit more why your suggestions from #302 does not do what they should? I've written the tool for Windows, hence the build process is Windows specific, DEF files and DLLs are highly Windows specific. The option you had trouble with is a Windows specific GCC option for building DLLs for Windows. Maybe some day I port the tool to Linux. Is your experimental project reasonably public, in a sense that user does not need to browse through foreign makefiles to figure what author wanted to do? The user don't need to browse through the makefiles because I provide the binaries. The makefiles are provided because it's open source. |
|
|
|
Oct 9 2011, 06:57
Post
#310
|
|
|
Group: Members Posts: 256 Joined: 29-April 10 Member No.: 80274 |
I don't understand your replies.
From my first post log #301 it's clear that I'm on Linux. Then you replied with walk-through for building it on Linux (also alluding about building packages). And then you say it's not for Linux and maybe some day you'll port it!? Examples in your first post #1 in this thread have "/" as folder separator, then couple of subsequent examples showing processing are from Linux terminal (obvious prompt) I wanted command line RG scanner (not necessarily R128), but now it seems easier to me to wrap a script around available xxxgain scanners than understand with you This post has been edited by klonuo: Oct 9 2011, 06:59 |
|
|
|
Oct 9 2011, 07:25
Post
#311
|
|
![]() Group: Members Posts: 396 Joined: 13-June 10 Member No.: 81467 |
I don't understand your replies. From my first post log #301 it's clear that I'm on Linux. Please point me to where you are talking about Linux: Can there be some README file on SourceForge or in source archive itself or here on HA as how to build this tool and what it expects to find on system? CODE ...blah... src/lib1770/src/example1.c src/lib1770/src/example2.c src/lib1770/src/pp/bs1770_version.c tar cfv rel/0.8.7/r128gain-0.8.7-src-ffmpeg.tar --transform="s,^,r128gain-0.8.7/,g" tools/download/ffmpeg-export-snapshot.tar.lzma tar: tools/download/ffmpeg-export-snapshot.tar.lzma: Cannot stat: No such file or directory tar: Exiting with failure status due to previous errors make: *** [rel] Error 2 Then you replied with walk-through for building it on Linux (also alluding about building packages). Please point me to where I was talking about Linux: I simply don't have the time to provide more documentation as currently available. For building R128GAIN do the following:
And then you say it's not for Linux and maybe some day you'll port it!? Examples in your first post #1 in this thread have "/" as folder separator, then couple of subsequent examples showing processing are from Linux terminal (obvious prompt) Possibly you've never heard about the MSys/MinGW build environment for Windows (http://www.mingw.org/wiki/MSYS). It gives exactly the same appearance as a Unix shell, and that's exactly the build environment used for R128GAIN. I wanted command line RG scanner (not necessarily R128), but now it seems easier to me to wrap a script around available xxxgain scanners than understand with you Just do what you like. PLONK |
|
|
|
Oct 9 2011, 07:32
Post
#312
|
|
|
Group: Members Posts: 256 Joined: 29-April 10 Member No.: 80274 |
Yeah right, that's because I use Cygwin and build Linux packages with it
Just enjoy your champagne, my mistake |
|
|
|
Oct 9 2011, 10:16
Post
#313
|
|
![]() Group: Members (Donating) Posts: 770 Joined: 25-September 03 From: Umeå, Sweden Member No.: 9001 |
From my first post log #301 it's clear that I'm on Linux. There is nothing linux-specific about your command line session there. It could be anything from AIX to Interix and beyond, especially as you don't even have a prompt showing. Then you replied with walk-through for building it on Linux (also alluding about building packages). The words "package" and "distribution" have many fine meanings, the latter being both a noun for "a flavor of OSS OS deployment" and a verb for "deployment to users". I'd recommend you to stop seeing everything with your Linux goggles and realizing that there's a big world out there. The year of Linux has not come yet, and will not come for a long while. Examples in your first post #1 in this thread have "/" as folder separator, then couple of subsequent examples showing processing are from Linux terminal (obvious prompt) Yet again, assuming Linux just because a "/" appears is quite amusing. Not to mention, you don't even have any prompt in your dump. -------------------- Zao shang yong zao nong zao rang zao ren zao.
To, early in the morning, use a chisel to build a bathtub makes impatient people hot-tempered. |
|
|
|
Oct 9 2011, 16:48
Post
#314
|
|
|
Group: Members Posts: 256 Joined: 29-April 10 Member No.: 80274 |
OK man I got it, but using strictly FOSS to develop Windows application is something special, without bothering to drop a line about it
All those things I mention and logs itself, allude on *nix and have nothing to do with Windows unless run under emulation. If I'd used some exotic system, I'd mention it in my post as I'd expect to see MinGW mentioned somewhere with even single line including SF or source archive, apart expecting INSTALL for anything non canonical Doesn't idea of Windows binary and Linux build source seem appropriate while you see freely showing examples from msys prompt? Then who would want to build this on Windows under *nix emulator and at the same time ask how to build it, when batteries are provided? QUOTE I'd recommend you to stop seeing everything with your Linux goggles and realizing that there's a big world out there. The year of Linux has not come yet, and will not come for a long while. Thanks for your revelation, but I see it as subjective rant if you don't assume some role model I switched from Windows some months ago and for what I need and use it it's right on time This post has been edited by klonuo: Oct 9 2011, 16:48 |
|
|
|
Oct 9 2011, 17:33
Post
#315
|
|
![]() Group: Members (Donating) Posts: 770 Joined: 25-September 03 From: Umeå, Sweden Member No.: 9001 |
Let's not derail this thread any more, but do note that there's a lot of different UNIXy and BSDy OSes out there, and you GNU and Linux people are quite annoying when you assume the world circles around you.
-------------------- Zao shang yong zao nong zao rang zao ren zao.
To, early in the morning, use a chisel to build a bathtub makes impatient people hot-tempered. |
|
|
|
Oct 9 2011, 17:54
Post
#316
|
|
|
Group: Members Posts: 256 Joined: 29-April 10 Member No.: 80274 |
Now what's the point of you closing post?
I'm not GNU or Linux person. As I just told you, I switched from Windows some months ago for my reasons, and I don't think OS I'm currently using possesses me under that etiquette OTOH I see you appear in court anywhere someone mentions Linux and Windows together, which only makes your posts OT and please don't drag me in it with further replies |
|
|
|
Oct 9 2011, 18:08
Post
#317
|
|
![]() Group: Members (Donating) Posts: 770 Joined: 25-September 03 From: Umeå, Sweden Member No.: 9001 |
"Appear in court?" It helps communication if you refrain from using obscure cultural idioms.
In any way, I can post wherever I wish, and in this thread, I tried to clear up the situation and inform of the plethora of environments out there. If there's anyone hostile here, it's you demanding that a product that has always been for a particular platform for the first place should have explicit instructions on what platforms it does not target. For the sake of the thread and product, I'll leave this alone, but you don't seem to let me. This post has been edited by Zao: Oct 9 2011, 18:08 -------------------- Zao shang yong zao nong zao rang zao ren zao.
To, early in the morning, use a chisel to build a bathtub makes impatient people hot-tempered. |
|
|
|
Oct 11 2011, 18:51
Post
#318
|
|
|
Group: Members Posts: 2 Joined: 6-October 11 Member No.: 94183 |
I'm getting a few errors when processing hundreds of sounds.
ie: sound.wav (293/323) ... sox FAIL gain: parameter 'fixed_gain' must be between -1.#INF and 1.#INF When listening to the processed sounds, it seems some of them haven't been gained, and those ones are still very loud compared to the others. I also have to mention that most of those sounds are pretty short. Could R128GAIN handle samples shorter than 1sec? Thanks, jed. Screenshot: http://twitpic.com/6yvi2g |
|
|
|
Oct 11 2011, 19:25
Post
#319
|
|
![]() lossyWAV Developer Group: Developer Posts: 1722 Joined: 11-April 07 From: Wherever here is Member No.: 42400 |
Don't know if this is totally relevant, but when working on lossyWAV, specifically on processing and creating correction files, the new replaygain context menu in foobar2000 (R128 based) fails to tag some of the correction files with appropriate gain data. My guess is that the signal is too low and no valid gain value is calculated. The correction files are definitely not silence.
-------------------- lossyWAV -q X | FLAC -8 ~= 308kbps
SGS III (Rooted) + 64GB |
|
|
|
Oct 12 2011, 07:02
Post
#320
|
|
![]() Group: Members Posts: 396 Joined: 13-June 10 Member No.: 81467 |
I'm getting a few errors when processing hundreds of sounds. ie: sound.wav (293/323) ... sox FAIL gain: parameter 'fixed_gain' must be between -1.#INF and 1.#INF Most likely this is indeed an R128GAIN error. Could you please upload such a sample somewhere in order that I'm able to reproduce the error? When listening to the processed sounds, it seems some of them haven't been gained, and those ones are still very loud compared to the others. As it seems in these cases R128GAIN is unable to calculate a gain and hence doesn't provide a gain to the SoX command line. I also have to mention that most of those sounds are pretty short. Could R128GAIN handle samples shorter than 1sec? How short are these sounds? Of how many samples they consist? You should have in mind that there is a minum number of samples required due to the 400ms blocks, and at least one such block has to be processed. Maybe you can process the failed sounds by hand:
|
|
|
|
Oct 12 2011, 07:12
Post
#321
|
|
![]() Group: Members Posts: 396 Joined: 13-June 10 Member No.: 81467 |
Don't know if this is totally relevant, but when working on lossyWAV, specifically on processing and creating correction files, the new replaygain context menu in foobar2000 (R128 based) fails to tag some of the correction files with appropriate gain data. My guess is that the signal is too low and no valid gain value is calculated. The correction files are definitely not silence. It sounds very similar to the error reported by jed w.r.t. R128GAIN. You should consider raising the question
|
|
|
|
Nov 20 2011, 15:07
Post
#322
|
|
![]() Group: Members Posts: 396 Joined: 13-June 10 Member No.: 81467 |
I'm getting a few errors when processing hundreds of sounds. ie: sound.wav (293/323) ... sox FAIL gain: parameter 'fixed_gain' must be between -1.#INF and 1.#INF The new version should fix that in defaulting the loudness of sounds having to less samples for being properly processed to -23 LUFS. Version 0.9 released: Home: http://r128gain.sourceforge.net/What's new?
|
|
|
|
Dec 9 2011, 13:56
Post
#323
|
|
![]() Group: Members Posts: 396 Joined: 13-June 10 Member No.: 81467 |
Version 0.9.1 released:
Home: http://r128gain.sourceforge.net/What's new?
|
|
|
|
Dec 18 2011, 21:15
Post
#324
|
|
![]() Group: Members Posts: 396 Joined: 13-June 10 Member No.: 81467 |
Version 0.9.2 released:
Home: http://r128gain.sourceforge.net/What's new?
|
|
|
|
Jan 5 2012, 03:12
Post
#325
|
|
|
Group: Members Posts: 7 Joined: 5-January 12 From: US Member No.: 96245 |
Please forgive me if I missed it, but is there a command line environment variable provided for the actual LUFS value, e.g., %LUFS%?
Thank you. This post has been edited by gb24: Jan 5 2012, 03:13 |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 25th May 2013 - 16:35 |