Code:ffmpeg -ss 00:11:47.970 -t 3.090 -i "file.mkv" -ss 00:11:46.470 -t 1.500 -i "file" -ss 00:11:51.060 -t 0.960 -i "file.mkv" -an -c:v libvpx -crf 31 -b:v 10000k -y -filter_complex "[0:v:0][0:a:0][1:v:0][1:a:0][2:v:0][2:a:0]concat=n=3:v=1:a=1[outv][outa];[outv]scale='min(960,iw)':-1[outv];[outv]subtitles='file.srt'[outv]" -map [outv] file_out.webm -map [outa] file.mp3
I have a filter where take three different points in a file concat them together and scale them down this part works
Im looking to see how to add to the filter_complex a sub burn in step rendering the subs from the exact timings using a file that I specify when I use the above code it doesn't work
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 2 of 2
Thread
-
-
Does you execution find the SRT file or say not found. Maek sure you have all files including the SRT file in the same folder and run the CMD line from that folder also. In otherwords if you open a cmd prompt from its default location, you will have to enter the complete path to the subtitles and escape each special character ('c\:\\user\\bud\\desktop\\subtitles.srt')
The following worked for me with everything on the desktop and the CMD window started from there also.
Code:ffmpeg -ss 00:00:00.970 -t 3.090 -i C:\Users\Bud\Desktop\test.mp4 -ss 00:00:05.470 -t 1.500 -i C:\Users\Bud\Desktop\test.mp4 -ss 00:00:09.060 -t 5.960 -i C:\Users\Bud\Desktop\test.mp4 -an -c:v libvpx -crf 31 -b:v 10000k -y -filter_complex "[0:v:0][0:a:0][1:v:0][1:a:0][2:v:0][2:a:0]concat=n=3:v=1:a=1[outv][outa];[outv]scale='min(960,iw)':-1[outv];[outv]subtitles='subtitles.srt'[outv]" -map [outv] file_out.webm -map [outa] file.mp
Perhaps others can assist that have more experience with mapping.
CORRECTION:
I produced a separate mp3 file. Not sure if you were attempting that or not.Last edited by Budman1; 16th Jun 2021 at 02:36.
Similar Threads
-
Extracting hardcoded subs using VideoSubFinder and Finereader 12
By aruwin in forum SubtitleReplies: 1Last Post: 26th Jun 2021, 08:28 -
Extract hardcoded subs from .avi ?
By maxman32 in forum SubtitleReplies: 5Last Post: 20th Jul 2018, 20:11 -
Hardcoded subs disappearing on Youtube
By berverlymarsh83 in forum SubtitleReplies: 4Last Post: 15th Jun 2018, 06:31 -
Using AVIAddXSubs to add subs to divx for PS3, subs cutting out
By ProfN in forum SubtitleReplies: 1Last Post: 23rd Dec 2016, 09:54 -
DVD(Video_ts) with subs to a file with hardcoded subs?
By hech54 in forum SubtitleReplies: 3Last Post: 30th Aug 2016, 15:45