Skip to content

Commit 729fed1

Browse files
committed
trigger build and change default encoder
1 parent 22113ef commit 729fed1

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ RUN \
6161
libjpeg62-turbo-dev \
6262
libx11-dev \
6363
libxext-dev \
64-
libxxhash-dev \
64+
libx264-dev \
6565
python3-dev \
6666
python3-pip && \
6767
echo "**** enable locales ****" && \
@@ -118,6 +118,7 @@ RUN \
118118
libtasn1-6 \
119119
libvulkan1 \
120120
libx11-6 \
121+
libx264-164 \
121122
libxau6 \
122123
libxcb1 \
123124
libxcursor1 \
@@ -178,7 +179,7 @@ RUN \
178179
apt install -t bookworm-backports -y \
179180
mesa-libgallium && \
180181
echo "**** install selkies ****" && \
181-
pip3 install x11-screen-capture --break-system-packages && \
182+
pip3 install pixelflux --break-system-packages && \
182183
SELKIES_RELEASE=$(curl -sX GET "https://api.github.com/repos/selkies-project/selkies/releases/latest" \
183184
| awk '/tag_name/{print $4;exit}' FS='[""]') && \
184185
curl -o \
@@ -239,7 +240,7 @@ RUN \
239240
libjpeg62-turbo-dev \
240241
libx11-dev \
241242
libxext-dev \
242-
libxxhash-dev \
243+
libx264-dev \
243244
python3-dev \
244245
python3-pip && \
245246
apt-get autoclean && \

Dockerfile.aarch64

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ RUN \
6161
libjpeg62-turbo-dev \
6262
libx11-dev \
6363
libxext-dev \
64-
libxxhash-dev \
64+
libx264-dev \
6565
python3-dev \
6666
python3-pip && \
6767
echo "**** enable locales ****" && \
@@ -117,6 +117,7 @@ RUN \
117117
libtasn1-6 \
118118
libvulkan1 \
119119
libx11-6 \
120+
libx264-164 \
120121
libxau6 \
121122
libxcb1 \
122123
libxcursor1 \
@@ -176,7 +177,7 @@ RUN \
176177
apt install -t bookworm-backports -y \
177178
mesa-libgallium && \
178179
echo "**** install selkies ****" && \
179-
pip3 install x11-screen-capture --break-system-packages && \
180+
pip3 install pixelflux --break-system-packages && \
180181
SELKIES_RELEASE=$(curl -sX GET "https://api.github.com/repos/selkies-project/selkies/releases/latest" \
181182
| awk '/tag_name/{print $4;exit}' FS='[""]') && \
182183
curl -o \
@@ -237,7 +238,7 @@ RUN \
237238
libjpeg62-turbo-dev \
238239
libx11-dev \
239240
libxext-dev \
240-
libxxhash-dev \
241+
libx264-dev \
241242
python3-dev \
242243
python3-pip && \
243244
apt-get autoclean && \

root/etc/s6-overlay/s6-rc.d/init-selkies-config/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ fi
6161
# set env based on vars
6262
#printf "${SELKIES_INTERPOSER}${LD_PRELOAD:+:${LD_PRELOAD}}" > /run/s6/container_environment/LD_PRELOAD
6363
printf "${GST_DEBUG:-*:1}" > /run/s6/container_environment/GST_DEBUG
64-
printf "${SELKIES_ENCODER:-x264enc}" > /run/s6/container_environment/SELKIES_ENCODER
6564
printf "${SELKIES_VIDEO_BITRATE:-16000}" > /run/s6/container_environment/SELKIES_VIDEO_BITRATE
65+
printf "${SELKIES_ENCODER:-x264enc-striped}" > /run/s6/container_environment/SELKIES_ENCODER
6666
printf "${SELKIES_FRAMERATE:-30}" > /run/s6/container_environment/SELKIES_FRAMERATE
6767
printf "${SELKIES_AUDIO_BITRATE:-320000}" > /run/s6/container_environment/SELKIES_AUDIO_BITRATE
6868
printf "${SELKIES_ENABLE_RESIZE:-true}" > /run/s6/container_environment/SELKIES_ENABLE_RESIZE

0 commit comments

Comments
 (0)