Hello
I use the latest ffmpeg build from gyan.dev
I work with this file
https://we.tl/t-6rf39WxTdr
Mediainfo of the file
From googling, I found out this should be the correct codeCode:General Unique ID : 215279765631081562880634938187970006669 (0xA1F55FECA9FE48198405F78428484E8D) Complete name : C:\Users\User\Desktop\probaaa\a.mkv Format : Matroska Format version : Version 4 File size : 113 MiB Duration : 7 min 24 s Overall bit rate : 2 135 kb/s Encoded date : UTC 2021-02-17 18:52:41 Writing application : mkvmerge v49.0.0 ('Sick Of Losing Soulmates') 64-bit Writing library : libebml v1.4.0 + libmatroska v1.6.1 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : Main@L3.1 Format settings : CABAC / 4 Ref Frames Format settings, CABAC : Yes Format settings, Reference frames : 4 frames Codec ID : V_MPEG4/ISO/AVC Duration : 7 min 23 s Bit rate : 2 008 kb/s Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 30.000 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.073 Stream size : 106 MiB (94%) Default : Yes Forced : No Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Audio ID : 2 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : A_AAC-2 Duration : 7 min 23 s Bit rate : 128 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 SPF) Compression mode : Lossy Stream size : 6.77 MiB (6%) Language : English Default : Yes Forced : No Text ID : 3 Format : S_TEXT/WEBVTT Codec ID : S_TEXT/WEBVTT Duration : 7 min 24 s Bit rate : 141 b/s Count of elements : 149 Stream size : 7.69 KiB (0%) Language : English Default : No Forced : No
But I keep gettingCode:ffmpeg.exe -c:s webvtt -i a.mkv bla.vtt
Unknown/unsupported AVCodecID S_TEXT/WEBVTT
I can't see anything wrong with the mkv header...
+ Reply to Thread
Results 1 to 4 of 4
-
-
I extracted the subtitles with
gMKVExtractGUI
and, when I open the file I see
Code:WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:0 00:00:00.000 --> 00:00:01.840 So at the end of the last video, 00:00:01.840 --> 00:00:04.810 we left off with a fairly obvious problem here,
Code:X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:0
WEBVTT
as content.
So, it stops at the 2nd line I assume because it doesn't expect a bullshit thing like this
Code:X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:0
I used to do this with powershell command and ffmpeg...
Eh, okay, gMKVExtractGUI seems to be able to batch extract... -
Try:
Code:ffmpeg.exe -i a.mkv bla.vtt
https://fftrac-bg.ffmpeg.org/ticket/5641?cversion=1&cnum_hist=5Last edited by jagabo; 18th Jun 2021 at 17:24.
Similar Threads
-
Using ffmpeg to dowload webvtt subtitles
By ecolek in forum Video Streaming DownloadingReplies: 24Last Post: 20th Jun 2021, 04:12 -
Extract WebVTT subtitles from m3u8 playlist.
By averageuser12 in forum Video Streaming DownloadingReplies: 3Last Post: 13th Oct 2020, 17:28 -
How to merge segmented webvtt subtitle files and output to SRT file?
By smokeweedevryday in forum SubtitleReplies: 0Last Post: 8th Mar 2020, 10:29 -
Extract subtitles from MPEG-TS-file (DVB Subtitle & Teletext) using ffmpeg
By DeafYakuza in forum SubtitleReplies: 8Last Post: 13th Jun 2019, 13:40 -
Extract subtitles from MPEG-TS-file (DVB Subtitle) using ffmpeg
By T-buch in forum Video ConversionReplies: 22Last Post: 12th Mar 2017, 05:19