Giter Club home page Giter Club logo

Comments (8)

tqk2811 avatar tqk2811 commented on June 24, 2024 1

VideoFilesConcatInput.ConcatProtocol( filesList );

Awesome. This method uses temporary streams for the inputs and then concatenates those?

It same as -i "concat:intermediate1.ts|intermediate2.ts"

from ffmpegargs.

tqk2811 avatar tqk2811 commented on June 24, 2024

Not support and i not recommend use CP (concat protocol)

You can add as multi inputs and concat in filters.


If you still want CP, try this
new VideoFileInput("concat:file1|file2")

from ffmpegargs.

tqk2811 avatar tqk2811 commented on June 24, 2024

oh i was write it here, you can custom yourself for video

public static ImageFilesConcatInput ConcatProtocol(IEnumerable<string> files)

from ffmpegargs.

Spartan-Hex-Shadow avatar Spartan-Hex-Shadow commented on June 24, 2024

oh i was write it here, you can custom yourself for video

public static ImageFilesConcatInput ConcatProtocol(IEnumerable<string> files)

Does the Concat Protocol allow us to do this? From https://trac.ffmpeg.org/wiki/Concatenate

" using intermediate files
If you have MP4 files, these could be loss lessly concatenated by first transcoding them to MPEG-2 transport streams. With H.264 video and AAC audio, the following can be used:

ffmpeg -i input1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate1.ts
ffmpeg -i input2.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate2.ts
ffmpeg -i "concat:intermediate1.ts|intermediate2.ts" -c copy -bsf:a aac_adtstoasc output.mp4 "

from ffmpegargs.

tqk2811 avatar tqk2811 commented on June 24, 2024

Yes, but I don't recommend it.

from ffmpegargs.

Spartan-Hex-Shadow avatar Spartan-Hex-Shadow commented on June 24, 2024

Yes, but I don't recommend it.

Alright. But just for our own sake, if we had to do it, how would we go about doing it with the ConcatProtocol method?

from ffmpegargs.

tqk2811 avatar tqk2811 commented on June 24, 2024

VideoFilesConcatInput.ConcatProtocol( filesList );

from ffmpegargs.

Spartan-Hex-Shadow avatar Spartan-Hex-Shadow commented on June 24, 2024

VideoFilesConcatInput.ConcatProtocol( filesList );

Awesome. This method uses temporary streams for the inputs and then concatenates those?

from ffmpegargs.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.