Skip to content Skip to sidebar Skip to footer

Ffmpeg Video Compressed But Not Playing In Browser

I have integrated ffmpeg4android lib. Video compressing is working fine but video is not playing in browser except safari browser. after uploading to server. I have used following

Solution 1:

Look at the table "Browser compatibility". https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats

It seems like you're using and unsupported flavour of mp4, due to the usage of an uncommon codec. I suggest you to use the video format H.264 and MP3 in MP4.

Solution 2:

You may convert your video in this format..

ffmpeg -i mpeg4_video.mp4 -c:v libx264 libx264_from_mpeg4.mp4

This would definitely work in all browsers...

JWPlayer recommended!

Post a Comment for "Ffmpeg Video Compressed But Not Playing In Browser"