I want to add a rotating watermark to the video, and the command executed is as follows:
It can be converted correctly under Windows system (Windows 10). However, an error will be reported under Linux
[root@sx_test video]# cat /proc/version
Linux version 3.10.0-1160.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Mon Oct 19 16:18:59 UTC 2020
[root@sx_test video]# uname -a
Linux sx_test 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[root@sx_test video]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
Java version
[root@sx_test ts]# java -version
openjdk version "1.8.0_352"
OpenJDK Runtime Environment (build 1.8.0_352-b08)
OpenJDK 64-Bit Server VM (build 25.352-b08, mixed mode)
Try upgrading to version 3.3.1 and the same issue will still occur.
Trying to upgrade Tomcat version to 9.0 did not resolve the issue.
I'm sure the directory in question exists
[root@sx_test video]# pwd
/tmp/lglm/video
[root@sx_test video]# ll
total 8
drwxr-x---. 3 root root 18 Nov 2 10:21 LGLM1
-rw-r-----. 1 root root 6408 Nov 2 10:22 watermark_video.png
[root@sx_test video]# cd LGLM1/2022/10/
[root@sx_test 10]# ll
total 24800
-rw-r-----. 1 root root 25391934 Nov 2 10:22 01_451C4183280739A508E814B9F4591451.mp4
drwxr-x---. 3 root root 16 Nov 2 10:22 01_A1B78C6C-4952-11ED-A699-FA163EE5272B5695
[root@sx_test 10]# cd 01_A1B78C6C-4952-11ED-A699-FA163EE5272B5695/ts/
[root@sx_test ts]# pwd
/tmp/lglm/video/LGLM1/2022/10/01_A1B78C6C-4952-11ED-A699-FA163EE5272B5695/ts
[root@sx_test ts]#
Trying to execute directly from the command line will be done correctly
I want to add a rotating watermark to the video, and the command executed is as follows: It can be converted correctly under Windows system (Windows 10). However, an error will be reported under Linux
Linux system version
Java version
Try upgrading to version 3.3.1 and the same issue will still occur. Trying to upgrade Tomcat version to 9.0 did not resolve the issue.
I'm sure the directory in question exists
Trying to execute directly from the command line will be done correctly
It is possible to modify the command to simple video transcoding
The problem is not resolved after several attempts. Please help to see if there is a problem with the command?
Thank you!