I got an .ass, which I converted to ttxt.
Since using:
with MP4Box works, I think the .ttxt file is fine.Code:-add "G:\Output\test_0.ttxt":name="TEST_TITLE":lang="aa"
Problem is when I call ffmpeg with:
I get:Code:ffmpeg -y -r 25/1 -i "J:\tmp\2023-06-18@07_43_36_4710__04.mkv" -i "G:\Output\test_0.ttxt" -vcodec copy -scodec copy -metadata:s:s:1 handler="TEST_TITLE" -metadata:s:s:1 language="aar" -metadata encoding_tool="Hybrid 2023.06.17.1" -map 0:0 -map 1:0 -aspect 640:352 -r 25/1 "G:\Output\test.mp4"
From the looks of it ffmpeg has a problem with the input file.Code:Input #0, matroska,webm, from 'J:\tmp\2023-06-18@07_43_36_4710__04.mkv': Metadata: encoder : libebml v1.4.4 + libmatroska v1.7.1 creation_time : 2023-06-18T05:43:46.000000Z Duration: 00:00:17.16, start: 0.000000, bitrate: 427 kb/s Stream #0:0: Video: h264 (High), yuv420p(tv, bt470bg/unknown/unknown, progressive), 640x352 [SAR 1:1 DAR 20:11], 25 fps, 25 tbr, 1k tbn (default) (forced) Metadata: BPS : 423490 DURATION : 00:00:17.160000000 NUMBER_OF_FRAMES: 429 NUMBER_OF_BYTES : 908387 _STATISTICS_WRITING_APP: mkvmerge v76.0 ('Celebration') 64-bit _STATISTICS_WRITING_DATE_UTC: 2023-06-18 05:43:46 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES [in#1 @ 0000023364906bc0] Error opening input: Invalid data found when processing input
=> Does anyone know how to use FFmpeg to mux .ttxt subtitles?
Cu Selur
+ Reply to Thread
Results 1 to 3 of 3
-
users currently on my ignore list: deadrats, Stears555, marcorocchini
-
argh,.. so I would have to convert them to srt first.
Thanks for the info.users currently on my ignore list: deadrats, Stears555, marcorocchini
Similar Threads
-
ffmpeg - muxing with a subtitle
By donelle82 in forum SubtitleReplies: 0Last Post: 15th Oct 2022, 08:19 -
Add/Mux Subtitle into VOB file?
By Freaky2003 in forum SubtitleReplies: 6Last Post: 29th Apr 2022, 12:07 -
Batch Mux Audio+Video in ffmpeg .... possible ?
By DonSeenu in forum Video ConversionReplies: 2Last Post: 19th Aug 2021, 11:15 -
ffmpeg bat to mux multible audio and video
By alkoon in forum Newbie / General discussionsReplies: 3Last Post: 5th Jun 2020, 11:20 -
Subtitle embedding using FFmpeg
By LZAA in forum SubtitleReplies: 0Last Post: 2nd Jun 2020, 16:47