Jump to: navigation, search

Difference between revisions of "Autopano Video - Concatenate several mp4"

(FFMPEG method (Concatenation of files with same codecs))
(FFMPEG method (Concatenation of files with same codecs))
Line 1: Line 1:
 
= FFMPEG method (Concatenation of files with same codecs) =
 
= FFMPEG method (Concatenation of files with same codecs) =
 
*For more information about [[http://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20concatenate%20%28join,%20merge%29%20media%20files concatenation with ffmpeg ]]
 
*For more information about [[http://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20concatenate%20%28join,%20merge%29%20media%20files concatenation with ffmpeg ]]
===Concat demuxer (We used that method on Gopro Hero3 black mp4 videos)==
+
====Concat demuxer method (We used that method on Gopro Hero3 black mp4 videos)====
 
  The concat demuxer was added to ffmpeg 1.1. You can read about it in the [[http://ffmpeg.org/ffmpeg-formats.html#concat documentation]].
 
  The concat demuxer was added to ffmpeg 1.1. You can read about it in the [[http://ffmpeg.org/ffmpeg-formats.html#concat documentation]].
 
  Instructions
 
  Instructions

Revision as of 16:40, 28 May 2013

FFMPEG method (Concatenation of files with same codecs)

Concat demuxer method (We used that method on Gopro Hero3 black mp4 videos)

The concat demuxer was added to ffmpeg 1.1. You can read about it in the [documentation].
Instructions
Create a file "Cam01.txt" with all the (files relative or absolute paths) you want to have concatenated in the following form ( Lines starting with a dash are ignored ):
# this is a comment file '/path/Cam01/GOPR0009.MP4' file '/path/Cam01/GP010009.MP4' file '/path/Cam01/GP020009.MP4'
Note that these can be either relative or absolute paths. Then you can encode your files with: ffmpeg -f concat -i Cam01.txt -c copy Cam01.mp4