Comments (7)
Hi, which version of ffmpeg did you use? and which OS are you trying to build mt on?
EDIT:
also make sure you use the latest go version
Automatic builds are currently broken the way they used to work, so i have to think about something different.
from mt.
Hi, please have a look here for all the details and the build fail:
https://hub.docker.com/r/majamee/alpine-dash-hls/builds/bc3rt6z2byeu5lahavjxg9a/
from mt.
ok seems to be a problem with me switching to the vendor folder and somehow dep
not putting all needed files in the vendor folder.
could you try again with the latest commit from a few minutes ago?
from mt.
I just did, but so far still unsuccessful:
https://hub.docker.com/r/majamee/alpine-dash-hls/builds/bjh2dtjtbbrwybda7beyarb/
Thank you for looking into it though.
from mt.
Ok so I've just tried everything with the latest alpine image from docker and it seems like the main Problem with your setup is that you are cloning the repo outside of your GOPATH when using your file 1:1 I've got stuck as well:
git clone https://github.com/mutschler/mt.git /tmp/mt && \
cd /tmp/mt && go get github.com/mutschler/mt && \
go build && mv mt /bin/mt && rm -rf /tmp && \
go is pretty strict about where you can put code to compile it and where not, so you'll have two options
- just use go get on mt which should then put it to
~/go/src/github.com/mutschler/mt/
and also drop a binary in~/go/bin/
afterwards for you to use/copy - you can use a different
GOPATH
if you'd like to but I don't see the need for that
so basically running something like this instead of the 3 lines above should work:
go get github.com/mutschler/mt && mv ~/go/bin/mt /bin/mt
EDIT:
if it helps here are the commands I've run in a fresh alpine:latest
container:
buildDeps="build-base \
zlib-dev \
freetype-dev \
jpeg-dev \
git \
libmad-dev \
ffmpeg-dev \
coreutils \
yasm-dev \
lame-dev \
x264-dev \
libvpx-dev \
x265-dev \
libass-dev \
libwebp-dev \
opus-dev \
libogg-dev \
libvorbis-dev \
libtheora-dev \
libxv-dev \
alsa-lib-dev \
xvidcore-dev \
openssl-dev \
libpng-dev \
jack-dev \
sdl-dev \
openjpeg-dev \
expat-dev \
go"
apk add --no-cache --update ${buildDeps}
go get github.com/mutschler/mt
from mt.
Thank you, I updated my Dockerfile according to your suggestions and now everything seems to be functional again:
https://hub.docker.com/r/majamee/alpine-dash-hls/builds/bbfs5vetqtgzkuvxm9p4xg8/
from mt.
Glad to hear that!
from mt.
Related Issues (20)
- Add a license HOT 1
- panic: runtime error: integer divide by zero (mt.go:129) HOT 2
- Clean up redundant calls to os.Exit following log.Fatalf
- Using as a library HOT 10
- Not accurate screenshots when using --interval HOT 3
- How do I create a static binary? HOT 4
- Padding between images HOT 3
- setting from and to ignored when numcaps is 1 HOT 5
- font argument not correctly used HOT 2
- Version 1.10 reports 1.09 HOT 1
- undefined: nude.IsImageNude HOT 2
- Add info about audio-track HOT 3
- Migrate from dep to go modules
- Unable to build, screengen issue? HOT 4
- unknown flag: --filename HOT 2
- 100% CPU Usage HOT 1
- can't seek to timestamp... HOT 1
- Not able to build a windows binary HOT 2
- Start at 00:00:00 is ignored HOT 2
- building fails currently HOT 1
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 mt.