Microsoft Virtual Academy Extract video subtitles

Source: Internet
Author: User

Microsoft Virtual Academy is called MVA, and the course above is very nice for programmers. and provide video download, for the poor speed of the small partners This is the gospel AH. Helpless is not provide subtitles download, this is like I this English slag is simply suffering. Baidu after a series of methods, the final summary, for small partners reference.

  

, after entering the course page, F12 Open the Developer tool, click the Network option, in the Name column can find Video_cc.xml, the title is hidden here, note that there may be two video_cc.xml, please click to view the subtitle language.

  

So that you can get the content of the subtitle, the next step is to turn the resulting XML subtitle content into a subtitle file. :

  

Now to introduce SRT subtitles:

The full name of the SRT is SubRip text. srt File Open with:. srt files can be opened using the system's own text processor, such as Notepad.exe,write.exe,word and other file processing software. The next step is to create a subtitle file for the. SRT and then edit the content. What you need can be taken from the video_cc.xml you just got, and every p tag in Video_cc.xml is a line of subtitles: example:<p  ttm:role= "caption"  xml:id= " subtitle2 "  end= "00:00:13:28"  begin= " 00:00:10:29 "> Welcome back. I'm glad to see you again. </P> < Span class= "Html-attribute" > < Span style= "color: #ff0000;" > id corresponds to the first row, begin and end correspond to two time values for the second row, and the contents of the P tag are the subtitle contents of the third line. A blank line is then required. (need to note the format of SRT subtitles)
when this is done, keep the video file name and subtitle file name consistent, and you can use it. < Span class= "Html-attribute" > < Span style= "color: #ff0000;" >   

Next, please open my gadget, the XML format of the subtitle content in the middle of the large text box, choose the storage path, subtitle file name and video name is the same, and then click Generate, if not outside, will pop up a successful prompt.

  

Well, after some toss, subtitles have, so learn to feel to fly ah have wood, English programming two not mistaken ...

Finally attach the subtitle generation tool download Connection (if you cannot download, please contact me.) ):

Http://files.cnblogs.com/files/mick-li/%E5%AD%97%E5%B9%95%E7%94%9F%E6%88%90forMVA.zip

and GitHub Source Address:

Https://github.com/Mick-Li/Learn/tree/master/Net/SubtitlesGenerateForMVA

Microsoft Virtual Academy Extract video subtitles

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.