Blue_MiSfit
31st August 2021, 04:31
So I've got some renewed interest in MPEG-2 encoding and I thought I'd give x262 a whirl.
I'm using the latest code from http://git.videolan.org/git/x262.git and building in a simple Dockerfile per below:
FROM buildpack-deps:focal as builder
ARG MAKEFLAGS="-j4"
RUN apt-get update && apt-get install -y --no-install-recommends \
yasm \
&& rm -rf /var/lib/apt/lists/*
RUN git clone http://git.videolan.org/git/x262.git && \
cd x262 && \
./configure --enable static --enable-pic && \
make && \
make install
No matter what I encode, I get a segfault (using simple YUV files for now as input). Any ideas?
Looks like the package manager in buildpack-deps:focal pulls in YASM 1.3.0 and gcc 9.3.0 which seems to work fine for x264 (I use this same base image to build that)
I'm using the latest code from http://git.videolan.org/git/x262.git and building in a simple Dockerfile per below:
FROM buildpack-deps:focal as builder
ARG MAKEFLAGS="-j4"
RUN apt-get update && apt-get install -y --no-install-recommends \
yasm \
&& rm -rf /var/lib/apt/lists/*
RUN git clone http://git.videolan.org/git/x262.git && \
cd x262 && \
./configure --enable static --enable-pic && \
make && \
make install
No matter what I encode, I get a segfault (using simple YUV files for now as input). Any ideas?
Looks like the package manager in buildpack-deps:focal pulls in YASM 1.3.0 and gcc 9.3.0 which seems to work fine for x264 (I use this same base image to build that)