Comments (10)
Wow, nice. That worked, yes. Thank you very much, especially for releasing this software in the first place!
I still had to change the zita-resampler CMakeLists.txt a bit for it to install the headers, so heres the full step-by-step that finally worked for me to build on MacOS:
brew install automake autoconf-archive cmake
brew install mpg123 fftw libsndfile libgcrypt
git clone https://github.com/digital-stage/zita-resampler
cd zita-resampler
- Edit CMakeLists.txt
- Change
add_library(zita-resampler ${SOURCES} ${HEADER_LIST})
- To
add_library(zita-resampler SHARED ${SOURCES} ${HEADER_LIST})
- Add to end of file:
install(FILES ${HEADER_LIST} DESTINATION "include/zita-resampler")
- Change
cmake ./
make install
cd ..
git clone https://github.com/swesterfeld/audiowmark
cd audiowmark
./autogen.sh
make
- Find executable in
src/audiowmark
- Alternatively do
make install
Thanks again!
from audiowmark.
./configure: line 17470: syntax error near unexpected token `ext'
./configure: line 17470: `AX_CXX_COMPILE_STDCXX_14(ext)'
This looks like the problem could be fixed by installing the autoconf-archive package (brew install autoconf-archive
).
from audiowmark.
You'll need at least automake installed (e.g. brew install automake
) however not all of the required libraries (like zita-resampler
) are available through homebrew so you'll probably have to build some of them as well.
Then it's probably just a matter of running autogen.sh
and then running automake..
Edit: You can build and run on mac using docker desktop though, thats what I did for now..
from audiowmark.
This is how I try to build on MacOS using homebrew:
brew install mpg123 fftw libsndfile libgcrypt
git clone https://github.com/digital-stage/zita-resampler
cd zita-resampler
- Edit CMakeLists.txt
- Change
add_library(zita-resampler ${SOURCES} ${HEADER_LIST})
- To
add_library(zita-resampler SHARED ${SOURCES} ${HEADER_LIST})
- Change
cmake ./
make install
cd ..
git clone https://github.com/swesterfeld/audiowmark
cd audiowmark
./autogen.sh
However while theres no more "library missing" errors I still end up with an error in the configure script when running autogen.sh
:
./configure: line 17470: syntax error near unexpected token `ext'
./configure: line 17470: `AX_CXX_COMPILE_STDCXX_14(ext)'
from audiowmark.
Thanks for this tool! And thanks normen for following up and writing your steps out to get going on macOS. audiowmark is working perfectly for me after following your instructions. Have you by chance gotten videowmark going on macOS? Whenever I run it, I get videowmark: error parsing command line arguments (use videowmark -h)
. That also happens when running videowmark -h
. Thoughts or suggestions?
from audiowmark.
Hello sir:
I have the same problem.
./configure: line 16605: syntax error near unexpected token ext' ./configure: line 16605:
AX_CXX_COMPILE_STDCXX_14(ext)'
AND
i exec: sudo apt-get install autoconf-archive,then, ./antogen.sh . I still have this problem
my env: ubuntu 16.04 gcc:5.0.4
Any other suggestions?
thanks.
from audiowmark.
I think the error message
videowmark: error parsing command line arguments (use videowmark -h)
on macOS is since I developed and tested the script on linux where we have a version of getopt
that is called GNU getopt which can handle long options as --strength 10
. In the script this is this line:
Line 140 in 13d5142
The following discussion has relevant information:
but basically there are two possibilities of fixing this: install GNU getopt or modify the script to use different option handling.
from audiowmark.
my env: ubuntu 16.04 gcc:5.0.4
This is kind-of old. Not sure if this has all dependencies for building audiowmark
, you'll have to try.
./configure: line 16605: syntax error near unexpected token `ext' ./configure: line 16605: `AX_CXX_COMPILE_STDCXX_14(ext)'
It looks like your autoconf-archive
is too old. Try building a stable audiowmark
release, then you won't need to use autogen.sh
.
Stable releases are available from https://uplex.de/audiowmark/. Then use the configure
script instead of autogen.sh
.
from audiowmark.
Thanks to @swesterfeld and @normen for providing the info.
Note that before running ./autogen.sh
I had to run brew install lib tool
and brew install png-config
but otherwise it all worked a treat. To be honest, I had forgotten about this issue so getting notification about it was most welcome 😉
I should point out that since I wrote the initial message, I have moved to a new Mac Mini M1 and am now running macOS 12.01 Monterey, but everything worked just fine.
from audiowmark.
Thanks for pointing me in the right direction @swesterfeld! gnu-getopt is included in macOS, but for some reason isn't symlinked by default...so after symlinking it gets past that step. I've progressed on to another error, relating to the temp file location directories /dev/fd/*, but again, that's probably a macos specific issue, and I can likely figure that one out. If I get everything working, I'll post back. In the meantime if anyone is looking for a workaround for videowmark on macOS, I have been manually stripping the audio with FFMPEG and passing it to audiowmark, and then passing that audio back to FFMPEG to mux or transcode it back into the video. Videowmark does the same thing (Line 87-96 of audiowmark/src/videowmark is the relevant FFMPEG settings for reference), but right now I'm scripting all that and it's working great.
from audiowmark.
Related Issues (20)
- How do I extract the watermark from the ts file?
- sprintf is deprecated on macOS 13 HOT 1
- fails to compile with clang15 HOT 2
- hello please HOT 1
- Zita-resampler issue HOT 1
- zita-resampler not found after compiling from source HOT 3
- autoconf issue: AC_LIB_HAVE_LINKFLAGS HOT 1
- syncfinder
- How to find synchronization bits HOT 1
- Build for Windows HOT 18
- Audible noise in watermarked audio even with --strength 5, also not extractable even at --strength 100 HOT 11
- Build for Mac OSX High Sierra HOT 6
- Using 48kHz files
- Supported formats?
- --with-ffmpeg: deprecation warnings with libavcodec 7:5.1.4-0+deb12u1 HOT 1
- Enhancement Request: Preserve MP3 Metadata When Watermarking HOT 1
- Preserving Video Metadata When Watermarking
- Hope to support mingw32
- weird results with hls when original audio source is mono HOT 3
- Video Watermarking: support for multiple audio tracks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audiowmark.