You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tested this with various different fonts, not just HanyiSentyPagoda Regular.ttf.
docker run -v /<your path>/:/data linuxserver/ffmpeg:latest -i input.mp4 -filter_complex "drawtext=text='么么么么么么么么么么么':fontfile='/data/HanyiSentyPagoda Regular.ttf':fontcolor=white:fontsize=90:x=700:y=270" /data/output.mp4
results in "么么么" in the video.
docker run -v /<your path>/:/data linuxserver/ffmpeg:latest -i input.mp4 -filter_complex "drawtext=text='a么b么c么d么e么f么g么h么i么j么k么':fontfile='/data/HanyiSentyPagoda Regular.ttf':fontcolor=white:fontsize=90:x=700:y=270" /data/output.mp4
results in "a么b么c么d么e么f" in the video.
docker run -v /<your path>/:/data linuxserver/ffmpeg:latest -i input.mp4 -filter_complex "drawtext=text='abcdefghijklmnopqrstuvwxyz123456789':fontfile='/data/HanyiSentyPagoda Regular.ttf':fontcolor=white:fontsize=90:x=700:y=270" /data/output.mp4
results in "abcdefghijklmnopqrstuvwxyz123456789" in the video as expected.
Expected Behavior
I expect the full text to be rendered, as libx264, libreetype, libfribidi, and libharfbuzz are enabled in this build. The full rendering works in the amd64based builds of https://hub.docker.com/r/jrottenberg/ffmpeg/, for example jrottenberg/ffmpeg:7-ubuntu-edge. But so far I could not find a arm64 build that works.
Steps To Reproduce
On MacOS (arm64) create a directory for Docker to mount. Copy a video file and a font file for Chinese in the directory.
Execute docker with docker run -v /<your path>/:/data linuxserver/ffmpeg:latest -i /data/input.mp4 -filter_complex "drawtext=text='么么么么么么么么么么么么么么':fontfile='/data/HanyiSentyPagoda Regular.ttf':fontcolor=white:fontsize=90:x=700:y=270" /data/output.mp4
The output.mp4 will have the cut off text on it.
Environment
- OS: MacOS 15.2
- How docker service was installed: Via Docker Desktop, most current stable release.
Is there an existing issue for this?
Current Behavior
I tested this with various different fonts, not just
HanyiSentyPagoda Regular.ttf
.docker run -v /<your path>/:/data linuxserver/ffmpeg:latest -i input.mp4 -filter_complex "drawtext=text='么么么么么么么么么么么':fontfile='/data/HanyiSentyPagoda Regular.ttf':fontcolor=white:fontsize=90:x=700:y=270" /data/output.mp4
results in "么么么" in the video.
docker run -v /<your path>/:/data linuxserver/ffmpeg:latest -i input.mp4 -filter_complex "drawtext=text='a么b么c么d么e么f么g么h么i么j么k么':fontfile='/data/HanyiSentyPagoda Regular.ttf':fontcolor=white:fontsize=90:x=700:y=270" /data/output.mp4
results in "a么b么c么d么e么f" in the video.
docker run -v /<your path>/:/data linuxserver/ffmpeg:latest -i input.mp4 -filter_complex "drawtext=text='abcdefghijklmnopqrstuvwxyz123456789':fontfile='/data/HanyiSentyPagoda Regular.ttf':fontcolor=white:fontsize=90:x=700:y=270" /data/output.mp4
results in "abcdefghijklmnopqrstuvwxyz123456789" in the video as expected.
Expected Behavior
I expect the full text to be rendered, as libx264, libreetype, libfribidi, and libharfbuzz are enabled in this build. The full rendering works in the
amd64
based builds of https://hub.docker.com/r/jrottenberg/ffmpeg/, for examplejrottenberg/ffmpeg:7-ubuntu-edge
. But so far I could not find aarm64
build that works.Steps To Reproduce
docker run -v /<your path>/:/data linuxserver/ffmpeg:latest -i /data/input.mp4 -filter_complex "drawtext=text='么么么么么么么么么么么么么么':fontfile='/data/HanyiSentyPagoda Regular.ttf':fontcolor=white:fontsize=90:x=700:y=270" /data/output.mp4
Environment
Docker creation
Container logs
The text was updated successfully, but these errors were encountered: