Chinese garbled code occurs when using MELT script

57 Views Asked by At

How can I solve the problem of using the watermark function of the following script to generate Chinese garbled code? melt link:https://www.mltframework.org/docs/melt/ I searched through the official documents and couldn't find a solution.

The watermark in the upper left corner of the image is garbled in Chinese enter image description here

shell script:

#! /bin/bash

/home/eyinhe/playback/temp/Shotcut/Shotcut.app/melt
-profile hdv_720_25p
colour:black out=349 length=349
-track
test.mp4 in=0 out=249 -blank 0 -attach watermark:"+中文d中文的-1001.txt"
test1.mp4 in=0 out=100 -blank 0 -attach watermark:"+中文d测试-1002.txt"
-transition composite:25%/25%:50%x50% in=0 out=349 a_track=0 b_track=1 sliced_composite=1
-consumer avformat:/home/eyinhe/playback/temp/001.mp4 acodec=aac vcodec=libx264

0

There are 0 best solutions below