Fix "Adding File Not Supported" Error in WhatsApp Web

In what's app web when you upload some video, it shows that "1 file you tried adding is not supported". This is because the video file you are trying to upload does not have correct audio or video codecs.

What's app support,

  • AAC or AC3 audio stream codec and
  • H264 or MPEG4 video codec
  • with either MP4 container or AVI/MKV container.

To fix this you can use some video converter to change codecs to supported codecs. I use ffmpeg CLI for this purpose.

ffmpeg -i input_file -c:v libx264 -c:a aac -strict experimental output_file.mp4

# in case only audio codec need to be changed
ffmpeg -i input_file.mp4 -codec:a aac output_file.mp4

References

0
Subscribe to my newsletter

Read articles from Shivanshu Semwal directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Shivanshu Semwal
Shivanshu Semwal

Software Developer. Interested in finding innovative solutions to problems.