[FFmpeg-user] Can't get -i mylist.txt working under Windows 10

Dan Bridges dosdan at gmail.com
Fri Mar 29 23:26:01 EET 2019


Trying to concatenate some mp4 files. All the same (just copies of the
same test files).

myfile.txt contains:

Sequence_0000.mp4
Sequence_0001.mp4
Sequence_0002.mp4


As per https://trac.ffmpeg.org/wiki/Concatenate

Test cmd line:

ffmpeg -f concat -safe 0 -i mylist.txt -c copy combined.mp4


Output:

ffmpeg version N-93434-g7366174086 Copyright (c) 2000-2019 the FFmpeg
developers
  built with gcc 8.3.0 (Rev2, Built by MSYS2 project)
  configuration:  --disable-autodetect --enable-amf --enable-bzlib
--enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2
--enable-iconv --enable-lzma --enable-nvenc --enable-schannel
--enable-zlib --enable-sdl2 --disable-debug --enable-ffnvcodec
--enable-nvdec --enable-gmp --enable-libmp3lame --enable-libopus
--enable-libvorbis --enable-libx264 --enable-libdav1d
--extra-libs=-liconv --enable-gpl --enable-version3
  libavutil      56. 26.100 / 56. 26.100
  libavcodec     58. 47.105 / 58. 47.105
  libavformat    58. 26.101 / 58. 26.101
  libavdevice    58.  7.100 / 58.  7.100
  libavfilter     7. 48.100 /  7. 48.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
[concat @ 000001f267407b40] Line 1: unknown keyword 'Sequence_0000.mp4'
mylist.txt: Invalid data found when processing input


Also occurring when there are single  or double inverted commas around
filenames in mylist.txt.  Is this doable under Windows?

Dan.





More information about the ffmpeg-user mailing list