Hello All, I am new to ffmpeg and need help resolving an error. We are trying to concatenate MOV files and figured out the options we need on Windows. We then tried it on OS X and ran into problems. We are using the latest version downloaded from the ffmpeg site : 3.1.1
Here is the command line we tried originally (this is the one we intend to use and works on Windows ... except the file input of course): *ffmpeg -safe 0 -analyzeduration 4000000000 -probesize 4000000000 -i <(for f in ./*.MOV; do echo "file '$PWD/$f'"; done) -map 0:0 -map 0:1 -map 0:2 -c:v copy -c:a copy -map_metadata 0 -copy_unknown -disposition:a:0 default -disposition:a:1 default OUT.MOV* *ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers* * built with llvm-gcc 4.2.1 (LLVM build 2336.11.00)* * configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --disable-doc --arch=x86_64 --enable-runtime-cpudetect* * libavutil 55. 28.100 / 55. 28.100* * libavcodec 57. 48.101 / 57. 48.101* * libavformat 57. 41.100 / 57. 41.100* * libavdevice 57. 0.101 / 57. 0.101* * libavfilter 6. 47.100 / 6. 47.100* * libswscale 4. 1.100 / 4. 1.100* * libswresample 2. 1.100 / 2. 1.100* * libpostproc 54. 0.100 / 54. 0.100* */dev/fd/63: Invalid data found when processing input* So we changed to command to use an input file and simplify a bit. It seems to get further, but we now get a codec error : *ffmpeg -i files.txt -c:v copy -c:a copy OUT.MOV* *ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers* * built with llvm-gcc 4.2.1 (LLVM build 2336.11.00)* * configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --disable-doc --arch=x86_64 --enable-runtime-cpudetect* * libavutil 55. 28.100 / 55. 28.100* * libavcodec 57. 48.101 / 57. 48.101* * libavformat 57. 41.100 / 57. 41.100* * libavdevice 57. 0.101 / 57. 0.101* * libavfilter 6. 47.100 / 6. 47.100* * libswscale 4. 1.100 / 4. 1.100* * libswresample 2. 1.100 / 2. 1.100* * libpostproc 54. 0.100 / 54. 0.100* *Input #0, tty, from 'files.txt':* * Duration: 00:00:00.04, bitrate: 29 kb/s* * Stream #0:0: Video: ansi, pal8, 640x400, 25 fps, 25 tbr, 25 tbn, 25 tbc* *[mov @ 0x7fa74b008000] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.* *[mov @ 0x7fa74b008000] Could not find tag for codec ansi in stream #0, codec not currently supported in container* *Output #0, mov, to 'OUT.MOV':* * Metadata:* * encoder : Lavf57.41.100* * Stream #0:0: Video: ansi, pal8, 640x400, q=2-31, 25 fps, 25 tbr, 25 tbn, 25 tbc* *Stream mapping:* * Stream #0:0 -> #0:0 (copy)* *Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument* TIA for your help! Mark _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".