Opened 7 years ago

Closed 7 years ago

#1129 closed defect (duplicate)

ffmpeg on OSX 10.11: dyld: Symbol not found: _clock_gettime

Reported by: beard2@… Owned by: Conrad Huang
Priority: normal Milestone:
Component: Input/Output Version:
Keywords: Cc: Tom Goddard
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Reply log=

Error during MPEG encoding:
-----------------------------
Exit value: -5
Error message:
stdout:

stderr:
ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers
built with Apple LLVM version 9.0.0 (clang-900.0.39.2)
configuration: --prefix=/private/var/tmp/chimerax_build/develop/chimerax/build --enable-gpl --enable-version3 --disable-network --disable-doc --disable-devices --disable-ffplay --disable-ffserver --disable-ffprobe --enable-libtheora --enable-libvpx --enable-libx264 --yasmexe=/private/var/tmp/chimerax_build/develop/chimerax/build/bin/yasm --optflags=-O --extra-cflags=-I/private/var/tmp/chimerax_build/develop/chimerax/build/include --extra-ldflags='-O3 -Wall -Wextra -L/private/var/tmp/chimerax_build/develop/chimerax/build/lib' --extra-libs=-ldl
libavutil 55. 34.101 / 55. 34.101
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.101 / 57. 56.101
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
Input #0, image2, from '/var/folders/5d/gsyx2gbx0nq_v_0nmr0t3z5rnnz7vm/T/chimovie_K17P-%05d.ppm':
Duration: 00:00:07.20, start: 0.000000, bitrate: N/A
Stream #0:0: Video: ppm, rgb24, 1795x1212, 25 tbr, 25 tbn, 25 tbc
[libx264 @ 0x7fd344006c00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 0x7fd344006c00] profile High, level 4.2
[libx264 @ 0x7fd344006c00] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=20.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to '/Users/beard2/Desktop/movie1.mp4':
Metadata:
encoder : Lavf57.56.101
Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1794x1212, q=-1--1, 25 fps, 12800 tbn, 25 tbc
Metadata:
encoder : Lavc57.64.101 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream mapping:
Stream #0:0 -> #0:0 (ppm (native) -> h264 (libx264))
Press [q] to stop, [?] for help
dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
Referenced from: /Users/beard2/Applications/ChimeraX.app/Contents/bin/ffmpeg
Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _clock_gettime
Referenced from: /Users/beard2/Applications/ChimeraX.app/Contents/bin/ffmpeg
Expected in: /usr/lib/libSystem.B.dylib


Change History (3)

comment:1 by Eric Pettersen, 7 years ago

Cc: Conrad Huang added
Component: UnassignedInput/Output
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: Problem with movie encodingffmpeg on OSX 10.11: dyld: Symbol not found: _clock_gettime

Hi Bill,

The ffmpeg that ships with ChimeraX will only work with newer versions of OS X. You could install ffmpeg yourself (perhaps via something like HomeBrew https://brew.sh) and copy that into /Users/beard2/Applications/ChimeraX.app/Contents/bin so that ChimeraX will use it.

--Eric

Eric Pettersen
UCSF Computer Graphics Lab

comment:2 by Tom Goddard, 7 years ago

Cc: Tom Goddard added; Conrad Huang removed
Owner: changed from Tom Goddard to Conrad Huang

Duplicate of #983.

Apparently macOS 10.12 or newer (current macOS is 10.13, High Sierra) is needed for ffmpeg to record movies. Our ChimeraX download page says "Mac OS 10.10" as the platform. That should be fixed to say 10.12 or ffmpeg fixed to work on 10.10. Reassigning to Conrad since he is the one who investigated the macOS missing symbol problem.

comment:3 by Conrad Huang, 7 years ago

Resolution: duplicate
Status: assignedclosed

Same as #983.

Note: See TracTickets for help on using tickets.