1
00:00:00.700 --> 00:00:00.800
A
2
00:00:00.700 --> 00:00:00.800
IMPORTANCE
3
00:00:00.700 --> 00:00:00.800
OF
This is an example. alignment is 10, which means that subtitle should be posted in the middle of a video, and it is, but the order is bad. first is written "A" than ABOVE it "IMPORTANCE" and on the TOP is "OF". When it's get complicated. On windows it works very well but on my server on linux it is not working well:
OF
IMPORTANCE
A
I can not put it in the same line for the same time, it must be like this in this example. I can not change the format.
version on linux is: version 3.4.11-0ubuntu0.1
vesion on windows is: 2022-12-21-git-eef763c705-full_build-www.gyan.dev
and my command is: ffmpeg -framerate 1/5 -i image%d.png -i audio.mp3 -i ../images/overlay_25.png -filter_complex "[0:v][2:v] overlay=W-w-0:H-h-0, fps=25, format=yuv420p,subtitles=subtitle.srt:force_style='Alignment=10'" -c:v libx264 -c:a aac video.mp4
Thank you in advance.
Subreddit
Post Details
- Posted
- 1 year ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/ffmpeg/comm...