

You will get a file ‘ffmpeg’ (Note: the file doesn’t have a file ending) in the location that you have chosen for extraction. Right-click the file and choose ‘Decompress’. You can extract the content of the compressed archive file with the help of macOS standard functionality. The file with the ending ‘.7z’ is a compressed archive file, similar to ‘.zip’ or ‘.rar’ files. Note that the version number might be different when you read this. Scroll down to the section “FFmpeg” and click the green button with the label “ffmpeg-4.0.2.7z”. You can download the FFmpeg binary file for 64-bit macOS from here. It’s core functionality is also used by a wide range of multimedia applications. I came up with a nice solution using the freely available FFmpeg tool.įFmpeg is an open-source, command-line-based processing tool for video and audio files. Therefore, I was looking for a solution that produces professional output but doesn’t cost a furtune. However, many of them are crappy ‘marketing apps’ or professional and expensive tools. There are many programs available in the Internet to perform such a task. Here was my final command: ffmpeg -f "concat" -safe "0" -protocol_whitelist "file,http,https,tcp,tls" -i "./inputs.txt" -codec "copy" "./concated.From time to time I have the need to combine two or more MP4 video files into a single MP4 file. The solution is to also add tcp to the protocol whitelist as well (also tls if you want to support HTTPS). I realized that the first word in brackets before the error was the protocol that was being rejected. Look at the very first word in those errors. Then I noticed the small diference between the previous two errors. http was clearly in the protocol whitelist. I did not understand why my HTTP protocol input was still being rejected. I thought I would be able to solve this by simple adding -protocol_whitelist file,http,https but then the error became: Protocol not on whitelist 'file,http,https'!

Then I got the error: Protocol not on whitelist 'file,crypto'! This was solved by adding the -safe 0 argument. I was trying to use FFmpeg's concat demuxer like so: # inputs.txtįfmpeg -f "concat" -i "./inputs.txt" -codec "copy" "./concated.mp4"įirst I got the error: Unsafe file name '' Use -safe 0 and -protocol_whitelist file,http,https,tcp,tls arguments. Yo1dog blog Fix for FFmpeg "protocol not on whitelist" Error for HTTP(S) URLs May 25th, 2016
