複数のFLVファイルをマージしますか?

複数のFLVファイルをマージしますか?

複数のFLVファイルをマージするためにLinuxでどのツールを使用できますか?ファイルはすでに順番に並べられているので、シームレスに結合するだけです。

ベストアンサー1

以下はまだテストしていないので、いくつかのヒントを考えてみましょう。

ffmpegマニュアルで.fromを使用できます。

* You can put many streams of the same type in the output:

               ffmpeg -i test1.avi -i test2.avi -vcodec copy -acodec copy -vcodec copy -acodec copy test12.avi -newvideo -newaudio

       In addition to the first video and audio streams, the resulting output file
       test12.avi will contain the second video and the second audio stream found in the
       input streams list.

       The "-newvideo", "-newaudio" and "-newsubtitle" options have to be specified
       immediately after the name of the output file to which you want to add them.

たとえば、次のものを使用することもできますmencoder

mencoder -forceidx -ovc copy -oac pcm -o output.flv input1.flv input2.flv

別のオプションは次のとおりです。flvcat

また、それを試すことができますavidemux-cli

おすすめ記事