• <bdo id='DK6LA'></bdo><ul id='DK6LA'></ul>

  • <i id='DK6LA'><tr id='DK6LA'><dt id='DK6LA'><q id='DK6LA'><span id='DK6LA'><b id='DK6LA'><form id='DK6LA'><ins id='DK6LA'></ins><ul id='DK6LA'></ul><sub id='DK6LA'></sub></form><legend id='DK6LA'></legend><bdo id='DK6LA'><pre id='DK6LA'><center id='DK6LA'></center></pre></bdo></b><th id='DK6LA'></th></span></q></dt></tr></i><div id='DK6LA'><tfoot id='DK6LA'></tfoot><dl id='DK6LA'><fieldset id='DK6LA'></fieldset></dl></div>
    <tfoot id='DK6LA'></tfoot>

    <legend id='DK6LA'><style id='DK6LA'><dir id='DK6LA'><q id='DK6LA'></q></dir></style></legend>

        <small id='DK6LA'></small><noframes id='DK6LA'>

        合并 2 个编辑视频而不使用 ffmpeg 保存它们

        时间:2023-08-04

        <tfoot id='9PNzU'></tfoot>

            <tbody id='9PNzU'></tbody>

            • <legend id='9PNzU'><style id='9PNzU'><dir id='9PNzU'><q id='9PNzU'></q></dir></style></legend>
              <i id='9PNzU'><tr id='9PNzU'><dt id='9PNzU'><q id='9PNzU'><span id='9PNzU'><b id='9PNzU'><form id='9PNzU'><ins id='9PNzU'></ins><ul id='9PNzU'></ul><sub id='9PNzU'></sub></form><legend id='9PNzU'></legend><bdo id='9PNzU'><pre id='9PNzU'><center id='9PNzU'></center></pre></bdo></b><th id='9PNzU'></th></span></q></dt></tr></i><div id='9PNzU'><tfoot id='9PNzU'></tfoot><dl id='9PNzU'><fieldset id='9PNzU'></fieldset></dl></div>
                • <bdo id='9PNzU'></bdo><ul id='9PNzU'></ul>

                  <small id='9PNzU'></small><noframes id='9PNzU'>

                • 本文介绍了合并 2 个编辑视频而不使用 ffmpeg 保存它们的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我想合并 2 个视频,假设它们之间是相互编辑的

                  I want to combine 2 videos assume even they are edited among themselves

                  我们平时是怎么做的

                  视频 1:

                  ffmpeg -i 1.mp4 -filter:a "volume=0.0" test1.mp4
                  

                  视频 2:

                  ffmpeg -i 2.mp4 -filter:a "volume=10.0" test2.mp4  
                  

                  现在我可以将它们组合使用

                  now I can combine them using

                  ffmpeg -i test1.mp4 -i test2.mp4 -filter_complex [0:v:0][0:a:0][1:v:0][1:a:0]concat=n=2:v=1:a=1[outv][outa] -map [outv] -map [outa] out.put.mp4
                  

                  所以我的问题是,有没有办法将这 3 步流程变成 1 步,并且不保存第 1 步和第 2 步的文件

                  So my question is, Is there a way to make this 3 steps process into 1 step and without saving files of step 1 and step 2

                  我知道我们可以使用 &&但我的主要查询是有一种方法可以不保存编辑文件的 video1 和 video2 文件

                  I do know that we can combine into one using && but my main query is there a way to do without saving the files of video1 and video2 that edited files

                  希望我的查询有点清楚

                  问题已编辑/添加:

                  ffmpeg -i test.mp4 -filter:a "volume=8.0,atempo=4.0" -vf "transpose=2,transpose=2,setpts=1/4*PTS" -s 640x480 test.mkv 
                  

                  我们能否在合并命令中也执行所有这些选项(更改视频速度、分辨率、旋转、帧率和修剪等操作)?

                  can we do all these options also in the merge command(operations like change video Speed, resolution, rotation, framerate, and trim)?

                  推荐答案

                  在将音频流馈送到 concat 之前应用音量过滤器.

                  Apply the volume filters before feeding the audio streams to concat.

                  ffmpeg -i test1.mp4 -i test2.mp4 -filter_complex "[0:a:0]volume=0.0[a0];[1:a:0]volume=10.0[a1];[0:v:0][a0][1:v:0][a1]concat=n=2:v=1:a=1[outv][outa]"-map [outv] -map [outa] output.mp4

                  这篇关于合并 2 个编辑视频而不使用 ffmpeg 保存它们的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:如何使用按钮打开新窗口 下一篇:AttributeError:“Ui_MainWindow"对象没有属性“set

                  相关文章

                  最新文章

                  • <bdo id='1skfE'></bdo><ul id='1skfE'></ul>

                  1. <small id='1skfE'></small><noframes id='1skfE'>

                  2. <legend id='1skfE'><style id='1skfE'><dir id='1skfE'><q id='1skfE'></q></dir></style></legend>
                    <i id='1skfE'><tr id='1skfE'><dt id='1skfE'><q id='1skfE'><span id='1skfE'><b id='1skfE'><form id='1skfE'><ins id='1skfE'></ins><ul id='1skfE'></ul><sub id='1skfE'></sub></form><legend id='1skfE'></legend><bdo id='1skfE'><pre id='1skfE'><center id='1skfE'></center></pre></bdo></b><th id='1skfE'></th></span></q></dt></tr></i><div id='1skfE'><tfoot id='1skfE'></tfoot><dl id='1skfE'><fieldset id='1skfE'></fieldset></dl></div>
                    <tfoot id='1skfE'></tfoot>