Article 6JHWH Add subtitles to a vid.

Add subtitles to a vid.

by
maddy0
from LinuxQuestions.org on (#6JHWH)
Hello, i'm trying to add subtitles using autosub.
fmpeg -version
ffmpeg version N-113609-g66231e5871 Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
configuration: --enable-gpl --enable-libx264 --enable-libfdk-aac --enable-nonfree
libavutil 58. 36.101 / 58. 36.101
libavcodec 60. 39.100 / 60. 39.100
libavformat 60. 20.100 / 60. 20.100
libavdevice 60. 4.100 / 60. 4.100
libavfilter 9. 17.100 / 9. 17.100
libswscale 7. 6.100 / 7. 6.100
libswresample 4. 13.100 / 4. 13.100
libpostproc 57. 4.100 / 57. 4.100
ls -al
total 3656
drwxr-xr-x 4 tony tony 4096 Feb 11 13:57 .
drwx------ 22 tony tony 4096 Feb 11 11:33 ..
drwxrwxr-x 18 tony tony 4096 Feb 11 14:14 FFmpeg
drwxrwxr-x 2 tony tony 4096 Feb 9 12:50 Mio
-rw-rw-r-- 1 tony tony 3690861 Feb 11 13:39 MY_VID.mp4
autosub -S en -D en MY_VID.mp4
File "/usr/local/bin/autosub", line 136
print "The given file does not exist: {0}".format(filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
Attached Thumbnailsattachment.php?attachmentid=42549&stc=1&
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments