原创:张荣国
今天有个朋友,告诉我他在某视频网站好不容易探到地址,下了一个m3u8文件,下载了里面几段ts视频,问我有没有什么软件,在无损的情况下合并成完整的一个文件。
我一想,就告诉他根本不用软件,可以用dos时代的copy命令就可以了。
进入命令提示符(也就是ms-dos),然后用dos命令打开你的视频文件目录,直接用命令:
copy /b 1.ts+2.ts+3.ts \new.ts
这样的命令合并就行了,上面的意思,就是将目录里的:1.ts还有2.ts,加上3.ts,合并成新文件名为new.ts,当然,以上名称只是举例,自己按实际改喜欢的名。这样合并出来的视频文件是无损的。因为不涉及重新编码等,完全就是文件相加,比起一些合并软件重新编码等,完美太多了。简单好用。
copy 就是复制的意思
/b 这个参数表示把文件按二进制格式来合并,如果不加这个参数,则会把目标当成文本文件来合并,并在文件内添加不必要的标记,对于视频来说这会导致播放出错,所以如果是视频必须加 /b 参数
当然,对于一个目录里有几十个,或几百个文件的来说,这样手工打,那可就累死了,所以,我们也可以用批处理命令来,一条短命令就搞定:
点击数:1246
阿萨
222
zzzzzzzzzzzzzzzz
6666666666666666
6666666666
666666666
期待
2222
学习学习,期待. 原文出自[张荣国] 转载请保留原文链接: https://zhangrongguo.com/archives/1435#respond
111
000
谢谢
谢谢
-00000
谢谢在找这方面的东西
Have you ever considered publishing an e-book or guest authoring on other sites?
I have a blog based upon on the same subjects you discuss and would
really like to have you share some stories/information. I know my subscribers would enjoy your work.
If you’re even remotely interested, feel free
to shoot me an e mail.
Hello there! This article couldn’t be written any better!
Looking through this article reminds me of my previous roommate!
He always kept preaching about this. I most certainly will send this article to him.
Pretty sure he will have a good read. I appreciate you for sharing!
看看什么情况
ZafTBWNLdvKOlmS
I was curious if you ever considered changing the layout of your blog?
Its very well written; I love what youve got to say.
But maybe you could a little more in the way of content so people could
connect with it better. Youve got an awful lot of text for only having 1 or two pictures.
Maybe you could space it out better?
啥意思
回复了没有显示隐藏内容呢?
回复时,有勾选在浏览器保存,才会看到的。回复后应该是可看到的,直接和上文对接的,你可能没注意看
学习学习,期待