20200111MKV视频中的字幕文件的提取(更改字体、大小和颜色)

以这个视频为例子:Casino.Tycoon.II.1992.CHINESE.1080p.BluRay.x264-NOGRP.mkv

方法一:

简单粗暴(如果你是115的会员):

点击你找到的视频文件115即可自动播放:

然后点击右下角的字幕:

点击右上角的:下载按钮

 

下载成功,可以看见下载得到的字幕文件!(本文件是内置的英文字幕,格式为LINUX换行模式!)

 

 

 

 

方法二:(有点问题)

MKV视频中的字幕文件的提取(更改字体、大小和颜色)
mkvtoolnix-64-bit-41.0.0-setup.exe
MKV→MKS

除了SubRip/SRT之外,剩下的全部取消选中!

 

若使用当前的混流设置,输出文件将不含任何音轨轨道。是否继续?
创建无音轨的文件(C)    取消

 

点击:开始混流(R)

 

 

(请严重注意,第一次运行程序的时候设置好字幕的输出位置。还有就是英文软件,目录最好不要有中文!以免出错!)

Batch Subtitles Converter(批量字幕转换) v1.23 绿色英文版BatchSubtitlesConverter_jb51

Format:SubRip(*.srt)

点击:Convert

The files will be converted to the same folder as the source files!
Click Yes to continue or No to choose the Output folder.
是(Y)    否(N)    取消

Converting is Done!

点击:确定

 


https://zhidao.baidu.com/question/395499904.html
Batch Subtitles Converter(批量字幕转换) v1.23 绿色英文版

https://v.youku.com/v_show/id_XMzgxODUxMTc2OA==.html?refer=seo_operation.liuxiao.liux_00003303_3000_Qzu6ve_19042900
mks字幕转ass

 

 

https://zhidao.baidu.com/question/395499904.html

mks格式的字幕怎么转换成srt、ass、ssa、idx格式的字幕

 我来答 

分享

 举报

5个回答

#活动# 答题赢日历,新年好神气

水晶幽幽子 
2019-09-16

已经找到工具了 , 分享链接如下 s/1ZJAV1Icn86VqHR3XKbv--g

有软件和具体步骤

提取出的字幕是ass格式,可用文本编辑软件打开.不需要弄什么mks

 

 

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
要通过Java提取mkv视频的图片,可以使用开源的Java库Xuggler来实现。以下是一个简单的示例代码: ```java import com.xuggle.xuggler.ICodec; import com.xuggle.xuggler.IContainer; import com.xuggle.xuggler.IStream; import com.xuggle.xuggler.IStreamCoder; import com.xuggle.xuggler.IVideoPicture; public class ExtractImagesFromVideo { public static void main(String[] args) { String filename = "inputVideo.mkv"; String outputFolder = "outputImages/"; IContainer container = IContainer.make(); if (container.open(filename, IContainer.Type.READ, null) < 0) { throw new IllegalArgumentException("Could not open file: " + filename); } int numStreams = container.getNumStreams(); for (int i = 0; i < numStreams; i++) { IStream stream = container.getStream(i); IStreamCoder coder = stream.getStreamCoder(); if (coder.getCodecType() == ICodec.Type.CODEC_TYPE_VIDEO) { coder.open(); IVideoPicture picture = IVideoPicture.make(coder.getPixelType(), coder.getWidth(), coder.getHeight()); IPacket packet = IPacket.make(); while (container.readNextPacket(packet) >= 0) { if (packet.getStreamIndex() == i) { int offset = 0; while (offset < packet.getSize()) { int bytesDecoded = coder.decodeVideo(picture, packet, offset); if (bytesDecoded < 0) { throw new RuntimeException("Error decoding video"); } offset += bytesDecoded; if (picture.isComplete()) { IImage image = picture.getImage(); BufferedImage javaImage = Utils.videoPictureToImage(picture); File outputfile = new File(outputFolder + "image-" + picture.getFormattedTimeStamp() + ".png"); ImageIO.write(javaImage, "png", outputfile); } } } } } coder.close(); } container.close(); } } ``` 以上代码使用Xuggle库来打开mkv视频文件,并提取视频的图像帧,然后将图像帧保存成png格式的图片文件。在实际使用过程,还可以根据需要对图像进行处理或者保存成其他格式的图片文件

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值