Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques Batch merge 50 audio tracks with corresponding video tracks using FFmpeg.

  • Batch merge 50 audio tracks with corresponding video tracks using FFmpeg.

    Posted by Freddie Hill on August 8, 2011 at 3:56 pm

    Is there any way to batch merge 50 audio tracks with corresponding video tracks without re-encoding, using FFmpeg?
    I have run into an instance where I have to do this and wondered if it’s able to be done in a ‘batch’ procedure. I know you can do this using QT pro but you have to merge everything singularly.
    Any advice on this would be great.
    Freddie

    Michael Rampe replied 14 years, 8 months ago 2 Members · 1 Reply
  • 1 Reply
  • Michael Rampe

    August 27, 2011 at 12:35 am

    [Freddie Hill] “Is there any way to batch merge 50 audio tracks with corresponding video tracks without re-encoding, using FFmpeg?”

    yep. Write a shell script with a ‘while’ or ‘for’ loop to run through them all.

    Use -acodec copy -vcodec copy to not recompress.

    Michael

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy