burn-in subtitles
rmalchow opened this issue · comments
hi,
i was using this image quite happily for a while, together with this script:
#!/bin/bash
docker run -d -ti -v "$(pwd)":/tmp/workdir ffmpeg "$@"
(as /usr/local/bin/ffpmeg)
but then i came across a situation where i wanted to burn in subtitles. transcoding went fine, except the output didnt have any subtitles ... after a few moments, i realized that there are no fonts installed in the image, especially no "weird" (i.e. thai, chinese, korean, arabic etc).
so i did this:
FROM jrottenberg/ffmpeg
RUN apt-get update
RUN apt-get install \
fonts-droid-fallback fontconfig xfonts-intl-chinese \
xfonts-intl-chinese-big xfonts-intl-european \
xfonts-intl-japanese xfonts-intl-japanese-big xfonts-thai \
xfonts-intl-arabic xfonts-baekmuk -y
which workes just fine for me (although i am not entirely sure about the actual list). this makes the image way bigger, so you might argue that this deserves a separate tag? as in ....
ffmpeg:NVIDIDA-TTF
just a thought.
.rm