在Windows中合并mkv(自动,不使用GUI) [英] Combine mkv's in Windows (automated, not using a GUI)

查看:159
本文介绍了在Windows中合并mkv(自动,不使用GUI)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不时从​​一台服务器收到几个mkv.这些mkv都是同一录音的一部分,但它们以1分钟的块数出现,我不想每次都花时间手动将它们缝合在一起.可以通过Windows中的自动化过程来完成此操作吗?

From time to time I receive several mkv's from a server I have. These mkv's are all part of the same recording, but they come in 1 minute chunks, and I don't want to have to take the time to stitch them together manually each time. Can this be done via an automated process in Windows?

编辑:请参阅下面的答案,了解适用于我的解决方案. Endoro的帖子看起来也很有希望.

See my answer below for the solution that worked for me. The post by Endoro also looks promising.

推荐答案

我可以举一个例子:

@echo off &setlocal enabledelayedexpansion
cd /d "%sourcefolder%"
set "line="
for %%a in (*.mkv) do set line=!line! +"%%~a"
mkvmerge -o "output.mkv" %line:~2%

这篇关于在Windows中合并mkv(自动,不使用GUI)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆