subtitle

Subtitles

99封情书 提交于 2019-12-05 05:30:45
1. 字幕Subtitles 2. 字幕类型 3. 字幕格式 4. 常用文本字幕 5. 字幕编辑器 6. 字幕编辑器比较 1. 字幕Subtitles https://en.wikipedia.org/wiki/Subtitles 视频字幕编码的方法既可以与视频一起预渲染,也可以作为图形或文本分离,以由接收器渲染和覆盖. 个人也可以使用免费创建的字幕创建软件来创建字幕,例如, Windows: 字幕工作坊 Subtitle_Workshop; Mac/Windows: MovieCaptioner; Linux: 字幕编辑器 Subtitle_Composer; 然后使用诸如 VirtualDub 和 VSFilter 的程序将其硬编码到视频文件中.在许多软件视频播放器中也可以将字幕显示为软字幕. 自动字幕 https://en.wikipedia.org/wiki/Speech-to-text 在YouTube中,自动字幕可以用英语,荷兰语,法语,德语,意大利语,日语,韩语,葡萄牙语,俄语和西班牙语提供. 适用于Linux的语音识别软件 https://en.wikipedia.org/wiki/Speech_recognition_software_for_Linux 语音识别软件列表 https://en.wikipedia.org/wiki/List_of_speech

How to display subtitles within MPMoviePlayerController

╄→гoц情女王★ 提交于 2019-12-04 11:09:31
问题 I built a custom video player, all buttons are working. I need to know what is the code that does the MPMoviePlayerController display subtitles when the video has that option. I did not find anywhere an example or someone who knew what code is behind this subtitle button. Where can I find this? 回答1: You will have to implement your own subtitle file parser. The .srt file format is quite simple, here is a discussion about how to parse it. The more challenging bit is to then synchronize the

ios Title and Subtitle in Navigation Bar centered

穿精又带淫゛_ 提交于 2019-12-03 16:05:17
I'm trying to have two UILabels in my navigation bar instead of just one. I followed this link to have informations on how to do that: iPhone Title and Subtitle in Navigation Bar It works well, but I can't get my texts to be centered properly. It is centered between the buttons, but the default title behaviour is to center itself right under the time. I had a look here, same question, but no answer: UINavigationBar TitleView with subtitle What am I missing? Here is my code: CGRect headerTitleSubtitleFrame = CGRectMake(0, 0, 200, 44); UIView* _headerTitleSubtitleView = [[UILabel alloc]

MapBox iOS different marker images?

匿名 (未验证) 提交于 2019-12-03 08:54:24
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Is there a way to add an ID or something, that i am able to set custom marker images? I have multiple markers with numbers, and i need that every new marker has another image. For example: marker1 - marker_1_image marker2 - marker_2_image Atm i am only able to set 1 image (globaly) to all markers: func mapView(mapView: MGLMapView, imageForAnnotation annotation: MGLAnnotation) -> MGLAnnotationImage? { var annotationImage = mapView.dequeueReusableAnnotationImageWithIdentifier("place") if annotationImage == nil { var image = UIImage(named:

Giving graphs a subtitle in matplotlib

匿名 (未验证) 提交于 2019-12-03 03:04:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I want to give my graph a title in big 18pt font, then a subtitle below it in smaller 10pt font. How can I do this in matplotlib? It appears the title() function only takes one single string with a single fontsize attribute. There has to be a way to do this, but how? 回答1: I don't think there is anything built-in, but you can do it by leaving more space above your axes and using figtext : axes([.1,.1,.8,.7]) figtext(.5,.9,'Foo Bar', fontsize=18, ha='center') figtext(.5,.85,'Lorem ipsum dolor sit amet, consectetur adipiscing elit',fontsize=10

Converting DVD image with subtitles to MKV using avconv

匿名 (未验证) 提交于 2019-12-03 02:45:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: This is the procedure I know to convert a DVD image to another videoformat (v.g. MP4): concatenate the VTS_01_ n .VOB files inside VIDEO_TS folder (for n >= 0) into a single VOB file. use avconv or ffmpeg in order to convert that VOB into another format. So far so good, however now I want to convert the DVD image with the subtitles. As far as I know the MKV format supports subtitles, so it seems an obvious choice. Alternatively I might use any other format with hard subtitles (subtitles as part of the video image). However, the subtitle

Longer subtitles in MapView annotations (swift)

匿名 (未验证) 提交于 2019-12-03 02:29:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a mapView with annotations displaying titles and subtitles. The subtitles are sometimes longer than the width of the annotation, so I am wondering if i can make them multiline? It's coded like this so far: func annotate(newCoordinate, title: String, subtitle: String) { let annotation = MKPointAnnotation() annotation.coordinate = newCoordinate annotation.title = title annotation.subtitle = subtitle self.map.addAnnotation(annotation) } Then i have a few options set in func mapView(mapView: MKMapView, viewForAnnotation annotation:

How to set background to subtitle in ffmpeg?

匿名 (未验证) 提交于 2019-12-03 02:18:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: It is described here how ot burn a srt file into a video. However, I want to put a semi-transparent background to the subtitles so that the texts can be read more easily. How can I do that? 回答1: ASS subtitles can have a semi-transparent background for the text. With aegisub The easiest way to do this is with aegisub . Open your subtitles file with aegisub. Click Subtitle → Styles manager . Under Current Script choose Default , then press the Edit button. Experiment with the Outline and Shadow values. Check Opaque box . Under Colors click the

How to add a ggplot2 subtitle with different size and colour?

匿名 (未验证) 提交于 2019-12-03 02:14:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm using ggplot2 to improve precipitation barplots. Here's a reproducible example of what I want to achieve: library(ggplot2) library(gridExtra) secu I don't know how to avoid using guessing numbers on hjust and vjust on ggplot2? Is there a better way to put a subtitle (not just using \n, but a subtitle with different text color and size)? I need to be able to use with ggsave to have a pdf file. Here are two related questions: Add a footnote citation outside of plot area in R? How can I add a subtitle and change the font size of ggplot

CollapsingToolbarLayout subtitle

匿名 (未验证) 提交于 2019-12-03 01:34:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Am I able to set the title of a CollapsingToolbarLayout via the setTitle method? Is there also a way to set a subtitle? 回答1: If you want the subtitle to go to Toolbar when the AppBar is fully collapsed you should create your custom CoordinatorLayout.Behaviour Like this: Github Guide But if you just want a smaller text behind the title when the AppBar is expanded you can try this layout: Notice that here I set the AppBar height as 300dp and the app:expandedTitleMarginBottom is 160dp so the title won't go down and conflict with the out