title: Can FFmpeg concatenate files from a different domain?
body: <p>I'm attempting to concatenate various .ts video clips into one video and then convert the video into an .mp4 file.  I know I can make a .txt file formatted like so:</p>
  
  <pre><code>file '/path/to/file1'
  file '/path/to/file2'
  file '/path/to/file3'
  </code></pre>
  
  <p>and then concatenate them like so:</p>
  
  <pre><code>ffmpeg -f concat -i mylist.txt -c copy all.ts
  </code></pre>
  
  <p>and then convert the file like so:</p>
  
  <pre><code>ffmpeg -i all.ts -acodec copy -vcodec copy all.mp4
  </code></pre>
  
  <p>My question is, can my .txt file be urls from another domain? e.g.:</p>
  
  <pre><code>http://somewebsite.com/files/videoclip1.ts
  http://somewebsite.com/files/videoclip2.ts
  http://somewebsite.com/files/videoclip3.ts
  </code></pre>
  
  <p>Or, do I first have to download all these clips, store them locally on my domain, then make a .txt file pointing to them?  I'm using PHP.  Thanks.</p>