libebur128 - (yet another) EBU R 128 implementation |
![]() ![]() |
libebur128 - (yet another) EBU R 128 implementation |
Aug 12 2011, 13:43
Post
#151
|
|
|
Group: Members Posts: 171 Joined: 1-October 04 Member No.: 17420 |
::
Windows XP SP3: Can't get it to work with .m4a-files. "r128-scanner.exe" -p all *.m4a cmd.exe: CODE nan LUFS, sample peak: 0.00000000, true peak: 0.00000000, true peak: -inf dBTP, 01 I'm Dat Chick.m4a ---------------------------------------------------------------------------------------------------- -inf LUFS, sample peak: 0.00000000, true peak: 0.00000000, true peak: -inf dBTP Greetings ... :: |
|
|
|
Sep 9 2011, 18:36
Post
#152
|
|
|
Group: Members Posts: 69 Joined: 1-June 05 Member No.: 22429 |
When tagging mp3 files already tagged with ID3v2.4 tags, the scanner is adding ID3v1 tags according to foobar2000. A few posts back you mentioned that the scanner should always be writing ID3v2 tags - are you sure that's the case?
Apart from that; fantastic work with the library and scanner! |
|
|
|
Sep 28 2011, 16:50
Post
#153
|
|
![]() A/V Moderator Group: Moderator Posts: 1666 Joined: 30-April 02 From: Slovenia Member No.: 1922 |
is there an OS X bin? or a short guide on how to compile this with ffmpeg from git perhaps?
This post has been edited by smok3: Sep 29 2011, 21:05 -------------------- PANIC: CPU 1: Cache Error (unrecoverable - dcache data) Eframe = 0x90000000208cf3b8
NOTICE - cpu 0 didn't dump TLB, may be hung |
|
|
|
Oct 8 2011, 19:40
Post
#154
|
|
|
Group: Members Posts: 171 Joined: 1-October 04 Member No.: 17420 |
::
Hello Raiden, I like to point out to this post: R128GAIN Version 0.8.7 released pbelkner implemented new histogram based statistics for his scanner (... don't know if this is of some interest for libEbuR128?). Will there be new release in the near future? Greetings ... :: |
|
|
|
Oct 9 2011, 13:19
Post
#155
|
|
|
Group: Members Posts: 2 Joined: 26-December 10 Member No.: 86813 |
Would this be a good library to use for setting DRC data in FFmpeg/Libav's AC3 and AAC encoders?
As far as I can tell nobody has implemented EBU R 128 in an encoder yet. |
|
|
|
Oct 17 2011, 10:29
Post
#156
|
|
|
Group: Members Posts: 15 Joined: 22-February 11 Member No.: 88387 |
Many questions - no answers. And the link to the program sources seems to be dead...
Does anybody know, how the state of this project is? |
|
|
|
Oct 17 2011, 10:45
Post
#157
|
|
|
Group: Members Posts: 256 Joined: 29-April 10 Member No.: 80274 |
seem fine to me (after concluding that this is not only library but also executable scanner/tagger/analyser)
https://github.com/jiixyj/libebur128 |
|
|
|
Oct 17 2011, 11:16
Post
#158
|
|
|
Group: Members Posts: 15 Joined: 22-February 11 Member No.: 88387 |
I see - libebur128 obviously has moved to a new location. I did try "http://www-public.tu-bs.de:8080/~y0035293/libebur128.html"...
At the new project page the download links don't seem to work either. But it's good to know that work is in progress :-) This post has been edited by habasud: Oct 17 2011, 12:03 |
|
|
|
Oct 17 2011, 14:47
Post
#159
|
|
![]() Group: Developer Posts: 224 Joined: 14-September 04 Member No.: 17002 |
The new home is at https://github.com/jiixyj/libebur128 since my university decided to shut down all user pages.
Hopefully I'll get some binary builds up soon. Windows XP SP3: Can't get it to work with .m4a-files. Support for tagging MP4/M4A should be in the newest git version. When tagging mp3 files already tagged with ID3v2.4 tags, the scanner is adding ID3v1 tags according to foobar2000. Yes, you are right! This is fixed now. Now the only thing that is done is modifying/adding a ID3v2 tag. |
|
|
|
Oct 17 2011, 14:55
Post
#160
|
|
|
Group: Members Posts: 69 Joined: 1-June 05 Member No.: 22429 |
|
|
|
|
Dec 9 2011, 09:30
Post
#161
|
|
|
Group: Members Posts: 15 Joined: 22-February 11 Member No.: 88387 |
I tried compiling the sources from the git site. Compiling the scanner fails with:
QUOTE [ 36%] Building C object scanner/CMakeFiles/loudness.dir/scanner.c.o [...]/jiixyj-libebur128-29abd7b/scanner/scanner.c:11:22: error: filetree.h: Datei oder Verzeichnis nicht gefunden There are some more reported errors - maybe as a consequence of the quoted one above- that I may post if needed. |
|
|
|
Dec 9 2011, 09:39
Post
#162
|
|
|
Group: Members Posts: 256 Joined: 29-April 10 Member No.: 80274 |
Aafter clone run:
CODE git submodule init git submodule update in the root folder. |
|
|
|
Dec 9 2011, 10:58
Post
#163
|
|
|
Group: Members Posts: 15 Joined: 22-February 11 Member No.: 88387 |
O.K.; I was trying the package on the "download" tab. Using the git version with your hint works - THX
|
|
|
|
Dec 10 2011, 09:49
Post
#164
|
|
|
Group: Members Posts: 6 Joined: 25-March 11 Member No.: 89293 |
Hi,
there are no more binaries available on github https://github.com/jiixyj/libebur128/downloads is that on purpose ? Is there any plan to offer binaries soon ? Thanks, Manuel |
|
|
|
Dec 13 2011, 08:13
Post
#165
|
|
|
Group: Members Posts: 6 Joined: 25-March 11 Member No.: 89293 |
Hi, there are no more binaries available on github https://github.com/jiixyj/libebur128/downloads is that on purpose ? Is there any plan to offer binaries soon ? Thanks, Manuel Ok, I eventually managed to build on Mac Intel-Snow Leopard. Here's a short how-to (in French, sorry). |
|
|
|
Jan 10 2012, 09:34
Post
#166
|
|
|
Group: Members Posts: 15 Joined: 22-February 11 Member No.: 88387 |
Hi to all,
in the latest version of libebur128 the calculation of peak levels doesn't work properly. It only offers an option for "sample" peaks. The options "dbtp", "true" and "all" are no longer recognized. They are also not mentioned when using "--help". QUOTE loudness scan -p true hot_number.mp3 Invalid argument to --peak! The use of "loudness scan -p sample [file]" seems to print the true peak value - at least it may show values > 1. In my opinion a value for sample peaks cannot be greater than 1, can they? QUOTE Loudness, Sample peak -9,8 LUFS, 1,028400, gtbsdr3.mp3 |
|
|
|
Jan 10 2012, 22:50
Post
#167
|
|
|
Group: Members Posts: 42 Joined: 27-November 11 Member No.: 95439 |
in the latest version of libebur128 the calculation of peak levels doesn't work properly. It only offers an option for "sample" peaks. The options "dbtp", "true" and "all" are no longer recognized. They are also not mentioned when using "--help". Which version is the latest to you? I ask because I had a similar problem, but it was fixed for me by commit 679828, of January 4th. |
|
|
|
Jan 12 2012, 10:33
Post
#168
|
|
|
Group: Members Posts: 15 Joined: 22-February 11 Member No.: 88387 |
QUOTE Which version is the latest to you? I made a download the day before I wrote this. I used the "git" tool as described in the README.md QUOTE I ask because I had a similar problem, but it was fixed for me by commit 679828, of January 4th. Can you tell me where I do find any version information in that git-created "libebur128" folder? - But anyway: I just had another download/compile run, but the output of the newly compiled "loudness" in the build directory is still as shown... |
|
|
|
Jan 12 2012, 19:02
Post
#169
|
|
|
Group: Members Posts: 42 Joined: 27-November 11 Member No.: 95439 |
Can you tell me where I do find any version information in that git-created "libebur128" folder? - But anyway: I just had another download/compile run, but the output of the newly compiled "loudness" in the build directory is still as shown... CODE git log will show the commits that are included (newest first).But I had assumed that it used to work for you before. If this is your first try, the most probable cause is that you don't have the speexdsp library (or its header files) installed. The ebur128 loudness scanner uses this library's resampler to search for "true" peaks. Regarding the sample peaks values >1 that you observed, I agree that it probably shouldn't be that way, but it's certainly not the true peak. |
|
|
|
Jan 12 2012, 22:59
Post
#170
|
|
|
Group: Members Posts: 15 Joined: 22-February 11 Member No.: 88387 |
QUOTE But I had assumed that it used to work for you before. Yes it did! I use the true peak and the loudness measurement in connection with loudness normalizing on a server running FreeBSD - an older version, because I wasn't able to compile later ones by now. I'll find out... But on Linux -where the problem occurred - I normally use the "dump" feature for visualization of m/s/i with gnuplot. QUOTE If this is your first try, the most probable cause is that you don't have the speexdsp library (or its header files) installed. Installing the speexdsp headers did the job. Thank you! This post has been edited by habasud: Jan 12 2012, 23:06 |
|
|
|
Jan 14 2012, 17:25
Post
#171
|
|
![]() A/V Moderator Group: Moderator Posts: 1666 Joined: 30-April 02 From: Slovenia Member No.: 1922 |
Ok, I eventually managed to build on Mac Intel-Snow Leopard. Here's a short how-to (in French, sorry). care to share the binary? -------------------- PANIC: CPU 1: Cache Error (unrecoverable - dcache data) Eframe = 0x90000000208cf3b8
NOTICE - cpu 0 didn't dump TLB, may be hung |
|
|
|
Feb 19 2012, 09:22
Post
#172
|
|
|
Group: Members Posts: 6 Joined: 25-March 11 Member No.: 89293 |
Ok, I eventually managed to build on Mac Intel-Snow Leopard. Here's a short how-to (in French, sorry). care to share the binary? Hi, sorry for answering late, I thought I was subscriber to this thread but ... I'm not sure that distributing a home-built binary would be very helpful as the binary requires various libs that might not be in standard dirs on my computer ... To build on Mac, all you really need is the Apple Developer Tools and MacPorts to install dependancies (well, at least, this is an option). Step 1 : get Apple Developer Tools https://developer.apple.com/ You'll need to create a free developer account, and depending on your os get the correct developper tools Step 2 : install MacPorts http://www.macports.org/ Step 3 : install dependancies and utilities Launch Terminal.app CODE $sudo port install glib2 gtk2 taglib ffmpeg libsndfile cmake git-core Step 4 : get source code from repository and build If not already done, launch Terminal.app CODE $cd $HOME $git clone https://github.com/jiixyj/libebur128 $cd libebur128/ $git submodule init $git submodule update $mkdir build $cd build $cmake .. $make Step 5 : run binary CODE $$HOME/libebur128/build/loudness scan -l -p dbtp path/to/somefile.wav Hope that it helps ... This post has been edited by audionuma: Feb 19 2012, 09:41 |
|
|
|
Feb 24 2012, 18:26
Post
#173
|
|
|
Group: Members Posts: 256 Joined: 29-April 10 Member No.: 80274 |
On Ubuntu cmake failed to find glibconfig:
CODE $ locate -r "/glib.h$" -r "/glibconfig.h$" /usr/include/glib-2.0/glib.h /usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h Workaround: CODE CMAKE_INCLUDE_PATH=/usr/lib/i386-linux-gnu/glib-2.0/include cmake .. Now can use gtk drop instead qt drop
|
|
|
|
Apr 19 2012, 12:56
Post
#174
|
|
|
Group: Members Posts: 3 Joined: 16-November 11 Member No.: 95215 |
@Raiden,
Thanks for this great little program! Would it be possible to add momentary loudness metering according to ITU-R BS.1771-1 (http://www.itu.int/rec/R-REC-BS.1771/en)? If only I was a bit more knowleadgeable about all this math... Edit: added link to document This post has been edited by bennie: Apr 19 2012, 12:59 |
|
|
|
Apr 19 2012, 22:34
Post
#175
|
|
|
Group: Members Posts: 42 Joined: 27-November 11 Member No.: 95439 |
Would it be possible to add momentary loudness metering according to ITU-R BS.1771-1? Are you sure it can’t do this already? There's this example in the help message: CODE loudness dump -m 1.0 a.wav # Each second, write momentary loudness to stdout. Or is this different from the norm you cite? |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 02:45 |