[FFmpeg-user] Error while hardcoding subtitles (Invalid object location)

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Jan 27 00:34:26 EET 2022


Am Mo., 24. Jan. 2022 um 19:46 Uhr schrieb Sergey_S <sergserg1979 at gmail.com>:
>
> C:\Users\shuts\Downloads\ffmpeg-2022-01-19-git-dd17c86aa1-essentials_build\bin>ffmpeg
> -i C:\Users\shuts\Desktop\Ep1.ts -vcodec libx264 -s 720x576 -g 50
> -keyint_min 50 -sc_threshold 0 -vprofile main -level 4.1 -b:v 3000K
> -maxrate 3000K -bufsize 6000K -r 25.000 -acodec aac -ar 48000 -ac 2 -ab
> 128k -async 2 -filter_complex "[0:v][0:s:1]overlay[v]" -map "[v]" -map 0:a

Does the error disappear if you don't use "-s" if you are using "filter_complex"
(as you have to)?

> -f mpegts C:\Users\shuts\Desktop\8.ts

"-f mpegts" looks strange in this command line (but that may only be me).

Carl Eugen


More information about the ffmpeg-user mailing list