Questions tagged [concatenation]
The concatenation tag has no usage guidance.
183
questions
78
votes
7
answers
104k
views
Concatenate multiple WAV files using single command, without extra file
I want to concatenate multiple WAV files into a single WAV file using FFMPEG.
I have used the following command and it generates the required file.
Command:
ffmpeg -f concat -i mylist.txt -c copy ...
46
votes
7
answers
76k
views
Join mp4 files in linux
I want to join two mp4 files to create a single one. The video streams are encoded in h264 and the audio in aac. I can not re-encode the videos to another format due to computational reasons. Also, I ...
42
votes
5
answers
28k
views
Linux command to concatenate a file to itself n times
I've taken a plain text file book from Project Gutenberg (around 0.5MB) which I want to concatenate to itself n times in order to generate a large text file that I can benchmark some algorithms on. ...
18
votes
7
answers
52k
views
Cat command and echo
I'd like to concatenate the output from echo with content of a file. I've tried the following comand:
echo "abc" | cat 1.txt > 2.txt
but the 2.txt file only contains the content from 1.txt. Why ...
18
votes
1
answer
22k
views
FFMpeg concat demuxer unsafe file name
I'm using ffmpeg inside my .net application to merge(concatenate) some short videos with the same encoding and width and height dimensions.
I've created a txt file as the documentation says and this ...
17
votes
1
answer
250k
views
How to concatenate a date in MS-excel and receive a date (not a number)
When I try to concatenate two cells in MS-excel in the formula I have the date as a integer number (eg: 04 april 2012 become 41006).
How can I display the date also in the formula cells?
16
votes
7
answers
48k
views
How can I join multiple .mpg movie files?
I create a lot of these small clips on my digital camera. These are in .mpg format and before I share them with others, I would love to just join, clip a few seconds here and there.
I use Google ...
9
votes
5
answers
18k
views
Join Audio and Image -> Output as Video using FFmpeg
I have 1 image (jpg) and 1 audio file (MP3) and I would like to output this as a video file (say AVI for example).
Does anyone know how to use FFMPEG to join the two? I'd like to show the image for ...
9
votes
2
answers
798
views
Cannot concatenate videos ffmpeg
I have a bitmap that I would like to concatenate to the front of many videos as a sort of title screen or disclaimer screen.
I try to turn it into a video with the same attributes as the rest of the ...
7
votes
5
answers
127k
views
How to merge/combine files with extensions .001, .002, .003.. etc? [duplicate]
Possible Duplicate:
Good free software that will join .001 files?
There are files on sites like rapidshare which have extensions like .001, .002, .003? They seem to be split by some tool. How to ...
7
votes
1
answer
4k
views
FFmpeg concatenate audio and offset parts between each other
I figured out how I can concatenate multiple audio files with complex filter, but struggling with offsetting audio in result file. Say, I want to add a gap of 1 seconds silence between each ...
6
votes
1
answer
5k
views
Crossfade many audio files into one with FFmpeg?
Using FFmpeg, I am trying to combine many audio files into one long one, with a crossfade between each of them. To keep the numbers simple, let's say I have 10 input files, each 5 minutes, and I want ...
6
votes
2
answers
3k
views
Concatenate files over FTP
I have a list of files on an FTP server that I would like to concatenate remotely. They are quite large, so I would prefer not to download them.
The reason I'm in this situation is because I ...
6
votes
1
answer
1k
views
Successfully concatenating multiple videos
My mission is to create videos out of old web slideshows. To start with I have jpegs and audio files that worked as Flash slideshows in an old system, structured such as this:
Audio structure
...
5
votes
1
answer
9k
views
How do I append dynamic number of spaces at the end of a string in a batch file
I want to output information to a log file as such
01/08/2013 14:30 - Dynamic-Machine-Name - Message starts
02/08/2013 07:12 - DynamicMachineName - Log entry
02/08/2013 07:14 - Dynamic-PC-...
4
votes
2
answers
15k
views
How to concat String, File Contents, and String in bash script?
I have a file which contains only one line
$> cat file.txt
apple,orange,cat,dog
I need to append two String to it and assign it to a variable, one in front and another in the end, so that it ...
4
votes
1
answer
1k
views
Wrong string concatenation using Bash Windows Subsystem
I'm having headaches to know why my script doesn't work as expected under windows subsystem linux.
My version from the store : Debian GNU/Linux 9.6 (stretch) (I tried ubuntu too, with the same ...
4
votes
2
answers
2k
views
Why do 1920x1080p videos still get stretched and distorted after I concat them?
I have several videos with different aspect ratios.
I use this command to put them all within a 1920x1080p frame:
ffmpeg -i input -vcodec libx264 -s 1920x1080 -r 30 -strict experimental output
This ...
4
votes
1
answer
4k
views
Concatenate videos with/without audio stream
I have multiple videos in folder, but when first of all hasn't audio stream, audio disappear in concatenated video. Concatenated video is correct if first video has audio stream. How can I concatenate ...
4
votes
2
answers
16k
views
Excel Concatenate Time
I have had a look at this site, and across the net, but can't seem to solve this, which should be easy! Concatenate should work, but I wasn't able to make it work.
Current spreadsheet looks like this:...
4
votes
1
answer
4k
views
FFmpeg - Cut video into segments, transcode them individually, then concatenate & output to .ts
This is a follow-up question to audio error when concatenating clips using ffmpeg
What I'd like to achieve is the following:
Cut an input video into chunks
Transcode each chunk (video and audio) ...
4
votes
2
answers
6k
views
Excel - concatenating cells where reference number matches [duplicate]
I have a worksheet with many rows. Some of the rows share reference numbers (contained in, say, column A). What I'd like to do is, where a row shares a reference number with another row, I'd like to ...
3
votes
2
answers
2k
views
How to concatenate values in Excel?
I have a spreadsheet that looks something like this:
A B C D E ...
1| 1 0 0 1 0
2| 0 1 0 0 1
3| 0 0 0 1 0
4| 1 0 0 0 0
I'd like to concatenate row 1 in column F so that ...
3
votes
1
answer
3k
views
Windows command to concatenate multiple files in alphabetical/numerical order?
I have several hundred files that need to be concatenated into a single file, much like this question. The problem is, that my files must must be in order. They are named with a Julian date followed ...
3
votes
3
answers
5k
views
Command Line : Concatenate multiple files by date
I have got a plenty of .txt files in a directory. The directory also contains .png and some .pdf files. I have successfully concatenated .txt files using this command :
@ECHO Off
SETLOCAL
for /r %%f ...
3
votes
1
answer
1k
views
Is there a way in Excel to combine the contents of multiple cells and still leave line breaks?
Consider:
+---+----------------------+
| | A |
+---+----------------------+
| 1 | Instructions to foo |
+---+----------------------+
| 2 | 1.) Foo ...
3
votes
2
answers
43k
views
Concatenating numbers that have leading zeros
I'm trying to combine/concatenate numbers in different columns into one long number. Some of the numbers have leading zeros because of custom formats applied to the cells. When I concatenate them ...
3
votes
1
answer
8k
views
Can't concatenate a string inside a batch loop
I've been struggling with this for a while now, and I can't seem to figure out why.
I have this batch file:
@echo on
setlocal enabledelayedexpansion
for /F %%x in (FileList.txt) do (
for /L ...
2
votes
4
answers
7k
views
Excel adds quotation marks to the end of my formula
Excel automatically corrects my formula, saying "We found a typo in your formula and tried to correct it to:"
=CONCAT(CHAR(34),A4,""":""",D4,"""")
My original formula only has three quotation marks ...
2
votes
2
answers
9k
views
how to combine or concatenate two video files with ffmpeg?
I have tried to concatenate 2 video files (avi) into one sigle video:
cat input1.avi input2.avi | ffmpeg -f avi -i - -vcodec copy -acodec copy final.avi
.. but this does not concatenate the videos. ...
2
votes
2
answers
2k
views
gunzip multiple files and concatenate in parallel?
Is it possible to gunzip multiple files and concatenate them into one big file, but do it in parallel given a multicore machine? For example, right now I do:
gunzip -c file1.gz > final
gunzip -c ...
2
votes
2
answers
1k
views
Multiple Search Formula in Excel [duplicate]
I am trying to find a formula which will search one cell for specific words.
I would like the outcome of the formula to be words I have selected.
The example of this I have is if one cell shows the ...
2
votes
1
answer
10k
views
Concatenate binary files in windows (Without command line)
I'm trying to prepare a process for copying the video files off of a recorded DVD (we made the recording, and it's not encrypted). The method of copying the VTS_*.VOB file works when the recording is ...
2
votes
1
answer
4k
views
FFmpeg: concatenation without reencoding
I have two *.mpg files. I'd like to concatenate them by picking the video stream (MPEG-2) and the MP2 audio stream. My problem is that the streams are always reencoded. I'd like to avoid this, but I'm ...
2
votes
1
answer
2k
views
FFMpeg can't concat certain videos
I have some videos recorded with my android phone. They are quite similar. For instance:
original0.mp4
original1.mp4
original2.mp4 (this one is broken)
I apply this filter to each of them:
ffmpeg -...
2
votes
2
answers
2k
views
Merge .txt files in Specific Order
I have a set of 300 chapters named Chapter 1.txt, Chapter 2.txt... Chapter 300.txt]
The goal is to try to create a combined .txt file with all of these chapters in order.
Each file is formatted with ...
2
votes
1
answer
1k
views
Invalid file index 3 in filtergraph description -- FFMPEG
I am trying to concat 3 videos and give effetcs using FFMPEG. My below script is giving error.
I am not able to understand what is the issue. Which index i am missing.
Script below:
ffmpeg -i D:\...
2
votes
1
answer
12k
views
Powershell string concatenation of expressions
I'm using a ternary expression as shown in this example:
$a = 1
$x = if ($a -eq 1) { "one" } else {"not one" }
$t = "The answer is: " + $x
write-host $t
This works as I would expect. What I would ...
2
votes
1
answer
268
views
How can I apply cat (UNIX) command individually, to all files in a folder?
Here's the situation:
My file A.csv needs to be concatenated individually with all the other *.csv's in the folder and each of the outputs needs to have the same name as the particular *.csv.
How ...
2
votes
2
answers
23k
views
Excel - 'Concatenate' columns with Alt + Enter
I am trying to combine three cells into one, with Alt + Enter or Char(10) separating each value. When I use a simple Excel formula =B2 & Char(10) & C2 & Char(10) & D2 and wrap the text ...
2
votes
1
answer
768
views
How can I losslessly concatenate two MP4 files and keep the telemetry information (GoPro GPMF) using FFmpeg?
One may losslessly concatenate two MP4 files using FFmpeg as follows:
ffmpeg -safe 0 -f concat -i list.txt -c copy output.mp4
with list.txt:
file 'C:\file1.mp4'
file 'C:\file2.mp4'
However, if the ...
2
votes
1
answer
2k
views
Cannot allocate memory - FFMPEG
While giving effects to multiple video using FFMPEG. I am getting error Error while filtering: Cannot allocate memoryme=00:06:02.98 bitrate= 676.0kbits/s dup=22 drop=0 speed=4.58x Failed to inject ...
2
votes
1
answer
1k
views
Concat many video: wrong out FPS & audio Pitch
I have a process like this:
i have N input video; I cut & transcode them using the following code:
ffmpeg.exe -c:v h264_cuvid -resize 1920x1080 -noaccurate_seek -ss 00:00:04.000 -to 00:00:44.240 -...
2
votes
1
answer
934
views
Trouble automating concatination (merging) of VOB files from DVD with FFMPEG
I have a library of decrypted DVDs, which all have their video in a series of VOB files within the usual VIDEO_TS folder. I wondered if I could use FFMPEG to combine them into a single MPEG files. So ...
2
votes
1
answer
824
views
FFmpeg concat mp4 corruption
When I run
ffmpeg -f concat -i resizedvideolist.txt -c copy concatenated_time.mp4 2>&1
it concatenates all the videos in the txt, but there is one video around halfway through that get ...
2
votes
1
answer
256
views
concatenate files from different subdirectories
I have many subfolders from my current operating directory. In each subfolder, there is a file called "total"
"total" contains 2 columns of data, and remember there are many "total" files, each in ...
2
votes
1
answer
5k
views
How to Concatenate Repeating String in Batch Script
I'm trying to concatenate a repeating string depending on the first parameter value passed into the script when it is called. This value represents the number of directory levels the current ...
2
votes
2
answers
588
views
concatenate files including path in header - path contains spaces
I have to concatenate a number of files in a directory structure which contains spaces in the folder names looking like this: ./CH 0000100014/A10/11XT/11xt#001.csv
find . -name "*.csv" -type f -...
2
votes
0
answers
24
views
Efficient way to concatenate row titles based on column indicator?
I have a list of ingredients in column A, and different products in columns. The products all consists of different combinations of the same ingredients. In each product's column, there are Y ...
2
votes
0
answers
340
views
forcing ffmpeg to drop audio at same rate it drops video
I've got a number of video files taken over several days on family vacation and I was hoping to combine these all into one 2 hour long file. Some of the source files are from an iPhone, some are from ...