I have a wmv file authored by unknown means in 2017 that has embedded (not burned-in) closed captions (not subtitles).
I'm trying to extract the text from the closed captions to save as an srt or some other sidecar file.
I found CCExtractor, but it doesn't work with wmv files. Does anyone know of such a program?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 14 of 14
Thread
-
-
Use clever Ffmpeg-GUI.
Load your wmv, click main page, click extract closed captions, click extract.
Wait until has finished.
You will find the cc as srt file in your target folder. -
This almost worked. I loaded up the file and went to the Main Page button. Under extract, there's a button for EIA 608/708 which is the 608/708 compliant cc data. However, after attempting to extract, it analyzes for a few minutes and then says that no closed captions were found. I tried to make it look at additional captions indexes, but increasing the data field didn't seem to work either.
-
If you load the file, the cc are shown in the stream list?
If so, use the extract streams button. -
When I load the file, it shows two streams:
Stream 0:0, Audio, wmapro, 2 Channels, 440 kb/s
Stream 0:1, Video, wmv3, 1920 x 1080, 1.78, 29.97 fps
I assumed the cc were embedded in one of those. They don't show up in VLC or SMPlayer; I can only get them to show up in Windows Media Player (wmplayer). -
Give a try to GraphStudioNext. IF the playback graph detects a closed-caption stream, THEN this should be "extractable" (DUMPed) to a standalone text file.
"Programmers are human-shaped machines that transform alcohol into bugs." -
It doesn't look like GraphStudioNext found a CC stream:
[Attachment 83469 - Click to enlarge]
It's definitely there though, toggleable in Windows Media Player (and not a sidecar file). -
Try this:
Reload your file in clever FFmpeg-GUI, click main page, click multiplex.
Select the wmv3 stream only (on the left), the audio stream should remain unselected.
Set wmv as container and click multiplex.
Then return to the source screen, load the new created wmv file and repeat the EIA 608/708 extraction operation.
EDIT:
If this fails too, then mux the videostream only to mkv and try this mkv in CCExtractor.Last edited by ProWo; 12th Nov 2024 at 16:17.
-
That's weird
What's the name of the first filter (demuxer)?
It's the default Windows ASF demuxer, OR it is LAV Splitter source
LAV Splitter does not support the ASF "script commands", afaik.
But the "normal" ASF demuxer does."Programmers are human-shaped machines that transform alcohol into bugs." -
As a try out load it into mkvtoolnix. It should display the subs as separate tracks along with everything else. Make sure you have the very latest version of mkvtoolnix. Untick what you don't want and remux. Doesn't take long, a matter of minutes.
SONY 75" Full array 200Hz LED TV, Yamaha A1070 amp, Zidoo UHD3000, BeyonWiz PVR V2 (Enigma2 clone), Chromecast, Windows 11 Professional, QNAP NAS TS851 -
"Programmers are human-shaped machines that transform alcohol into bugs."
-
This worked! This exported to a txt file, but the format is unfamiliar to me:
<Script Type="TEXT"
Command="<center><div align="center"><font face="Arial" size="3" color="#ffffff">>> All of the people were there<br>"
Time="1479810000" />
I'm assuming I can convert this into an srt format, but the converters I've used so far don't recognize it. I could probably manually do it, but I can't figure out the time signatures. -
Similar Threads
-
Viewing Closed Captions On *.ISO's
By cornemuse in forum SubtitleReplies: 4Last Post: 24th Dec 2023, 13:23 -
Extracting Closed Captions (ARIB STD B24/B37) from .ts File
By Haraiso in forum SubtitleReplies: 6Last Post: 3rd Dec 2023, 00:58 -
Extract closed captions from ABC
By merethe in forum Video Streaming DownloadingReplies: 2Last Post: 13th Oct 2023, 16:25 -
How to rip closed captions from a DVD?
By hanyj in forum SubtitleReplies: 36Last Post: 13th Aug 2023, 12:02 -
Embed Closed Captions in MP4
By video2me in forum Video ConversionReplies: 4Last Post: 11th Feb 2020, 17:55