Skip to main content

Posts

Showing posts with the label music processing

AVCONV, FFMPEG library added to build Docker image, Lossless MP4 audio extract

One of my project need lib libav-tools or ffmpeg, mediainfo for some image, video thumbnail generate, get info... I see that this is may be overkill when added a quite big lib for only some simple task. But it seems there are not any more lightweight lib available. My Docker image is a special (?) Aptible image for Express JS app (It's based on Alpine distro). My Docker image file: FROM quay.io/aptible/nodejs:v6.9.x ADD package.json /app/ WORKDIR /app RUN apt-install build-essential RUN apt-install g++ RUN apt-install python RUN apt-install libav-tools RUN apt-install mediainfo RUN npm install --production ADD . /app ENV PORT 8081 EXPOSE 8081 These RUN apt-install is my added to default image. Ideally I think I should not do this way because it seem strange and some "unknown" drawback. But it seem most simple way in developer view. Aptible like many other Docker based service (AWS Beanstalk for example) allow custom image, but again it too adventurou...