Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to install avtranscoder on OSX #279

Open
sfahadshahzad opened this issue Aug 31, 2016 · 9 comments
Open

how to install avtranscoder on OSX #279

sfahadshahzad opened this issue Aug 31, 2016 · 9 comments
Assignees
Labels

Comments

@sfahadshahzad
Copy link

sfahadshahzad commented Aug 31, 2016

Hi,
Need to intall the avtranscoder on Mac OSX 10.10 please share the process how i can intall and use it on my mac.

Regards,

Fahad

@cchampet
Copy link
Member

Hello,
You can install avtranscoder using homebrew. All the documentation can be found here.

After this install, the avtranscoder applications should be in your PATH, so you will be able to do something like this:

avmeta /path/to/a/file/to/analyse

@cchampet
Copy link
Member

cchampet commented Oct 5, 2016

Ok the compilation with homebrew seems to failed. I will have a look.

@cchampet cchampet reopened this Oct 5, 2016
@MarcAntoine-Arnaud
Copy link
Member

I can take a look on it asap

@MarcAntoine-Arnaud
Copy link
Member

Hi !

Sorry for the delay, I fix the issue. tell me if it works.
Just for precision, the most recent tap needed to use is my homebrew-video
Tell me if it's fixed correctly for you (@sfahadshahzad) too.

@MarcAntoine-Arnaud
Copy link
Member

this line will be added to fix this problem.

@MarcAntoine-Arnaud
Copy link
Member

and documentation updated

@sfahadshahzad
Copy link
Author

==> Cloning https://github.com/avTranscoder/avTranscoder.git
Cloning into '/Users/administrator/Library/Caches/Homebrew/avtranscoder--git'...
remote: Counting objects: 276, done.
remote: Compressing objects: 100% (256/256), done.
remote: Total 276 (delta 55), reused 82 (delta 17), pack-reused 0
Receiving objects: 100% (276/276), 194.08 KiB | 159.00 KiB/s, done.
Resolving deltas: 100% (55/55), done.
Checking connectivity... done.
==> Checking out tag master
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/avtranscoder/master -DCMAKE_BUILD_TYPE=RELEASE
==> make
Last 15 lines from /Users/administrator/Library/Logs/Homebrew/avtranscoder/02.make:
"_x264_param_parse", referenced from:
_X264_init in libavcodec.a(libx264.o)
"_x264_picture_init", referenced from:
_X264_frame in libavcodec.a(libx264.o)
"_x265_api_get_95", referenced from:
_libx265_encode_init in libavcodec.a(libx265.o)
"_x265_max_bit_depth", referenced from:
_libx265_encode_init_csp in libavcodec.a(libx265.o)
"_zlibCompileFlags", referenced from:
_http_read_header in libavformat.a(http.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [src/libavtranscoder.0.11.0.dylib] Error 1
make[1]: *** [src/CMakeFiles/avtranscoder-shared.dir/all] Error 2
make: *** [all] Error 2

@cchampet
Copy link
Member

cchampet commented Nov 7, 2016

It seems that some ffmpeg libraries (avcodec and avformat) depends on some external dependencies (x264, zlib...), and I suppose there is an error at link time.
Could you show us the output of this command:

brew info ffmpeg

@cchampet cchampet reopened this Nov 7, 2016
@MarcAntoine-Arnaud
Copy link
Member

@sfahadshahzad do you have a specific FFmpeg version ? do you have rebuild locally ? or installed via brew also ?

On my side I try on an another OSX, and it works.
Regarding dependencies I have:
otool -L /usr/local/Cellar/ffmpeg/3.2/lib/libavformat.dylib

    /usr/local/opt/ffmpeg/lib/libavformat.57.dylib (compatibility version 57.0.0, current version 57.56.100)
    /usr/local/Cellar/ffmpeg/3.2/lib/libavcodec.57.dylib (compatibility version 57.0.0, current version 57.64.100)
    /usr/local/Cellar/ffmpeg/3.2/lib/libswresample.2.dylib (compatibility version 2.0.0, current version 2.3.100)
    /usr/local/Cellar/ffmpeg/3.2/lib/libavutil.55.dylib (compatibility version 55.0.0, current version 55.34.100)
    /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore (compatibility version 1.2.0, current version 1.11.0)
    /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1504.59.0)
    /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
    /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo (compatibility version 1.2.0, current version 1.5.0)
    /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1349.0.0)
    /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation (compatibility version 1.0.0, current version 2.0.0)
    /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia (compatibility version 1.0.0, current version 1.0.0)
    /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1348.15.0)
    /System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox (compatibility version 1.0.0, current version 1.0.0)
    /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox (compatibility version 1.0.0, current version 492.0.0)
    /System/Library/Frameworks/VideoDecodeAcceleration.framework/Versions/A/VideoDecodeAcceleration (compatibility version 1.0.0, current version 1.0.0)
    /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
    /System/Library/Frameworks/Security.framework/Versions/A/Security (compatibility version 1.0.0, current version 57740.20.22)
    /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL (compatibility version 1.0.0, current version 1.0.0)
    /usr/local/opt/x264/lib/libx264.148.dylib (compatibility version 0.0.0, current version 0.0.0)
    /usr/local/opt/lame/lib/libmp3lame.0.dylib (compatibility version 1.0.0, current version 1.0.0)
    /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics (compatibility version 64.0.0, current version 1070.6.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.0.0)
    /usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.5)
    /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.8)
    /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 775.8.2)```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants